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