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)


129
130
131
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 129

def channel
  @channel
end

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

Returns the value of attribute chat_content.



130
131
132
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 130

def chat_content
  @chat_content
end

#contact_id ⇒ String (readonly)

Returns the value of attribute contact_id.

Returns:

  • (String)


131
132
133
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 131

def contact_id
  @contact_id
end

#created_date ⇒ Time (readonly)

Returns the value of attribute created_date.

Returns:

  • (Time)


132
133
134
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 132

def created_date
  @created_date
end

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

Returns the value of attribute email_content.



133
134
135
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 133

def email_content
  @email_content
end

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

Returns the value of attribute phone_content.



134
135
136
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 134

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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:



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

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? }