Class: Google::Apis::Adexchangebuyer2V2beta1::ContactInformation
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::ContactInformation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Contains information on how a buyer or seller can be reached.
Instance Attribute Summary collapse
-
#email ⇒ String
Email address for the contact.
-
#name ⇒ String
The name of the contact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContactInformation
constructor
A new instance of ContactInformation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContactInformation
Returns a new instance of ContactInformation
581 582 583 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 581 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Email address for the contact.
Corresponds to the JSON property email
574 575 576 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 574 def email @email end |
#name ⇒ String
The name of the contact.
Corresponds to the JSON property name
579 580 581 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 579 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
586 587 588 589 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 586 def update!(**args) @email = args[:email] if args.key?(:email) @name = args[:name] if args.key?(:name) end |