operations

package
v1.9.16 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MPL-2.0 Imports: 13 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 Client

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

Client for operations API

func (*Client) CreateConfig

func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error)

CreateConfig creates v p n config

func (*Client) DeleteConfig

func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigOK, error)

DeleteConfig deletes v p n config

func (*Client) GetBrigadeActivity added in v1.9.11

func (a *Client) GetBrigadeActivity(params *GetBrigadeActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeActivityOK, error)

GetBrigadeActivity gets v p n socket brigade activity stats

func (*Client) GetBrigadeSlots added in v1.9.11

func (a *Client) GetBrigadeSlots(params *GetBrigadeSlotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeSlotsOK, error)

GetBrigadeSlots gets v p n socket brigade slots stats

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 {
	CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error)

	DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigOK, error)

	GetBrigadeActivity(params *GetBrigadeActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeActivityOK, error)

	GetBrigadeSlots(params *GetBrigadeSlotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeSlotsOK, 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 CreateConfigBadRequest

type CreateConfigBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewCreateConfigBadRequest

func NewCreateConfigBadRequest() *CreateConfigBadRequest

NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values

func (*CreateConfigBadRequest) Code

func (o *CreateConfigBadRequest) Code() int

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

func (*CreateConfigBadRequest) Error

func (o *CreateConfigBadRequest) Error() string

func (*CreateConfigBadRequest) GetPayload

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

func (*CreateConfigBadRequest) IsClientError

func (o *CreateConfigBadRequest) IsClientError() bool

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

func (*CreateConfigBadRequest) IsCode

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

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

func (*CreateConfigBadRequest) IsRedirect

func (o *CreateConfigBadRequest) IsRedirect() bool

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

func (*CreateConfigBadRequest) IsServerError

func (o *CreateConfigBadRequest) IsServerError() bool

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

func (*CreateConfigBadRequest) IsSuccess

func (o *CreateConfigBadRequest) IsSuccess() bool

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

func (*CreateConfigBadRequest) String

func (o *CreateConfigBadRequest) String() string

type CreateConfigCreated

type CreateConfigCreated struct {
	Payload *models.VPNConfigResponse
}

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

Created

func NewCreateConfigCreated

func NewCreateConfigCreated() *CreateConfigCreated

NewCreateConfigCreated creates a CreateConfigCreated with default headers values

func (*CreateConfigCreated) Code

func (o *CreateConfigCreated) Code() int

Code gets the status code for the create config created response

func (*CreateConfigCreated) Error

func (o *CreateConfigCreated) Error() string

func (*CreateConfigCreated) GetPayload

func (o *CreateConfigCreated) GetPayload() *models.VPNConfigResponse

func (*CreateConfigCreated) IsClientError

func (o *CreateConfigCreated) IsClientError() bool

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

func (*CreateConfigCreated) IsCode

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

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

func (*CreateConfigCreated) IsRedirect

func (o *CreateConfigCreated) IsRedirect() bool

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

func (*CreateConfigCreated) IsServerError

func (o *CreateConfigCreated) IsServerError() bool

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

func (*CreateConfigCreated) IsSuccess

func (o *CreateConfigCreated) IsSuccess() bool

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

func (*CreateConfigCreated) String

func (o *CreateConfigCreated) String() string

type CreateConfigInternalServerError

type CreateConfigInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewCreateConfigInternalServerError

func NewCreateConfigInternalServerError() *CreateConfigInternalServerError

NewCreateConfigInternalServerError creates a CreateConfigInternalServerError with default headers values

func (*CreateConfigInternalServerError) Code

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

func (*CreateConfigInternalServerError) Error

func (*CreateConfigInternalServerError) GetPayload

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

func (*CreateConfigInternalServerError) IsClientError

func (o *CreateConfigInternalServerError) IsClientError() bool

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

func (*CreateConfigInternalServerError) IsCode

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

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

func (*CreateConfigInternalServerError) IsRedirect

func (o *CreateConfigInternalServerError) IsRedirect() bool

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

func (*CreateConfigInternalServerError) IsServerError

func (o *CreateConfigInternalServerError) IsServerError() bool

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

func (*CreateConfigInternalServerError) IsSuccess

func (o *CreateConfigInternalServerError) IsSuccess() bool

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

func (*CreateConfigInternalServerError) String

type CreateConfigParams

type CreateConfigParams struct {

	/* Body.

	   Config data
	*/
	Body *models.CreateConfigRequest

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

CreateConfigParams contains all the parameters to send to the API endpoint

for the create config operation.

Typically these are written to a http.Request.

func NewCreateConfigParams

func NewCreateConfigParams() *CreateConfigParams

NewCreateConfigParams creates a new CreateConfigParams 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 NewCreateConfigParamsWithContext

func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams

NewCreateConfigParamsWithContext creates a new CreateConfigParams object with the ability to set a context for a request.

func NewCreateConfigParamsWithHTTPClient

func NewCreateConfigParamsWithHTTPClient(client *http.Client) *CreateConfigParams

NewCreateConfigParamsWithHTTPClient creates a new CreateConfigParams object with the ability to set a custom HTTPClient for a request.

func NewCreateConfigParamsWithTimeout

func NewCreateConfigParamsWithTimeout(timeout time.Duration) *CreateConfigParams

NewCreateConfigParamsWithTimeout creates a new CreateConfigParams object with the ability to set a timeout on a request.

func (*CreateConfigParams) SetBody

func (o *CreateConfigParams) SetBody(body *models.CreateConfigRequest)

SetBody adds the body to the create config params

func (*CreateConfigParams) SetContext

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

SetContext adds the context to the create config params

func (*CreateConfigParams) SetDefaults

func (o *CreateConfigParams) SetDefaults()

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

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

func (*CreateConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create config params

func (*CreateConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create config params

func (*CreateConfigParams) WithBody

WithBody adds the body to the create config params

func (*CreateConfigParams) WithContext

WithContext adds the context to the create config params

func (*CreateConfigParams) WithDefaults

func (o *CreateConfigParams) WithDefaults() *CreateConfigParams

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

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

func (*CreateConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create config params

func (*CreateConfigParams) WithTimeout

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

WithTimeout adds the timeout to the create config params

func (*CreateConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateConfigReader

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

CreateConfigReader is a Reader for the CreateConfig structure.

func (*CreateConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateConfigServiceUnavailable

type CreateConfigServiceUnavailable struct {
	Payload *models.ServiceTemporarilyUnavailable
}

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

Service Temporarily Unavailable

func NewCreateConfigServiceUnavailable

func NewCreateConfigServiceUnavailable() *CreateConfigServiceUnavailable

NewCreateConfigServiceUnavailable creates a CreateConfigServiceUnavailable with default headers values

func (*CreateConfigServiceUnavailable) Code

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

func (*CreateConfigServiceUnavailable) Error

func (*CreateConfigServiceUnavailable) GetPayload

func (*CreateConfigServiceUnavailable) IsClientError

func (o *CreateConfigServiceUnavailable) IsClientError() bool

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

func (*CreateConfigServiceUnavailable) IsCode

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

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

func (*CreateConfigServiceUnavailable) IsRedirect

func (o *CreateConfigServiceUnavailable) IsRedirect() bool

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

func (*CreateConfigServiceUnavailable) IsServerError

func (o *CreateConfigServiceUnavailable) IsServerError() bool

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

func (*CreateConfigServiceUnavailable) IsSuccess

func (o *CreateConfigServiceUnavailable) IsSuccess() bool

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

func (*CreateConfigServiceUnavailable) String

type CreateConfigUnauthorized

type CreateConfigUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateConfigUnauthorized

func NewCreateConfigUnauthorized() *CreateConfigUnauthorized

NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values

func (*CreateConfigUnauthorized) Code

func (o *CreateConfigUnauthorized) Code() int

Code gets the status code for the create config unauthorized response

func (*CreateConfigUnauthorized) Error

func (o *CreateConfigUnauthorized) Error() string

func (*CreateConfigUnauthorized) GetPayload

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

func (*CreateConfigUnauthorized) IsClientError

func (o *CreateConfigUnauthorized) IsClientError() bool

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

func (*CreateConfigUnauthorized) IsCode

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

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

func (*CreateConfigUnauthorized) IsRedirect

func (o *CreateConfigUnauthorized) IsRedirect() bool

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

func (*CreateConfigUnauthorized) IsServerError

func (o *CreateConfigUnauthorized) IsServerError() bool

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

func (*CreateConfigUnauthorized) IsSuccess

func (o *CreateConfigUnauthorized) IsSuccess() bool

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

func (*CreateConfigUnauthorized) String

func (o *CreateConfigUnauthorized) String() string

type DeleteConfigBadRequest

type DeleteConfigBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewDeleteConfigBadRequest

func NewDeleteConfigBadRequest() *DeleteConfigBadRequest

NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values

func (*DeleteConfigBadRequest) Code

func (o *DeleteConfigBadRequest) Code() int

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

func (*DeleteConfigBadRequest) Error

func (o *DeleteConfigBadRequest) Error() string

func (*DeleteConfigBadRequest) GetPayload

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

func (*DeleteConfigBadRequest) IsClientError

func (o *DeleteConfigBadRequest) IsClientError() bool

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

func (*DeleteConfigBadRequest) IsCode

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

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

func (*DeleteConfigBadRequest) IsRedirect

func (o *DeleteConfigBadRequest) IsRedirect() bool

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

func (*DeleteConfigBadRequest) IsServerError

func (o *DeleteConfigBadRequest) IsServerError() bool

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

func (*DeleteConfigBadRequest) IsSuccess

func (o *DeleteConfigBadRequest) IsSuccess() bool

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

func (*DeleteConfigBadRequest) String

func (o *DeleteConfigBadRequest) String() string

type DeleteConfigBody

type DeleteConfigBody struct {

	// Brigade ID
	// Required: true
	// Format: uuid
	BrigadeID *strfmt.UUID `json:"brigade_id"`
}

DeleteConfigBody delete config body swagger:model DeleteConfigBody

func (*DeleteConfigBody) ContextValidate

func (o *DeleteConfigBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete config body based on context it is used

func (*DeleteConfigBody) MarshalBinary

func (o *DeleteConfigBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteConfigBody) UnmarshalBinary

func (o *DeleteConfigBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteConfigBody) Validate

func (o *DeleteConfigBody) Validate(formats strfmt.Registry) error

Validate validates this delete config body

type DeleteConfigInternalServerError

type DeleteConfigInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewDeleteConfigInternalServerError

func NewDeleteConfigInternalServerError() *DeleteConfigInternalServerError

NewDeleteConfigInternalServerError creates a DeleteConfigInternalServerError with default headers values

func (*DeleteConfigInternalServerError) Code

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

func (*DeleteConfigInternalServerError) Error

func (*DeleteConfigInternalServerError) GetPayload

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

func (*DeleteConfigInternalServerError) IsClientError

func (o *DeleteConfigInternalServerError) IsClientError() bool

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

func (*DeleteConfigInternalServerError) IsCode

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

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

func (*DeleteConfigInternalServerError) IsRedirect

func (o *DeleteConfigInternalServerError) IsRedirect() bool

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

func (*DeleteConfigInternalServerError) IsServerError

func (o *DeleteConfigInternalServerError) IsServerError() bool

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

func (*DeleteConfigInternalServerError) IsSuccess

func (o *DeleteConfigInternalServerError) IsSuccess() bool

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

func (*DeleteConfigInternalServerError) String

type DeleteConfigOK added in v1.9.16

type DeleteConfigOK struct {
	Payload *models.FreeSlots
}

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

OK

func NewDeleteConfigOK added in v1.9.16

func NewDeleteConfigOK() *DeleteConfigOK

NewDeleteConfigOK creates a DeleteConfigOK with default headers values

func (*DeleteConfigOK) Code added in v1.9.16

func (o *DeleteConfigOK) Code() int

Code gets the status code for the delete config o k response

func (*DeleteConfigOK) Error added in v1.9.16

func (o *DeleteConfigOK) Error() string

func (*DeleteConfigOK) GetPayload added in v1.9.16

func (o *DeleteConfigOK) GetPayload() *models.FreeSlots

func (*DeleteConfigOK) IsClientError added in v1.9.16

func (o *DeleteConfigOK) IsClientError() bool

IsClientError returns true when this delete config o k response has a 4xx status code

func (*DeleteConfigOK) IsCode added in v1.9.16

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

IsCode returns true when this delete config o k response a status code equal to that given

func (*DeleteConfigOK) IsRedirect added in v1.9.16

func (o *DeleteConfigOK) IsRedirect() bool

IsRedirect returns true when this delete config o k response has a 3xx status code

func (*DeleteConfigOK) IsServerError added in v1.9.16

func (o *DeleteConfigOK) IsServerError() bool

IsServerError returns true when this delete config o k response has a 5xx status code

func (*DeleteConfigOK) IsSuccess added in v1.9.16

func (o *DeleteConfigOK) IsSuccess() bool

IsSuccess returns true when this delete config o k response has a 2xx status code

func (*DeleteConfigOK) String added in v1.9.16

func (o *DeleteConfigOK) String() string

type DeleteConfigParams

type DeleteConfigParams struct {

	/* Body.

	   Brigade ID
	*/
	Body DeleteConfigBody

	/* ConfigID.

	   Config ID
	*/
	ConfigID string

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

DeleteConfigParams contains all the parameters to send to the API endpoint

for the delete config operation.

Typically these are written to a http.Request.

func NewDeleteConfigParams

func NewDeleteConfigParams() *DeleteConfigParams

NewDeleteConfigParams creates a new DeleteConfigParams 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 NewDeleteConfigParamsWithContext

func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams

NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the ability to set a context for a request.

func NewDeleteConfigParamsWithHTTPClient

func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams

NewDeleteConfigParamsWithHTTPClient creates a new DeleteConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConfigParamsWithTimeout

func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams

NewDeleteConfigParamsWithTimeout creates a new DeleteConfigParams object with the ability to set a timeout on a request.

func (*DeleteConfigParams) SetBody

func (o *DeleteConfigParams) SetBody(body DeleteConfigBody)

SetBody adds the body to the delete config params

func (*DeleteConfigParams) SetConfigID

func (o *DeleteConfigParams) SetConfigID(configID string)

SetConfigID adds the configId to the delete config params

func (*DeleteConfigParams) SetContext

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

SetContext adds the context to the delete config params

func (*DeleteConfigParams) SetDefaults

func (o *DeleteConfigParams) SetDefaults()

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

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

func (*DeleteConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WithBody

WithBody adds the body to the delete config params

func (*DeleteConfigParams) WithConfigID

func (o *DeleteConfigParams) WithConfigID(configID string) *DeleteConfigParams

WithConfigID adds the configID to the delete config params

func (*DeleteConfigParams) WithContext

WithContext adds the context to the delete config params

func (*DeleteConfigParams) WithDefaults

func (o *DeleteConfigParams) WithDefaults() *DeleteConfigParams

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

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

func (*DeleteConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) WithTimeout

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

WithTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteConfigReader

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

DeleteConfigReader is a Reader for the DeleteConfig structure.

func (*DeleteConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConfigServiceUnavailable

type DeleteConfigServiceUnavailable struct {
	Payload *models.ServiceTemporarilyUnavailable
}

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

Service Temporarily Unavailable

func NewDeleteConfigServiceUnavailable

func NewDeleteConfigServiceUnavailable() *DeleteConfigServiceUnavailable

NewDeleteConfigServiceUnavailable creates a DeleteConfigServiceUnavailable with default headers values

func (*DeleteConfigServiceUnavailable) Code

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

func (*DeleteConfigServiceUnavailable) Error

func (*DeleteConfigServiceUnavailable) GetPayload

func (*DeleteConfigServiceUnavailable) IsClientError

func (o *DeleteConfigServiceUnavailable) IsClientError() bool

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

func (*DeleteConfigServiceUnavailable) IsCode

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

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

func (*DeleteConfigServiceUnavailable) IsRedirect

func (o *DeleteConfigServiceUnavailable) IsRedirect() bool

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

func (*DeleteConfigServiceUnavailable) IsServerError

func (o *DeleteConfigServiceUnavailable) IsServerError() bool

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

func (*DeleteConfigServiceUnavailable) IsSuccess

func (o *DeleteConfigServiceUnavailable) IsSuccess() bool

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

func (*DeleteConfigServiceUnavailable) String

type DeleteConfigUnauthorized

type DeleteConfigUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteConfigUnauthorized

func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized

NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values

func (*DeleteConfigUnauthorized) Code

func (o *DeleteConfigUnauthorized) Code() int

Code gets the status code for the delete config unauthorized response

func (*DeleteConfigUnauthorized) Error

func (o *DeleteConfigUnauthorized) Error() string

func (*DeleteConfigUnauthorized) GetPayload

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

func (*DeleteConfigUnauthorized) IsClientError

func (o *DeleteConfigUnauthorized) IsClientError() bool

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

func (*DeleteConfigUnauthorized) IsCode

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

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

func (*DeleteConfigUnauthorized) IsRedirect

func (o *DeleteConfigUnauthorized) IsRedirect() bool

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

func (*DeleteConfigUnauthorized) IsServerError

func (o *DeleteConfigUnauthorized) IsServerError() bool

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

func (*DeleteConfigUnauthorized) IsSuccess

func (o *DeleteConfigUnauthorized) IsSuccess() bool

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

func (*DeleteConfigUnauthorized) String

func (o *DeleteConfigUnauthorized) String() string

type GetBrigadeActivityBadRequest added in v1.9.11

type GetBrigadeActivityBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetBrigadeActivityBadRequest added in v1.9.11

func NewGetBrigadeActivityBadRequest() *GetBrigadeActivityBadRequest

NewGetBrigadeActivityBadRequest creates a GetBrigadeActivityBadRequest with default headers values

func (*GetBrigadeActivityBadRequest) Code added in v1.9.11

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

func (*GetBrigadeActivityBadRequest) Error added in v1.9.11

func (*GetBrigadeActivityBadRequest) GetPayload added in v1.9.11

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

func (*GetBrigadeActivityBadRequest) IsClientError added in v1.9.11

func (o *GetBrigadeActivityBadRequest) IsClientError() bool

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

func (*GetBrigadeActivityBadRequest) IsCode added in v1.9.11

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

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

func (*GetBrigadeActivityBadRequest) IsRedirect added in v1.9.11

func (o *GetBrigadeActivityBadRequest) IsRedirect() bool

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

func (*GetBrigadeActivityBadRequest) IsServerError added in v1.9.11

func (o *GetBrigadeActivityBadRequest) IsServerError() bool

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

func (*GetBrigadeActivityBadRequest) IsSuccess added in v1.9.11

func (o *GetBrigadeActivityBadRequest) IsSuccess() bool

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

func (*GetBrigadeActivityBadRequest) String added in v1.9.11

type GetBrigadeActivityInternalServerError added in v1.9.11

type GetBrigadeActivityInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewGetBrigadeActivityInternalServerError added in v1.9.11

func NewGetBrigadeActivityInternalServerError() *GetBrigadeActivityInternalServerError

NewGetBrigadeActivityInternalServerError creates a GetBrigadeActivityInternalServerError with default headers values

func (*GetBrigadeActivityInternalServerError) Code added in v1.9.11

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

func (*GetBrigadeActivityInternalServerError) Error added in v1.9.11

func (*GetBrigadeActivityInternalServerError) GetPayload added in v1.9.11

func (*GetBrigadeActivityInternalServerError) IsClientError added in v1.9.11

func (o *GetBrigadeActivityInternalServerError) IsClientError() bool

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

func (*GetBrigadeActivityInternalServerError) IsCode added in v1.9.11

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

func (*GetBrigadeActivityInternalServerError) IsRedirect added in v1.9.11

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

func (*GetBrigadeActivityInternalServerError) IsServerError added in v1.9.11

func (o *GetBrigadeActivityInternalServerError) IsServerError() bool

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

func (*GetBrigadeActivityInternalServerError) IsSuccess added in v1.9.11

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

func (*GetBrigadeActivityInternalServerError) String added in v1.9.11

type GetBrigadeActivityOK added in v1.9.11

type GetBrigadeActivityOK struct {
	Payload models.BrigadeActivity
}

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

OK

func NewGetBrigadeActivityOK added in v1.9.11

func NewGetBrigadeActivityOK() *GetBrigadeActivityOK

NewGetBrigadeActivityOK creates a GetBrigadeActivityOK with default headers values

func (*GetBrigadeActivityOK) Code added in v1.9.11

func (o *GetBrigadeActivityOK) Code() int

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

func (*GetBrigadeActivityOK) Error added in v1.9.11

func (o *GetBrigadeActivityOK) Error() string

func (*GetBrigadeActivityOK) GetPayload added in v1.9.11

func (*GetBrigadeActivityOK) IsClientError added in v1.9.11

func (o *GetBrigadeActivityOK) IsClientError() bool

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

func (*GetBrigadeActivityOK) IsCode added in v1.9.11

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

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

func (*GetBrigadeActivityOK) IsRedirect added in v1.9.11

func (o *GetBrigadeActivityOK) IsRedirect() bool

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

func (*GetBrigadeActivityOK) IsServerError added in v1.9.11

func (o *GetBrigadeActivityOK) IsServerError() bool

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

func (*GetBrigadeActivityOK) IsSuccess added in v1.9.11

func (o *GetBrigadeActivityOK) IsSuccess() bool

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

func (*GetBrigadeActivityOK) String added in v1.9.11

func (o *GetBrigadeActivityOK) String() string

type GetBrigadeActivityParams added in v1.9.11

type GetBrigadeActivityParams struct {

	/* BrigadeID.

	   Brigade ID
	*/
	BrigadeID string

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

GetBrigadeActivityParams contains all the parameters to send to the API endpoint

for the get brigade activity operation.

Typically these are written to a http.Request.

func NewGetBrigadeActivityParams added in v1.9.11

func NewGetBrigadeActivityParams() *GetBrigadeActivityParams

NewGetBrigadeActivityParams creates a new GetBrigadeActivityParams 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 NewGetBrigadeActivityParamsWithContext added in v1.9.11

func NewGetBrigadeActivityParamsWithContext(ctx context.Context) *GetBrigadeActivityParams

NewGetBrigadeActivityParamsWithContext creates a new GetBrigadeActivityParams object with the ability to set a context for a request.

func NewGetBrigadeActivityParamsWithHTTPClient added in v1.9.11

func NewGetBrigadeActivityParamsWithHTTPClient(client *http.Client) *GetBrigadeActivityParams

NewGetBrigadeActivityParamsWithHTTPClient creates a new GetBrigadeActivityParams object with the ability to set a custom HTTPClient for a request.

func NewGetBrigadeActivityParamsWithTimeout added in v1.9.11

func NewGetBrigadeActivityParamsWithTimeout(timeout time.Duration) *GetBrigadeActivityParams

NewGetBrigadeActivityParamsWithTimeout creates a new GetBrigadeActivityParams object with the ability to set a timeout on a request.

func (*GetBrigadeActivityParams) SetBrigadeID added in v1.9.11

func (o *GetBrigadeActivityParams) SetBrigadeID(brigadeID string)

SetBrigadeID adds the brigadeId to the get brigade activity params

func (*GetBrigadeActivityParams) SetContext added in v1.9.11

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

SetContext adds the context to the get brigade activity params

func (*GetBrigadeActivityParams) SetDefaults added in v1.9.11

func (o *GetBrigadeActivityParams) SetDefaults()

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

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

func (*GetBrigadeActivityParams) SetHTTPClient added in v1.9.11

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

SetHTTPClient adds the HTTPClient to the get brigade activity params

func (*GetBrigadeActivityParams) SetTimeout added in v1.9.11

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

SetTimeout adds the timeout to the get brigade activity params

func (*GetBrigadeActivityParams) WithBrigadeID added in v1.9.11

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

WithBrigadeID adds the brigadeID to the get brigade activity params

func (*GetBrigadeActivityParams) WithContext added in v1.9.11

WithContext adds the context to the get brigade activity params

func (*GetBrigadeActivityParams) WithDefaults added in v1.9.11

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

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

func (*GetBrigadeActivityParams) WithHTTPClient added in v1.9.11

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

WithHTTPClient adds the HTTPClient to the get brigade activity params

func (*GetBrigadeActivityParams) WithTimeout added in v1.9.11

WithTimeout adds the timeout to the get brigade activity params

func (*GetBrigadeActivityParams) WriteToRequest added in v1.9.11

WriteToRequest writes these params to a swagger request

type GetBrigadeActivityReader added in v1.9.11

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

GetBrigadeActivityReader is a Reader for the GetBrigadeActivity structure.

func (*GetBrigadeActivityReader) ReadResponse added in v1.9.11

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

ReadResponse reads a server response into the received o.

type GetBrigadeActivityServiceUnavailable added in v1.9.11

type GetBrigadeActivityServiceUnavailable struct {
}

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

Service Temporarily Unavailable

func NewGetBrigadeActivityServiceUnavailable added in v1.9.11

func NewGetBrigadeActivityServiceUnavailable() *GetBrigadeActivityServiceUnavailable

NewGetBrigadeActivityServiceUnavailable creates a GetBrigadeActivityServiceUnavailable with default headers values

func (*GetBrigadeActivityServiceUnavailable) Code added in v1.9.11

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

func (*GetBrigadeActivityServiceUnavailable) Error added in v1.9.11

func (*GetBrigadeActivityServiceUnavailable) IsClientError added in v1.9.11

func (o *GetBrigadeActivityServiceUnavailable) IsClientError() bool

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

func (*GetBrigadeActivityServiceUnavailable) IsCode added in v1.9.11

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

func (*GetBrigadeActivityServiceUnavailable) IsRedirect added in v1.9.11

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

func (*GetBrigadeActivityServiceUnavailable) IsServerError added in v1.9.11

func (o *GetBrigadeActivityServiceUnavailable) IsServerError() bool

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

func (*GetBrigadeActivityServiceUnavailable) IsSuccess added in v1.9.11

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

func (*GetBrigadeActivityServiceUnavailable) String added in v1.9.11

type GetBrigadeActivityUnauthorized added in v1.9.11

type GetBrigadeActivityUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetBrigadeActivityUnauthorized added in v1.9.11

func NewGetBrigadeActivityUnauthorized() *GetBrigadeActivityUnauthorized

NewGetBrigadeActivityUnauthorized creates a GetBrigadeActivityUnauthorized with default headers values

func (*GetBrigadeActivityUnauthorized) Code added in v1.9.11

Code gets the status code for the get brigade activity unauthorized response

func (*GetBrigadeActivityUnauthorized) Error added in v1.9.11

func (*GetBrigadeActivityUnauthorized) GetPayload added in v1.9.11

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

func (*GetBrigadeActivityUnauthorized) IsClientError added in v1.9.11

func (o *GetBrigadeActivityUnauthorized) IsClientError() bool

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

func (*GetBrigadeActivityUnauthorized) IsCode added in v1.9.11

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

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

func (*GetBrigadeActivityUnauthorized) IsRedirect added in v1.9.11

func (o *GetBrigadeActivityUnauthorized) IsRedirect() bool

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

func (*GetBrigadeActivityUnauthorized) IsServerError added in v1.9.11

func (o *GetBrigadeActivityUnauthorized) IsServerError() bool

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

func (*GetBrigadeActivityUnauthorized) IsSuccess added in v1.9.11

func (o *GetBrigadeActivityUnauthorized) IsSuccess() bool

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

func (*GetBrigadeActivityUnauthorized) String added in v1.9.11

type GetBrigadeSlotsBadRequest added in v1.9.11

type GetBrigadeSlotsBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewGetBrigadeSlotsBadRequest added in v1.9.11

func NewGetBrigadeSlotsBadRequest() *GetBrigadeSlotsBadRequest

NewGetBrigadeSlotsBadRequest creates a GetBrigadeSlotsBadRequest with default headers values

func (*GetBrigadeSlotsBadRequest) Code added in v1.9.11

func (o *GetBrigadeSlotsBadRequest) Code() int

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

func (*GetBrigadeSlotsBadRequest) Error added in v1.9.11

func (o *GetBrigadeSlotsBadRequest) Error() string

func (*GetBrigadeSlotsBadRequest) GetPayload added in v1.9.11

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

func (*GetBrigadeSlotsBadRequest) IsClientError added in v1.9.11

func (o *GetBrigadeSlotsBadRequest) IsClientError() bool

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

func (*GetBrigadeSlotsBadRequest) IsCode added in v1.9.11

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

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

func (*GetBrigadeSlotsBadRequest) IsRedirect added in v1.9.11

func (o *GetBrigadeSlotsBadRequest) IsRedirect() bool

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

func (*GetBrigadeSlotsBadRequest) IsServerError added in v1.9.11

func (o *GetBrigadeSlotsBadRequest) IsServerError() bool

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

func (*GetBrigadeSlotsBadRequest) IsSuccess added in v1.9.11

func (o *GetBrigadeSlotsBadRequest) IsSuccess() bool

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

func (*GetBrigadeSlotsBadRequest) String added in v1.9.11

func (o *GetBrigadeSlotsBadRequest) String() string

type GetBrigadeSlotsInternalServerError added in v1.9.11

type GetBrigadeSlotsInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewGetBrigadeSlotsInternalServerError added in v1.9.11

func NewGetBrigadeSlotsInternalServerError() *GetBrigadeSlotsInternalServerError

NewGetBrigadeSlotsInternalServerError creates a GetBrigadeSlotsInternalServerError with default headers values

func (*GetBrigadeSlotsInternalServerError) Code added in v1.9.11

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

func (*GetBrigadeSlotsInternalServerError) Error added in v1.9.11

func (*GetBrigadeSlotsInternalServerError) GetPayload added in v1.9.11

func (*GetBrigadeSlotsInternalServerError) IsClientError added in v1.9.11

func (o *GetBrigadeSlotsInternalServerError) IsClientError() bool

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

func (*GetBrigadeSlotsInternalServerError) IsCode added in v1.9.11

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

func (*GetBrigadeSlotsInternalServerError) IsRedirect added in v1.9.11

func (o *GetBrigadeSlotsInternalServerError) IsRedirect() bool

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

func (*GetBrigadeSlotsInternalServerError) IsServerError added in v1.9.11

func (o *GetBrigadeSlotsInternalServerError) IsServerError() bool

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

func (*GetBrigadeSlotsInternalServerError) IsSuccess added in v1.9.11

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

func (*GetBrigadeSlotsInternalServerError) String added in v1.9.11

type GetBrigadeSlotsOK added in v1.9.11

type GetBrigadeSlotsOK struct {
	Payload *models.BrigadeSlots
}

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

OK

func NewGetBrigadeSlotsOK added in v1.9.11

func NewGetBrigadeSlotsOK() *GetBrigadeSlotsOK

NewGetBrigadeSlotsOK creates a GetBrigadeSlotsOK with default headers values

func (*GetBrigadeSlotsOK) Code added in v1.9.11

func (o *GetBrigadeSlotsOK) Code() int

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

func (*GetBrigadeSlotsOK) Error added in v1.9.11

func (o *GetBrigadeSlotsOK) Error() string

func (*GetBrigadeSlotsOK) GetPayload added in v1.9.11

func (o *GetBrigadeSlotsOK) GetPayload() *models.BrigadeSlots

func (*GetBrigadeSlotsOK) IsClientError added in v1.9.11

func (o *GetBrigadeSlotsOK) IsClientError() bool

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

func (*GetBrigadeSlotsOK) IsCode added in v1.9.11

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

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

func (*GetBrigadeSlotsOK) IsRedirect added in v1.9.11

func (o *GetBrigadeSlotsOK) IsRedirect() bool

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

func (*GetBrigadeSlotsOK) IsServerError added in v1.9.11

func (o *GetBrigadeSlotsOK) IsServerError() bool

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

func (*GetBrigadeSlotsOK) IsSuccess added in v1.9.11

func (o *GetBrigadeSlotsOK) IsSuccess() bool

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

func (*GetBrigadeSlotsOK) String added in v1.9.11

func (o *GetBrigadeSlotsOK) String() string

type GetBrigadeSlotsParams added in v1.9.11

type GetBrigadeSlotsParams struct {

	/* BrigadeID.

	   Brigade ID
	*/
	BrigadeID string

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

GetBrigadeSlotsParams contains all the parameters to send to the API endpoint

for the get brigade slots operation.

Typically these are written to a http.Request.

func NewGetBrigadeSlotsParams added in v1.9.11

func NewGetBrigadeSlotsParams() *GetBrigadeSlotsParams

NewGetBrigadeSlotsParams creates a new GetBrigadeSlotsParams 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 NewGetBrigadeSlotsParamsWithContext added in v1.9.11

func NewGetBrigadeSlotsParamsWithContext(ctx context.Context) *GetBrigadeSlotsParams

NewGetBrigadeSlotsParamsWithContext creates a new GetBrigadeSlotsParams object with the ability to set a context for a request.

func NewGetBrigadeSlotsParamsWithHTTPClient added in v1.9.11

func NewGetBrigadeSlotsParamsWithHTTPClient(client *http.Client) *GetBrigadeSlotsParams

NewGetBrigadeSlotsParamsWithHTTPClient creates a new GetBrigadeSlotsParams object with the ability to set a custom HTTPClient for a request.

func NewGetBrigadeSlotsParamsWithTimeout added in v1.9.11

func NewGetBrigadeSlotsParamsWithTimeout(timeout time.Duration) *GetBrigadeSlotsParams

NewGetBrigadeSlotsParamsWithTimeout creates a new GetBrigadeSlotsParams object with the ability to set a timeout on a request.

func (*GetBrigadeSlotsParams) SetBrigadeID added in v1.9.11

func (o *GetBrigadeSlotsParams) SetBrigadeID(brigadeID string)

SetBrigadeID adds the brigadeId to the get brigade slots params

func (*GetBrigadeSlotsParams) SetContext added in v1.9.11

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

SetContext adds the context to the get brigade slots params

func (*GetBrigadeSlotsParams) SetDefaults added in v1.9.11

func (o *GetBrigadeSlotsParams) SetDefaults()

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

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

func (*GetBrigadeSlotsParams) SetHTTPClient added in v1.9.11

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

SetHTTPClient adds the HTTPClient to the get brigade slots params

func (*GetBrigadeSlotsParams) SetTimeout added in v1.9.11

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

SetTimeout adds the timeout to the get brigade slots params

func (*GetBrigadeSlotsParams) WithBrigadeID added in v1.9.11

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

WithBrigadeID adds the brigadeID to the get brigade slots params

func (*GetBrigadeSlotsParams) WithContext added in v1.9.11

WithContext adds the context to the get brigade slots params

func (*GetBrigadeSlotsParams) WithDefaults added in v1.9.11

func (o *GetBrigadeSlotsParams) WithDefaults() *GetBrigadeSlotsParams

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

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

func (*GetBrigadeSlotsParams) WithHTTPClient added in v1.9.11

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

WithHTTPClient adds the HTTPClient to the get brigade slots params

func (*GetBrigadeSlotsParams) WithTimeout added in v1.9.11

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

WithTimeout adds the timeout to the get brigade slots params

func (*GetBrigadeSlotsParams) WriteToRequest added in v1.9.11

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

WriteToRequest writes these params to a swagger request

type GetBrigadeSlotsReader added in v1.9.11

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

GetBrigadeSlotsReader is a Reader for the GetBrigadeSlots structure.

func (*GetBrigadeSlotsReader) ReadResponse added in v1.9.11

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

ReadResponse reads a server response into the received o.

type GetBrigadeSlotsServiceUnavailable added in v1.9.11

type GetBrigadeSlotsServiceUnavailable struct {
}

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

Service Temporarily Unavailable

func NewGetBrigadeSlotsServiceUnavailable added in v1.9.11

func NewGetBrigadeSlotsServiceUnavailable() *GetBrigadeSlotsServiceUnavailable

NewGetBrigadeSlotsServiceUnavailable creates a GetBrigadeSlotsServiceUnavailable with default headers values

func (*GetBrigadeSlotsServiceUnavailable) Code added in v1.9.11

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

func (*GetBrigadeSlotsServiceUnavailable) Error added in v1.9.11

func (*GetBrigadeSlotsServiceUnavailable) IsClientError added in v1.9.11

func (o *GetBrigadeSlotsServiceUnavailable) IsClientError() bool

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

func (*GetBrigadeSlotsServiceUnavailable) IsCode added in v1.9.11

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

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

func (*GetBrigadeSlotsServiceUnavailable) IsRedirect added in v1.9.11

func (o *GetBrigadeSlotsServiceUnavailable) IsRedirect() bool

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

func (*GetBrigadeSlotsServiceUnavailable) IsServerError added in v1.9.11

func (o *GetBrigadeSlotsServiceUnavailable) IsServerError() bool

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

func (*GetBrigadeSlotsServiceUnavailable) IsSuccess added in v1.9.11

func (o *GetBrigadeSlotsServiceUnavailable) IsSuccess() bool

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

func (*GetBrigadeSlotsServiceUnavailable) String added in v1.9.11

type GetBrigadeSlotsUnauthorized added in v1.9.11

type GetBrigadeSlotsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetBrigadeSlotsUnauthorized added in v1.9.11

func NewGetBrigadeSlotsUnauthorized() *GetBrigadeSlotsUnauthorized

NewGetBrigadeSlotsUnauthorized creates a GetBrigadeSlotsUnauthorized with default headers values

func (*GetBrigadeSlotsUnauthorized) Code added in v1.9.11

func (o *GetBrigadeSlotsUnauthorized) Code() int

Code gets the status code for the get brigade slots unauthorized response

func (*GetBrigadeSlotsUnauthorized) Error added in v1.9.11

func (*GetBrigadeSlotsUnauthorized) GetPayload added in v1.9.11

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

func (*GetBrigadeSlotsUnauthorized) IsClientError added in v1.9.11

func (o *GetBrigadeSlotsUnauthorized) IsClientError() bool

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

func (*GetBrigadeSlotsUnauthorized) IsCode added in v1.9.11

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

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

func (*GetBrigadeSlotsUnauthorized) IsRedirect added in v1.9.11

func (o *GetBrigadeSlotsUnauthorized) IsRedirect() bool

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

func (*GetBrigadeSlotsUnauthorized) IsServerError added in v1.9.11

func (o *GetBrigadeSlotsUnauthorized) IsServerError() bool

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

func (*GetBrigadeSlotsUnauthorized) IsSuccess added in v1.9.11

func (o *GetBrigadeSlotsUnauthorized) IsSuccess() bool

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

func (*GetBrigadeSlotsUnauthorized) String added in v1.9.11

func (o *GetBrigadeSlotsUnauthorized) String() string

Jump to

Keyboard shortcuts

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