Class: Peddler::Feeds::ListingsFeedSchema::Message

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/feeds/listings_feed_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)


50
51
52
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 50

def attributes
  @attributes
end

#message_idInteger (readonly)

Returns the value of attribute message_id.

Returns:

  • (Integer)


51
52
53
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 51

def message_id
  @message_id
end

#operation_typeString (readonly)

Returns the value of attribute operation_type.

Returns:

  • (String)


52
53
54
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 52

def operation_type
  @operation_type
end

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

Returns the value of attribute patches.



53
54
55
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 53

def patches
  @patches
end

#product_typeString? (readonly)

Returns the value of attribute product_type.

Returns:

  • (String, nil)


54
55
56
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 54

def product_type
  @product_type
end

#requirementsString? (readonly)

Returns the value of attribute requirements.

Returns:

  • (String, nil)


55
56
57
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 55

def requirements
  @requirements
end

#skuString (readonly)

Returns the value of attribute sku.

Returns:

  • (String)


56
57
58
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 56

def sku
  @sku
end

Class Method Details

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

Overloads:



43
44
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 43

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

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

Returns:

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


46
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 46

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::ListingsFeedSchema::Message .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::Feeds::ListingsFeedSchema::Message

Overloads:



41
42
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 41

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

.parsePeddler::Feeds::ListingsFeedSchema::Message

Parameters:

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

Returns:



48
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 48

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

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 ])


58
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 58

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::ListingsFeedSchema::Patch]?, product_type: String?, requirements: String? }

Returns:

  • ({ message_id: Integer, operation_type: String, sku: String, attributes: Hash[untyped, untyped]?, patches: Array[Peddler::Feeds::ListingsFeedSchema::Patch]?, product_type: String?, requirements: String? })


59
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 59

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