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



49
50
51
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 49

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


32
33
34
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 32

def name
  @name
end

#package_nameString

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

Returns:

  • (String)


37
38
39
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 37

def package_name
  @package_name
end

#version_codeString

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

Returns:

  • (String)


42
43
44
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 42

def version_code
  @version_code
end

#version_nameString

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

Returns:

  • (String)


47
48
49
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 47

def version_name
  @version_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54
55
56
57
58
59
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 54

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