Class: Google::Apis::AuthorizedbuyersmarketplaceV1::Contact
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::Contact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb
Overview
Contains information on how a buyer or seller can be reached.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display_name of the contact.
-
#email ⇒ String
Email address for the contact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Contact
constructor
A new instance of Contact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Contact
Returns a new instance of Contact.
406 407 408 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 406 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display_name of the contact.
Corresponds to the JSON property displayName
399 400 401 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 399 def display_name @display_name end |
#email ⇒ String
Email address for the contact.
Corresponds to the JSON property email
404 405 406 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 404 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
411 412 413 414 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 411 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) end |