Class: Google::Apis::AppstateV1::ListResponse

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

Overview

This is a JSON template to convert a list-response for app state.

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) ⇒ ListResponse

Returns a new instance of ListResponse.



83
84
85
# File 'generated/google/apis/appstate_v1/classes.rb', line 83

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

Instance Attribute Details

#itemsArray<Google::Apis::AppstateV1::GetResponse>

The app state data. Corresponds to the JSON property items



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

def items
  @items
end

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string appstate#listResponse. Corresponds to the JSON property kind

Returns:

  • (String)


76
77
78
# File 'generated/google/apis/appstate_v1/classes.rb', line 76

def kind
  @kind
end

#maximum_key_countFixnum

The maximum number of keys allowed for this user. Corresponds to the JSON property maximumKeyCount

Returns:

  • (Fixnum)


81
82
83
# File 'generated/google/apis/appstate_v1/classes.rb', line 81

def maximum_key_count
  @maximum_key_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



88
89
90
91
92
# File 'generated/google/apis/appstate_v1/classes.rb', line 88

def update!(**args)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @maximum_key_count = args[:maximum_key_count] if args.key?(:maximum_key_count)
end