Class: Google::Apis::AndroidpublisherV3::AppContactInformation
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::AppContactInformation
- 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
-
#contact_email ⇒ String
The contact email for this app.
-
#phone_number ⇒ String
The contact phone for this app.
-
#website_url ⇒ String
The contact website url for this app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppContactInformation
constructor
A new instance of AppContactInformation.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_email ⇒ String
The contact email for this app. Always set.
Corresponds to the JSON property contactEmail
579 580 581 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 579 def contact_email @contact_email end |
#phone_number ⇒ String
The contact phone for this app. Optionally provided by the developer.
Corresponds to the JSON property phoneNumber
584 585 586 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 584 def phone_number @phone_number end |
#website_url ⇒ String
The contact website url for this app. Optionally provided by the developer.
Corresponds to the JSON property websiteUrl
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 |