Class: Google::Apis::ContentV2_1::ReturnpolicyListResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ReturnpolicyListResponse
- 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
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#resources ⇒ Array<Google::Apis::ContentV2_1::ReturnPolicy>
Corresponds to the JSON property
resources
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReturnpolicyListResponse
constructor
A new instance of ReturnpolicyListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReturnpolicyListResponse
Returns a new instance of ReturnpolicyListResponse.
9174 9175 9176 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 9174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
returnpolicyListResponse".
Corresponds to the JSON property kind
9167 9168 9169 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 9167 def kind @kind end |
#resources ⇒ Array<Google::Apis::ContentV2_1::ReturnPolicy>
Corresponds to the JSON property resources
9172 9173 9174 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 9172 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9179 9180 9181 9182 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 9179 def update!(**args) @kind = args[:kind] if args.key?(:kind) @resources = args[:resources] if args.key?(:resources) end |