Class: Google::Apis::AndroidpublisherV3::AppContactInformation

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

Overview

Contact information for the app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppContactInformation

Returns a new instance of AppContactInformation.



591
592
593
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 591

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

Instance Attribute Details

#contact_emailString

The contact email for this app. Always set. Corresponds to the JSON property contactEmail

Returns:

  • (String)


579
580
581
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 579

def contact_email
  @contact_email
end

#phone_numberString

The contact phone for this app. Optionally provided by the developer. Corresponds to the JSON property phoneNumber

Returns:

  • (String)


584
585
586
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 584

def phone_number
  @phone_number
end

#website_urlString

The contact website url for this app. Optionally provided by the developer. Corresponds to the JSON property websiteUrl

Returns:

  • (String)


589
590
591
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 589

def website_url
  @website_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



596
597
598
599
600
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 596

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