Class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse

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) ⇒ ReturnaddressCustomBatchResponse

Returns a new instance of ReturnaddressCustomBatchResponse.



8956
8957
8958
# File 'generated/google/apis/content_v2_1/classes.rb', line 8956

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

Instance Attribute Details

#entriesArray<Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponseEntry>

The result of the execution of the batch requests. Corresponds to the JSON property entries



8948
8949
8950
# File 'generated/google/apis/content_v2_1/classes.rb', line 8948

def entries
  @entries
end

#kindString

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

Returns:

  • (String)


8954
8955
8956
# File 'generated/google/apis/content_v2_1/classes.rb', line 8954

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8961
8962
8963
8964
# File 'generated/google/apis/content_v2_1/classes.rb', line 8961

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