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.



11650
11651
11652
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11650

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)


11643
11644
11645
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11643

def kind
  @kind
end

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

Size collection. Corresponds to the JSON property sizes



11648
11649
11650
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11648

def sizes
  @sizes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11655
11656
11657
11658
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 11655

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