Class: Google::Apis::DfareportingV4::SizesListResponse

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



12077
12078
12079
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12077

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)


12070
12071
12072
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12070

def kind
  @kind
end

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

Size collection. Corresponds to the JSON property sizes



12075
12076
12077
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12075

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12082
12083
12084
12085
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12082

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