Class: Google::Apis::DfareportingV2_8::SizesListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/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) ⇒ SizesListResponse

Returns a new instance of SizesListResponse



10819
10820
10821
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10819

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)


10812
10813
10814
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10812

def kind
  @kind
end

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

Size collection. Corresponds to the JSON property sizes



10817
10818
10819
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10817

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10824
10825
10826
10827
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 10824

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