Class: Google::Apis::DfareportingV3_1::SizesListResponse

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



11024
11025
11026
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11024

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)


11017
11018
11019
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11017

def kind
  @kind
end

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

Size collection. Corresponds to the JSON property sizes



11022
11023
11024
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11022

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11029
11030
11031
11032
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 11029

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