Class: Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/listings_items_2021_08_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#patchesArray[Peddler::APIs::ListingsItems20210801::PatchOperation] (readonly)

Returns the value of attribute patches.



385
386
387
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 385

def patches
  @patches
end

#product_typeString (readonly)

Returns the value of attribute product_type.

Returns:

  • (String)


386
387
388
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 386

def product_type
  @product_type
end

Class Method Details

.[](patches:, product_type:) ⇒ Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest .[](arg0, arg1) ⇒ Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest



378
379
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 378

def self.[]: (patches: Array[Peddler::APIs::ListingsItems20210801::PatchOperation], product_type: String) -> Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest
| (Array[Peddler::APIs::ListingsItems20210801::PatchOperation], String) -> Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest

.members[ :patches, :product_type ]

Returns:

  • ([ :patches, :product_type ])


381
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 381

def self.members: () -> [ :patches, :product_type ]

.new(patches:, product_type:) ⇒ Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest .new(arg0, arg1) ⇒ Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest



376
377
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 376

def self.new: (patches: Array[Peddler::APIs::ListingsItems20210801::PatchOperation], product_type: String) -> Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest
| (Array[Peddler::APIs::ListingsItems20210801::PatchOperation], String) -> Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest

.parsePeddler::APIs::ListingsItems20210801::ListingsItemPatchRequest

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



383
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 383

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ListingsItems20210801::ListingsItemPatchRequest

Instance Method Details

#members[ :patches, :product_type ]

Returns:

  • ([ :patches, :product_type ])


388
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 388

def members: () -> [ :patches, :product_type ]

#to_h{ patches: Array[Peddler::APIs::ListingsItems20210801::PatchOperation], product_type: String }

Returns:



389
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 389

def to_h: () -> { patches: Array[Peddler::APIs::ListingsItems20210801::PatchOperation], product_type: String }