Class: Peddler::APIs::Support20250201::Contact

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

#channel ⇒ String (readonly)

Returns the value of attribute channel.

Returns:

  • (String)


152
153
154
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 152

def channel
  @channel
end

#chat_content ⇒ Peddler::APIs::Support20250201::ChatContent? (readonly)

Returns the value of attribute chat_content.



153
154
155
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 153

def chat_content
  @chat_content
end

#contact_id ⇒ String (readonly)

Returns the value of attribute contact_id.

Returns:

  • (String)


154
155
156
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 154

def contact_id
  @contact_id
end

#created_date ⇒ Time (readonly)

Returns the value of attribute created_date.

Returns:

  • (Time)


155
156
157
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 155

def created_date
  @created_date
end

#email_content ⇒ Peddler::APIs::Support20250201::EmailContent? (readonly)

Returns the value of attribute email_content.



156
157
158
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 156

def email_content
  @email_content
end

#phone_content ⇒ Peddler::APIs::Support20250201::PhoneContent? (readonly)

Returns the value of attribute phone_content.



157
158
159
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 157

def phone_content
  @phone_content
end

Class Method Details

.[](channel:, contact_id:, created_date:, chat_content:, email_content:, phone_content:) ⇒ Peddler::APIs::Support20250201::Contact .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::Support20250201::Contact

Overloads:



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

def self.[]: (channel: String, contact_id: String, created_date: Time, ?chat_content: Peddler::APIs::Support20250201::ChatContent?, ?email_content: Peddler::APIs::Support20250201::EmailContent?, ?phone_content: Peddler::APIs::Support20250201::PhoneContent?) -> Peddler::APIs::Support20250201::Contact
| (String, String, Time, Peddler::APIs::Support20250201::ChatContent?, Peddler::APIs::Support20250201::EmailContent?, Peddler::APIs::Support20250201::PhoneContent?) -> Peddler::APIs::Support20250201::Contact

.members ⇒ [ :channel, :contact_id, :created_date, :chat_content, :email_content, :phone_content ]

Returns:

  • ([ :channel, :contact_id, :created_date, :chat_content, :email_content, :phone_content ])


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

def self.members: () -> [ :channel, :contact_id, :created_date, :chat_content, :email_content, :phone_content ]

.new(channel:, contact_id:, created_date:, chat_content:, email_content:, phone_content:) ⇒ Peddler::APIs::Support20250201::Contact .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::Support20250201::Contact

Overloads:



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

def self.new: (channel: String, contact_id: String, created_date: Time, ?chat_content: Peddler::APIs::Support20250201::ChatContent?, ?email_content: Peddler::APIs::Support20250201::EmailContent?, ?phone_content: Peddler::APIs::Support20250201::PhoneContent?) -> Peddler::APIs::Support20250201::Contact
| (String, String, Time, Peddler::APIs::Support20250201::ChatContent?, Peddler::APIs::Support20250201::EmailContent?, Peddler::APIs::Support20250201::PhoneContent?) -> Peddler::APIs::Support20250201::Contact

.parse ⇒ Peddler::APIs::Support20250201::Contact

Parameters:

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

Returns:



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

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

Instance Method Details

#members ⇒ [ :channel, :contact_id, :created_date, :chat_content, :email_content, :phone_content ]

Returns:

  • ([ :channel, :contact_id, :created_date, :chat_content, :email_content, :phone_content ])


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

def members: () -> [ :channel, :contact_id, :created_date, :chat_content, :email_content, :phone_content ]

#to_h ⇒ { channel: String, contact_id: String, created_date: Time, chat_content: Peddler::APIs::Support20250201::ChatContent?, email_content: Peddler::APIs::Support20250201::EmailContent?, phone_content: Peddler::APIs::Support20250201::PhoneContent? }

Returns:



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

def to_h: () -> { channel: String, contact_id: String, created_date: Time, chat_content: Peddler::APIs::Support20250201::ChatContent?, email_content: Peddler::APIs::Support20250201::EmailContent?, phone_content: Peddler::APIs::Support20250201::PhoneContent? }