Class: Google::Apis::AndroidpublisherV2::InAppProductsBatchRequestEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InAppProductsBatchRequestEntry

Returns a new instance of InAppProductsBatchRequestEntry.



836
837
838
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 836

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

Instance Attribute Details

#batch_idFixnum

Corresponds to the JSON property batchId

Returns:

  • (Fixnum)


819
820
821
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 819

def batch_id
  @batch_id
end

#inappproductsinsertrequestGoogle::Apis::AndroidpublisherV2::InsertInAppProductsRequest

Corresponds to the JSON property inappproductsinsertrequest



824
825
826
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 824

def inappproductsinsertrequest
  @inappproductsinsertrequest
end

#inappproductsupdaterequestGoogle::Apis::AndroidpublisherV2::UpdateInAppProductsRequest

Corresponds to the JSON property inappproductsupdaterequest



829
830
831
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 829

def inappproductsupdaterequest
  @inappproductsupdaterequest
end

#method_nameString

Corresponds to the JSON property methodName

Returns:

  • (String)


834
835
836
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 834

def method_name
  @method_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



841
842
843
844
845
846
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 841

def update!(**args)
  @batch_id = args[:batch_id] if args.key?(:batch_id)
  @inappproductsinsertrequest = args[:inappproductsinsertrequest] if args.key?(:inappproductsinsertrequest)
  @inappproductsupdaterequest = args[:inappproductsupdaterequest] if args.key?(:inappproductsupdaterequest)
  @method_name = args[:method_name] if args.key?(:method_name)
end