operations

package
v1.10.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 socket brigade

func (*Client) DeleteBrigade

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

DeleteBrigade deletes v p n socket brigade

func (*Client) GetBrigade

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

GetBrigade gets v p n socket 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.

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)

	DeleteBrigade(params *DeleteBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBrigadeAccepted, 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 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 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