Class: Google::Apis::ContentV2_1::ReturnpolicyListResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReturnpolicyListResponse

Returns a new instance of ReturnpolicyListResponse.



10458
10459
10460
# File 'generated/google/apis/content_v2_1/classes.rb', line 10458

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# returnpolicyListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


10451
10452
10453
# File 'generated/google/apis/content_v2_1/classes.rb', line 10451

def kind
  @kind
end

#resourcesArray<Google::Apis::ContentV2_1::ReturnPolicy>

Corresponds to the JSON property resources



10456
10457
10458
# File 'generated/google/apis/content_v2_1/classes.rb', line 10456

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10463
10464
10465
10466
# File 'generated/google/apis/content_v2_1/classes.rb', line 10463

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