Class: Google::Apis::DfareportingV5::SizesListResponse

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

Overview

Size List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SizesListResponse

Returns a new instance of SizesListResponse.



12199
12200
12201
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12199

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)


12192
12193
12194
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12192

def kind
  @kind
end

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

Size collection. Corresponds to the JSON property sizes



12197
12198
12199
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12197

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12204
12205
12206
12207
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12204

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