Class: Google::Apis::ContentV2::AccountCustomerService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountCustomerService

Returns a new instance of AccountCustomerService



251
252
253
# File 'generated/google/apis/content_v2/classes.rb', line 251

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

Instance Attribute Details

#emailString

Customer service email. Corresponds to the JSON property email

Returns:

  • (String)


239
240
241
# File 'generated/google/apis/content_v2/classes.rb', line 239

def email
  @email
end

#phone_numberString

Customer service phone number. Corresponds to the JSON property phoneNumber

Returns:

  • (String)


244
245
246
# File 'generated/google/apis/content_v2/classes.rb', line 244

def phone_number
  @phone_number
end

#urlString

Customer service URL. Corresponds to the JSON property url

Returns:

  • (String)


249
250
251
# File 'generated/google/apis/content_v2/classes.rb', line 249

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



256
257
258
259
260
# File 'generated/google/apis/content_v2/classes.rb', line 256

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