class Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry

Attributes

batch_id[RW]

The ID of the request entry to which this entry responds. Corresponds to the JSON property `batchId` @return [Fixnum]

errors[RW]

A list of errors returned by a failed batch entry. Corresponds to the JSON property `errors` @return [Google::Apis::ContentV2_1::Errors]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “`content# returnpolicyCustomBatchResponseEntry`” Corresponds to the JSON property `kind` @return [String]

return_policy[RW]

Return policy resource. Corresponds to the JSON property `returnPolicy` @return [Google::Apis::ContentV2_1::ReturnPolicy]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 13749
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 13754
def update!(**args)
  @batch_id = args[:batch_id] if args.key?(:batch_id)
  @errors = args[:errors] if args.key?(:errors)
  @kind = args[:kind] if args.key?(:kind)
  @return_policy = args[:return_policy] if args.key?(:return_policy)
end