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.



6669
6670
6671
# File 'lib/google/apis/content_v2/classes.rb', line 6669

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



6661
6662
6663
# File 'lib/google/apis/content_v2/classes.rb', line 6661

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)


6667
6668
6669
# File 'lib/google/apis/content_v2/classes.rb', line 6667

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6674
6675
6676
6677
# File 'lib/google/apis/content_v2/classes.rb', line 6674

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