Class: Peddler::APIs::AplusContent20201101::MediaInput
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::AplusContent20201101::MediaInput
- Defined in:
- sig/peddler/apis/aplus_content_2020_11_01.rbs
Instance Attribute Summary collapse
-
#media_id ⇒ String?
readonly
Returns the value of attribute media_id.
-
#media_type ⇒ String
readonly
Returns the value of attribute media_type.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
-
#upload_destination_id ⇒ String?
readonly
Returns the value of attribute upload_destination_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :media_type, :media_id, :title, :upload_destination_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::AplusContent20201101::MediaInput
Instance Method Summary collapse
-
#members ⇒ [ :media_type, :media_id, :title, :upload_destination_id ]
-
#to_h ⇒ { media_type: String, media_id: String?, title: String?, upload_destination_id: String? }
Instance Attribute Details
#media_id ⇒ String? (readonly)
Returns the value of attribute media_id.
932 933 934 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 932 def media_id @media_id end |
#media_type ⇒ String (readonly)
Returns the value of attribute media_type.
933 934 935 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 933 def media_type @media_type end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
934 935 936 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 934 def title @title end |
#upload_destination_id ⇒ String? (readonly)
Returns the value of attribute upload_destination_id.
935 936 937 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 935 def upload_destination_id @upload_destination_id end |
Class Method Details
.[](media_type:, media_id:, title:, upload_destination_id:) ⇒ Peddler::APIs::AplusContent20201101::MediaInput .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::AplusContent20201101::MediaInput
925 926 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 925
def self.[]: (media_type: String, ?media_id: String?, ?title: String?, ?upload_destination_id: String?) -> Peddler::APIs::AplusContent20201101::MediaInput
| (String, String?, String?, String?) -> Peddler::APIs::AplusContent20201101::MediaInput
|
.members ⇒ [ :media_type, :media_id, :title, :upload_destination_id ]
928 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 928
def self.members: () -> [ :media_type, :media_id, :title, :upload_destination_id ]
|
.new(media_type:, media_id:, title:, upload_destination_id:) ⇒ Peddler::APIs::AplusContent20201101::MediaInput .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::AplusContent20201101::MediaInput
923 924 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 923
def self.new: (media_type: String, ?media_id: String?, ?title: String?, ?upload_destination_id: String?) -> Peddler::APIs::AplusContent20201101::MediaInput
| (String, String?, String?, String?) -> Peddler::APIs::AplusContent20201101::MediaInput
|
.parse ⇒ Peddler::APIs::AplusContent20201101::MediaInput
930 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 930
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::AplusContent20201101::MediaInput
|
Instance Method Details
#members ⇒ [ :media_type, :media_id, :title, :upload_destination_id ]
937 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 937
def members: () -> [ :media_type, :media_id, :title, :upload_destination_id ]
|
#to_h ⇒ { media_type: String, media_id: String?, title: String?, upload_destination_id: String? }
938 |
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 938
def to_h: () -> { media_type: String, media_id: String?, title: String?, upload_destination_id: String? }
|