operations

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationXML

func WithAcceptApplicationXML(r *runtime.ClientOperation)

WithAcceptApplicationXML sets the Accept header to "application/xml".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationXML

func WithContentTypeApplicationXML(r *runtime.ClientOperation)

WithContentTypeApplicationXML sets the Content-Type header to "application/xml".

Types

type CheckOrderStatusBadRequest

type CheckOrderStatusBadRequest struct {
	Payload *models.Error
}

CheckOrderStatusBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCheckOrderStatusBadRequest

func NewCheckOrderStatusBadRequest() *CheckOrderStatusBadRequest

NewCheckOrderStatusBadRequest creates a CheckOrderStatusBadRequest with default headers values

func (*CheckOrderStatusBadRequest) Code

func (o *CheckOrderStatusBadRequest) Code() int

Code gets the status code for the check order status bad request response

func (*CheckOrderStatusBadRequest) Error

func (*CheckOrderStatusBadRequest) GetPayload

func (o *CheckOrderStatusBadRequest) GetPayload() *models.Error

func (*CheckOrderStatusBadRequest) IsClientError

func (o *CheckOrderStatusBadRequest) IsClientError() bool

IsClientError returns true when this check order status bad request response has a 4xx status code

func (*CheckOrderStatusBadRequest) IsCode

func (o *CheckOrderStatusBadRequest) IsCode(code int) bool

IsCode returns true when this check order status bad request response a status code equal to that given

func (*CheckOrderStatusBadRequest) IsRedirect

func (o *CheckOrderStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this check order status bad request response has a 3xx status code

func (*CheckOrderStatusBadRequest) IsServerError

func (o *CheckOrderStatusBadRequest) IsServerError() bool

IsServerError returns true when this check order status bad request response has a 5xx status code

func (*CheckOrderStatusBadRequest) IsSuccess

func (o *CheckOrderStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this check order status bad request response has a 2xx status code

func (*CheckOrderStatusBadRequest) String

func (o *CheckOrderStatusBadRequest) String() string

type CheckOrderStatusFound

type CheckOrderStatusFound struct {

	/* Location
	 */
	Location string

	Payload *models.OrderStatus
}

CheckOrderStatusFound describes a response with status code 302, with default header values.

Found

func NewCheckOrderStatusFound

func NewCheckOrderStatusFound() *CheckOrderStatusFound

NewCheckOrderStatusFound creates a CheckOrderStatusFound with default headers values

func (*CheckOrderStatusFound) Code

func (o *CheckOrderStatusFound) Code() int

Code gets the status code for the check order status found response

func (*CheckOrderStatusFound) Error

func (o *CheckOrderStatusFound) Error() string

func (*CheckOrderStatusFound) GetPayload

func (o *CheckOrderStatusFound) GetPayload() *models.OrderStatus

func (*CheckOrderStatusFound) IsClientError

func (o *CheckOrderStatusFound) IsClientError() bool

IsClientError returns true when this check order status found response has a 4xx status code

func (*CheckOrderStatusFound) IsCode

func (o *CheckOrderStatusFound) IsCode(code int) bool

IsCode returns true when this check order status found response a status code equal to that given

func (*CheckOrderStatusFound) IsRedirect

func (o *CheckOrderStatusFound) IsRedirect() bool

IsRedirect returns true when this check order status found response has a 3xx status code

func (*CheckOrderStatusFound) IsServerError

func (o *CheckOrderStatusFound) IsServerError() bool

IsServerError returns true when this check order status found response has a 5xx status code

func (*CheckOrderStatusFound) IsSuccess

func (o *CheckOrderStatusFound) IsSuccess() bool

IsSuccess returns true when this check order status found response has a 2xx status code

func (*CheckOrderStatusFound) String

func (o *CheckOrderStatusFound) String() string

type CheckOrderStatusInternalServerError

type CheckOrderStatusInternalServerError struct {
	Payload *models.Error
}

CheckOrderStatusInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCheckOrderStatusInternalServerError

func NewCheckOrderStatusInternalServerError() *CheckOrderStatusInternalServerError

NewCheckOrderStatusInternalServerError creates a CheckOrderStatusInternalServerError with default headers values

func (*CheckOrderStatusInternalServerError) Code

Code gets the status code for the check order status internal server error response

func (*CheckOrderStatusInternalServerError) Error

func (*CheckOrderStatusInternalServerError) GetPayload

func (*CheckOrderStatusInternalServerError) IsClientError

func (o *CheckOrderStatusInternalServerError) IsClientError() bool

IsClientError returns true when this check order status internal server error response has a 4xx status code

func (*CheckOrderStatusInternalServerError) IsCode

IsCode returns true when this check order status internal server error response a status code equal to that given

func (*CheckOrderStatusInternalServerError) IsRedirect

func (o *CheckOrderStatusInternalServerError) IsRedirect() bool

IsRedirect returns true when this check order status internal server error response has a 3xx status code

func (*CheckOrderStatusInternalServerError) IsServerError

func (o *CheckOrderStatusInternalServerError) IsServerError() bool

IsServerError returns true when this check order status internal server error response has a 5xx status code

func (*CheckOrderStatusInternalServerError) IsSuccess

IsSuccess returns true when this check order status internal server error response has a 2xx status code

func (*CheckOrderStatusInternalServerError) String

type CheckOrderStatusOK

type CheckOrderStatusOK struct {

	/* Retry after seconds

	   Format: int32
	*/
	RetryAfter string

	Payload *models.OrderStatus
}

CheckOrderStatusOK describes a response with status code 200, with default header values.

OK

func NewCheckOrderStatusOK

func NewCheckOrderStatusOK() *CheckOrderStatusOK

NewCheckOrderStatusOK creates a CheckOrderStatusOK with default headers values

func (*CheckOrderStatusOK) Code

func (o *CheckOrderStatusOK) Code() int

Code gets the status code for the check order status o k response

func (*CheckOrderStatusOK) Error

func (o *CheckOrderStatusOK) Error() string

func (*CheckOrderStatusOK) GetPayload

func (o *CheckOrderStatusOK) GetPayload() *models.OrderStatus

func (*CheckOrderStatusOK) IsClientError

func (o *CheckOrderStatusOK) IsClientError() bool

IsClientError returns true when this check order status o k response has a 4xx status code

func (*CheckOrderStatusOK) IsCode

func (o *CheckOrderStatusOK) IsCode(code int) bool

IsCode returns true when this check order status o k response a status code equal to that given

func (*CheckOrderStatusOK) IsRedirect

func (o *CheckOrderStatusOK) IsRedirect() bool

IsRedirect returns true when this check order status o k response has a 3xx status code

func (*CheckOrderStatusOK) IsServerError

func (o *CheckOrderStatusOK) IsServerError() bool

IsServerError returns true when this check order status o k response has a 5xx status code

func (*CheckOrderStatusOK) IsSuccess

func (o *CheckOrderStatusOK) IsSuccess() bool

IsSuccess returns true when this check order status o k response has a 2xx status code

func (*CheckOrderStatusOK) String

func (o *CheckOrderStatusOK) String() string

type CheckOrderStatusParams

type CheckOrderStatusParams struct {

	/* OrderID.

	   Order ID
	*/
	OrderID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CheckOrderStatusParams contains all the parameters to send to the API endpoint

for the check order status operation.

Typically these are written to a http.Request.

func NewCheckOrderStatusParams

func NewCheckOrderStatusParams() *CheckOrderStatusParams

NewCheckOrderStatusParams creates a new CheckOrderStatusParams 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 NewCheckOrderStatusParamsWithContext

func NewCheckOrderStatusParamsWithContext(ctx context.Context) *CheckOrderStatusParams

NewCheckOrderStatusParamsWithContext creates a new CheckOrderStatusParams object with the ability to set a context for a request.

func NewCheckOrderStatusParamsWithHTTPClient

func NewCheckOrderStatusParamsWithHTTPClient(client *http.Client) *CheckOrderStatusParams

NewCheckOrderStatusParamsWithHTTPClient creates a new CheckOrderStatusParams object with the ability to set a custom HTTPClient for a request.

func NewCheckOrderStatusParamsWithTimeout

func NewCheckOrderStatusParamsWithTimeout(timeout time.Duration) *CheckOrderStatusParams

NewCheckOrderStatusParamsWithTimeout creates a new CheckOrderStatusParams object with the ability to set a timeout on a request.

func (*CheckOrderStatusParams) SetContext

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

SetContext adds the context to the check order status params

func (*CheckOrderStatusParams) SetDefaults

func (o *CheckOrderStatusParams) SetDefaults()

SetDefaults hydrates default values in the check order status params (not the query body).

All values with no default are reset to their zero value.

func (*CheckOrderStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check order status params

func (*CheckOrderStatusParams) SetOrderID

func (o *CheckOrderStatusParams) SetOrderID(orderID string)

SetOrderID adds the orderId to the check order status params

func (*CheckOrderStatusParams) SetTimeout

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

SetTimeout adds the timeout to the check order status params

func (*CheckOrderStatusParams) WithContext

WithContext adds the context to the check order status params

func (*CheckOrderStatusParams) WithDefaults

WithDefaults hydrates default values in the check order status params (not the query body).

All values with no default are reset to their zero value.

func (*CheckOrderStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the check order status params

func (*CheckOrderStatusParams) WithOrderID

func (o *CheckOrderStatusParams) WithOrderID(orderID string) *CheckOrderStatusParams

WithOrderID adds the orderID to the check order status params

func (*CheckOrderStatusParams) WithTimeout

WithTimeout adds the timeout to the check order status params

func (*CheckOrderStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckOrderStatusReader

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

CheckOrderStatusReader is a Reader for the CheckOrderStatus structure.

func (*CheckOrderStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckOrderStatusServiceUnavailable

type CheckOrderStatusServiceUnavailable struct {
	Payload *models.ServiceTemporarilyUnavailable
}

CheckOrderStatusServiceUnavailable describes a response with status code 503, with default header values.

Service Temporarily Unavailable

func NewCheckOrderStatusServiceUnavailable

func NewCheckOrderStatusServiceUnavailable() *CheckOrderStatusServiceUnavailable

NewCheckOrderStatusServiceUnavailable creates a CheckOrderStatusServiceUnavailable with default headers values

func (*CheckOrderStatusServiceUnavailable) Code

Code gets the status code for the check order status service unavailable response

func (*CheckOrderStatusServiceUnavailable) Error

func (*CheckOrderStatusServiceUnavailable) GetPayload

func (*CheckOrderStatusServiceUnavailable) IsClientError

func (o *CheckOrderStatusServiceUnavailable) IsClientError() bool

IsClientError returns true when this check order status service unavailable response has a 4xx status code

func (*CheckOrderStatusServiceUnavailable) IsCode

IsCode returns true when this check order status service unavailable response a status code equal to that given

func (*CheckOrderStatusServiceUnavailable) IsRedirect

func (o *CheckOrderStatusServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this check order status service unavailable response has a 3xx status code

func (*CheckOrderStatusServiceUnavailable) IsServerError

func (o *CheckOrderStatusServiceUnavailable) IsServerError() bool

IsServerError returns true when this check order status service unavailable response has a 5xx status code

func (*CheckOrderStatusServiceUnavailable) IsSuccess

IsSuccess returns true when this check order status service unavailable response has a 2xx status code

func (*CheckOrderStatusServiceUnavailable) String

type CheckOrderStatusUnauthorized

type CheckOrderStatusUnauthorized struct {
	Payload *models.Error
}

CheckOrderStatusUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCheckOrderStatusUnauthorized

func NewCheckOrderStatusUnauthorized() *CheckOrderStatusUnauthorized

NewCheckOrderStatusUnauthorized creates a CheckOrderStatusUnauthorized with default headers values

func (*CheckOrderStatusUnauthorized) Code

Code gets the status code for the check order status unauthorized response

func (*CheckOrderStatusUnauthorized) Error

func (*CheckOrderStatusUnauthorized) GetPayload

func (o *CheckOrderStatusUnauthorized) GetPayload() *models.Error

func (*CheckOrderStatusUnauthorized) IsClientError

func (o *CheckOrderStatusUnauthorized) IsClientError() bool

IsClientError returns true when this check order status unauthorized response has a 4xx status code

func (*CheckOrderStatusUnauthorized) IsCode

func (o *CheckOrderStatusUnauthorized) IsCode(code int) bool

IsCode returns true when this check order status unauthorized response a status code equal to that given

func (*CheckOrderStatusUnauthorized) IsRedirect

func (o *CheckOrderStatusUnauthorized) IsRedirect() bool

IsRedirect returns true when this check order status unauthorized response has a 3xx status code

func (*CheckOrderStatusUnauthorized) IsServerError

func (o *CheckOrderStatusUnauthorized) IsServerError() bool

IsServerError returns true when this check order status unauthorized response has a 5xx status code

func (*CheckOrderStatusUnauthorized) IsSuccess

func (o *CheckOrderStatusUnauthorized) IsSuccess() bool

IsSuccess returns true when this check order status unauthorized response has a 2xx status code

func (*CheckOrderStatusUnauthorized) String

type Client

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

Client for operations API

func (*Client) CheckOrderStatus

func (a *Client) CheckOrderStatus(params *CheckOrderStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckOrderStatusOK, error)

CheckOrderStatus checks order status

func (*Client) CreateBrigade

func (a *Client) CreateBrigade(params *CreateBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBrigadeAccepted, error)

CreateBrigade creates v p n brigade

func (*Client) CreateUser

func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error)

CreateUser creates v p n user

func (*Client) DeleteBrigade

func (a *Client) DeleteBrigade(params *DeleteBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBrigadeAccepted, error)

DeleteBrigade deletes v p n brigade

func (*Client) DeleteUser

func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserNoContent, error)

DeleteUser deletes v p n user

func (*Client) GetBrigade

func (a *Client) GetBrigade(params *GetBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeOK, error)

GetBrigade gets v p n brigade

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	CheckOrderStatus(params *CheckOrderStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckOrderStatusOK, error)

	CreateBrigade(params *CreateBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBrigadeAccepted, error)

	CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error)

	DeleteBrigade(params *DeleteBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBrigadeAccepted, error)

	DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserNoContent, error)

	GetBrigade(params *GetBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeOK, 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 operations API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new operations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new operations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateBrigadeAccepted

type CreateBrigadeAccepted struct {

	/* Location

	   Format: uri
	*/
	Location strfmt.URI

	/* Retry after seconds

	   Format: int32
	*/
	RetryAfter string

	Payload *models.OrderStatus
}

CreateBrigadeAccepted describes a response with status code 202, with default header values.

Accepted

func NewCreateBrigadeAccepted

func NewCreateBrigadeAccepted() *CreateBrigadeAccepted

NewCreateBrigadeAccepted creates a CreateBrigadeAccepted with default headers values

func (*CreateBrigadeAccepted) Code

func (o *CreateBrigadeAccepted) Code() int

Code gets the status code for the create brigade accepted response

func (*CreateBrigadeAccepted) Error

func (o *CreateBrigadeAccepted) Error() string

func (*CreateBrigadeAccepted) GetPayload

func (o *CreateBrigadeAccepted) GetPayload() *models.OrderStatus

func (*CreateBrigadeAccepted) IsClientError

func (o *CreateBrigadeAccepted) IsClientError() bool

IsClientError returns true when this create brigade accepted response has a 4xx status code

func (*CreateBrigadeAccepted) IsCode

func (o *CreateBrigadeAccepted) IsCode(code int) bool

IsCode returns true when this create brigade accepted response a status code equal to that given

func (*CreateBrigadeAccepted) IsRedirect

func (o *CreateBrigadeAccepted) IsRedirect() bool

IsRedirect returns true when this create brigade accepted response has a 3xx status code

func (*CreateBrigadeAccepted) IsServerError

func (o *CreateBrigadeAccepted) IsServerError() bool

IsServerError returns true when this create brigade accepted response has a 5xx status code

func (*CreateBrigadeAccepted) IsSuccess

func (o *CreateBrigadeAccepted) IsSuccess() bool

IsSuccess returns true when this create brigade accepted response has a 2xx status code

func (*CreateBrigadeAccepted) String

func (o *CreateBrigadeAccepted) String() string

type CreateBrigadeBadRequest

type CreateBrigadeBadRequest struct {
	Payload *models.Error
}

CreateBrigadeBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateBrigadeBadRequest

func NewCreateBrigadeBadRequest() *CreateBrigadeBadRequest

NewCreateBrigadeBadRequest creates a CreateBrigadeBadRequest with default headers values

func (*CreateBrigadeBadRequest) Code

func (o *CreateBrigadeBadRequest) Code() int

Code gets the status code for the create brigade bad request response

func (*CreateBrigadeBadRequest) Error

func (o *CreateBrigadeBadRequest) Error() string

func (*CreateBrigadeBadRequest) GetPayload

func (o *CreateBrigadeBadRequest) GetPayload() *models.Error

func (*CreateBrigadeBadRequest) IsClientError

func (o *CreateBrigadeBadRequest) IsClientError() bool

IsClientError returns true when this create brigade bad request response has a 4xx status code

func (*CreateBrigadeBadRequest) IsCode

func (o *CreateBrigadeBadRequest) IsCode(code int) bool

IsCode returns true when this create brigade bad request response a status code equal to that given

func (*CreateBrigadeBadRequest) IsRedirect

func (o *CreateBrigadeBadRequest) IsRedirect() bool

IsRedirect returns true when this create brigade bad request response has a 3xx status code

func (*CreateBrigadeBadRequest) IsServerError

func (o *CreateBrigadeBadRequest) IsServerError() bool

IsServerError returns true when this create brigade bad request response has a 5xx status code

func (*CreateBrigadeBadRequest) IsSuccess

func (o *CreateBrigadeBadRequest) IsSuccess() bool

IsSuccess returns true when this create brigade bad request response has a 2xx status code

func (*CreateBrigadeBadRequest) String

func (o *CreateBrigadeBadRequest) String() string

type CreateBrigadeInternalServerError

type CreateBrigadeInternalServerError struct {
	Payload *models.Error
}

CreateBrigadeInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateBrigadeInternalServerError

func NewCreateBrigadeInternalServerError() *CreateBrigadeInternalServerError

NewCreateBrigadeInternalServerError creates a CreateBrigadeInternalServerError with default headers values

func (*CreateBrigadeInternalServerError) Code

Code gets the status code for the create brigade internal server error response

func (*CreateBrigadeInternalServerError) Error

func (*CreateBrigadeInternalServerError) GetPayload

func (*CreateBrigadeInternalServerError) IsClientError

func (o *CreateBrigadeInternalServerError) IsClientError() bool

IsClientError returns true when this create brigade internal server error response has a 4xx status code

func (*CreateBrigadeInternalServerError) IsCode

func (o *CreateBrigadeInternalServerError) IsCode(code int) bool

IsCode returns true when this create brigade internal server error response a status code equal to that given

func (*CreateBrigadeInternalServerError) IsRedirect

func (o *CreateBrigadeInternalServerError) IsRedirect() bool

IsRedirect returns true when this create brigade internal server error response has a 3xx status code

func (*CreateBrigadeInternalServerError) IsServerError

func (o *CreateBrigadeInternalServerError) IsServerError() bool

IsServerError returns true when this create brigade internal server error response has a 5xx status code

func (*CreateBrigadeInternalServerError) IsSuccess

func (o *CreateBrigadeInternalServerError) IsSuccess() bool

IsSuccess returns true when this create brigade internal server error response has a 2xx status code

func (*CreateBrigadeInternalServerError) String

type CreateBrigadeParams

type CreateBrigadeParams struct {

	/* Body.

	   Brigade data
	*/
	Body *models.CreateBirgadeRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateBrigadeParams contains all the parameters to send to the API endpoint

for the create brigade operation.

Typically these are written to a http.Request.

func NewCreateBrigadeParams

func NewCreateBrigadeParams() *CreateBrigadeParams

NewCreateBrigadeParams creates a new CreateBrigadeParams 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 NewCreateBrigadeParamsWithContext

func NewCreateBrigadeParamsWithContext(ctx context.Context) *CreateBrigadeParams

NewCreateBrigadeParamsWithContext creates a new CreateBrigadeParams object with the ability to set a context for a request.

func NewCreateBrigadeParamsWithHTTPClient

func NewCreateBrigadeParamsWithHTTPClient(client *http.Client) *CreateBrigadeParams

NewCreateBrigadeParamsWithHTTPClient creates a new CreateBrigadeParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBrigadeParamsWithTimeout

func NewCreateBrigadeParamsWithTimeout(timeout time.Duration) *CreateBrigadeParams

NewCreateBrigadeParamsWithTimeout creates a new CreateBrigadeParams object with the ability to set a timeout on a request.

func (*CreateBrigadeParams) SetBody

SetBody adds the body to the create brigade params

func (*CreateBrigadeParams) SetContext

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

SetContext adds the context to the create brigade params

func (*CreateBrigadeParams) SetDefaults

func (o *CreateBrigadeParams) SetDefaults()

SetDefaults hydrates default values in the create brigade params (not the query body).

All values with no default are reset to their zero value.

func (*CreateBrigadeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create brigade params

func (*CreateBrigadeParams) SetTimeout

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

SetTimeout adds the timeout to the create brigade params

func (*CreateBrigadeParams) WithBody

WithBody adds the body to the create brigade params

func (*CreateBrigadeParams) WithContext

WithContext adds the context to the create brigade params

func (*CreateBrigadeParams) WithDefaults

func (o *CreateBrigadeParams) WithDefaults() *CreateBrigadeParams

WithDefaults hydrates default values in the create brigade params (not the query body).

All values with no default are reset to their zero value.

func (*CreateBrigadeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create brigade params

func (*CreateBrigadeParams) WithTimeout

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

WithTimeout adds the timeout to the create brigade params

func (*CreateBrigadeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateBrigadeReader

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

CreateBrigadeReader is a Reader for the CreateBrigade structure.

func (*CreateBrigadeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateBrigadeServiceUnavailable

type CreateBrigadeServiceUnavailable struct {
	Payload *models.ServiceTemporarilyUnavailable
}

CreateBrigadeServiceUnavailable describes a response with status code 503, with default header values.

Service Temporarily Unavailable

func NewCreateBrigadeServiceUnavailable

func NewCreateBrigadeServiceUnavailable() *CreateBrigadeServiceUnavailable

NewCreateBrigadeServiceUnavailable creates a CreateBrigadeServiceUnavailable with default headers values

func (*CreateBrigadeServiceUnavailable) Code

Code gets the status code for the create brigade service unavailable response

func (*CreateBrigadeServiceUnavailable) Error

func (*CreateBrigadeServiceUnavailable) GetPayload

func (*CreateBrigadeServiceUnavailable) IsClientError

func (o *CreateBrigadeServiceUnavailable) IsClientError() bool

IsClientError returns true when this create brigade service unavailable response has a 4xx status code

func (*CreateBrigadeServiceUnavailable) IsCode

func (o *CreateBrigadeServiceUnavailable) IsCode(code int) bool

IsCode returns true when this create brigade service unavailable response a status code equal to that given

func (*CreateBrigadeServiceUnavailable) IsRedirect

func (o *CreateBrigadeServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this create brigade service unavailable response has a 3xx status code

func (*CreateBrigadeServiceUnavailable) IsServerError

func (o *CreateBrigadeServiceUnavailable) IsServerError() bool

IsServerError returns true when this create brigade service unavailable response has a 5xx status code

func (*CreateBrigadeServiceUnavailable) IsSuccess

func (o *CreateBrigadeServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this create brigade service unavailable response has a 2xx status code

func (*CreateBrigadeServiceUnavailable) String

type CreateBrigadeUnauthorized

type CreateBrigadeUnauthorized struct {
	Payload *models.Error
}

CreateBrigadeUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateBrigadeUnauthorized

func NewCreateBrigadeUnauthorized() *CreateBrigadeUnauthorized

NewCreateBrigadeUnauthorized creates a CreateBrigadeUnauthorized with default headers values

func (*CreateBrigadeUnauthorized) Code

func (o *CreateBrigadeUnauthorized) Code() int

Code gets the status code for the create brigade unauthorized response

func (*CreateBrigadeUnauthorized) Error

func (o *CreateBrigadeUnauthorized) Error() string

func (*CreateBrigadeUnauthorized) GetPayload

func (o *CreateBrigadeUnauthorized) GetPayload() *models.Error

func (*CreateBrigadeUnauthorized) IsClientError

func (o *CreateBrigadeUnauthorized) IsClientError() bool

IsClientError returns true when this create brigade unauthorized response has a 4xx status code

func (*CreateBrigadeUnauthorized) IsCode

func (o *CreateBrigadeUnauthorized) IsCode(code int) bool

IsCode returns true when this create brigade unauthorized response a status code equal to that given

func (*CreateBrigadeUnauthorized) IsRedirect

func (o *CreateBrigadeUnauthorized) IsRedirect() bool

IsRedirect returns true when this create brigade unauthorized response has a 3xx status code

func (*CreateBrigadeUnauthorized) IsServerError

func (o *CreateBrigadeUnauthorized) IsServerError() bool

IsServerError returns true when this create brigade unauthorized response has a 5xx status code

func (*CreateBrigadeUnauthorized) IsSuccess

func (o *CreateBrigadeUnauthorized) IsSuccess() bool

IsSuccess returns true when this create brigade unauthorized response has a 2xx status code

func (*CreateBrigadeUnauthorized) String

func (o *CreateBrigadeUnauthorized) String() string

type CreateUserBadRequest

type CreateUserBadRequest struct {
	Payload *models.Error
}

CreateUserBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateUserBadRequest

func NewCreateUserBadRequest() *CreateUserBadRequest

NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values

func (*CreateUserBadRequest) Code

func (o *CreateUserBadRequest) Code() int

Code gets the status code for the create user bad request response

func (*CreateUserBadRequest) Error

func (o *CreateUserBadRequest) Error() string

func (*CreateUserBadRequest) GetPayload

func (o *CreateUserBadRequest) GetPayload() *models.Error

func (*CreateUserBadRequest) IsClientError

func (o *CreateUserBadRequest) IsClientError() bool

IsClientError returns true when this create user bad request response has a 4xx status code

func (*CreateUserBadRequest) IsCode

func (o *CreateUserBadRequest) IsCode(code int) bool

IsCode returns true when this create user bad request response a status code equal to that given

func (*CreateUserBadRequest) IsRedirect

func (o *CreateUserBadRequest) IsRedirect() bool

IsRedirect returns true when this create user bad request response has a 3xx status code

func (*CreateUserBadRequest) IsServerError

func (o *CreateUserBadRequest) IsServerError() bool

IsServerError returns true when this create user bad request response has a 5xx status code

func (*CreateUserBadRequest) IsSuccess

func (o *CreateUserBadRequest) IsSuccess() bool

IsSuccess returns true when this create user bad request response has a 2xx status code

func (*CreateUserBadRequest) String

func (o *CreateUserBadRequest) String() string

type CreateUserCreated

type CreateUserCreated struct {
	Payload *models.VPNConfig
}

CreateUserCreated describes a response with status code 201, with default header values.

Created

func NewCreateUserCreated

func NewCreateUserCreated() *CreateUserCreated

NewCreateUserCreated creates a CreateUserCreated with default headers values

func (*CreateUserCreated) Code

func (o *CreateUserCreated) Code() int

Code gets the status code for the create user created response

func (*CreateUserCreated) Error

func (o *CreateUserCreated) Error() string

func (*CreateUserCreated) GetPayload

func (o *CreateUserCreated) GetPayload() *models.VPNConfig

func (*CreateUserCreated) IsClientError

func (o *CreateUserCreated) IsClientError() bool

IsClientError returns true when this create user created response has a 4xx status code

func (*CreateUserCreated) IsCode

func (o *CreateUserCreated) IsCode(code int) bool

IsCode returns true when this create user created response a status code equal to that given

func (*CreateUserCreated) IsRedirect

func (o *CreateUserCreated) IsRedirect() bool

IsRedirect returns true when this create user created response has a 3xx status code

func (*CreateUserCreated) IsServerError

func (o *CreateUserCreated) IsServerError() bool

IsServerError returns true when this create user created response has a 5xx status code

func (*CreateUserCreated) IsSuccess

func (o *CreateUserCreated) IsSuccess() bool

IsSuccess returns true when this create user created response has a 2xx status code

func (*CreateUserCreated) String

func (o *CreateUserCreated) String() string

type CreateUserInternalServerError

type CreateUserInternalServerError struct {
	Payload *models.Error
}

CreateUserInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateUserInternalServerError

func NewCreateUserInternalServerError() *CreateUserInternalServerError

NewCreateUserInternalServerError creates a CreateUserInternalServerError with default headers values

func (*CreateUserInternalServerError) Code

Code gets the status code for the create user internal server error response

func (*CreateUserInternalServerError) Error

func (*CreateUserInternalServerError) GetPayload

func (o *CreateUserInternalServerError) GetPayload() *models.Error

func (*CreateUserInternalServerError) IsClientError

func (o *CreateUserInternalServerError) IsClientError() bool

IsClientError returns true when this create user internal server error response has a 4xx status code

func (*CreateUserInternalServerError) IsCode

func (o *CreateUserInternalServerError) IsCode(code int) bool

IsCode returns true when this create user internal server error response a status code equal to that given

func (*CreateUserInternalServerError) IsRedirect

func (o *CreateUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this create user internal server error response has a 3xx status code

func (*CreateUserInternalServerError) IsServerError

func (o *CreateUserInternalServerError) IsServerError() bool

IsServerError returns true when this create user internal server error response has a 5xx status code

func (*CreateUserInternalServerError) IsSuccess

func (o *CreateUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this create user internal server error response has a 2xx status code

func (*CreateUserInternalServerError) String

type CreateUserParams

type CreateUserParams struct {

	/* Body.

	   User data
	*/
	Body *models.CreateUserRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateUserParams contains all the parameters to send to the API endpoint

for the create user operation.

Typically these are written to a http.Request.

func NewCreateUserParams

func NewCreateUserParams() *CreateUserParams

NewCreateUserParams creates a new CreateUserParams 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 NewCreateUserParamsWithContext

func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams

NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.

func NewCreateUserParamsWithHTTPClient

func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams

NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserParamsWithTimeout

func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams

NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.

func (*CreateUserParams) SetBody

func (o *CreateUserParams) SetBody(body *models.CreateUserRequest)

SetBody adds the body to the create user params

func (*CreateUserParams) SetContext

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

SetContext adds the context to the create user params

func (*CreateUserParams) SetDefaults

func (o *CreateUserParams) SetDefaults()

SetDefaults hydrates default values in the create user params (not the query body).

All values with no default are reset to their zero value.

func (*CreateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) SetTimeout

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

SetTimeout adds the timeout to the create user params

func (*CreateUserParams) WithBody

WithBody adds the body to the create user params

func (*CreateUserParams) WithContext

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

WithContext adds the context to the create user params

func (*CreateUserParams) WithDefaults

func (o *CreateUserParams) WithDefaults() *CreateUserParams

WithDefaults hydrates default values in the create user params (not the query body).

All values with no default are reset to their zero value.

func (*CreateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) WithTimeout

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

WithTimeout adds the timeout to the create user params

func (*CreateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateUserReader

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

CreateUserReader is a Reader for the CreateUser structure.

func (*CreateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserServiceUnavailable

type CreateUserServiceUnavailable struct {
}

CreateUserServiceUnavailable describes a response with status code 503, with default header values.

Service Temporarily Unavailable

func NewCreateUserServiceUnavailable

func NewCreateUserServiceUnavailable() *CreateUserServiceUnavailable

NewCreateUserServiceUnavailable creates a CreateUserServiceUnavailable with default headers values

func (*CreateUserServiceUnavailable) Code

Code gets the status code for the create user service unavailable response

func (*CreateUserServiceUnavailable) Error

func (*CreateUserServiceUnavailable) IsClientError

func (o *CreateUserServiceUnavailable) IsClientError() bool

IsClientError returns true when this create user service unavailable response has a 4xx status code

func (*CreateUserServiceUnavailable) IsCode

func (o *CreateUserServiceUnavailable) IsCode(code int) bool

IsCode returns true when this create user service unavailable response a status code equal to that given

func (*CreateUserServiceUnavailable) IsRedirect

func (o *CreateUserServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this create user service unavailable response has a 3xx status code

func (*CreateUserServiceUnavailable) IsServerError

func (o *CreateUserServiceUnavailable) IsServerError() bool

IsServerError returns true when this create user service unavailable response has a 5xx status code

func (*CreateUserServiceUnavailable) IsSuccess

func (o *CreateUserServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this create user service unavailable response has a 2xx status code

func (*CreateUserServiceUnavailable) String

type CreateUserUnauthorized

type CreateUserUnauthorized struct {
	Payload *models.Error
}

CreateUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateUserUnauthorized

func NewCreateUserUnauthorized() *CreateUserUnauthorized

NewCreateUserUnauthorized creates a CreateUserUnauthorized with default headers values

func (*CreateUserUnauthorized) Code

func (o *CreateUserUnauthorized) Code() int

Code gets the status code for the create user unauthorized response

func (*CreateUserUnauthorized) Error

func (o *CreateUserUnauthorized) Error() string

func (*CreateUserUnauthorized) GetPayload

func (o *CreateUserUnauthorized) GetPayload() *models.Error

func (*CreateUserUnauthorized) IsClientError

func (o *CreateUserUnauthorized) IsClientError() bool

IsClientError returns true when this create user unauthorized response has a 4xx status code

func (*CreateUserUnauthorized) IsCode

func (o *CreateUserUnauthorized) IsCode(code int) bool

IsCode returns true when this create user unauthorized response a status code equal to that given

func (*CreateUserUnauthorized) IsRedirect

func (o *CreateUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this create user unauthorized response has a 3xx status code

func (*CreateUserUnauthorized) IsServerError

func (o *CreateUserUnauthorized) IsServerError() bool

IsServerError returns true when this create user unauthorized response has a 5xx status code

func (*CreateUserUnauthorized) IsSuccess

func (o *CreateUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this create user unauthorized response has a 2xx status code

func (*CreateUserUnauthorized) String

func (o *CreateUserUnauthorized) String() string

type DeleteBrigadeAccepted

type DeleteBrigadeAccepted struct {

	/* Location

	   Format: uri
	*/
	Location strfmt.URI

	/* Retry after seconds

	   Format: int32
	*/
	RetryAfter string

	Payload *models.OrderStatus
}

DeleteBrigadeAccepted describes a response with status code 202, with default header values.

Accepted

func NewDeleteBrigadeAccepted

func NewDeleteBrigadeAccepted() *DeleteBrigadeAccepted

NewDeleteBrigadeAccepted creates a DeleteBrigadeAccepted with default headers values

func (*DeleteBrigadeAccepted) Code

func (o *DeleteBrigadeAccepted) Code() int

Code gets the status code for the delete brigade accepted response

func (*DeleteBrigadeAccepted) Error

func (o *DeleteBrigadeAccepted) Error() string

func (*DeleteBrigadeAccepted) GetPayload

func (o *DeleteBrigadeAccepted) GetPayload() *models.OrderStatus

func (*DeleteBrigadeAccepted) IsClientError

func (o *DeleteBrigadeAccepted) IsClientError() bool

IsClientError returns true when this delete brigade accepted response has a 4xx status code

func (*DeleteBrigadeAccepted) IsCode

func (o *DeleteBrigadeAccepted) IsCode(code int) bool

IsCode returns true when this delete brigade accepted response a status code equal to that given

func (*DeleteBrigadeAccepted) IsRedirect

func (o *DeleteBrigadeAccepted) IsRedirect() bool

IsRedirect returns true when this delete brigade accepted response has a 3xx status code

func (*DeleteBrigadeAccepted) IsServerError

func (o *DeleteBrigadeAccepted) IsServerError() bool

IsServerError returns true when this delete brigade accepted response has a 5xx status code

func (*DeleteBrigadeAccepted) IsSuccess

func (o *DeleteBrigadeAccepted) IsSuccess() bool

IsSuccess returns true when this delete brigade accepted response has a 2xx status code

func (*DeleteBrigadeAccepted) String

func (o *DeleteBrigadeAccepted) String() string

type DeleteBrigadeBadRequest

type DeleteBrigadeBadRequest struct {
	Payload *models.Error
}

DeleteBrigadeBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteBrigadeBadRequest

func NewDeleteBrigadeBadRequest() *DeleteBrigadeBadRequest

NewDeleteBrigadeBadRequest creates a DeleteBrigadeBadRequest with default headers values

func (*DeleteBrigadeBadRequest) Code

func (o *DeleteBrigadeBadRequest) Code() int

Code gets the status code for the delete brigade bad request response

func (*DeleteBrigadeBadRequest) Error

func (o *DeleteBrigadeBadRequest) Error() string

func (*DeleteBrigadeBadRequest) GetPayload

func (o *DeleteBrigadeBadRequest) GetPayload() *models.Error

func (*DeleteBrigadeBadRequest) IsClientError

func (o *DeleteBrigadeBadRequest) IsClientError() bool

IsClientError returns true when this delete brigade bad request response has a 4xx status code

func (*DeleteBrigadeBadRequest) IsCode

func (o *DeleteBrigadeBadRequest) IsCode(code int) bool

IsCode returns true when this delete brigade bad request response a status code equal to that given

func (*DeleteBrigadeBadRequest) IsRedirect

func (o *DeleteBrigadeBadRequest) IsRedirect() bool

IsRedirect returns true when this delete brigade bad request response has a 3xx status code

func (*DeleteBrigadeBadRequest) IsServerError

func (o *DeleteBrigadeBadRequest) IsServerError() bool

IsServerError returns true when this delete brigade bad request response has a 5xx status code

func (*DeleteBrigadeBadRequest) IsSuccess

func (o *DeleteBrigadeBadRequest) IsSuccess() bool

IsSuccess returns true when this delete brigade bad request response has a 2xx status code

func (*DeleteBrigadeBadRequest) String

func (o *DeleteBrigadeBadRequest) String() string

type DeleteBrigadeInternalServerError

type DeleteBrigadeInternalServerError struct {
	Payload *models.Error
}

DeleteBrigadeInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteBrigadeInternalServerError

func NewDeleteBrigadeInternalServerError() *DeleteBrigadeInternalServerError

NewDeleteBrigadeInternalServerError creates a DeleteBrigadeInternalServerError with default headers values

func (*DeleteBrigadeInternalServerError) Code

Code gets the status code for the delete brigade internal server error response

func (*DeleteBrigadeInternalServerError) Error

func (*DeleteBrigadeInternalServerError) GetPayload

func (*DeleteBrigadeInternalServerError) IsClientError

func (o *DeleteBrigadeInternalServerError) IsClientError() bool

IsClientError returns true when this delete brigade internal server error response has a 4xx status code

func (*DeleteBrigadeInternalServerError) IsCode

func (o *DeleteBrigadeInternalServerError) IsCode(code int) bool

IsCode returns true when this delete brigade internal server error response a status code equal to that given

func (*DeleteBrigadeInternalServerError) IsRedirect

func (o *DeleteBrigadeInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete brigade internal server error response has a 3xx status code

func (*DeleteBrigadeInternalServerError) IsServerError

func (o *DeleteBrigadeInternalServerError) IsServerError() bool

IsServerError returns true when this delete brigade internal server error response has a 5xx status code

func (*DeleteBrigadeInternalServerError) IsSuccess

func (o *DeleteBrigadeInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete brigade internal server error response has a 2xx status code

func (*DeleteBrigadeInternalServerError) String

type DeleteBrigadeParams

type DeleteBrigadeParams struct {

	/* BrigadeID.

	   Brigade ID
	*/
	BrigadeID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteBrigadeParams contains all the parameters to send to the API endpoint

for the delete brigade operation.

Typically these are written to a http.Request.

func NewDeleteBrigadeParams

func NewDeleteBrigadeParams() *DeleteBrigadeParams

NewDeleteBrigadeParams creates a new DeleteBrigadeParams 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 NewDeleteBrigadeParamsWithContext

func NewDeleteBrigadeParamsWithContext(ctx context.Context) *DeleteBrigadeParams

NewDeleteBrigadeParamsWithContext creates a new DeleteBrigadeParams object with the ability to set a context for a request.

func NewDeleteBrigadeParamsWithHTTPClient

func NewDeleteBrigadeParamsWithHTTPClient(client *http.Client) *DeleteBrigadeParams

NewDeleteBrigadeParamsWithHTTPClient creates a new DeleteBrigadeParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBrigadeParamsWithTimeout

func NewDeleteBrigadeParamsWithTimeout(timeout time.Duration) *DeleteBrigadeParams

NewDeleteBrigadeParamsWithTimeout creates a new DeleteBrigadeParams object with the ability to set a timeout on a request.

func (*DeleteBrigadeParams) SetBrigadeID

func (o *DeleteBrigadeParams) SetBrigadeID(brigadeID string)

SetBrigadeID adds the brigadeId to the delete brigade params

func (*DeleteBrigadeParams) SetContext

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

SetContext adds the context to the delete brigade params

func (*DeleteBrigadeParams) SetDefaults

func (o *DeleteBrigadeParams) SetDefaults()

SetDefaults hydrates default values in the delete brigade params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBrigadeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete brigade params

func (*DeleteBrigadeParams) SetTimeout

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

SetTimeout adds the timeout to the delete brigade params

func (*DeleteBrigadeParams) WithBrigadeID

func (o *DeleteBrigadeParams) WithBrigadeID(brigadeID string) *DeleteBrigadeParams

WithBrigadeID adds the brigadeID to the delete brigade params

func (*DeleteBrigadeParams) WithContext

WithContext adds the context to the delete brigade params

func (*DeleteBrigadeParams) WithDefaults

func (o *DeleteBrigadeParams) WithDefaults() *DeleteBrigadeParams

WithDefaults hydrates default values in the delete brigade params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBrigadeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete brigade params

func (*DeleteBrigadeParams) WithTimeout

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

WithTimeout adds the timeout to the delete brigade params

func (*DeleteBrigadeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteBrigadeReader

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

DeleteBrigadeReader is a Reader for the DeleteBrigade structure.

func (*DeleteBrigadeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBrigadeServiceUnavailable

type DeleteBrigadeServiceUnavailable struct {
}

DeleteBrigadeServiceUnavailable describes a response with status code 503, with default header values.

Service Temporarily Unavailable

func NewDeleteBrigadeServiceUnavailable

func NewDeleteBrigadeServiceUnavailable() *DeleteBrigadeServiceUnavailable

NewDeleteBrigadeServiceUnavailable creates a DeleteBrigadeServiceUnavailable with default headers values

func (*DeleteBrigadeServiceUnavailable) Code

Code gets the status code for the delete brigade service unavailable response

func (*DeleteBrigadeServiceUnavailable) Error

func (*DeleteBrigadeServiceUnavailable) IsClientError

func (o *DeleteBrigadeServiceUnavailable) IsClientError() bool

IsClientError returns true when this delete brigade service unavailable response has a 4xx status code

func (*DeleteBrigadeServiceUnavailable) IsCode

func (o *DeleteBrigadeServiceUnavailable) IsCode(code int) bool

IsCode returns true when this delete brigade service unavailable response a status code equal to that given

func (*DeleteBrigadeServiceUnavailable) IsRedirect

func (o *DeleteBrigadeServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this delete brigade service unavailable response has a 3xx status code

func (*DeleteBrigadeServiceUnavailable) IsServerError

func (o *DeleteBrigadeServiceUnavailable) IsServerError() bool

IsServerError returns true when this delete brigade service unavailable response has a 5xx status code

func (*DeleteBrigadeServiceUnavailable) IsSuccess

func (o *DeleteBrigadeServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this delete brigade service unavailable response has a 2xx status code

func (*DeleteBrigadeServiceUnavailable) String

type DeleteBrigadeUnauthorized

type DeleteBrigadeUnauthorized struct {
	Payload *models.Error
}

DeleteBrigadeUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteBrigadeUnauthorized

func NewDeleteBrigadeUnauthorized() *DeleteBrigadeUnauthorized

NewDeleteBrigadeUnauthorized creates a DeleteBrigadeUnauthorized with default headers values

func (*DeleteBrigadeUnauthorized) Code

func (o *DeleteBrigadeUnauthorized) Code() int

Code gets the status code for the delete brigade unauthorized response

func (*DeleteBrigadeUnauthorized) Error

func (o *DeleteBrigadeUnauthorized) Error() string

func (*DeleteBrigadeUnauthorized) GetPayload

func (o *DeleteBrigadeUnauthorized) GetPayload() *models.Error

func (*DeleteBrigadeUnauthorized) IsClientError

func (o *DeleteBrigadeUnauthorized) IsClientError() bool

IsClientError returns true when this delete brigade unauthorized response has a 4xx status code

func (*DeleteBrigadeUnauthorized) IsCode

func (o *DeleteBrigadeUnauthorized) IsCode(code int) bool

IsCode returns true when this delete brigade unauthorized response a status code equal to that given

func (*DeleteBrigadeUnauthorized) IsRedirect

func (o *DeleteBrigadeUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete brigade unauthorized response has a 3xx status code

func (*DeleteBrigadeUnauthorized) IsServerError

func (o *DeleteBrigadeUnauthorized) IsServerError() bool

IsServerError returns true when this delete brigade unauthorized response has a 5xx status code

func (*DeleteBrigadeUnauthorized) IsSuccess

func (o *DeleteBrigadeUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete brigade unauthorized response has a 2xx status code

func (*DeleteBrigadeUnauthorized) String

func (o *DeleteBrigadeUnauthorized) String() string

type DeleteUserBadRequest

type DeleteUserBadRequest struct {
	Payload *models.Error
}

DeleteUserBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteUserBadRequest

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) Code

func (o *DeleteUserBadRequest) Code() int

Code gets the status code for the delete user bad request response

func (*DeleteUserBadRequest) Error

func (o *DeleteUserBadRequest) Error() string

func (*DeleteUserBadRequest) GetPayload

func (o *DeleteUserBadRequest) GetPayload() *models.Error

func (*DeleteUserBadRequest) IsClientError

func (o *DeleteUserBadRequest) IsClientError() bool

IsClientError returns true when this delete user bad request response has a 4xx status code

func (*DeleteUserBadRequest) IsCode

func (o *DeleteUserBadRequest) IsCode(code int) bool

IsCode returns true when this delete user bad request response a status code equal to that given

func (*DeleteUserBadRequest) IsRedirect

func (o *DeleteUserBadRequest) IsRedirect() bool

IsRedirect returns true when this delete user bad request response has a 3xx status code

func (*DeleteUserBadRequest) IsServerError

func (o *DeleteUserBadRequest) IsServerError() bool

IsServerError returns true when this delete user bad request response has a 5xx status code

func (*DeleteUserBadRequest) IsSuccess

func (o *DeleteUserBadRequest) IsSuccess() bool

IsSuccess returns true when this delete user bad request response has a 2xx status code

func (*DeleteUserBadRequest) String

func (o *DeleteUserBadRequest) String() string

type DeleteUserInternalServerError

type DeleteUserInternalServerError struct {
	Payload *models.Error
}

DeleteUserInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteUserInternalServerError

func NewDeleteUserInternalServerError() *DeleteUserInternalServerError

NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values

func (*DeleteUserInternalServerError) Code

Code gets the status code for the delete user internal server error response

func (*DeleteUserInternalServerError) Error

func (*DeleteUserInternalServerError) GetPayload

func (o *DeleteUserInternalServerError) GetPayload() *models.Error

func (*DeleteUserInternalServerError) IsClientError

func (o *DeleteUserInternalServerError) IsClientError() bool

IsClientError returns true when this delete user internal server error response has a 4xx status code

func (*DeleteUserInternalServerError) IsCode

func (o *DeleteUserInternalServerError) IsCode(code int) bool

IsCode returns true when this delete user internal server error response a status code equal to that given

func (*DeleteUserInternalServerError) IsRedirect

func (o *DeleteUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete user internal server error response has a 3xx status code

func (*DeleteUserInternalServerError) IsServerError

func (o *DeleteUserInternalServerError) IsServerError() bool

IsServerError returns true when this delete user internal server error response has a 5xx status code

func (*DeleteUserInternalServerError) IsSuccess

func (o *DeleteUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete user internal server error response has a 2xx status code

func (*DeleteUserInternalServerError) String

type DeleteUserNoContent

type DeleteUserNoContent struct {
}

DeleteUserNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteUserNoContent

func NewDeleteUserNoContent() *DeleteUserNoContent

NewDeleteUserNoContent creates a DeleteUserNoContent with default headers values

func (*DeleteUserNoContent) Code

func (o *DeleteUserNoContent) Code() int

Code gets the status code for the delete user no content response

func (*DeleteUserNoContent) Error

func (o *DeleteUserNoContent) Error() string

func (*DeleteUserNoContent) IsClientError

func (o *DeleteUserNoContent) IsClientError() bool

IsClientError returns true when this delete user no content response has a 4xx status code

func (*DeleteUserNoContent) IsCode

func (o *DeleteUserNoContent) IsCode(code int) bool

IsCode returns true when this delete user no content response a status code equal to that given

func (*DeleteUserNoContent) IsRedirect

func (o *DeleteUserNoContent) IsRedirect() bool

IsRedirect returns true when this delete user no content response has a 3xx status code

func (*DeleteUserNoContent) IsServerError

func (o *DeleteUserNoContent) IsServerError() bool

IsServerError returns true when this delete user no content response has a 5xx status code

func (*DeleteUserNoContent) IsSuccess

func (o *DeleteUserNoContent) IsSuccess() bool

IsSuccess returns true when this delete user no content response has a 2xx status code

func (*DeleteUserNoContent) String

func (o *DeleteUserNoContent) String() string

type DeleteUserParams

type DeleteUserParams struct {

	/* UserID.

	   User ID
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteUserParams contains all the parameters to send to the API endpoint

for the delete user operation.

Typically these are written to a http.Request.

func NewDeleteUserParams

func NewDeleteUserParams() *DeleteUserParams

NewDeleteUserParams creates a new DeleteUserParams 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 NewDeleteUserParamsWithContext

func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams

NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.

func NewDeleteUserParamsWithHTTPClient

func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams

NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserParamsWithTimeout

func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams

NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.

func (*DeleteUserParams) SetContext

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

SetContext adds the context to the delete user params

func (*DeleteUserParams) SetDefaults

func (o *DeleteUserParams) SetDefaults()

SetDefaults hydrates default values in the delete user params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the delete user params

func (*DeleteUserParams) SetUserID

func (o *DeleteUserParams) SetUserID(userID string)

SetUserID adds the userId to the delete user params

func (*DeleteUserParams) WithContext

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

WithContext adds the context to the delete user params

func (*DeleteUserParams) WithDefaults

func (o *DeleteUserParams) WithDefaults() *DeleteUserParams

WithDefaults hydrates default values in the delete user params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) WithTimeout

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

WithTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WithUserID

func (o *DeleteUserParams) WithUserID(userID string) *DeleteUserParams

WithUserID adds the userID to the delete user params

func (*DeleteUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteUserReader

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

DeleteUserReader is a Reader for the DeleteUser structure.

func (*DeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserServiceUnavailable

type DeleteUserServiceUnavailable struct {
}

DeleteUserServiceUnavailable describes a response with status code 503, with default header values.

Service Temporarily Unavailable

func NewDeleteUserServiceUnavailable

func NewDeleteUserServiceUnavailable() *DeleteUserServiceUnavailable

NewDeleteUserServiceUnavailable creates a DeleteUserServiceUnavailable with default headers values

func (*DeleteUserServiceUnavailable) Code

Code gets the status code for the delete user service unavailable response

func (*DeleteUserServiceUnavailable) Error

func (*DeleteUserServiceUnavailable) IsClientError

func (o *DeleteUserServiceUnavailable) IsClientError() bool

IsClientError returns true when this delete user service unavailable response has a 4xx status code

func (*DeleteUserServiceUnavailable) IsCode

func (o *DeleteUserServiceUnavailable) IsCode(code int) bool

IsCode returns true when this delete user service unavailable response a status code equal to that given

func (*DeleteUserServiceUnavailable) IsRedirect

func (o *DeleteUserServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this delete user service unavailable response has a 3xx status code

func (*DeleteUserServiceUnavailable) IsServerError

func (o *DeleteUserServiceUnavailable) IsServerError() bool

IsServerError returns true when this delete user service unavailable response has a 5xx status code

func (*DeleteUserServiceUnavailable) IsSuccess

func (o *DeleteUserServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this delete user service unavailable response has a 2xx status code

func (*DeleteUserServiceUnavailable) String

type DeleteUserUnauthorized

type DeleteUserUnauthorized struct {
	Payload *models.Error
}

DeleteUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteUserUnauthorized

func NewDeleteUserUnauthorized() *DeleteUserUnauthorized

NewDeleteUserUnauthorized creates a DeleteUserUnauthorized with default headers values

func (*DeleteUserUnauthorized) Code

func (o *DeleteUserUnauthorized) Code() int

Code gets the status code for the delete user unauthorized response

func (*DeleteUserUnauthorized) Error

func (o *DeleteUserUnauthorized) Error() string

func (*DeleteUserUnauthorized) GetPayload

func (o *DeleteUserUnauthorized) GetPayload() *models.Error

func (*DeleteUserUnauthorized) IsClientError

func (o *DeleteUserUnauthorized) IsClientError() bool

IsClientError returns true when this delete user unauthorized response has a 4xx status code

func (*DeleteUserUnauthorized) IsCode

func (o *DeleteUserUnauthorized) IsCode(code int) bool

IsCode returns true when this delete user unauthorized response a status code equal to that given

func (*DeleteUserUnauthorized) IsRedirect

func (o *DeleteUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete user unauthorized response has a 3xx status code

func (*DeleteUserUnauthorized) IsServerError

func (o *DeleteUserUnauthorized) IsServerError() bool

IsServerError returns true when this delete user unauthorized response has a 5xx status code

func (*DeleteUserUnauthorized) IsSuccess

func (o *DeleteUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete user unauthorized response has a 2xx status code

func (*DeleteUserUnauthorized) String

func (o *DeleteUserUnauthorized) String() string

type GetBrigadeBadRequest

type GetBrigadeBadRequest struct {
	Payload *models.Error
}

GetBrigadeBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetBrigadeBadRequest

func NewGetBrigadeBadRequest() *GetBrigadeBadRequest

NewGetBrigadeBadRequest creates a GetBrigadeBadRequest with default headers values

func (*GetBrigadeBadRequest) Code

func (o *GetBrigadeBadRequest) Code() int

Code gets the status code for the get brigade bad request response

func (*GetBrigadeBadRequest) Error

func (o *GetBrigadeBadRequest) Error() string

func (*GetBrigadeBadRequest) GetPayload

func (o *GetBrigadeBadRequest) GetPayload() *models.Error

func (*GetBrigadeBadRequest) IsClientError

func (o *GetBrigadeBadRequest) IsClientError() bool

IsClientError returns true when this get brigade bad request response has a 4xx status code

func (*GetBrigadeBadRequest) IsCode

func (o *GetBrigadeBadRequest) IsCode(code int) bool

IsCode returns true when this get brigade bad request response a status code equal to that given

func (*GetBrigadeBadRequest) IsRedirect

func (o *GetBrigadeBadRequest) IsRedirect() bool

IsRedirect returns true when this get brigade bad request response has a 3xx status code

func (*GetBrigadeBadRequest) IsServerError

func (o *GetBrigadeBadRequest) IsServerError() bool

IsServerError returns true when this get brigade bad request response has a 5xx status code

func (*GetBrigadeBadRequest) IsSuccess

func (o *GetBrigadeBadRequest) IsSuccess() bool

IsSuccess returns true when this get brigade bad request response has a 2xx status code

func (*GetBrigadeBadRequest) String

func (o *GetBrigadeBadRequest) String() string

type GetBrigadeInternalServerError

type GetBrigadeInternalServerError struct {
	Payload *models.Error
}

GetBrigadeInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetBrigadeInternalServerError

func NewGetBrigadeInternalServerError() *GetBrigadeInternalServerError

NewGetBrigadeInternalServerError creates a GetBrigadeInternalServerError with default headers values

func (*GetBrigadeInternalServerError) Code

Code gets the status code for the get brigade internal server error response

func (*GetBrigadeInternalServerError) Error

func (*GetBrigadeInternalServerError) GetPayload

func (o *GetBrigadeInternalServerError) GetPayload() *models.Error

func (*GetBrigadeInternalServerError) IsClientError

func (o *GetBrigadeInternalServerError) IsClientError() bool

IsClientError returns true when this get brigade internal server error response has a 4xx status code

func (*GetBrigadeInternalServerError) IsCode

func (o *GetBrigadeInternalServerError) IsCode(code int) bool

IsCode returns true when this get brigade internal server error response a status code equal to that given

func (*GetBrigadeInternalServerError) IsRedirect

func (o *GetBrigadeInternalServerError) IsRedirect() bool

IsRedirect returns true when this get brigade internal server error response has a 3xx status code

func (*GetBrigadeInternalServerError) IsServerError

func (o *GetBrigadeInternalServerError) IsServerError() bool

IsServerError returns true when this get brigade internal server error response has a 5xx status code

func (*GetBrigadeInternalServerError) IsSuccess

func (o *GetBrigadeInternalServerError) IsSuccess() bool

IsSuccess returns true when this get brigade internal server error response has a 2xx status code

func (*GetBrigadeInternalServerError) String

type GetBrigadeOK

type GetBrigadeOK struct {
	Payload *models.Brigade
}

GetBrigadeOK describes a response with status code 200, with default header values.

OK

func NewGetBrigadeOK

func NewGetBrigadeOK() *GetBrigadeOK

NewGetBrigadeOK creates a GetBrigadeOK with default headers values

func (*GetBrigadeOK) Code

func (o *GetBrigadeOK) Code() int

Code gets the status code for the get brigade o k response

func (*GetBrigadeOK) Error

func (o *GetBrigadeOK) Error() string

func (*GetBrigadeOK) GetPayload

func (o *GetBrigadeOK) GetPayload() *models.Brigade

func (*GetBrigadeOK) IsClientError

func (o *GetBrigadeOK) IsClientError() bool

IsClientError returns true when this get brigade o k response has a 4xx status code

func (*GetBrigadeOK) IsCode

func (o *GetBrigadeOK) IsCode(code int) bool

IsCode returns true when this get brigade o k response a status code equal to that given

func (*GetBrigadeOK) IsRedirect

func (o *GetBrigadeOK) IsRedirect() bool

IsRedirect returns true when this get brigade o k response has a 3xx status code

func (*GetBrigadeOK) IsServerError

func (o *GetBrigadeOK) IsServerError() bool

IsServerError returns true when this get brigade o k response has a 5xx status code

func (*GetBrigadeOK) IsSuccess

func (o *GetBrigadeOK) IsSuccess() bool

IsSuccess returns true when this get brigade o k response has a 2xx status code

func (*GetBrigadeOK) String

func (o *GetBrigadeOK) String() string

type GetBrigadeParams

type GetBrigadeParams struct {

	/* BrigadeID.

	   Brigade ID
	*/
	BrigadeID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetBrigadeParams contains all the parameters to send to the API endpoint

for the get brigade operation.

Typically these are written to a http.Request.

func NewGetBrigadeParams

func NewGetBrigadeParams() *GetBrigadeParams

NewGetBrigadeParams creates a new GetBrigadeParams 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 NewGetBrigadeParamsWithContext

func NewGetBrigadeParamsWithContext(ctx context.Context) *GetBrigadeParams

NewGetBrigadeParamsWithContext creates a new GetBrigadeParams object with the ability to set a context for a request.

func NewGetBrigadeParamsWithHTTPClient

func NewGetBrigadeParamsWithHTTPClient(client *http.Client) *GetBrigadeParams

NewGetBrigadeParamsWithHTTPClient creates a new GetBrigadeParams object with the ability to set a custom HTTPClient for a request.

func NewGetBrigadeParamsWithTimeout

func NewGetBrigadeParamsWithTimeout(timeout time.Duration) *GetBrigadeParams

NewGetBrigadeParamsWithTimeout creates a new GetBrigadeParams object with the ability to set a timeout on a request.

func (*GetBrigadeParams) SetBrigadeID

func (o *GetBrigadeParams) SetBrigadeID(brigadeID string)

SetBrigadeID adds the brigadeId to the get brigade params

func (*GetBrigadeParams) SetContext

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

SetContext adds the context to the get brigade params

func (*GetBrigadeParams) SetDefaults

func (o *GetBrigadeParams) SetDefaults()

SetDefaults hydrates default values in the get brigade params (not the query body).

All values with no default are reset to their zero value.

func (*GetBrigadeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get brigade params

func (*GetBrigadeParams) SetTimeout

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

SetTimeout adds the timeout to the get brigade params

func (*GetBrigadeParams) WithBrigadeID

func (o *GetBrigadeParams) WithBrigadeID(brigadeID string) *GetBrigadeParams

WithBrigadeID adds the brigadeID to the get brigade params

func (*GetBrigadeParams) WithContext

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

WithContext adds the context to the get brigade params

func (*GetBrigadeParams) WithDefaults

func (o *GetBrigadeParams) WithDefaults() *GetBrigadeParams

WithDefaults hydrates default values in the get brigade params (not the query body).

All values with no default are reset to their zero value.

func (*GetBrigadeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get brigade params

func (*GetBrigadeParams) WithTimeout

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

WithTimeout adds the timeout to the get brigade params

func (*GetBrigadeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBrigadeReader

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

GetBrigadeReader is a Reader for the GetBrigade structure.

func (*GetBrigadeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBrigadeServiceUnavailable

type GetBrigadeServiceUnavailable struct {
}

GetBrigadeServiceUnavailable describes a response with status code 503, with default header values.

Service Temporarily Unavailable

func NewGetBrigadeServiceUnavailable

func NewGetBrigadeServiceUnavailable() *GetBrigadeServiceUnavailable

NewGetBrigadeServiceUnavailable creates a GetBrigadeServiceUnavailable with default headers values

func (*GetBrigadeServiceUnavailable) Code

Code gets the status code for the get brigade service unavailable response

func (*GetBrigadeServiceUnavailable) Error

func (*GetBrigadeServiceUnavailable) IsClientError

func (o *GetBrigadeServiceUnavailable) IsClientError() bool

IsClientError returns true when this get brigade service unavailable response has a 4xx status code

func (*GetBrigadeServiceUnavailable) IsCode

func (o *GetBrigadeServiceUnavailable) IsCode(code int) bool

IsCode returns true when this get brigade service unavailable response a status code equal to that given

func (*GetBrigadeServiceUnavailable) IsRedirect

func (o *GetBrigadeServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get brigade service unavailable response has a 3xx status code

func (*GetBrigadeServiceUnavailable) IsServerError

func (o *GetBrigadeServiceUnavailable) IsServerError() bool

IsServerError returns true when this get brigade service unavailable response has a 5xx status code

func (*GetBrigadeServiceUnavailable) IsSuccess

func (o *GetBrigadeServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get brigade service unavailable response has a 2xx status code

func (*GetBrigadeServiceUnavailable) String

type GetBrigadeUnauthorized

type GetBrigadeUnauthorized struct {
	Payload *models.Error
}

GetBrigadeUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetBrigadeUnauthorized

func NewGetBrigadeUnauthorized() *GetBrigadeUnauthorized

NewGetBrigadeUnauthorized creates a GetBrigadeUnauthorized with default headers values

func (*GetBrigadeUnauthorized) Code

func (o *GetBrigadeUnauthorized) Code() int

Code gets the status code for the get brigade unauthorized response

func (*GetBrigadeUnauthorized) Error

func (o *GetBrigadeUnauthorized) Error() string

func (*GetBrigadeUnauthorized) GetPayload

func (o *GetBrigadeUnauthorized) GetPayload() *models.Error

func (*GetBrigadeUnauthorized) IsClientError

func (o *GetBrigadeUnauthorized) IsClientError() bool

IsClientError returns true when this get brigade unauthorized response has a 4xx status code

func (*GetBrigadeUnauthorized) IsCode

func (o *GetBrigadeUnauthorized) IsCode(code int) bool

IsCode returns true when this get brigade unauthorized response a status code equal to that given

func (*GetBrigadeUnauthorized) IsRedirect

func (o *GetBrigadeUnauthorized) IsRedirect() bool

IsRedirect returns true when this get brigade unauthorized response has a 3xx status code

func (*GetBrigadeUnauthorized) IsServerError

func (o *GetBrigadeUnauthorized) IsServerError() bool

IsServerError returns true when this get brigade unauthorized response has a 5xx status code

func (*GetBrigadeUnauthorized) IsSuccess

func (o *GetBrigadeUnauthorized) IsSuccess() bool

IsSuccess returns true when this get brigade unauthorized response has a 2xx status code

func (*GetBrigadeUnauthorized) String

func (o *GetBrigadeUnauthorized) String() string

Jump to

Keyboard shortcuts

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