class Pipedrive::IconKey
Constants
- ADDRESSBOOK
- BELL
- BRUSH
- BUBBLE
- BULB
- CALENDAR
- CALL
- CAMERA
- CAR
- CART
- CHECKBOX
- CLIP
- COGS
- DEADLINE
- DOCUMENT
- DOWNARROW
- FINISH
- KEY
- LINEGRAPH
- LOOP
- LUNCH
- MEETING
- PADLOCK
- PICTURE
- PLANE
- PRESENTATION
- PRICETAG
- SCISSORS
- SEARCH
- SHUFFLE
- SIGNPOST
- SMARTPHONE
- SOUND
- SUITCASE
- TASK
- TRUCK
- UPARROW
- WIFI
- WORLD
Public Class Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/pipedrive-openapi-client/models/icon_key.rb, line 61 def self.build_from_hash(value) new.build_from_hash(value) end
Public Instance Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/pipedrive-openapi-client/models/icon_key.rb, line 68 def build_from_hash(value) constantValues = IconKey.constants.select { |c| IconKey::const_get(c) == value } raise "Invalid ENUM value #{value} for class #IconKey" if constantValues.empty? value end