Class: Google::Apis::DfareportingV2_5::ListSizesResponse

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

Overview

Size List Response

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

Returns a new instance of ListSizesResponse.



10358
10359
10360
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10358

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


10351
10352
10353
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10351

def kind
  @kind
end

#sizesArray<Google::Apis::DfareportingV2_5::Size>

Size collection. Corresponds to the JSON property sizes



10356
10357
10358
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10356

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10363
10364
10365
10366
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10363

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