class
Awscr::S3::Response::StartMultipartUpload
Defined in:
awscr-s3/responses/start_multipart_upload.crConstructors
Class Method Summary
-
.from_response(response)
Create a
StartMultipartUploadresponse from anHTTP::Client::Responseobject
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#bucket : String
The bucket for the object
-
#key : String
The key for the object
-
#upload_id : String
The ID of the new object
Instance methods inherited from class Awscr::S3::Response::Base
client_error?(*args, **options)client_error?(*args, **options, &) client_error?, code(*args, **options)
code(*args, **options, &) code, headers : HTTP::Headers headers, server_error?(*args, **options)
server_error?(*args, **options, &) server_error?, status : HTTP::Status status, status_message : String | Nil status_message, success?(*args, **options)
success?(*args, **options, &) success?
Constructor methods inherited from class Awscr::S3::Response::Base
new(status : HTTP::Status, status_message : String | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
new
Class methods inherited from class Awscr::S3::Response::Base
extract(resp : HTTP::Client::Response)
extract
Constructor Detail
def self.new(bucket : String, key : String, upload_id : String, status : HTTP::Status, status_message : String | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
#
Class Method Detail
def self.from_response(response)
#
Create a StartMultipartUpload response from an
HTTP::Client::Response object
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.