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.
392 393 394 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 392 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display_name of the contact.
Corresponds to the JSON property displayName
385 386 387 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 385 def display_name @display_name end |
#email ⇒ String
Email address for the contact.
Corresponds to the JSON property email
390 391 392 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 390 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
397 398 399 400 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 397 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) end |