Class: Google::Apis::ToolresultsV1beta3::AndroidAppInfo

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

Overview

Android app information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AndroidAppInfo

Returns a new instance of AndroidAppInfo.



72
73
74
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 72

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

Instance Attribute Details

#nameString

The name of the app. Optional Corresponds to the JSON property name

Returns:

  • (String)


52
53
54
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 52

def name
  @name
end

#package_nameString

The package name of the app. Required. Corresponds to the JSON property packageName

Returns:

  • (String)


58
59
60
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 58

def package_name
  @package_name
end

#version_codeString

The internal version code of the app. Optional. Corresponds to the JSON property versionCode

Returns:

  • (String)


64
65
66
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 64

def version_code
  @version_code
end

#version_nameString

The version name of the app. Optional. Corresponds to the JSON property versionName

Returns:

  • (String)


70
71
72
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 70

def version_name
  @version_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



77
78
79
80
81
82
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 77

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