Class: Peddler::APIs::Uploads20201101::UploadDestination

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/uploads_2020_11_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#headersHash[untyped, untyped]? (readonly)

Returns the value of attribute headers.

Returns:

  • (Hash[untyped, untyped], nil)


53
54
55
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 53

def headers
  @headers
end

#upload_destination_idString? (readonly)

Returns the value of attribute upload_destination_id.

Returns:

  • (String, nil)


54
55
56
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 54

def upload_destination_id
  @upload_destination_id
end

#urlString? (readonly)

Returns the value of attribute url.

Returns:

  • (String, nil)


55
56
57
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 55

def url
  @url
end

Class Method Details

.[](headers:, upload_destination_id:, url:) ⇒ Peddler::APIs::Uploads20201101::UploadDestination .[](arg0, arg1, arg2) ⇒ Peddler::APIs::Uploads20201101::UploadDestination

Overloads:



46
47
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 46

def self.[]: (?headers: Hash[untyped, untyped]?, ?upload_destination_id: String?, ?url: String?) -> Peddler::APIs::Uploads20201101::UploadDestination
| (Hash[untyped, untyped]?, String?, String?) -> Peddler::APIs::Uploads20201101::UploadDestination

.members[ :headers, :upload_destination_id, :url ]

Returns:

  • ([ :headers, :upload_destination_id, :url ])


49
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 49

def self.members: () -> [ :headers, :upload_destination_id, :url ]

.new(headers:, upload_destination_id:, url:) ⇒ Peddler::APIs::Uploads20201101::UploadDestination .new(arg0, arg1, arg2) ⇒ Peddler::APIs::Uploads20201101::UploadDestination

Overloads:



44
45
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 44

def self.new: (?headers: Hash[untyped, untyped]?, ?upload_destination_id: String?, ?url: String?) -> Peddler::APIs::Uploads20201101::UploadDestination
| (Hash[untyped, untyped]?, String?, String?) -> Peddler::APIs::Uploads20201101::UploadDestination

.parsePeddler::APIs::Uploads20201101::UploadDestination

Parameters:

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

Returns:



51
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 51

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

Instance Method Details

#members[ :headers, :upload_destination_id, :url ]

Returns:

  • ([ :headers, :upload_destination_id, :url ])


57
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 57

def members: () -> [ :headers, :upload_destination_id, :url ]

#to_h{ headers: Hash[untyped, untyped]?, upload_destination_id: String?, url: String? }

Returns:

  • ({ headers: Hash[untyped, untyped]?, upload_destination_id: String?, url: String? })


58
# File 'sig/peddler/apis/uploads_2020_11_01.rbs', line 58

def to_h: () -> { headers: Hash[untyped, untyped]?, upload_destination_id: String?, url: String? }