folder_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 folder controller API

func (*Client) GetFolder

func (a *Client) GetFolder(params *GetFolderParams, authInfo runtime.ClientAuthInfoWriter) (*GetFolderOK, error)

GetFolder gets

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetFolder(params *GetFolderParams, authInfo runtime.ClientAuthInfoWriter) (*GetFolderOK, 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 folder controller API client.

type GetFolderBadRequest

type GetFolderBadRequest struct {
	Payload *models.APIResult
}

GetFolderBadRequest handles this case with default header values.

Bad Request

func NewGetFolderBadRequest

func NewGetFolderBadRequest() *GetFolderBadRequest

NewGetFolderBadRequest creates a GetFolderBadRequest with default headers values

func (*GetFolderBadRequest) Error

func (o *GetFolderBadRequest) Error() string

func (*GetFolderBadRequest) GetPayload

func (o *GetFolderBadRequest) GetPayload() *models.APIResult

type GetFolderConflict

type GetFolderConflict struct {
	Payload *models.APIResult
}

GetFolderConflict handles this case with default header values.

Conflict

func NewGetFolderConflict

func NewGetFolderConflict() *GetFolderConflict

NewGetFolderConflict creates a GetFolderConflict with default headers values

func (*GetFolderConflict) Error

func (o *GetFolderConflict) Error() string

func (*GetFolderConflict) GetPayload

func (o *GetFolderConflict) GetPayload() *models.APIResult

type GetFolderForbidden

type GetFolderForbidden struct {
	Payload *models.APIResult
}

GetFolderForbidden handles this case with default header values.

Forbidden

func NewGetFolderForbidden

func NewGetFolderForbidden() *GetFolderForbidden

NewGetFolderForbidden creates a GetFolderForbidden with default headers values

func (*GetFolderForbidden) Error

func (o *GetFolderForbidden) Error() string

func (*GetFolderForbidden) GetPayload

func (o *GetFolderForbidden) GetPayload() *models.APIResult

type GetFolderInternalServerError

type GetFolderInternalServerError struct {
	Payload *models.APIResult
}

GetFolderInternalServerError handles this case with default header values.

Internal Server Error

func NewGetFolderInternalServerError

func NewGetFolderInternalServerError() *GetFolderInternalServerError

NewGetFolderInternalServerError creates a GetFolderInternalServerError with default headers values

func (*GetFolderInternalServerError) Error

func (*GetFolderInternalServerError) GetPayload

type GetFolderNotFound

type GetFolderNotFound struct {
	Payload *models.APIResult
}

GetFolderNotFound handles this case with default header values.

Not Found

func NewGetFolderNotFound

func NewGetFolderNotFound() *GetFolderNotFound

NewGetFolderNotFound creates a GetFolderNotFound with default headers values

func (*GetFolderNotFound) Error

func (o *GetFolderNotFound) Error() string

func (*GetFolderNotFound) GetPayload

func (o *GetFolderNotFound) GetPayload() *models.APIResult

type GetFolderOK

type GetFolderOK struct {
	Payload *models.APIResultArrayString
}

GetFolderOK handles this case with default header values.

OK

func NewGetFolderOK

func NewGetFolderOK() *GetFolderOK

NewGetFolderOK creates a GetFolderOK with default headers values

func (*GetFolderOK) Error

func (o *GetFolderOK) Error() string

func (*GetFolderOK) GetPayload

func (o *GetFolderOK) GetPayload() *models.APIResultArrayString

type GetFolderParams

type GetFolderParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFolderParams contains all the parameters to send to the API endpoint for the get folder operation typically these are written to a http.Request

func NewGetFolderParams

func NewGetFolderParams() *GetFolderParams

NewGetFolderParams creates a new GetFolderParams object with the default values initialized.

func NewGetFolderParamsWithContext

func NewGetFolderParamsWithContext(ctx context.Context) *GetFolderParams

NewGetFolderParamsWithContext creates a new GetFolderParams object with the default values initialized, and the ability to set a context for a request

func NewGetFolderParamsWithHTTPClient

func NewGetFolderParamsWithHTTPClient(client *http.Client) *GetFolderParams

NewGetFolderParamsWithHTTPClient creates a new GetFolderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetFolderParamsWithTimeout

func NewGetFolderParamsWithTimeout(timeout time.Duration) *GetFolderParams

NewGetFolderParamsWithTimeout creates a new GetFolderParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetFolderParams) SetContext

func (o *GetFolderParams) SetContext(ctx context.Context)

SetContext adds the context to the get folder params

func (*GetFolderParams) SetHTTPClient

func (o *GetFolderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get folder params

func (*GetFolderParams) SetTimeout

func (o *GetFolderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get folder params

func (*GetFolderParams) WithContext

func (o *GetFolderParams) WithContext(ctx context.Context) *GetFolderParams

WithContext adds the context to the get folder params

func (*GetFolderParams) WithHTTPClient

func (o *GetFolderParams) WithHTTPClient(client *http.Client) *GetFolderParams

WithHTTPClient adds the HTTPClient to the get folder params

func (*GetFolderParams) WithTimeout

func (o *GetFolderParams) WithTimeout(timeout time.Duration) *GetFolderParams

WithTimeout adds the timeout to the get folder params

func (*GetFolderParams) WriteToRequest

func (o *GetFolderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFolderReader

type GetFolderReader struct {
	// contains filtered or unexported fields
}

GetFolderReader is a Reader for the GetFolder structure.

func (*GetFolderReader) ReadResponse

func (o *GetFolderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetFolderUnauthorized

type GetFolderUnauthorized struct {
	Payload *models.APIResult
}

GetFolderUnauthorized handles this case with default header values.

Unauthorized

func NewGetFolderUnauthorized

func NewGetFolderUnauthorized() *GetFolderUnauthorized

NewGetFolderUnauthorized creates a GetFolderUnauthorized with default headers values

func (*GetFolderUnauthorized) Error

func (o *GetFolderUnauthorized) Error() string

func (*GetFolderUnauthorized) GetPayload

func (o *GetFolderUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL