Class: Peddler::Notifications::FeePromotion::Notification

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


214
215
216
# File 'sig/peddler/notifications/fee_promotion.rbs', line 214

def event_time
  @event_time
end

#notification_metadataHash[untyped, untyped] (readonly)

Returns the value of attribute notification_metadata.

Returns:

  • (Hash[untyped, untyped])


215
216
217
# File 'sig/peddler/notifications/fee_promotion.rbs', line 215

def 
  @notification_metadata
end

#notification_typeString (readonly)

Returns the value of attribute notification_type.

Returns:

  • (String)


216
217
218
# File 'sig/peddler/notifications/fee_promotion.rbs', line 216

def notification_type
  @notification_type
end

#notification_versionString (readonly)

Returns the value of attribute notification_version.

Returns:

  • (String)


217
218
219
# File 'sig/peddler/notifications/fee_promotion.rbs', line 217

def notification_version
  @notification_version
end

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

Returns the value of attribute payload.



218
219
220
# File 'sig/peddler/notifications/fee_promotion.rbs', line 218

def payload
  @payload
end

#payload_versionString (readonly)

Returns the value of attribute payload_version.

Returns:

  • (String)


219
220
221
# File 'sig/peddler/notifications/fee_promotion.rbs', line 219

def payload_version
  @payload_version
end

Class Method Details

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

Overloads:



207
208
# File 'sig/peddler/notifications/fee_promotion.rbs', line 207

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


210
# File 'sig/peddler/notifications/fee_promotion.rbs', line 210

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

Overloads:



205
206
# File 'sig/peddler/notifications/fee_promotion.rbs', line 205

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

.parsePeddler::Notifications::FeePromotion::Notification

Parameters:

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

Returns:



212
# File 'sig/peddler/notifications/fee_promotion.rbs', line 212

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


221
# File 'sig/peddler/notifications/fee_promotion.rbs', line 221

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::FeePromotion::Payload, payload_version: String }

Returns:



222
# File 'sig/peddler/notifications/fee_promotion.rbs', line 222

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