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

Constructor Details

#initialize(**args) ⇒ AndroidAppInfo

Returns a new instance of AndroidAppInfo.



68
69
70
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 68

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


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

def name
  @name
end

#package_nameString

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

Returns:

  • (String)


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

def package_name
  @package_name
end

#version_codeString

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

Returns:

  • (String)


61
62
63
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 61

def version_code
  @version_code
end

#version_nameString

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

Returns:

  • (String)


66
67
68
# File 'generated/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 'generated/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