Class: Google::Apis::AdexchangebuyerV1_4::ContactInformation
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::ContactInformation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#email ⇒ String
Email address of 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.
410 411 412 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 410 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
Email address of the contact.
Corresponds to the JSON property email
403 404 405 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 403 def email @email end |
#name ⇒ String
The name of the contact.
Corresponds to the JSON property name
408 409 410 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 408 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
415 416 417 418 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 415 def update!(**args) @email = args[:email] if args.key?(:email) @name = args[:name] if args.key?(:name) end |