Class: Peddler::Feeds::ListingsFeedMessageSchema::Feed

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/feeds/listings_feed_message_schema.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attributesHash[untyped, untyped]? (readonly)

Returns the value of attribute attributes.

Returns:

  • (Hash[untyped, untyped], nil)


14
15
16
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 14

def attributes
  @attributes
end

#message_idInteger (readonly)

Returns the value of attribute message_id.

Returns:

  • (Integer)


15
16
17
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 15

def message_id
  @message_id
end

#operation_typeString (readonly)

Returns the value of attribute operation_type.

Returns:

  • (String)


16
17
18
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 16

def operation_type
  @operation_type
end

#patchesArray[Peddler::Feeds::ListingsFeedMessageSchema::Patch]? (readonly)

Returns the value of attribute patches.



17
18
19
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 17

def patches
  @patches
end

#product_typeString? (readonly)

Returns the value of attribute product_type.

Returns:

  • (String, nil)


18
19
20
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 18

def product_type
  @product_type
end

#requirementsString? (readonly)

Returns the value of attribute requirements.

Returns:

  • (String, nil)


19
20
21
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 19

def requirements
  @requirements
end

#skuString (readonly)

Returns the value of attribute sku.

Returns:

  • (String)


20
21
22
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 20

def sku
  @sku
end

Class Method Details

.[](message_id:, operation_type:, sku:, attributes:, patches:, product_type:, requirements:) ⇒ Peddler::Feeds::ListingsFeedMessageSchema::Feed .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::Feeds::ListingsFeedMessageSchema::Feed

Overloads:



7
8
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 7

def self.[]: (message_id: Integer, operation_type: String, sku: String, ?attributes: Hash[untyped, untyped]?, ?patches: Array[Peddler::Feeds::ListingsFeedMessageSchema::Patch]?, ?product_type: String?, ?requirements: String?) -> Peddler::Feeds::ListingsFeedMessageSchema::Feed
| (Integer, String, String, Hash[untyped, untyped]?, Array[Peddler::Feeds::ListingsFeedMessageSchema::Patch]?, String?, String?) -> Peddler::Feeds::ListingsFeedMessageSchema::Feed

.members[ :message_id, :operation_type, :sku, :attributes, :patches, :product_type, :requirements ]

Returns:

  • ([ :message_id, :operation_type, :sku, :attributes, :patches, :product_type, :requirements ])


10
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 10

def self.members: () -> [ :message_id, :operation_type, :sku, :attributes, :patches, :product_type, :requirements ]

.new(message_id:, operation_type:, sku:, attributes:, patches:, product_type:, requirements:) ⇒ Peddler::Feeds::ListingsFeedMessageSchema::Feed .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::Feeds::ListingsFeedMessageSchema::Feed

Overloads:



5
6
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 5

def self.new: (message_id: Integer, operation_type: String, sku: String, ?attributes: Hash[untyped, untyped]?, ?patches: Array[Peddler::Feeds::ListingsFeedMessageSchema::Patch]?, ?product_type: String?, ?requirements: String?) -> Peddler::Feeds::ListingsFeedMessageSchema::Feed
| (Integer, String, String, Hash[untyped, untyped]?, Array[Peddler::Feeds::ListingsFeedMessageSchema::Patch]?, String?, String?) -> Peddler::Feeds::ListingsFeedMessageSchema::Feed

.parsePeddler::Feeds::ListingsFeedMessageSchema::Feed

Parameters:

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

Returns:



12
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 12

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Feeds::ListingsFeedMessageSchema::Feed

Instance Method Details

#members[ :message_id, :operation_type, :sku, :attributes, :patches, :product_type, :requirements ]

Returns:

  • ([ :message_id, :operation_type, :sku, :attributes, :patches, :product_type, :requirements ])


22
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 22

def members: () -> [ :message_id, :operation_type, :sku, :attributes, :patches, :product_type, :requirements ]

#to_h{ message_id: Integer, operation_type: String, sku: String, attributes: Hash[untyped, untyped]?, patches: Array[Peddler::Feeds::ListingsFeedMessageSchema::Patch]?, product_type: String?, requirements: String? }

Returns:



23
# File 'sig/peddler/feeds/listings_feed_message_schema.rbs', line 23

def to_h: () -> { message_id: Integer, operation_type: String, sku: String, attributes: Hash[untyped, untyped]?, patches: Array[Peddler::Feeds::ListingsFeedMessageSchema::Patch]?, product_type: String?, requirements: String? }