Class: Peddler::APIs::MessagingV1::Attachment
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MessagingV1::Attachment
- Defined in:
- sig/peddler/apis/messaging_v1.rbs
Instance Attribute Summary collapse
-
#file_name ⇒ String
readonly
Returns the value of attribute file_name.
-
#upload_destination_id ⇒ String
readonly
Returns the value of attribute upload_destination_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :file_name, :upload_destination_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::MessagingV1::Attachment
Instance Method Summary collapse
-
#members ⇒ [ :file_name, :upload_destination_id ]
-
#to_h ⇒ { file_name: String, upload_destination_id: String }
Instance Attribute Details
#file_name ⇒ String (readonly)
Returns the value of attribute file_name.
14 15 16 |
# File 'sig/peddler/apis/messaging_v1.rbs', line 14 def file_name @file_name end |
#upload_destination_id ⇒ String (readonly)
Returns the value of attribute upload_destination_id.
15 16 17 |
# File 'sig/peddler/apis/messaging_v1.rbs', line 15 def upload_destination_id @upload_destination_id end |
Class Method Details
.[](file_name:, upload_destination_id:) ⇒ Peddler::APIs::MessagingV1::Attachment .[](arg0, arg1) ⇒ Peddler::APIs::MessagingV1::Attachment
7 8 |
# File 'sig/peddler/apis/messaging_v1.rbs', line 7
def self.[]: (file_name: String, upload_destination_id: String) -> Peddler::APIs::MessagingV1::Attachment
| (String, String) -> Peddler::APIs::MessagingV1::Attachment
|
.members ⇒ [ :file_name, :upload_destination_id ]
10 |
# File 'sig/peddler/apis/messaging_v1.rbs', line 10
def self.members: () -> [ :file_name, :upload_destination_id ]
|
.new(file_name:, upload_destination_id:) ⇒ Peddler::APIs::MessagingV1::Attachment .new(arg0, arg1) ⇒ Peddler::APIs::MessagingV1::Attachment
5 6 |
# File 'sig/peddler/apis/messaging_v1.rbs', line 5
def self.new: (file_name: String, upload_destination_id: String) -> Peddler::APIs::MessagingV1::Attachment
| (String, String) -> Peddler::APIs::MessagingV1::Attachment
|
.parse ⇒ Peddler::APIs::MessagingV1::Attachment
12 |
# File 'sig/peddler/apis/messaging_v1.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MessagingV1::Attachment
|
Instance Method Details
#members ⇒ [ :file_name, :upload_destination_id ]
17 |
# File 'sig/peddler/apis/messaging_v1.rbs', line 17
def members: () -> [ :file_name, :upload_destination_id ]
|
#to_h ⇒ { file_name: String, upload_destination_id: String }
18 |
# File 'sig/peddler/apis/messaging_v1.rbs', line 18
def to_h: () -> { file_name: String, upload_destination_id: String }
|