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

Constructor Details

#initialize(**args) ⇒ ReturnpolicyListResponse

Returns a new instance of ReturnpolicyListResponse.



12125
12126
12127
# File 'generated/google/apis/content_v2_1/classes.rb', line 12125

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)


12118
12119
12120
# File 'generated/google/apis/content_v2_1/classes.rb', line 12118

def kind
  @kind
end

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

Corresponds to the JSON property resources



12123
12124
12125
# File 'generated/google/apis/content_v2_1/classes.rb', line 12123

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12130
12131
12132
12133
# File 'generated/google/apis/content_v2_1/classes.rb', line 12130

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