class Google::Apis::DfareportingV3_3::SiteContact

Site Contact

Attributes

address[RW]

Address of this site contact. Corresponds to the JSON property `address` @return [String]

contact_type[RW]

Site contact type. Corresponds to the JSON property `contactType` @return [String]

email[RW]

Email address of this site contact. This is a required field. Corresponds to the JSON property `email` @return [String]

first_name[RW]

First name of this site contact. Corresponds to the JSON property `firstName` @return [String]

id[RW]

ID of this site contact. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [Fixnum]

last_name[RW]

Last name of this site contact. Corresponds to the JSON property `lastName` @return [String]

phone[RW]

Primary phone number of this site contact. Corresponds to the JSON property `phone` @return [String]

title[RW]

Title or designation of this site contact. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 10617
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_3/classes.rb, line 10622
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