Class: Google::Apis::DfareportingV3_3::SiteContact
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_3::SiteContact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/representations.rb
Overview
Site Contact
Instance Attribute Summary collapse
-
#address ⇒ String
Address of this site contact.
-
#contact_type ⇒ String
Site contact type.
-
#email ⇒ String
Email address of this site contact.
-
#first_name ⇒ String
First name of this site contact.
-
#id ⇒ Fixnum
ID of this site contact.
-
#last_name ⇒ String
Last name of this site contact.
-
#phone ⇒ String
Primary phone number of this site contact.
-
#title ⇒ String
Title or designation of this site contact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SiteContact
constructor
A new instance of SiteContact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SiteContact
Returns a new instance of SiteContact.
10792 10793 10794 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10792 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
Address of this site contact.
Corresponds to the JSON property address
10755 10756 10757 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10755 def address @address end |
#contact_type ⇒ String
Site contact type.
Corresponds to the JSON property contactType
10760 10761 10762 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10760 def contact_type @contact_type end |
#email ⇒ String
Email address of this site contact. This is a required field.
Corresponds to the JSON property email
10765 10766 10767 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10765 def email @email end |
#first_name ⇒ String
First name of this site contact.
Corresponds to the JSON property firstName
10770 10771 10772 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10770 def first_name @first_name end |
#id ⇒ Fixnum
ID of this site contact. This is a read-only, auto-generated field.
Corresponds to the JSON property id
10775 10776 10777 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10775 def id @id end |
#last_name ⇒ String
Last name of this site contact.
Corresponds to the JSON property lastName
10780 10781 10782 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10780 def last_name @last_name end |
#phone ⇒ String
Primary phone number of this site contact.
Corresponds to the JSON property phone
10785 10786 10787 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10785 def phone @phone end |
#title ⇒ String
Title or designation of this site contact.
Corresponds to the JSON property title
10790 10791 10792 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10790 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 10797 def update!(**args) @address = args[:address] if args.key?(:address) @contact_type = args[:contact_type] if args.key?(:contact_type) @email = args[:email] if args.key?(:email) @first_name = args[:first_name] if args.key?(:first_name) @id = args[:id] if args.key?(:id) @last_name = args[:last_name] if args.key?(:last_name) @phone = args[:phone] if args.key?(:phone) @title = args[:title] if args.key?(:title) end |