Class: Peddler::APIs::Support20250201::EmailContent

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/support_2025_02_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attachments ⇒ Array[Peddler::APIs::Support20250201::Attachment]? (readonly)

Returns the value of attribute attachments.



190
191
192
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 190

def attachments
  @attachments
end

#message ⇒ String (readonly)

Returns the value of attribute message.

Returns:

  • (String)


191
192
193
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 191

def message
  @message
end

#sender ⇒ Peddler::APIs::Support20250201::Participant (readonly)

Returns the value of attribute sender.



192
193
194
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 192

def sender
  @sender
end

Class Method Details

.[](message:, sender:, attachments:) ⇒ Peddler::APIs::Support20250201::EmailContent .[](arg0, arg1, arg2) ⇒ Peddler::APIs::Support20250201::EmailContent



183
184
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 183

def self.[]: (message: String, sender: Peddler::APIs::Support20250201::Participant, ?attachments: Array[Peddler::APIs::Support20250201::Attachment]?) -> Peddler::APIs::Support20250201::EmailContent
| (String, Peddler::APIs::Support20250201::Participant, Array[Peddler::APIs::Support20250201::Attachment]?) -> Peddler::APIs::Support20250201::EmailContent

.members ⇒ [ :message, :sender, :attachments ]

Returns:

  • ([ :message, :sender, :attachments ])


186
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 186

def self.members: () -> [ :message, :sender, :attachments ]

.new(message:, sender:, attachments:) ⇒ Peddler::APIs::Support20250201::EmailContent .new(arg0, arg1, arg2) ⇒ Peddler::APIs::Support20250201::EmailContent



181
182
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 181

def self.new: (message: String, sender: Peddler::APIs::Support20250201::Participant, ?attachments: Array[Peddler::APIs::Support20250201::Attachment]?) -> Peddler::APIs::Support20250201::EmailContent
| (String, Peddler::APIs::Support20250201::Participant, Array[Peddler::APIs::Support20250201::Attachment]?) -> Peddler::APIs::Support20250201::EmailContent

.parse ⇒ Peddler::APIs::Support20250201::EmailContent

Parameters:

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

Returns:



188
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 188

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Support20250201::EmailContent

Instance Method Details

#members ⇒ [ :message, :sender, :attachments ]

Returns:

  • ([ :message, :sender, :attachments ])


194
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 194

def members: () -> [ :message, :sender, :attachments ]

#to_h ⇒ { message: String, sender: Peddler::APIs::Support20250201::Participant, attachments: Array[Peddler::APIs::Support20250201::Attachment]? }

Returns:



195
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 195

def to_h: () -> { message: String, sender: Peddler::APIs::Support20250201::Participant, attachments: Array[Peddler::APIs::Support20250201::Attachment]? }