Class: Google::Apis::ContentV2::OrdersCustomBatchResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrdersCustomBatchResponse

Returns a new instance of OrdersCustomBatchResponse.



7028
7029
7030
# File 'lib/google/apis/content_v2/classes.rb', line 7028

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

Instance Attribute Details

#entriesArray<Google::Apis::ContentV2::OrdersCustomBatchResponseEntry>

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



7020
7021
7022
# File 'lib/google/apis/content_v2/classes.rb', line 7020

def entries
  @entries
end

#kindString

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

Returns:

  • (String)


7026
7027
7028
# File 'lib/google/apis/content_v2/classes.rb', line 7026

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7033
7034
7035
7036
# File 'lib/google/apis/content_v2/classes.rb', line 7033

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