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.
9243 9244 9245 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9243 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
9236 9237 9238 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9236 def kind @kind end |
#resources ⇒ Array<Google::Apis::ContentV2_1::PosStore>
Corresponds to the JSON property resources
9241 9242 9243 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9241 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9248 9249 9250 9251 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9248 def update!(**args) @kind = args[:kind] if args.key?(:kind) @resources = args[:resources] if args.key?(:resources) end |