Class: Peddler::Notifications::AnyOfferChanged::Notification

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#event_timeString (readonly)

Returns the value of attribute event_time.

Returns:

  • (String)


74
75
76
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 74

def event_time
  @event_time
end

#notification_metadataHash[untyped, untyped] (readonly)

Returns the value of attribute notification_metadata.

Returns:

  • (Hash[untyped, untyped])


75
76
77
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 75

def 
  @notification_metadata
end

#notification_typeString (readonly)

Returns the value of attribute notification_type.

Returns:

  • (String)


76
77
78
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 76

def notification_type
  @notification_type
end

#notification_versionString (readonly)

Returns the value of attribute notification_version.

Returns:

  • (String)


77
78
79
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 77

def notification_version
  @notification_version
end

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

Returns the value of attribute payload.



78
79
80
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 78

def payload
  @payload
end

#payload_versionString (readonly)

Returns the value of attribute payload_version.

Returns:

  • (String)


79
80
81
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 79

def payload_version
  @payload_version
end

Class Method Details

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

Overloads:



67
68
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 67

def self.[]: (event_time: String, notification_metadata: Hash[untyped, untyped], notification_type: String, notification_version: String, payload: Peddler::Notifications::AnyOfferChanged::Payload, payload_version: String) -> Peddler::Notifications::AnyOfferChanged::Notification
| (String, Hash[untyped, untyped], String, String, Peddler::Notifications::AnyOfferChanged::Payload, String) -> Peddler::Notifications::AnyOfferChanged::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 ])


70
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 70

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::AnyOfferChanged::Notification .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::AnyOfferChanged::Notification

Overloads:



65
66
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 65

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

.parsePeddler::Notifications::AnyOfferChanged::Notification

Parameters:

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

Returns:



72
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 72

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::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 ])


81
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 81

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

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

Returns:



82
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 82

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