Class: Google::Apis::ContentV2_1::PosListResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PosListResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#resources ⇒ Array<Google::Apis::ContentV2_1::PosStore>
Corresponds to the JSON property
resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PosListResponse
constructor
A new instance of PosListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PosListResponse
Returns a new instance of PosListResponse.
9318 9319 9320 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9318 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
posListResponse".
Corresponds to the JSON property kind
9311 9312 9313 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9311 def kind @kind end |
#resources ⇒ Array<Google::Apis::ContentV2_1::PosStore>
Corresponds to the JSON property resources
9316 9317 9318 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9316 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9323 9324 9325 9326 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9323 def update!(**args) @kind = args[:kind] if args.key?(:kind) @resources = args[:resources] if args.key?(:resources) end |