class Awscr::S3::Response::ListObjectsV2

Defined in:

awscr-s3/responses/list_objects_v2.cr

Constructors

Class Method Summary

Instance Method Summary

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(name : String, prefix : String, key_count : Int32, max_keys : Int32, truncated : Bool, continuation_token : String, contents : Array(Object), status : HTTP::Status, status_message : String | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new) #

[View source]

Class Method Detail

def self.from_response(response) #

Create a ListObjectsV2 response from an HTTP::Client::Response object


[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def contents : Array(Awscr::S3::Object) #

The list of obects


[View source]
def next_token : String #

The continuation token for the subsequent response, if any


[View source]
def truncated? : Bool #

Returns true if the response is truncated, false otherwise


[View source]