Class: Peddler::APIs::ListingsItems20200901::PatchOperation

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#opString (readonly)

Returns the value of attribute op.

Returns:

  • (String)


121
122
123
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 121

def op
  @op
end

#pathString (readonly)

Returns the value of attribute path.

Returns:

  • (String)


122
123
124
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 122

def path
  @path
end

#valueArray[untyped]? (readonly)

Returns the value of attribute value.

Returns:

  • (Array[untyped], nil)


123
124
125
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 123

def value
  @value
end

Class Method Details

.[](op:, path:, value:) ⇒ Peddler::APIs::ListingsItems20200901::PatchOperation .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ListingsItems20200901::PatchOperation

Overloads:



114
115
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 114

def self.[]: (op: String, path: String, ?value: Array[untyped]?) -> Peddler::APIs::ListingsItems20200901::PatchOperation
| (String, String, Array[untyped]?) -> Peddler::APIs::ListingsItems20200901::PatchOperation

.members[ :op, :path, :value ]

Returns:

  • ([ :op, :path, :value ])


117
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 117

def self.members: () -> [ :op, :path, :value ]

.new(op:, path:, value:) ⇒ Peddler::APIs::ListingsItems20200901::PatchOperation .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ListingsItems20200901::PatchOperation

Overloads:



112
113
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 112

def self.new: (op: String, path: String, ?value: Array[untyped]?) -> Peddler::APIs::ListingsItems20200901::PatchOperation
| (String, String, Array[untyped]?) -> Peddler::APIs::ListingsItems20200901::PatchOperation

.parsePeddler::APIs::ListingsItems20200901::PatchOperation

Parameters:

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

Returns:



119
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 119

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

Instance Method Details

#members[ :op, :path, :value ]

Returns:

  • ([ :op, :path, :value ])


125
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 125

def members: () -> [ :op, :path, :value ]

#to_h{ op: String, path: String, value: Array[untyped]? }

Returns:

  • ({ op: String, path: String, value: Array[untyped]? })


126
# File 'sig/peddler/apis/listings_items_2020_09_01.rbs', line 126

def to_h: () -> { op: String, path: String, value: Array[untyped]? }