Class: Google::Apis::ContentV2_1::AccountCustomerService

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountCustomerService

Returns a new instance of AccountCustomerService.



305
306
307
# File 'lib/google/apis/content_v2_1/classes.rb', line 305

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#emailString

Customer service email. Corresponds to the JSON property email

Returns:

  • (String)


293
294
295
# File 'lib/google/apis/content_v2_1/classes.rb', line 293

def email
  @email
end

#phone_numberString

Customer service phone number. Corresponds to the JSON property phoneNumber

Returns:

  • (String)


298
299
300
# File 'lib/google/apis/content_v2_1/classes.rb', line 298

def phone_number
  @phone_number
end

#urlString

Customer service URL. Corresponds to the JSON property url

Returns:

  • (String)


303
304
305
# File 'lib/google/apis/content_v2_1/classes.rb', line 303

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



310
311
312
313
314
# File 'lib/google/apis/content_v2_1/classes.rb', line 310

def update!(**args)
  @email = args[:email] if args.key?(:email)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @url = args[:url] if args.key?(:url)
end