Class: Peddler::APIs::Support20250201::Contact
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Support20250201::Contact
- Defined in:
- sig/peddler/apis/support_2025_02_01.rbs
Instance Attribute Summary collapse
-
#channel ⇒ String
readonly
Returns the value of attribute channel.
-
#chat_content ⇒ Peddler::APIs::Support20250201::ChatContent?
readonly
Returns the value of attribute chat_content.
-
#contact_id ⇒ String
readonly
Returns the value of attribute contact_id.
-
#created_date ⇒ Time
readonly
Returns the value of attribute created_date.
-
#email_content ⇒ Peddler::APIs::Support20250201::EmailContent?
readonly
Returns the value of attribute email_content.
-
#phone_content ⇒ Peddler::APIs::Support20250201::PhoneContent?
readonly
Returns the value of attribute phone_content.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :channel, :contact_id, :created_date, :chat_content, :email_content, :phone_content ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Support20250201::Contact
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#channel ⇒ String (readonly)
Returns the value of attribute channel.
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.
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.
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
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 ]
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
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
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 ]
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? }
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? }
|