Class: Peddler::APIs::Support20250201::ChatEvent
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Support20250201::ChatEvent
- Defined in:
- sig/peddler/apis/support_2025_02_01.rbs
Instance Attribute Summary collapse
-
#attachments ⇒ Array[Peddler::APIs::Support20250201::Attachment]?
readonly
Returns the value of attribute attachments.
-
#message ⇒ String?
readonly
Returns the value of attribute message.
-
#participant ⇒ Peddler::APIs::Support20250201::Participant?
readonly
Returns the value of attribute participant.
-
#timestamp ⇒ Time
readonly
Returns the value of attribute timestamp.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :timestamp, :type, :attachments, :message, :participant ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Support20250201::ChatEvent
Instance Method Summary collapse
-
#members ⇒ [ :timestamp, :type, :attachments, :message, :participant ]
-
#to_h ⇒ { timestamp: Time, type: String, attachments: Array[Peddler::APIs::Support20250201::Attachment]?, message: String?, participant: Peddler::APIs::Support20250201::Participant? }
Instance Attribute Details
#attachments ⇒ Array[Peddler::APIs::Support20250201::Attachment]? (readonly)
Returns the value of attribute attachments.
132 133 134 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 132 def @attachments end |
#message ⇒ String? (readonly)
Returns the value of attribute message.
133 134 135 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 133 def @message end |
#participant ⇒ Peddler::APIs::Support20250201::Participant? (readonly)
Returns the value of attribute participant.
134 135 136 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 134 def participant @participant end |
#timestamp ⇒ Time (readonly)
Returns the value of attribute timestamp.
135 136 137 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 135 def @timestamp end |
#type ⇒ String (readonly)
Returns the value of attribute type.
136 137 138 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 136 def type @type end |
Class Method Details
.[](timestamp:, type:, attachments:, message:, participant:) ⇒ Peddler::APIs::Support20250201::ChatEvent .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::Support20250201::ChatEvent
125 126 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 125
def self.[]: (timestamp: Time, type: String, ?attachments: Array[Peddler::APIs::Support20250201::Attachment]?, ?message: String?, ?participant: Peddler::APIs::Support20250201::Participant?) -> Peddler::APIs::Support20250201::ChatEvent
| (Time, String, Array[Peddler::APIs::Support20250201::Attachment]?, String?, Peddler::APIs::Support20250201::Participant?) -> Peddler::APIs::Support20250201::ChatEvent
|
.members ⇒ [ :timestamp, :type, :attachments, :message, :participant ]
128 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 128
def self.members: () -> [ :timestamp, :type, :attachments, :message, :participant ]
|
.new(timestamp:, type:, attachments:, message:, participant:) ⇒ Peddler::APIs::Support20250201::ChatEvent .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::Support20250201::ChatEvent
123 124 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 123
def self.new: (timestamp: Time, type: String, ?attachments: Array[Peddler::APIs::Support20250201::Attachment]?, ?message: String?, ?participant: Peddler::APIs::Support20250201::Participant?) -> Peddler::APIs::Support20250201::ChatEvent
| (Time, String, Array[Peddler::APIs::Support20250201::Attachment]?, String?, Peddler::APIs::Support20250201::Participant?) -> Peddler::APIs::Support20250201::ChatEvent
|
.parse ⇒ Peddler::APIs::Support20250201::ChatEvent
130 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 130
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Support20250201::ChatEvent
|
Instance Method Details
#members ⇒ [ :timestamp, :type, :attachments, :message, :participant ]
138 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 138
def members: () -> [ :timestamp, :type, :attachments, :message, :participant ]
|
#to_h ⇒ { timestamp: Time, type: String, attachments: Array[Peddler::APIs::Support20250201::Attachment]?, message: String?, participant: Peddler::APIs::Support20250201::Participant? }
139 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 139
def to_h: () -> { timestamp: Time, type: String, attachments: Array[Peddler::APIs::Support20250201::Attachment]?, message: String?, participant: Peddler::APIs::Support20250201::Participant? }
|