Class: Peddler::Notifications::DetailPageTrafficEvent::Notification

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


39
40
41
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 39

def event_time
  @event_time
end

#notification_metadataString (readonly)

Returns the value of attribute notification_metadata.

Returns:

  • (String)


40
41
42
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 40

def 
  @notification_metadata
end

#notification_typeString (readonly)

Returns the value of attribute notification_type.

Returns:

  • (String)


41
42
43
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 41

def notification_type
  @notification_type
end

#notification_versionString (readonly)

Returns the value of attribute notification_version.

Returns:

  • (String)


42
43
44
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 42

def notification_version
  @notification_version
end

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

Returns the value of attribute payload.



43
44
45
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 43

def payload
  @payload
end

#payload_versionString (readonly)

Returns the value of attribute payload_version.

Returns:

  • (String)


44
45
46
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 44

def payload_version
  @payload_version
end

Class Method Details

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

Overloads:



32
33
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 32

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


35
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 35

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

Overloads:



30
31
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 30

def self.new: (event_time: String, notification_metadata: String, notification_type: String, notification_version: String, payload: Peddler::Notifications::DetailPageTrafficEvent::Payload, payload_version: String) -> Peddler::Notifications::DetailPageTrafficEvent::Notification
| (String, String, String, String, Peddler::Notifications::DetailPageTrafficEvent::Payload, String) -> Peddler::Notifications::DetailPageTrafficEvent::Notification

.parsePeddler::Notifications::DetailPageTrafficEvent::Notification

Parameters:

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

Returns:



37
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 37

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


46
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 46

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

#to_h{ event_time: String, notification_metadata: String, notification_type: String, notification_version: String, payload: Peddler::Notifications::DetailPageTrafficEvent::Payload, payload_version: String }

Returns:



47
# File 'sig/peddler/notifications/detail_page_traffic_event.rbs', line 47

def to_h: () -> { event_time: String, notification_metadata: String, notification_type: String, notification_version: String, payload: Peddler::Notifications::DetailPageTrafficEvent::Payload, payload_version: String }