Class: Google::Apis::AndroidenterpriseV1::AppState

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

Overview

List of states set by the app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppState

Returns a new instance of AppState.



405
406
407
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 405

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

Instance Attribute Details

#keyed_app_stateArray<Google::Apis::AndroidenterpriseV1::KeyedAppState>

List of keyed app states. This field will always be present. Corresponds to the JSON property keyedAppState



398
399
400
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 398

def keyed_app_state
  @keyed_app_state
end

#package_nameString

The package name of the app. This field will always be present. Corresponds to the JSON property packageName

Returns:

  • (String)


403
404
405
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 403

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



410
411
412
413
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 410

def update!(**args)
  @keyed_app_state = args[:keyed_app_state] if args.key?(:keyed_app_state)
  @package_name = args[:package_name] if args.key?(:package_name)
end