Class: Google::Apis::ContentV2::PosListResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PosListResponse

Returns a new instance of PosListResponse.



8434
8435
8436
# File 'generated/google/apis/content_v2/classes.rb', line 8434

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# posListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


8427
8428
8429
# File 'generated/google/apis/content_v2/classes.rb', line 8427

def kind
  @kind
end

#resourcesArray<Google::Apis::ContentV2::PosStore>

Corresponds to the JSON property resources



8432
8433
8434
# File 'generated/google/apis/content_v2/classes.rb', line 8432

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8439
8440
8441
8442
# File 'generated/google/apis/content_v2/classes.rb', line 8439

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