Documentation ¶
Overview ¶
Package list contains auto generated operations for Pixeldrain list API.
Index ¶
- type Client
- func (a *Client) CreateFileList(params *CreateFileListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateFileListCreated, error)
- func (a *Client) GetFileList(params *GetFileListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetFileListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateFileListCreated
- func (o *CreateFileListCreated) Code() int
- func (o *CreateFileListCreated) Error() string
- func (o *CreateFileListCreated) GetPayload() *models.SuccessResponse
- func (o *CreateFileListCreated) IsClientError() bool
- func (o *CreateFileListCreated) IsCode(code int) bool
- func (o *CreateFileListCreated) IsRedirect() bool
- func (o *CreateFileListCreated) IsServerError() bool
- func (o *CreateFileListCreated) IsSuccess() bool
- func (o *CreateFileListCreated) String() string
- type CreateFileListDefault
- func (o *CreateFileListDefault) Code() int
- func (o *CreateFileListDefault) Error() string
- func (o *CreateFileListDefault) GetPayload() *models.StandardError
- func (o *CreateFileListDefault) IsClientError() bool
- func (o *CreateFileListDefault) IsCode(code int) bool
- func (o *CreateFileListDefault) IsRedirect() bool
- func (o *CreateFileListDefault) IsServerError() bool
- func (o *CreateFileListDefault) IsSuccess() bool
- func (o *CreateFileListDefault) String() string
- type CreateFileListParams
- func NewCreateFileListParams() *CreateFileListParams
- func NewCreateFileListParamsWithContext(ctx context.Context) *CreateFileListParams
- func NewCreateFileListParamsWithHTTPClient(client *http.Client) *CreateFileListParams
- func NewCreateFileListParamsWithTimeout(timeout time.Duration) *CreateFileListParams
- func (o *CreateFileListParams) SetContext(ctx context.Context)
- func (o *CreateFileListParams) SetDefaults()
- func (o *CreateFileListParams) SetHTTPClient(client *http.Client)
- func (o *CreateFileListParams) SetList(list *models.CreateFileListRequest)
- func (o *CreateFileListParams) SetTimeout(timeout time.Duration)
- func (o *CreateFileListParams) WithContext(ctx context.Context) *CreateFileListParams
- func (o *CreateFileListParams) WithDefaults() *CreateFileListParams
- func (o *CreateFileListParams) WithHTTPClient(client *http.Client) *CreateFileListParams
- func (o *CreateFileListParams) WithList(list *models.CreateFileListRequest) *CreateFileListParams
- func (o *CreateFileListParams) WithTimeout(timeout time.Duration) *CreateFileListParams
- func (o *CreateFileListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFileListReader
- type GetFileListDefault
- func (o *GetFileListDefault) Code() int
- func (o *GetFileListDefault) Error() string
- func (o *GetFileListDefault) GetPayload() *models.StandardError
- func (o *GetFileListDefault) IsClientError() bool
- func (o *GetFileListDefault) IsCode(code int) bool
- func (o *GetFileListDefault) IsRedirect() bool
- func (o *GetFileListDefault) IsServerError() bool
- func (o *GetFileListDefault) IsSuccess() bool
- func (o *GetFileListDefault) String() string
- type GetFileListOK
- func (o *GetFileListOK) Code() int
- func (o *GetFileListOK) Error() string
- func (o *GetFileListOK) GetPayload() *models.GetFileListResponse
- func (o *GetFileListOK) IsClientError() bool
- func (o *GetFileListOK) IsCode(code int) bool
- func (o *GetFileListOK) IsRedirect() bool
- func (o *GetFileListOK) IsServerError() bool
- func (o *GetFileListOK) IsSuccess() bool
- func (o *GetFileListOK) String() string
- type GetFileListParams
- func (o *GetFileListParams) SetContext(ctx context.Context)
- func (o *GetFileListParams) SetDefaults()
- func (o *GetFileListParams) SetHTTPClient(client *http.Client)
- func (o *GetFileListParams) SetID(id string)
- func (o *GetFileListParams) SetTimeout(timeout time.Duration)
- func (o *GetFileListParams) WithContext(ctx context.Context) *GetFileListParams
- func (o *GetFileListParams) WithDefaults() *GetFileListParams
- func (o *GetFileListParams) WithHTTPClient(client *http.Client) *GetFileListParams
- func (o *GetFileListParams) WithID(id string) *GetFileListParams
- func (o *GetFileListParams) WithTimeout(timeout time.Duration) *GetFileListParams
- func (o *GetFileListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFileListReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for list API
func (*Client) CreateFileList ¶ added in v0.2.1
func (a *Client) CreateFileList(params *CreateFileListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFileListCreated, error)
CreateFileList creates a list of files that can be viewed together on the file viewer page
Creates a list of files that can be viewed together on the file viewer page.
func (*Client) GetFileList ¶ added in v0.2.1
func (a *Client) GetFileList(params *GetFileListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFileListOK, error)
GetFileList returns information about a file list and the files in it
Returns information about a file list and the files in it.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.5.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.5.0
type ClientService interface { CreateFileList(params *CreateFileListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFileListCreated, error) GetFileList(params *GetFileListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFileListOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new list API client.
type CreateFileListCreated ¶ added in v0.2.1
type CreateFileListCreated struct {
Payload *models.SuccessResponse
}
CreateFileListCreated describes a response with status code 201, with default header values.
List is created
func NewCreateFileListCreated ¶ added in v0.2.1
func NewCreateFileListCreated() *CreateFileListCreated
NewCreateFileListCreated creates a CreateFileListCreated with default headers values
func (*CreateFileListCreated) Code ¶ added in v0.6.0
func (o *CreateFileListCreated) Code() int
Code gets the status code for the create file list created response
func (*CreateFileListCreated) Error ¶ added in v0.2.1
func (o *CreateFileListCreated) Error() string
func (*CreateFileListCreated) GetPayload ¶ added in v0.5.0
func (o *CreateFileListCreated) GetPayload() *models.SuccessResponse
func (*CreateFileListCreated) IsClientError ¶ added in v0.6.0
func (o *CreateFileListCreated) IsClientError() bool
IsClientError returns true when this create file list created response has a 4xx status code
func (*CreateFileListCreated) IsCode ¶ added in v0.6.0
func (o *CreateFileListCreated) IsCode(code int) bool
IsCode returns true when this create file list created response a status code equal to that given
func (*CreateFileListCreated) IsRedirect ¶ added in v0.6.0
func (o *CreateFileListCreated) IsRedirect() bool
IsRedirect returns true when this create file list created response has a 3xx status code
func (*CreateFileListCreated) IsServerError ¶ added in v0.6.0
func (o *CreateFileListCreated) IsServerError() bool
IsServerError returns true when this create file list created response has a 5xx status code
func (*CreateFileListCreated) IsSuccess ¶ added in v0.6.0
func (o *CreateFileListCreated) IsSuccess() bool
IsSuccess returns true when this create file list created response has a 2xx status code
func (*CreateFileListCreated) String ¶ added in v0.6.0
func (o *CreateFileListCreated) String() string
type CreateFileListDefault ¶ added in v0.3.1
type CreateFileListDefault struct { Payload *models.StandardError // contains filtered or unexported fields }
CreateFileListDefault describes a response with status code -1, with default header values.
Error Response
func NewCreateFileListDefault ¶ added in v0.3.1
func NewCreateFileListDefault(code int) *CreateFileListDefault
NewCreateFileListDefault creates a CreateFileListDefault with default headers values
func (*CreateFileListDefault) Code ¶ added in v0.3.1
func (o *CreateFileListDefault) Code() int
Code gets the status code for the create file list default response
func (*CreateFileListDefault) Error ¶ added in v0.3.1
func (o *CreateFileListDefault) Error() string
func (*CreateFileListDefault) GetPayload ¶ added in v0.5.0
func (o *CreateFileListDefault) GetPayload() *models.StandardError
func (*CreateFileListDefault) IsClientError ¶ added in v0.6.0
func (o *CreateFileListDefault) IsClientError() bool
IsClientError returns true when this create file list default response has a 4xx status code
func (*CreateFileListDefault) IsCode ¶ added in v0.6.0
func (o *CreateFileListDefault) IsCode(code int) bool
IsCode returns true when this create file list default response a status code equal to that given
func (*CreateFileListDefault) IsRedirect ¶ added in v0.6.0
func (o *CreateFileListDefault) IsRedirect() bool
IsRedirect returns true when this create file list default response has a 3xx status code
func (*CreateFileListDefault) IsServerError ¶ added in v0.6.0
func (o *CreateFileListDefault) IsServerError() bool
IsServerError returns true when this create file list default response has a 5xx status code
func (*CreateFileListDefault) IsSuccess ¶ added in v0.6.0
func (o *CreateFileListDefault) IsSuccess() bool
IsSuccess returns true when this create file list default response has a 2xx status code
func (*CreateFileListDefault) String ¶ added in v0.6.0
func (o *CreateFileListDefault) String() string
type CreateFileListParams ¶ added in v0.2.1
type CreateFileListParams struct { /* List. POST body should be a JSON object, example below. A list can contain maximally 5000 files. If you try to add more the request will fail. */ List *models.CreateFileListRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFileListParams contains all the parameters to send to the API endpoint
for the create file list operation. Typically these are written to a http.Request.
func NewCreateFileListParams ¶ added in v0.2.1
func NewCreateFileListParams() *CreateFileListParams
NewCreateFileListParams creates a new CreateFileListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateFileListParamsWithContext ¶ added in v0.2.1
func NewCreateFileListParamsWithContext(ctx context.Context) *CreateFileListParams
NewCreateFileListParamsWithContext creates a new CreateFileListParams object with the ability to set a context for a request.
func NewCreateFileListParamsWithHTTPClient ¶ added in v0.2.1
func NewCreateFileListParamsWithHTTPClient(client *http.Client) *CreateFileListParams
NewCreateFileListParamsWithHTTPClient creates a new CreateFileListParams object with the ability to set a custom HTTPClient for a request.
func NewCreateFileListParamsWithTimeout ¶ added in v0.2.1
func NewCreateFileListParamsWithTimeout(timeout time.Duration) *CreateFileListParams
NewCreateFileListParamsWithTimeout creates a new CreateFileListParams object with the ability to set a timeout on a request.
func (*CreateFileListParams) SetContext ¶ added in v0.2.1
func (o *CreateFileListParams) SetContext(ctx context.Context)
SetContext adds the context to the create file list params
func (*CreateFileListParams) SetDefaults ¶ added in v0.5.0
func (o *CreateFileListParams) SetDefaults()
SetDefaults hydrates default values in the create file list params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFileListParams) SetHTTPClient ¶ added in v0.2.1
func (o *CreateFileListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create file list params
func (*CreateFileListParams) SetList ¶ added in v0.2.1
func (o *CreateFileListParams) SetList(list *models.CreateFileListRequest)
SetList adds the list to the create file list params
func (*CreateFileListParams) SetTimeout ¶ added in v0.2.1
func (o *CreateFileListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create file list params
func (*CreateFileListParams) WithContext ¶ added in v0.2.1
func (o *CreateFileListParams) WithContext(ctx context.Context) *CreateFileListParams
WithContext adds the context to the create file list params
func (*CreateFileListParams) WithDefaults ¶ added in v0.5.0
func (o *CreateFileListParams) WithDefaults() *CreateFileListParams
WithDefaults hydrates default values in the create file list params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFileListParams) WithHTTPClient ¶ added in v0.2.1
func (o *CreateFileListParams) WithHTTPClient(client *http.Client) *CreateFileListParams
WithHTTPClient adds the HTTPClient to the create file list params
func (*CreateFileListParams) WithList ¶ added in v0.2.1
func (o *CreateFileListParams) WithList(list *models.CreateFileListRequest) *CreateFileListParams
WithList adds the list to the create file list params
func (*CreateFileListParams) WithTimeout ¶ added in v0.2.1
func (o *CreateFileListParams) WithTimeout(timeout time.Duration) *CreateFileListParams
WithTimeout adds the timeout to the create file list params
func (*CreateFileListParams) WriteToRequest ¶ added in v0.2.1
func (o *CreateFileListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFileListReader ¶ added in v0.2.1
type CreateFileListReader struct {
// contains filtered or unexported fields
}
CreateFileListReader is a Reader for the CreateFileList structure.
func (*CreateFileListReader) ReadResponse ¶ added in v0.2.1
func (o *CreateFileListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFileListDefault ¶ added in v0.3.1
type GetFileListDefault struct { Payload *models.StandardError // contains filtered or unexported fields }
GetFileListDefault describes a response with status code -1, with default header values.
Error Response
func NewGetFileListDefault ¶ added in v0.3.1
func NewGetFileListDefault(code int) *GetFileListDefault
NewGetFileListDefault creates a GetFileListDefault with default headers values
func (*GetFileListDefault) Code ¶ added in v0.3.1
func (o *GetFileListDefault) Code() int
Code gets the status code for the get file list default response
func (*GetFileListDefault) Error ¶ added in v0.3.1
func (o *GetFileListDefault) Error() string
func (*GetFileListDefault) GetPayload ¶ added in v0.5.0
func (o *GetFileListDefault) GetPayload() *models.StandardError
func (*GetFileListDefault) IsClientError ¶ added in v0.6.0
func (o *GetFileListDefault) IsClientError() bool
IsClientError returns true when this get file list default response has a 4xx status code
func (*GetFileListDefault) IsCode ¶ added in v0.6.0
func (o *GetFileListDefault) IsCode(code int) bool
IsCode returns true when this get file list default response a status code equal to that given
func (*GetFileListDefault) IsRedirect ¶ added in v0.6.0
func (o *GetFileListDefault) IsRedirect() bool
IsRedirect returns true when this get file list default response has a 3xx status code
func (*GetFileListDefault) IsServerError ¶ added in v0.6.0
func (o *GetFileListDefault) IsServerError() bool
IsServerError returns true when this get file list default response has a 5xx status code
func (*GetFileListDefault) IsSuccess ¶ added in v0.6.0
func (o *GetFileListDefault) IsSuccess() bool
IsSuccess returns true when this get file list default response has a 2xx status code
func (*GetFileListDefault) String ¶ added in v0.6.0
func (o *GetFileListDefault) String() string
type GetFileListOK ¶ added in v0.2.1
type GetFileListOK struct {
Payload *models.GetFileListResponse
}
GetFileListOK describes a response with status code 200, with default header values.
OK
func NewGetFileListOK ¶ added in v0.2.1
func NewGetFileListOK() *GetFileListOK
NewGetFileListOK creates a GetFileListOK with default headers values
func (*GetFileListOK) Code ¶ added in v0.6.0
func (o *GetFileListOK) Code() int
Code gets the status code for the get file list o k response
func (*GetFileListOK) Error ¶ added in v0.2.1
func (o *GetFileListOK) Error() string
func (*GetFileListOK) GetPayload ¶ added in v0.5.0
func (o *GetFileListOK) GetPayload() *models.GetFileListResponse
func (*GetFileListOK) IsClientError ¶ added in v0.6.0
func (o *GetFileListOK) IsClientError() bool
IsClientError returns true when this get file list o k response has a 4xx status code
func (*GetFileListOK) IsCode ¶ added in v0.6.0
func (o *GetFileListOK) IsCode(code int) bool
IsCode returns true when this get file list o k response a status code equal to that given
func (*GetFileListOK) IsRedirect ¶ added in v0.6.0
func (o *GetFileListOK) IsRedirect() bool
IsRedirect returns true when this get file list o k response has a 3xx status code
func (*GetFileListOK) IsServerError ¶ added in v0.6.0
func (o *GetFileListOK) IsServerError() bool
IsServerError returns true when this get file list o k response has a 5xx status code
func (*GetFileListOK) IsSuccess ¶ added in v0.6.0
func (o *GetFileListOK) IsSuccess() bool
IsSuccess returns true when this get file list o k response has a 2xx status code
func (*GetFileListOK) String ¶ added in v0.6.0
func (o *GetFileListOK) String() string
type GetFileListParams ¶ added in v0.2.1
type GetFileListParams struct { /* ID. ID of the list */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFileListParams contains all the parameters to send to the API endpoint
for the get file list operation. Typically these are written to a http.Request.
func NewGetFileListParams ¶ added in v0.2.1
func NewGetFileListParams() *GetFileListParams
NewGetFileListParams creates a new GetFileListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFileListParamsWithContext ¶ added in v0.2.1
func NewGetFileListParamsWithContext(ctx context.Context) *GetFileListParams
NewGetFileListParamsWithContext creates a new GetFileListParams object with the ability to set a context for a request.
func NewGetFileListParamsWithHTTPClient ¶ added in v0.2.1
func NewGetFileListParamsWithHTTPClient(client *http.Client) *GetFileListParams
NewGetFileListParamsWithHTTPClient creates a new GetFileListParams object with the ability to set a custom HTTPClient for a request.
func NewGetFileListParamsWithTimeout ¶ added in v0.2.1
func NewGetFileListParamsWithTimeout(timeout time.Duration) *GetFileListParams
NewGetFileListParamsWithTimeout creates a new GetFileListParams object with the ability to set a timeout on a request.
func (*GetFileListParams) SetContext ¶ added in v0.2.1
func (o *GetFileListParams) SetContext(ctx context.Context)
SetContext adds the context to the get file list params
func (*GetFileListParams) SetDefaults ¶ added in v0.5.0
func (o *GetFileListParams) SetDefaults()
SetDefaults hydrates default values in the get file list params (not the query body).
All values with no default are reset to their zero value.
func (*GetFileListParams) SetHTTPClient ¶ added in v0.2.1
func (o *GetFileListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get file list params
func (*GetFileListParams) SetID ¶ added in v0.2.1
func (o *GetFileListParams) SetID(id string)
SetID adds the id to the get file list params
func (*GetFileListParams) SetTimeout ¶ added in v0.2.1
func (o *GetFileListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get file list params
func (*GetFileListParams) WithContext ¶ added in v0.2.1
func (o *GetFileListParams) WithContext(ctx context.Context) *GetFileListParams
WithContext adds the context to the get file list params
func (*GetFileListParams) WithDefaults ¶ added in v0.5.0
func (o *GetFileListParams) WithDefaults() *GetFileListParams
WithDefaults hydrates default values in the get file list params (not the query body).
All values with no default are reset to their zero value.
func (*GetFileListParams) WithHTTPClient ¶ added in v0.2.1
func (o *GetFileListParams) WithHTTPClient(client *http.Client) *GetFileListParams
WithHTTPClient adds the HTTPClient to the get file list params
func (*GetFileListParams) WithID ¶ added in v0.2.1
func (o *GetFileListParams) WithID(id string) *GetFileListParams
WithID adds the id to the get file list params
func (*GetFileListParams) WithTimeout ¶ added in v0.2.1
func (o *GetFileListParams) WithTimeout(timeout time.Duration) *GetFileListParams
WithTimeout adds the timeout to the get file list params
func (*GetFileListParams) WriteToRequest ¶ added in v0.2.1
func (o *GetFileListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFileListReader ¶ added in v0.2.1
type GetFileListReader struct {
// contains filtered or unexported fields
}
GetFileListReader is a Reader for the GetFileList structure.
func (*GetFileListReader) ReadResponse ¶ added in v0.2.1
func (o *GetFileListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.