Class: Google::Apis::ToolresultsV1beta3::AndroidAppInfo
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::AndroidAppInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/google/apis/toolresults_v1beta3/representations.rb
Overview
Android app information.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the app.
-
#package_name ⇒ String
The package name of the app.
-
#version_code ⇒ String
The internal version code of the app.
-
#version_name ⇒ String
The version name of the app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidAppInfo
constructor
A new instance of AndroidAppInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AndroidAppInfo
Returns a new instance of AndroidAppInfo.
68 69 70 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 68 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the app. Optional
Corresponds to the JSON property name
51 52 53 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 51 def name @name end |
#package_name ⇒ String
The package name of the app. Required.
Corresponds to the JSON property packageName
56 57 58 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 56 def package_name @package_name end |
#version_code ⇒ String
The internal version code of the app. Optional.
Corresponds to the JSON property versionCode
61 62 63 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 61 def version_code @version_code end |
#version_name ⇒ String
The version name of the app. Optional.
Corresponds to the JSON property versionName
66 67 68 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 66 def version_name @version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
73 74 75 76 77 78 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 73 def update!(**args) @name = args[:name] if args.key?(:name) @package_name = args[:package_name] if args.key?(:package_name) @version_code = args[:version_code] if args.key?(:version_code) @version_name = args[:version_name] if args.key?(:version_name) end |