Class: SendGrid4r::REST::MarketingCampaigns::Contacts::CustomFields::Field
- Inherits:
-
Struct
- Object
- Struct
- SendGrid4r::REST::MarketingCampaigns::Contacts::CustomFields::Field
- Defined in:
- lib/sendgrid4r/rest/marketing_campaigns/contacts/custom_fields.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
12 13 14 |
# File 'lib/sendgrid4r/rest/marketing_campaigns/contacts/custom_fields.rb', line 12 def id @id end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'lib/sendgrid4r/rest/marketing_campaigns/contacts/custom_fields.rb', line 12 def name @name end |
#type ⇒ Object
Returns the value of attribute type
12 13 14 |
# File 'lib/sendgrid4r/rest/marketing_campaigns/contacts/custom_fields.rb', line 12 def type @type end |
#value ⇒ Object
Returns the value of attribute value
12 13 14 |
# File 'lib/sendgrid4r/rest/marketing_campaigns/contacts/custom_fields.rb', line 12 def value @value end |
Instance Method Details
#eql?(other) ⇒ Boolean
13 14 15 |
# File 'lib/sendgrid4r/rest/marketing_campaigns/contacts/custom_fields.rb', line 13 def eql?(other) id.eql?(other.id) end |
#hash ⇒ Object
17 18 19 |
# File 'lib/sendgrid4r/rest/marketing_campaigns/contacts/custom_fields.rb', line 17 def hash id.hash end |