Class: Peddler::APIs::FBAInventoryV1::Granularity

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#granularity_idString? (readonly)

Returns the value of attribute granularity_id.

Returns:

  • (String, nil)


153
154
155
# File 'sig/peddler/apis/fba_inventory_v1.rbs', line 153

def granularity_id
  @granularity_id
end

#granularity_typeString? (readonly)

Returns the value of attribute granularity_type.

Returns:

  • (String, nil)


154
155
156
# File 'sig/peddler/apis/fba_inventory_v1.rbs', line 154

def granularity_type
  @granularity_type
end

Class Method Details

.[](granularity_id:, granularity_type:) ⇒ Peddler::APIs::FBAInventoryV1::Granularity .[](arg0, arg1) ⇒ Peddler::APIs::FBAInventoryV1::Granularity

Overloads:



146
147
# File 'sig/peddler/apis/fba_inventory_v1.rbs', line 146

def self.[]: (?granularity_id: String?, ?granularity_type: String?) -> Peddler::APIs::FBAInventoryV1::Granularity
| (String?, String?) -> Peddler::APIs::FBAInventoryV1::Granularity

.members[ :granularity_id, :granularity_type ]

Returns:

  • ([ :granularity_id, :granularity_type ])


149
# File 'sig/peddler/apis/fba_inventory_v1.rbs', line 149

def self.members: () -> [ :granularity_id, :granularity_type ]

.new(granularity_id:, granularity_type:) ⇒ Peddler::APIs::FBAInventoryV1::Granularity .new(arg0, arg1) ⇒ Peddler::APIs::FBAInventoryV1::Granularity

Overloads:



144
145
# File 'sig/peddler/apis/fba_inventory_v1.rbs', line 144

def self.new: (?granularity_id: String?, ?granularity_type: String?) -> Peddler::APIs::FBAInventoryV1::Granularity
| (String?, String?) -> Peddler::APIs::FBAInventoryV1::Granularity

.parsePeddler::APIs::FBAInventoryV1::Granularity

Parameters:

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

Returns:



151
# File 'sig/peddler/apis/fba_inventory_v1.rbs', line 151

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

Instance Method Details

#members[ :granularity_id, :granularity_type ]

Returns:

  • ([ :granularity_id, :granularity_type ])


156
# File 'sig/peddler/apis/fba_inventory_v1.rbs', line 156

def members: () -> [ :granularity_id, :granularity_type ]

#to_h{ granularity_id: String?, granularity_type: String? }

Returns:

  • ({ granularity_id: String?, granularity_type: String? })


157
# File 'sig/peddler/apis/fba_inventory_v1.rbs', line 157

def to_h: () -> { granularity_id: String?, granularity_type: String? }