Class: Peddler::Notifications::ListingsItemMfnQuantityChange::Notification

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/listings_item_mfn_quantity_change.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#event_timeTime (readonly)

Returns the value of attribute event_time.

Returns:

  • (Time)


14
15
16
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 14

def event_time
  @event_time
end

#notification_metadataHash[untyped, untyped] (readonly)

Returns the value of attribute notification_metadata.

Returns:

  • (Hash[untyped, untyped])


15
16
17
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 15

def 
  @notification_metadata
end

#notification_typeString (readonly)

Returns the value of attribute notification_type.

Returns:

  • (String)


16
17
18
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 16

def notification_type
  @notification_type
end

#notification_versionString (readonly)

Returns the value of attribute notification_version.

Returns:

  • (String)


17
18
19
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 17

def notification_version
  @notification_version
end

#payloadPeddler::Notifications::ListingsItemMfnQuantityChange::Payload (readonly)

Returns the value of attribute payload.



18
19
20
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 18

def payload
  @payload
end

#payload_versionString (readonly)

Returns the value of attribute payload_version.

Returns:

  • (String)


19
20
21
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 19

def payload_version
  @payload_version
end

Class Method Details

.[](event_time:, notification_metadata:, notification_type:, notification_version:, payload:, payload_version:) ⇒ Peddler::Notifications::ListingsItemMfnQuantityChange::Notification .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::ListingsItemMfnQuantityChange::Notification

Overloads:



7
8
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 7

def self.[]: (event_time: Time, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::ListingsItemMfnQuantityChange::Payload, payload_version: String) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Notification
| (Time, Hash[untyped, untyped], String, String, Peddler::Notifications::ListingsItemMfnQuantityChange::Payload, String) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Notification

.members[ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]

Returns:

  • ([ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ])


10
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 10

def self.members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]

.new(event_time:, notification_metadata:, notification_type:, notification_version:, payload:, payload_version:) ⇒ Peddler::Notifications::ListingsItemMfnQuantityChange::Notification .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::ListingsItemMfnQuantityChange::Notification

Overloads:



5
6
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 5

def self.new: (event_time: Time, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::ListingsItemMfnQuantityChange::Payload, payload_version: String) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Notification
| (Time, Hash[untyped, untyped], String, String, Peddler::Notifications::ListingsItemMfnQuantityChange::Payload, String) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Notification

.parsePeddler::Notifications::ListingsItemMfnQuantityChange::Notification

Parameters:

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

Returns:



12
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 12

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Notification

Instance Method Details

#members[ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]

Returns:

  • ([ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ])


21
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 21

def members: () -> [ :event_time, :notification_metadata, :notification_type, :notification_version, :payload, :payload_version ]

#to_h{ event_time: Time, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::ListingsItemMfnQuantityChange::Payload, payload_version: String }

Returns:



22
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 22

def to_h: () -> { event_time: Time, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::ListingsItemMfnQuantityChange::Payload, payload_version: String }