enterprises

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for enterprises API

func (*Client) CreateEnterprise

func (a *Client) CreateEnterprise(params *CreateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnterpriseOK, error)

CreateEnterprise creates enterprise with the given parameters

func (*Client) CreateEnterprisePool

func (a *Client) CreateEnterprisePool(params *CreateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnterprisePoolOK, error)

CreateEnterprisePool creates enterprise pool with the parameters given

func (*Client) DeleteEnterprise

func (a *Client) DeleteEnterprise(params *DeleteEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteEnterprise deletes enterprise by ID

func (*Client) DeleteEnterprisePool

func (a *Client) DeleteEnterprisePool(params *DeleteEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteEnterprisePool deletes enterprise pool by ID

func (*Client) GetEnterprise

func (a *Client) GetEnterprise(params *GetEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnterpriseOK, error)

GetEnterprise gets enterprise by ID

func (*Client) GetEnterprisePool

func (a *Client) GetEnterprisePool(params *GetEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnterprisePoolOK, error)

GetEnterprisePool gets enterprise pool by ID

func (*Client) ListEnterpriseInstances

func (a *Client) ListEnterpriseInstances(params *ListEnterpriseInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterpriseInstancesOK, error)

ListEnterpriseInstances lists enterprise instances

func (*Client) ListEnterprisePools

func (a *Client) ListEnterprisePools(params *ListEnterprisePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterprisePoolsOK, error)

ListEnterprisePools lists enterprise pools

func (*Client) ListEnterprises

func (a *Client) ListEnterprises(params *ListEnterprisesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterprisesOK, error)

ListEnterprises lists all enterprises

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateEnterprise

func (a *Client) UpdateEnterprise(params *UpdateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterpriseOK, error)

UpdateEnterprise updates enterprise with the given parameters

func (*Client) UpdateEnterprisePool

func (a *Client) UpdateEnterprisePool(params *UpdateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterprisePoolOK, error)

UpdateEnterprisePool updates enterprise pool with the parameters given

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateEnterprise(params *CreateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnterpriseOK, error)

	CreateEnterprisePool(params *CreateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnterprisePoolOK, error)

	DeleteEnterprise(params *DeleteEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	DeleteEnterprisePool(params *DeleteEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetEnterprise(params *GetEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnterpriseOK, error)

	GetEnterprisePool(params *GetEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnterprisePoolOK, error)

	ListEnterpriseInstances(params *ListEnterpriseInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterpriseInstancesOK, error)

	ListEnterprisePools(params *ListEnterprisePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterprisePoolsOK, error)

	ListEnterprises(params *ListEnterprisesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnterprisesOK, error)

	UpdateEnterprise(params *UpdateEnterpriseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterpriseOK, error)

	UpdateEnterprisePool(params *UpdateEnterprisePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEnterprisePoolOK, 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 enterprises API client.

type CreateEnterpriseDefault

type CreateEnterpriseDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

CreateEnterpriseDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewCreateEnterpriseDefault

func NewCreateEnterpriseDefault(code int) *CreateEnterpriseDefault

NewCreateEnterpriseDefault creates a CreateEnterpriseDefault with default headers values

func (*CreateEnterpriseDefault) Code

func (o *CreateEnterpriseDefault) Code() int

Code gets the status code for the create enterprise default response

func (*CreateEnterpriseDefault) Error

func (o *CreateEnterpriseDefault) Error() string

func (*CreateEnterpriseDefault) GetPayload

func (*CreateEnterpriseDefault) IsClientError

func (o *CreateEnterpriseDefault) IsClientError() bool

IsClientError returns true when this create enterprise default response has a 4xx status code

func (*CreateEnterpriseDefault) IsCode

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

IsCode returns true when this create enterprise default response a status code equal to that given

func (*CreateEnterpriseDefault) IsRedirect

func (o *CreateEnterpriseDefault) IsRedirect() bool

IsRedirect returns true when this create enterprise default response has a 3xx status code

func (*CreateEnterpriseDefault) IsServerError

func (o *CreateEnterpriseDefault) IsServerError() bool

IsServerError returns true when this create enterprise default response has a 5xx status code

func (*CreateEnterpriseDefault) IsSuccess

func (o *CreateEnterpriseDefault) IsSuccess() bool

IsSuccess returns true when this create enterprise default response has a 2xx status code

func (*CreateEnterpriseDefault) String

func (o *CreateEnterpriseDefault) String() string

type CreateEnterpriseOK

type CreateEnterpriseOK struct {
	Payload garm_params.Enterprise
}

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

Enterprise

func NewCreateEnterpriseOK

func NewCreateEnterpriseOK() *CreateEnterpriseOK

NewCreateEnterpriseOK creates a CreateEnterpriseOK with default headers values

func (*CreateEnterpriseOK) Code

func (o *CreateEnterpriseOK) Code() int

Code gets the status code for the create enterprise o k response

func (*CreateEnterpriseOK) Error

func (o *CreateEnterpriseOK) Error() string

func (*CreateEnterpriseOK) GetPayload

func (o *CreateEnterpriseOK) GetPayload() garm_params.Enterprise

func (*CreateEnterpriseOK) IsClientError

func (o *CreateEnterpriseOK) IsClientError() bool

IsClientError returns true when this create enterprise o k response has a 4xx status code

func (*CreateEnterpriseOK) IsCode

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

IsCode returns true when this create enterprise o k response a status code equal to that given

func (*CreateEnterpriseOK) IsRedirect

func (o *CreateEnterpriseOK) IsRedirect() bool

IsRedirect returns true when this create enterprise o k response has a 3xx status code

func (*CreateEnterpriseOK) IsServerError

func (o *CreateEnterpriseOK) IsServerError() bool

IsServerError returns true when this create enterprise o k response has a 5xx status code

func (*CreateEnterpriseOK) IsSuccess

func (o *CreateEnterpriseOK) IsSuccess() bool

IsSuccess returns true when this create enterprise o k response has a 2xx status code

func (*CreateEnterpriseOK) String

func (o *CreateEnterpriseOK) String() string

type CreateEnterpriseParams

type CreateEnterpriseParams struct {

	/* Body.

	   Parameters used to create the enterprise.
	*/
	Body garm_params.CreateEnterpriseParams

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

CreateEnterpriseParams contains all the parameters to send to the API endpoint

for the create enterprise operation.

Typically these are written to a http.Request.

func NewCreateEnterpriseParams

func NewCreateEnterpriseParams() *CreateEnterpriseParams

NewCreateEnterpriseParams creates a new CreateEnterpriseParams 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 NewCreateEnterpriseParamsWithContext

func NewCreateEnterpriseParamsWithContext(ctx context.Context) *CreateEnterpriseParams

NewCreateEnterpriseParamsWithContext creates a new CreateEnterpriseParams object with the ability to set a context for a request.

func NewCreateEnterpriseParamsWithHTTPClient

func NewCreateEnterpriseParamsWithHTTPClient(client *http.Client) *CreateEnterpriseParams

NewCreateEnterpriseParamsWithHTTPClient creates a new CreateEnterpriseParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEnterpriseParamsWithTimeout

func NewCreateEnterpriseParamsWithTimeout(timeout time.Duration) *CreateEnterpriseParams

NewCreateEnterpriseParamsWithTimeout creates a new CreateEnterpriseParams object with the ability to set a timeout on a request.

func (*CreateEnterpriseParams) SetBody

SetBody adds the body to the create enterprise params

func (*CreateEnterpriseParams) SetContext

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

SetContext adds the context to the create enterprise params

func (*CreateEnterpriseParams) SetDefaults

func (o *CreateEnterpriseParams) SetDefaults()

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

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

func (*CreateEnterpriseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create enterprise params

func (*CreateEnterpriseParams) SetTimeout

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

SetTimeout adds the timeout to the create enterprise params

func (*CreateEnterpriseParams) WithBody

WithBody adds the body to the create enterprise params

func (*CreateEnterpriseParams) WithContext

WithContext adds the context to the create enterprise params

func (*CreateEnterpriseParams) WithDefaults

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

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

func (*CreateEnterpriseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create enterprise params

func (*CreateEnterpriseParams) WithTimeout

WithTimeout adds the timeout to the create enterprise params

func (*CreateEnterpriseParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateEnterprisePoolDefault

type CreateEnterprisePoolDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

CreateEnterprisePoolDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewCreateEnterprisePoolDefault

func NewCreateEnterprisePoolDefault(code int) *CreateEnterprisePoolDefault

NewCreateEnterprisePoolDefault creates a CreateEnterprisePoolDefault with default headers values

func (*CreateEnterprisePoolDefault) Code

func (o *CreateEnterprisePoolDefault) Code() int

Code gets the status code for the create enterprise pool default response

func (*CreateEnterprisePoolDefault) Error

func (*CreateEnterprisePoolDefault) GetPayload

func (*CreateEnterprisePoolDefault) IsClientError

func (o *CreateEnterprisePoolDefault) IsClientError() bool

IsClientError returns true when this create enterprise pool default response has a 4xx status code

func (*CreateEnterprisePoolDefault) IsCode

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

IsCode returns true when this create enterprise pool default response a status code equal to that given

func (*CreateEnterprisePoolDefault) IsRedirect

func (o *CreateEnterprisePoolDefault) IsRedirect() bool

IsRedirect returns true when this create enterprise pool default response has a 3xx status code

func (*CreateEnterprisePoolDefault) IsServerError

func (o *CreateEnterprisePoolDefault) IsServerError() bool

IsServerError returns true when this create enterprise pool default response has a 5xx status code

func (*CreateEnterprisePoolDefault) IsSuccess

func (o *CreateEnterprisePoolDefault) IsSuccess() bool

IsSuccess returns true when this create enterprise pool default response has a 2xx status code

func (*CreateEnterprisePoolDefault) String

func (o *CreateEnterprisePoolDefault) String() string

type CreateEnterprisePoolOK

type CreateEnterprisePoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewCreateEnterprisePoolOK

func NewCreateEnterprisePoolOK() *CreateEnterprisePoolOK

NewCreateEnterprisePoolOK creates a CreateEnterprisePoolOK with default headers values

func (*CreateEnterprisePoolOK) Code

func (o *CreateEnterprisePoolOK) Code() int

Code gets the status code for the create enterprise pool o k response

func (*CreateEnterprisePoolOK) Error

func (o *CreateEnterprisePoolOK) Error() string

func (*CreateEnterprisePoolOK) GetPayload

func (o *CreateEnterprisePoolOK) GetPayload() garm_params.Pool

func (*CreateEnterprisePoolOK) IsClientError

func (o *CreateEnterprisePoolOK) IsClientError() bool

IsClientError returns true when this create enterprise pool o k response has a 4xx status code

func (*CreateEnterprisePoolOK) IsCode

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

IsCode returns true when this create enterprise pool o k response a status code equal to that given

func (*CreateEnterprisePoolOK) IsRedirect

func (o *CreateEnterprisePoolOK) IsRedirect() bool

IsRedirect returns true when this create enterprise pool o k response has a 3xx status code

func (*CreateEnterprisePoolOK) IsServerError

func (o *CreateEnterprisePoolOK) IsServerError() bool

IsServerError returns true when this create enterprise pool o k response has a 5xx status code

func (*CreateEnterprisePoolOK) IsSuccess

func (o *CreateEnterprisePoolOK) IsSuccess() bool

IsSuccess returns true when this create enterprise pool o k response has a 2xx status code

func (*CreateEnterprisePoolOK) String

func (o *CreateEnterprisePoolOK) String() string

type CreateEnterprisePoolParams

type CreateEnterprisePoolParams struct {

	/* Body.

	   Parameters used when creating the enterprise pool.
	*/
	Body garm_params.CreatePoolParams

	/* EnterpriseID.

	   Enterprise ID.
	*/
	EnterpriseID string

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

CreateEnterprisePoolParams contains all the parameters to send to the API endpoint

for the create enterprise pool operation.

Typically these are written to a http.Request.

func NewCreateEnterprisePoolParams

func NewCreateEnterprisePoolParams() *CreateEnterprisePoolParams

NewCreateEnterprisePoolParams creates a new CreateEnterprisePoolParams 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 NewCreateEnterprisePoolParamsWithContext

func NewCreateEnterprisePoolParamsWithContext(ctx context.Context) *CreateEnterprisePoolParams

NewCreateEnterprisePoolParamsWithContext creates a new CreateEnterprisePoolParams object with the ability to set a context for a request.

func NewCreateEnterprisePoolParamsWithHTTPClient

func NewCreateEnterprisePoolParamsWithHTTPClient(client *http.Client) *CreateEnterprisePoolParams

NewCreateEnterprisePoolParamsWithHTTPClient creates a new CreateEnterprisePoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEnterprisePoolParamsWithTimeout

func NewCreateEnterprisePoolParamsWithTimeout(timeout time.Duration) *CreateEnterprisePoolParams

NewCreateEnterprisePoolParamsWithTimeout creates a new CreateEnterprisePoolParams object with the ability to set a timeout on a request.

func (*CreateEnterprisePoolParams) SetBody

SetBody adds the body to the create enterprise pool params

func (*CreateEnterprisePoolParams) SetContext

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

SetContext adds the context to the create enterprise pool params

func (*CreateEnterprisePoolParams) SetDefaults

func (o *CreateEnterprisePoolParams) SetDefaults()

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

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

func (*CreateEnterprisePoolParams) SetEnterpriseID

func (o *CreateEnterprisePoolParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the create enterprise pool params

func (*CreateEnterprisePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create enterprise pool params

func (*CreateEnterprisePoolParams) SetTimeout

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

SetTimeout adds the timeout to the create enterprise pool params

func (*CreateEnterprisePoolParams) WithBody

WithBody adds the body to the create enterprise pool params

func (*CreateEnterprisePoolParams) WithContext

WithContext adds the context to the create enterprise pool params

func (*CreateEnterprisePoolParams) WithDefaults

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

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

func (*CreateEnterprisePoolParams) WithEnterpriseID

func (o *CreateEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *CreateEnterprisePoolParams

WithEnterpriseID adds the enterpriseID to the create enterprise pool params

func (*CreateEnterprisePoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create enterprise pool params

func (*CreateEnterprisePoolParams) WithTimeout

WithTimeout adds the timeout to the create enterprise pool params

func (*CreateEnterprisePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateEnterprisePoolReader

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

CreateEnterprisePoolReader is a Reader for the CreateEnterprisePool structure.

func (*CreateEnterprisePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateEnterpriseReader

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

CreateEnterpriseReader is a Reader for the CreateEnterprise structure.

func (*CreateEnterpriseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEnterpriseDefault

type DeleteEnterpriseDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

DeleteEnterpriseDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewDeleteEnterpriseDefault

func NewDeleteEnterpriseDefault(code int) *DeleteEnterpriseDefault

NewDeleteEnterpriseDefault creates a DeleteEnterpriseDefault with default headers values

func (*DeleteEnterpriseDefault) Code

func (o *DeleteEnterpriseDefault) Code() int

Code gets the status code for the delete enterprise default response

func (*DeleteEnterpriseDefault) Error

func (o *DeleteEnterpriseDefault) Error() string

func (*DeleteEnterpriseDefault) GetPayload

func (*DeleteEnterpriseDefault) IsClientError

func (o *DeleteEnterpriseDefault) IsClientError() bool

IsClientError returns true when this delete enterprise default response has a 4xx status code

func (*DeleteEnterpriseDefault) IsCode

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

IsCode returns true when this delete enterprise default response a status code equal to that given

func (*DeleteEnterpriseDefault) IsRedirect

func (o *DeleteEnterpriseDefault) IsRedirect() bool

IsRedirect returns true when this delete enterprise default response has a 3xx status code

func (*DeleteEnterpriseDefault) IsServerError

func (o *DeleteEnterpriseDefault) IsServerError() bool

IsServerError returns true when this delete enterprise default response has a 5xx status code

func (*DeleteEnterpriseDefault) IsSuccess

func (o *DeleteEnterpriseDefault) IsSuccess() bool

IsSuccess returns true when this delete enterprise default response has a 2xx status code

func (*DeleteEnterpriseDefault) String

func (o *DeleteEnterpriseDefault) String() string

type DeleteEnterpriseParams

type DeleteEnterpriseParams struct {

	/* EnterpriseID.

	   ID of the enterprise to delete.
	*/
	EnterpriseID string

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

DeleteEnterpriseParams contains all the parameters to send to the API endpoint

for the delete enterprise operation.

Typically these are written to a http.Request.

func NewDeleteEnterpriseParams

func NewDeleteEnterpriseParams() *DeleteEnterpriseParams

NewDeleteEnterpriseParams creates a new DeleteEnterpriseParams 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 NewDeleteEnterpriseParamsWithContext

func NewDeleteEnterpriseParamsWithContext(ctx context.Context) *DeleteEnterpriseParams

NewDeleteEnterpriseParamsWithContext creates a new DeleteEnterpriseParams object with the ability to set a context for a request.

func NewDeleteEnterpriseParamsWithHTTPClient

func NewDeleteEnterpriseParamsWithHTTPClient(client *http.Client) *DeleteEnterpriseParams

NewDeleteEnterpriseParamsWithHTTPClient creates a new DeleteEnterpriseParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEnterpriseParamsWithTimeout

func NewDeleteEnterpriseParamsWithTimeout(timeout time.Duration) *DeleteEnterpriseParams

NewDeleteEnterpriseParamsWithTimeout creates a new DeleteEnterpriseParams object with the ability to set a timeout on a request.

func (*DeleteEnterpriseParams) SetContext

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

SetContext adds the context to the delete enterprise params

func (*DeleteEnterpriseParams) SetDefaults

func (o *DeleteEnterpriseParams) SetDefaults()

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

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

func (*DeleteEnterpriseParams) SetEnterpriseID

func (o *DeleteEnterpriseParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the delete enterprise params

func (*DeleteEnterpriseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete enterprise params

func (*DeleteEnterpriseParams) SetTimeout

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

SetTimeout adds the timeout to the delete enterprise params

func (*DeleteEnterpriseParams) WithContext

WithContext adds the context to the delete enterprise params

func (*DeleteEnterpriseParams) WithDefaults

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

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

func (*DeleteEnterpriseParams) WithEnterpriseID

func (o *DeleteEnterpriseParams) WithEnterpriseID(enterpriseID string) *DeleteEnterpriseParams

WithEnterpriseID adds the enterpriseID to the delete enterprise params

func (*DeleteEnterpriseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete enterprise params

func (*DeleteEnterpriseParams) WithTimeout

WithTimeout adds the timeout to the delete enterprise params

func (*DeleteEnterpriseParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEnterprisePoolDefault

type DeleteEnterprisePoolDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

DeleteEnterprisePoolDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewDeleteEnterprisePoolDefault

func NewDeleteEnterprisePoolDefault(code int) *DeleteEnterprisePoolDefault

NewDeleteEnterprisePoolDefault creates a DeleteEnterprisePoolDefault with default headers values

func (*DeleteEnterprisePoolDefault) Code

func (o *DeleteEnterprisePoolDefault) Code() int

Code gets the status code for the delete enterprise pool default response

func (*DeleteEnterprisePoolDefault) Error

func (*DeleteEnterprisePoolDefault) GetPayload

func (*DeleteEnterprisePoolDefault) IsClientError

func (o *DeleteEnterprisePoolDefault) IsClientError() bool

IsClientError returns true when this delete enterprise pool default response has a 4xx status code

func (*DeleteEnterprisePoolDefault) IsCode

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

IsCode returns true when this delete enterprise pool default response a status code equal to that given

func (*DeleteEnterprisePoolDefault) IsRedirect

func (o *DeleteEnterprisePoolDefault) IsRedirect() bool

IsRedirect returns true when this delete enterprise pool default response has a 3xx status code

func (*DeleteEnterprisePoolDefault) IsServerError

func (o *DeleteEnterprisePoolDefault) IsServerError() bool

IsServerError returns true when this delete enterprise pool default response has a 5xx status code

func (*DeleteEnterprisePoolDefault) IsSuccess

func (o *DeleteEnterprisePoolDefault) IsSuccess() bool

IsSuccess returns true when this delete enterprise pool default response has a 2xx status code

func (*DeleteEnterprisePoolDefault) String

func (o *DeleteEnterprisePoolDefault) String() string

type DeleteEnterprisePoolParams

type DeleteEnterprisePoolParams struct {

	/* EnterpriseID.

	   Enterprise ID.
	*/
	EnterpriseID string

	/* PoolID.

	   ID of the enterprise pool to delete.
	*/
	PoolID string

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

DeleteEnterprisePoolParams contains all the parameters to send to the API endpoint

for the delete enterprise pool operation.

Typically these are written to a http.Request.

func NewDeleteEnterprisePoolParams

func NewDeleteEnterprisePoolParams() *DeleteEnterprisePoolParams

NewDeleteEnterprisePoolParams creates a new DeleteEnterprisePoolParams 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 NewDeleteEnterprisePoolParamsWithContext

func NewDeleteEnterprisePoolParamsWithContext(ctx context.Context) *DeleteEnterprisePoolParams

NewDeleteEnterprisePoolParamsWithContext creates a new DeleteEnterprisePoolParams object with the ability to set a context for a request.

func NewDeleteEnterprisePoolParamsWithHTTPClient

func NewDeleteEnterprisePoolParamsWithHTTPClient(client *http.Client) *DeleteEnterprisePoolParams

NewDeleteEnterprisePoolParamsWithHTTPClient creates a new DeleteEnterprisePoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEnterprisePoolParamsWithTimeout

func NewDeleteEnterprisePoolParamsWithTimeout(timeout time.Duration) *DeleteEnterprisePoolParams

NewDeleteEnterprisePoolParamsWithTimeout creates a new DeleteEnterprisePoolParams object with the ability to set a timeout on a request.

func (*DeleteEnterprisePoolParams) SetContext

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

SetContext adds the context to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) SetDefaults

func (o *DeleteEnterprisePoolParams) SetDefaults()

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

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

func (*DeleteEnterprisePoolParams) SetEnterpriseID

func (o *DeleteEnterprisePoolParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) SetPoolID

func (o *DeleteEnterprisePoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) WithContext

WithContext adds the context to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) WithDefaults

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

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

func (*DeleteEnterprisePoolParams) WithEnterpriseID

func (o *DeleteEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *DeleteEnterprisePoolParams

WithEnterpriseID adds the enterpriseID to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) WithPoolID

WithPoolID adds the poolID to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) WithTimeout

WithTimeout adds the timeout to the delete enterprise pool params

func (*DeleteEnterprisePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEnterprisePoolReader

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

DeleteEnterprisePoolReader is a Reader for the DeleteEnterprisePool structure.

func (*DeleteEnterprisePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEnterpriseReader

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

DeleteEnterpriseReader is a Reader for the DeleteEnterprise structure.

func (*DeleteEnterpriseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEnterpriseDefault

type GetEnterpriseDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

GetEnterpriseDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewGetEnterpriseDefault

func NewGetEnterpriseDefault(code int) *GetEnterpriseDefault

NewGetEnterpriseDefault creates a GetEnterpriseDefault with default headers values

func (*GetEnterpriseDefault) Code

func (o *GetEnterpriseDefault) Code() int

Code gets the status code for the get enterprise default response

func (*GetEnterpriseDefault) Error

func (o *GetEnterpriseDefault) Error() string

func (*GetEnterpriseDefault) GetPayload

func (*GetEnterpriseDefault) IsClientError

func (o *GetEnterpriseDefault) IsClientError() bool

IsClientError returns true when this get enterprise default response has a 4xx status code

func (*GetEnterpriseDefault) IsCode

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

IsCode returns true when this get enterprise default response a status code equal to that given

func (*GetEnterpriseDefault) IsRedirect

func (o *GetEnterpriseDefault) IsRedirect() bool

IsRedirect returns true when this get enterprise default response has a 3xx status code

func (*GetEnterpriseDefault) IsServerError

func (o *GetEnterpriseDefault) IsServerError() bool

IsServerError returns true when this get enterprise default response has a 5xx status code

func (*GetEnterpriseDefault) IsSuccess

func (o *GetEnterpriseDefault) IsSuccess() bool

IsSuccess returns true when this get enterprise default response has a 2xx status code

func (*GetEnterpriseDefault) String

func (o *GetEnterpriseDefault) String() string

type GetEnterpriseOK

type GetEnterpriseOK struct {
	Payload garm_params.Enterprise
}

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

Enterprise

func NewGetEnterpriseOK

func NewGetEnterpriseOK() *GetEnterpriseOK

NewGetEnterpriseOK creates a GetEnterpriseOK with default headers values

func (*GetEnterpriseOK) Code

func (o *GetEnterpriseOK) Code() int

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

func (*GetEnterpriseOK) Error

func (o *GetEnterpriseOK) Error() string

func (*GetEnterpriseOK) GetPayload

func (o *GetEnterpriseOK) GetPayload() garm_params.Enterprise

func (*GetEnterpriseOK) IsClientError

func (o *GetEnterpriseOK) IsClientError() bool

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

func (*GetEnterpriseOK) IsCode

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

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

func (*GetEnterpriseOK) IsRedirect

func (o *GetEnterpriseOK) IsRedirect() bool

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

func (*GetEnterpriseOK) IsServerError

func (o *GetEnterpriseOK) IsServerError() bool

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

func (*GetEnterpriseOK) IsSuccess

func (o *GetEnterpriseOK) IsSuccess() bool

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

func (*GetEnterpriseOK) String

func (o *GetEnterpriseOK) String() string

type GetEnterpriseParams

type GetEnterpriseParams struct {

	/* EnterpriseID.

	   The ID of the enterprise to fetch.
	*/
	EnterpriseID string

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

GetEnterpriseParams contains all the parameters to send to the API endpoint

for the get enterprise operation.

Typically these are written to a http.Request.

func NewGetEnterpriseParams

func NewGetEnterpriseParams() *GetEnterpriseParams

NewGetEnterpriseParams creates a new GetEnterpriseParams 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 NewGetEnterpriseParamsWithContext

func NewGetEnterpriseParamsWithContext(ctx context.Context) *GetEnterpriseParams

NewGetEnterpriseParamsWithContext creates a new GetEnterpriseParams object with the ability to set a context for a request.

func NewGetEnterpriseParamsWithHTTPClient

func NewGetEnterpriseParamsWithHTTPClient(client *http.Client) *GetEnterpriseParams

NewGetEnterpriseParamsWithHTTPClient creates a new GetEnterpriseParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnterpriseParamsWithTimeout

func NewGetEnterpriseParamsWithTimeout(timeout time.Duration) *GetEnterpriseParams

NewGetEnterpriseParamsWithTimeout creates a new GetEnterpriseParams object with the ability to set a timeout on a request.

func (*GetEnterpriseParams) SetContext

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

SetContext adds the context to the get enterprise params

func (*GetEnterpriseParams) SetDefaults

func (o *GetEnterpriseParams) SetDefaults()

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

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

func (*GetEnterpriseParams) SetEnterpriseID

func (o *GetEnterpriseParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the get enterprise params

func (*GetEnterpriseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get enterprise params

func (*GetEnterpriseParams) SetTimeout

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

SetTimeout adds the timeout to the get enterprise params

func (*GetEnterpriseParams) WithContext

WithContext adds the context to the get enterprise params

func (*GetEnterpriseParams) WithDefaults

func (o *GetEnterpriseParams) WithDefaults() *GetEnterpriseParams

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

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

func (*GetEnterpriseParams) WithEnterpriseID

func (o *GetEnterpriseParams) WithEnterpriseID(enterpriseID string) *GetEnterpriseParams

WithEnterpriseID adds the enterpriseID to the get enterprise params

func (*GetEnterpriseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get enterprise params

func (*GetEnterpriseParams) WithTimeout

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

WithTimeout adds the timeout to the get enterprise params

func (*GetEnterpriseParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetEnterprisePoolDefault

type GetEnterprisePoolDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

GetEnterprisePoolDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewGetEnterprisePoolDefault

func NewGetEnterprisePoolDefault(code int) *GetEnterprisePoolDefault

NewGetEnterprisePoolDefault creates a GetEnterprisePoolDefault with default headers values

func (*GetEnterprisePoolDefault) Code

func (o *GetEnterprisePoolDefault) Code() int

Code gets the status code for the get enterprise pool default response

func (*GetEnterprisePoolDefault) Error

func (o *GetEnterprisePoolDefault) Error() string

func (*GetEnterprisePoolDefault) GetPayload

func (*GetEnterprisePoolDefault) IsClientError

func (o *GetEnterprisePoolDefault) IsClientError() bool

IsClientError returns true when this get enterprise pool default response has a 4xx status code

func (*GetEnterprisePoolDefault) IsCode

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

IsCode returns true when this get enterprise pool default response a status code equal to that given

func (*GetEnterprisePoolDefault) IsRedirect

func (o *GetEnterprisePoolDefault) IsRedirect() bool

IsRedirect returns true when this get enterprise pool default response has a 3xx status code

func (*GetEnterprisePoolDefault) IsServerError

func (o *GetEnterprisePoolDefault) IsServerError() bool

IsServerError returns true when this get enterprise pool default response has a 5xx status code

func (*GetEnterprisePoolDefault) IsSuccess

func (o *GetEnterprisePoolDefault) IsSuccess() bool

IsSuccess returns true when this get enterprise pool default response has a 2xx status code

func (*GetEnterprisePoolDefault) String

func (o *GetEnterprisePoolDefault) String() string

type GetEnterprisePoolOK

type GetEnterprisePoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewGetEnterprisePoolOK

func NewGetEnterprisePoolOK() *GetEnterprisePoolOK

NewGetEnterprisePoolOK creates a GetEnterprisePoolOK with default headers values

func (*GetEnterprisePoolOK) Code

func (o *GetEnterprisePoolOK) Code() int

Code gets the status code for the get enterprise pool o k response

func (*GetEnterprisePoolOK) Error

func (o *GetEnterprisePoolOK) Error() string

func (*GetEnterprisePoolOK) GetPayload

func (o *GetEnterprisePoolOK) GetPayload() garm_params.Pool

func (*GetEnterprisePoolOK) IsClientError

func (o *GetEnterprisePoolOK) IsClientError() bool

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

func (*GetEnterprisePoolOK) IsCode

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

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

func (*GetEnterprisePoolOK) IsRedirect

func (o *GetEnterprisePoolOK) IsRedirect() bool

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

func (*GetEnterprisePoolOK) IsServerError

func (o *GetEnterprisePoolOK) IsServerError() bool

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

func (*GetEnterprisePoolOK) IsSuccess

func (o *GetEnterprisePoolOK) IsSuccess() bool

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

func (*GetEnterprisePoolOK) String

func (o *GetEnterprisePoolOK) String() string

type GetEnterprisePoolParams

type GetEnterprisePoolParams struct {

	/* EnterpriseID.

	   Enterprise ID.
	*/
	EnterpriseID string

	/* PoolID.

	   Pool ID.
	*/
	PoolID string

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

GetEnterprisePoolParams contains all the parameters to send to the API endpoint

for the get enterprise pool operation.

Typically these are written to a http.Request.

func NewGetEnterprisePoolParams

func NewGetEnterprisePoolParams() *GetEnterprisePoolParams

NewGetEnterprisePoolParams creates a new GetEnterprisePoolParams 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 NewGetEnterprisePoolParamsWithContext

func NewGetEnterprisePoolParamsWithContext(ctx context.Context) *GetEnterprisePoolParams

NewGetEnterprisePoolParamsWithContext creates a new GetEnterprisePoolParams object with the ability to set a context for a request.

func NewGetEnterprisePoolParamsWithHTTPClient

func NewGetEnterprisePoolParamsWithHTTPClient(client *http.Client) *GetEnterprisePoolParams

NewGetEnterprisePoolParamsWithHTTPClient creates a new GetEnterprisePoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnterprisePoolParamsWithTimeout

func NewGetEnterprisePoolParamsWithTimeout(timeout time.Duration) *GetEnterprisePoolParams

NewGetEnterprisePoolParamsWithTimeout creates a new GetEnterprisePoolParams object with the ability to set a timeout on a request.

func (*GetEnterprisePoolParams) SetContext

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

SetContext adds the context to the get enterprise pool params

func (*GetEnterprisePoolParams) SetDefaults

func (o *GetEnterprisePoolParams) SetDefaults()

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

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

func (*GetEnterprisePoolParams) SetEnterpriseID

func (o *GetEnterprisePoolParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the get enterprise pool params

func (*GetEnterprisePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get enterprise pool params

func (*GetEnterprisePoolParams) SetPoolID

func (o *GetEnterprisePoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the get enterprise pool params

func (*GetEnterprisePoolParams) SetTimeout

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

SetTimeout adds the timeout to the get enterprise pool params

func (*GetEnterprisePoolParams) WithContext

WithContext adds the context to the get enterprise pool params

func (*GetEnterprisePoolParams) WithDefaults

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

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

func (*GetEnterprisePoolParams) WithEnterpriseID

func (o *GetEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *GetEnterprisePoolParams

WithEnterpriseID adds the enterpriseID to the get enterprise pool params

func (*GetEnterprisePoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get enterprise pool params

func (*GetEnterprisePoolParams) WithPoolID

WithPoolID adds the poolID to the get enterprise pool params

func (*GetEnterprisePoolParams) WithTimeout

WithTimeout adds the timeout to the get enterprise pool params

func (*GetEnterprisePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEnterprisePoolReader

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

GetEnterprisePoolReader is a Reader for the GetEnterprisePool structure.

func (*GetEnterprisePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEnterpriseReader

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

GetEnterpriseReader is a Reader for the GetEnterprise structure.

func (*GetEnterpriseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEnterpriseInstancesDefault

type ListEnterpriseInstancesDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

ListEnterpriseInstancesDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewListEnterpriseInstancesDefault

func NewListEnterpriseInstancesDefault(code int) *ListEnterpriseInstancesDefault

NewListEnterpriseInstancesDefault creates a ListEnterpriseInstancesDefault with default headers values

func (*ListEnterpriseInstancesDefault) Code

Code gets the status code for the list enterprise instances default response

func (*ListEnterpriseInstancesDefault) Error

func (*ListEnterpriseInstancesDefault) GetPayload

func (*ListEnterpriseInstancesDefault) IsClientError

func (o *ListEnterpriseInstancesDefault) IsClientError() bool

IsClientError returns true when this list enterprise instances default response has a 4xx status code

func (*ListEnterpriseInstancesDefault) IsCode

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

IsCode returns true when this list enterprise instances default response a status code equal to that given

func (*ListEnterpriseInstancesDefault) IsRedirect

func (o *ListEnterpriseInstancesDefault) IsRedirect() bool

IsRedirect returns true when this list enterprise instances default response has a 3xx status code

func (*ListEnterpriseInstancesDefault) IsServerError

func (o *ListEnterpriseInstancesDefault) IsServerError() bool

IsServerError returns true when this list enterprise instances default response has a 5xx status code

func (*ListEnterpriseInstancesDefault) IsSuccess

func (o *ListEnterpriseInstancesDefault) IsSuccess() bool

IsSuccess returns true when this list enterprise instances default response has a 2xx status code

func (*ListEnterpriseInstancesDefault) String

type ListEnterpriseInstancesOK

type ListEnterpriseInstancesOK struct {
	Payload garm_params.Instances
}

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

Instances

func NewListEnterpriseInstancesOK

func NewListEnterpriseInstancesOK() *ListEnterpriseInstancesOK

NewListEnterpriseInstancesOK creates a ListEnterpriseInstancesOK with default headers values

func (*ListEnterpriseInstancesOK) Code

func (o *ListEnterpriseInstancesOK) Code() int

Code gets the status code for the list enterprise instances o k response

func (*ListEnterpriseInstancesOK) Error

func (o *ListEnterpriseInstancesOK) Error() string

func (*ListEnterpriseInstancesOK) GetPayload

func (*ListEnterpriseInstancesOK) IsClientError

func (o *ListEnterpriseInstancesOK) IsClientError() bool

IsClientError returns true when this list enterprise instances o k response has a 4xx status code

func (*ListEnterpriseInstancesOK) IsCode

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

IsCode returns true when this list enterprise instances o k response a status code equal to that given

func (*ListEnterpriseInstancesOK) IsRedirect

func (o *ListEnterpriseInstancesOK) IsRedirect() bool

IsRedirect returns true when this list enterprise instances o k response has a 3xx status code

func (*ListEnterpriseInstancesOK) IsServerError

func (o *ListEnterpriseInstancesOK) IsServerError() bool

IsServerError returns true when this list enterprise instances o k response has a 5xx status code

func (*ListEnterpriseInstancesOK) IsSuccess

func (o *ListEnterpriseInstancesOK) IsSuccess() bool

IsSuccess returns true when this list enterprise instances o k response has a 2xx status code

func (*ListEnterpriseInstancesOK) String

func (o *ListEnterpriseInstancesOK) String() string

type ListEnterpriseInstancesParams

type ListEnterpriseInstancesParams struct {

	/* EnterpriseID.

	   Enterprise ID.
	*/
	EnterpriseID string

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

ListEnterpriseInstancesParams contains all the parameters to send to the API endpoint

for the list enterprise instances operation.

Typically these are written to a http.Request.

func NewListEnterpriseInstancesParams

func NewListEnterpriseInstancesParams() *ListEnterpriseInstancesParams

NewListEnterpriseInstancesParams creates a new ListEnterpriseInstancesParams 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 NewListEnterpriseInstancesParamsWithContext

func NewListEnterpriseInstancesParamsWithContext(ctx context.Context) *ListEnterpriseInstancesParams

NewListEnterpriseInstancesParamsWithContext creates a new ListEnterpriseInstancesParams object with the ability to set a context for a request.

func NewListEnterpriseInstancesParamsWithHTTPClient

func NewListEnterpriseInstancesParamsWithHTTPClient(client *http.Client) *ListEnterpriseInstancesParams

NewListEnterpriseInstancesParamsWithHTTPClient creates a new ListEnterpriseInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewListEnterpriseInstancesParamsWithTimeout

func NewListEnterpriseInstancesParamsWithTimeout(timeout time.Duration) *ListEnterpriseInstancesParams

NewListEnterpriseInstancesParamsWithTimeout creates a new ListEnterpriseInstancesParams object with the ability to set a timeout on a request.

func (*ListEnterpriseInstancesParams) SetContext

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

SetContext adds the context to the list enterprise instances params

func (*ListEnterpriseInstancesParams) SetDefaults

func (o *ListEnterpriseInstancesParams) SetDefaults()

SetDefaults hydrates default values in the list enterprise instances params (not the query body).

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

func (*ListEnterpriseInstancesParams) SetEnterpriseID

func (o *ListEnterpriseInstancesParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the list enterprise instances params

func (*ListEnterpriseInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list enterprise instances params

func (*ListEnterpriseInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the list enterprise instances params

func (*ListEnterpriseInstancesParams) WithContext

WithContext adds the context to the list enterprise instances params

func (*ListEnterpriseInstancesParams) WithDefaults

WithDefaults hydrates default values in the list enterprise instances params (not the query body).

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

func (*ListEnterpriseInstancesParams) WithEnterpriseID

func (o *ListEnterpriseInstancesParams) WithEnterpriseID(enterpriseID string) *ListEnterpriseInstancesParams

WithEnterpriseID adds the enterpriseID to the list enterprise instances params

func (*ListEnterpriseInstancesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list enterprise instances params

func (*ListEnterpriseInstancesParams) WithTimeout

WithTimeout adds the timeout to the list enterprise instances params

func (*ListEnterpriseInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEnterpriseInstancesReader

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

ListEnterpriseInstancesReader is a Reader for the ListEnterpriseInstances structure.

func (*ListEnterpriseInstancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEnterprisePoolsDefault

type ListEnterprisePoolsDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

ListEnterprisePoolsDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewListEnterprisePoolsDefault

func NewListEnterprisePoolsDefault(code int) *ListEnterprisePoolsDefault

NewListEnterprisePoolsDefault creates a ListEnterprisePoolsDefault with default headers values

func (*ListEnterprisePoolsDefault) Code

func (o *ListEnterprisePoolsDefault) Code() int

Code gets the status code for the list enterprise pools default response

func (*ListEnterprisePoolsDefault) Error

func (*ListEnterprisePoolsDefault) GetPayload

func (*ListEnterprisePoolsDefault) IsClientError

func (o *ListEnterprisePoolsDefault) IsClientError() bool

IsClientError returns true when this list enterprise pools default response has a 4xx status code

func (*ListEnterprisePoolsDefault) IsCode

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

IsCode returns true when this list enterprise pools default response a status code equal to that given

func (*ListEnterprisePoolsDefault) IsRedirect

func (o *ListEnterprisePoolsDefault) IsRedirect() bool

IsRedirect returns true when this list enterprise pools default response has a 3xx status code

func (*ListEnterprisePoolsDefault) IsServerError

func (o *ListEnterprisePoolsDefault) IsServerError() bool

IsServerError returns true when this list enterprise pools default response has a 5xx status code

func (*ListEnterprisePoolsDefault) IsSuccess

func (o *ListEnterprisePoolsDefault) IsSuccess() bool

IsSuccess returns true when this list enterprise pools default response has a 2xx status code

func (*ListEnterprisePoolsDefault) String

func (o *ListEnterprisePoolsDefault) String() string

type ListEnterprisePoolsOK

type ListEnterprisePoolsOK struct {
	Payload garm_params.Pools
}

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

Pools

func NewListEnterprisePoolsOK

func NewListEnterprisePoolsOK() *ListEnterprisePoolsOK

NewListEnterprisePoolsOK creates a ListEnterprisePoolsOK with default headers values

func (*ListEnterprisePoolsOK) Code

func (o *ListEnterprisePoolsOK) Code() int

Code gets the status code for the list enterprise pools o k response

func (*ListEnterprisePoolsOK) Error

func (o *ListEnterprisePoolsOK) Error() string

func (*ListEnterprisePoolsOK) GetPayload

func (o *ListEnterprisePoolsOK) GetPayload() garm_params.Pools

func (*ListEnterprisePoolsOK) IsClientError

func (o *ListEnterprisePoolsOK) IsClientError() bool

IsClientError returns true when this list enterprise pools o k response has a 4xx status code

func (*ListEnterprisePoolsOK) IsCode

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

IsCode returns true when this list enterprise pools o k response a status code equal to that given

func (*ListEnterprisePoolsOK) IsRedirect

func (o *ListEnterprisePoolsOK) IsRedirect() bool

IsRedirect returns true when this list enterprise pools o k response has a 3xx status code

func (*ListEnterprisePoolsOK) IsServerError

func (o *ListEnterprisePoolsOK) IsServerError() bool

IsServerError returns true when this list enterprise pools o k response has a 5xx status code

func (*ListEnterprisePoolsOK) IsSuccess

func (o *ListEnterprisePoolsOK) IsSuccess() bool

IsSuccess returns true when this list enterprise pools o k response has a 2xx status code

func (*ListEnterprisePoolsOK) String

func (o *ListEnterprisePoolsOK) String() string

type ListEnterprisePoolsParams

type ListEnterprisePoolsParams struct {

	/* EnterpriseID.

	   Enterprise ID.
	*/
	EnterpriseID string

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

ListEnterprisePoolsParams contains all the parameters to send to the API endpoint

for the list enterprise pools operation.

Typically these are written to a http.Request.

func NewListEnterprisePoolsParams

func NewListEnterprisePoolsParams() *ListEnterprisePoolsParams

NewListEnterprisePoolsParams creates a new ListEnterprisePoolsParams 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 NewListEnterprisePoolsParamsWithContext

func NewListEnterprisePoolsParamsWithContext(ctx context.Context) *ListEnterprisePoolsParams

NewListEnterprisePoolsParamsWithContext creates a new ListEnterprisePoolsParams object with the ability to set a context for a request.

func NewListEnterprisePoolsParamsWithHTTPClient

func NewListEnterprisePoolsParamsWithHTTPClient(client *http.Client) *ListEnterprisePoolsParams

NewListEnterprisePoolsParamsWithHTTPClient creates a new ListEnterprisePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListEnterprisePoolsParamsWithTimeout

func NewListEnterprisePoolsParamsWithTimeout(timeout time.Duration) *ListEnterprisePoolsParams

NewListEnterprisePoolsParamsWithTimeout creates a new ListEnterprisePoolsParams object with the ability to set a timeout on a request.

func (*ListEnterprisePoolsParams) SetContext

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

SetContext adds the context to the list enterprise pools params

func (*ListEnterprisePoolsParams) SetDefaults

func (o *ListEnterprisePoolsParams) SetDefaults()

SetDefaults hydrates default values in the list enterprise pools params (not the query body).

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

func (*ListEnterprisePoolsParams) SetEnterpriseID

func (o *ListEnterprisePoolsParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the list enterprise pools params

func (*ListEnterprisePoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list enterprise pools params

func (*ListEnterprisePoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list enterprise pools params

func (*ListEnterprisePoolsParams) WithContext

WithContext adds the context to the list enterprise pools params

func (*ListEnterprisePoolsParams) WithDefaults

WithDefaults hydrates default values in the list enterprise pools params (not the query body).

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

func (*ListEnterprisePoolsParams) WithEnterpriseID

func (o *ListEnterprisePoolsParams) WithEnterpriseID(enterpriseID string) *ListEnterprisePoolsParams

WithEnterpriseID adds the enterpriseID to the list enterprise pools params

func (*ListEnterprisePoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list enterprise pools params

func (*ListEnterprisePoolsParams) WithTimeout

WithTimeout adds the timeout to the list enterprise pools params

func (*ListEnterprisePoolsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListEnterprisePoolsReader

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

ListEnterprisePoolsReader is a Reader for the ListEnterprisePools structure.

func (*ListEnterprisePoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListEnterprisesDefault

type ListEnterprisesDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

ListEnterprisesDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewListEnterprisesDefault

func NewListEnterprisesDefault(code int) *ListEnterprisesDefault

NewListEnterprisesDefault creates a ListEnterprisesDefault with default headers values

func (*ListEnterprisesDefault) Code

func (o *ListEnterprisesDefault) Code() int

Code gets the status code for the list enterprises default response

func (*ListEnterprisesDefault) Error

func (o *ListEnterprisesDefault) Error() string

func (*ListEnterprisesDefault) GetPayload

func (*ListEnterprisesDefault) IsClientError

func (o *ListEnterprisesDefault) IsClientError() bool

IsClientError returns true when this list enterprises default response has a 4xx status code

func (*ListEnterprisesDefault) IsCode

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

IsCode returns true when this list enterprises default response a status code equal to that given

func (*ListEnterprisesDefault) IsRedirect

func (o *ListEnterprisesDefault) IsRedirect() bool

IsRedirect returns true when this list enterprises default response has a 3xx status code

func (*ListEnterprisesDefault) IsServerError

func (o *ListEnterprisesDefault) IsServerError() bool

IsServerError returns true when this list enterprises default response has a 5xx status code

func (*ListEnterprisesDefault) IsSuccess

func (o *ListEnterprisesDefault) IsSuccess() bool

IsSuccess returns true when this list enterprises default response has a 2xx status code

func (*ListEnterprisesDefault) String

func (o *ListEnterprisesDefault) String() string

type ListEnterprisesOK

type ListEnterprisesOK struct {
	Payload garm_params.Enterprises
}

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

Enterprises

func NewListEnterprisesOK

func NewListEnterprisesOK() *ListEnterprisesOK

NewListEnterprisesOK creates a ListEnterprisesOK with default headers values

func (*ListEnterprisesOK) Code

func (o *ListEnterprisesOK) Code() int

Code gets the status code for the list enterprises o k response

func (*ListEnterprisesOK) Error

func (o *ListEnterprisesOK) Error() string

func (*ListEnterprisesOK) GetPayload

func (o *ListEnterprisesOK) GetPayload() garm_params.Enterprises

func (*ListEnterprisesOK) IsClientError

func (o *ListEnterprisesOK) IsClientError() bool

IsClientError returns true when this list enterprises o k response has a 4xx status code

func (*ListEnterprisesOK) IsCode

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

IsCode returns true when this list enterprises o k response a status code equal to that given

func (*ListEnterprisesOK) IsRedirect

func (o *ListEnterprisesOK) IsRedirect() bool

IsRedirect returns true when this list enterprises o k response has a 3xx status code

func (*ListEnterprisesOK) IsServerError

func (o *ListEnterprisesOK) IsServerError() bool

IsServerError returns true when this list enterprises o k response has a 5xx status code

func (*ListEnterprisesOK) IsSuccess

func (o *ListEnterprisesOK) IsSuccess() bool

IsSuccess returns true when this list enterprises o k response has a 2xx status code

func (*ListEnterprisesOK) String

func (o *ListEnterprisesOK) String() string

type ListEnterprisesParams

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

ListEnterprisesParams contains all the parameters to send to the API endpoint

for the list enterprises operation.

Typically these are written to a http.Request.

func NewListEnterprisesParams

func NewListEnterprisesParams() *ListEnterprisesParams

NewListEnterprisesParams creates a new ListEnterprisesParams 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 NewListEnterprisesParamsWithContext

func NewListEnterprisesParamsWithContext(ctx context.Context) *ListEnterprisesParams

NewListEnterprisesParamsWithContext creates a new ListEnterprisesParams object with the ability to set a context for a request.

func NewListEnterprisesParamsWithHTTPClient

func NewListEnterprisesParamsWithHTTPClient(client *http.Client) *ListEnterprisesParams

NewListEnterprisesParamsWithHTTPClient creates a new ListEnterprisesParams object with the ability to set a custom HTTPClient for a request.

func NewListEnterprisesParamsWithTimeout

func NewListEnterprisesParamsWithTimeout(timeout time.Duration) *ListEnterprisesParams

NewListEnterprisesParamsWithTimeout creates a new ListEnterprisesParams object with the ability to set a timeout on a request.

func (*ListEnterprisesParams) SetContext

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

SetContext adds the context to the list enterprises params

func (*ListEnterprisesParams) SetDefaults

func (o *ListEnterprisesParams) SetDefaults()

SetDefaults hydrates default values in the list enterprises params (not the query body).

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

func (*ListEnterprisesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list enterprises params

func (*ListEnterprisesParams) SetTimeout

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

SetTimeout adds the timeout to the list enterprises params

func (*ListEnterprisesParams) WithContext

WithContext adds the context to the list enterprises params

func (*ListEnterprisesParams) WithDefaults

func (o *ListEnterprisesParams) WithDefaults() *ListEnterprisesParams

WithDefaults hydrates default values in the list enterprises params (not the query body).

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

func (*ListEnterprisesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list enterprises params

func (*ListEnterprisesParams) WithTimeout

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

WithTimeout adds the timeout to the list enterprises params

func (*ListEnterprisesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListEnterprisesReader

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

ListEnterprisesReader is a Reader for the ListEnterprises structure.

func (*ListEnterprisesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateEnterpriseDefault

type UpdateEnterpriseDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

UpdateEnterpriseDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewUpdateEnterpriseDefault

func NewUpdateEnterpriseDefault(code int) *UpdateEnterpriseDefault

NewUpdateEnterpriseDefault creates a UpdateEnterpriseDefault with default headers values

func (*UpdateEnterpriseDefault) Code

func (o *UpdateEnterpriseDefault) Code() int

Code gets the status code for the update enterprise default response

func (*UpdateEnterpriseDefault) Error

func (o *UpdateEnterpriseDefault) Error() string

func (*UpdateEnterpriseDefault) GetPayload

func (*UpdateEnterpriseDefault) IsClientError

func (o *UpdateEnterpriseDefault) IsClientError() bool

IsClientError returns true when this update enterprise default response has a 4xx status code

func (*UpdateEnterpriseDefault) IsCode

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

IsCode returns true when this update enterprise default response a status code equal to that given

func (*UpdateEnterpriseDefault) IsRedirect

func (o *UpdateEnterpriseDefault) IsRedirect() bool

IsRedirect returns true when this update enterprise default response has a 3xx status code

func (*UpdateEnterpriseDefault) IsServerError

func (o *UpdateEnterpriseDefault) IsServerError() bool

IsServerError returns true when this update enterprise default response has a 5xx status code

func (*UpdateEnterpriseDefault) IsSuccess

func (o *UpdateEnterpriseDefault) IsSuccess() bool

IsSuccess returns true when this update enterprise default response has a 2xx status code

func (*UpdateEnterpriseDefault) String

func (o *UpdateEnterpriseDefault) String() string

type UpdateEnterpriseOK

type UpdateEnterpriseOK struct {
	Payload garm_params.Enterprise
}

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

Enterprise

func NewUpdateEnterpriseOK

func NewUpdateEnterpriseOK() *UpdateEnterpriseOK

NewUpdateEnterpriseOK creates a UpdateEnterpriseOK with default headers values

func (*UpdateEnterpriseOK) Code

func (o *UpdateEnterpriseOK) Code() int

Code gets the status code for the update enterprise o k response

func (*UpdateEnterpriseOK) Error

func (o *UpdateEnterpriseOK) Error() string

func (*UpdateEnterpriseOK) GetPayload

func (o *UpdateEnterpriseOK) GetPayload() garm_params.Enterprise

func (*UpdateEnterpriseOK) IsClientError

func (o *UpdateEnterpriseOK) IsClientError() bool

IsClientError returns true when this update enterprise o k response has a 4xx status code

func (*UpdateEnterpriseOK) IsCode

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

IsCode returns true when this update enterprise o k response a status code equal to that given

func (*UpdateEnterpriseOK) IsRedirect

func (o *UpdateEnterpriseOK) IsRedirect() bool

IsRedirect returns true when this update enterprise o k response has a 3xx status code

func (*UpdateEnterpriseOK) IsServerError

func (o *UpdateEnterpriseOK) IsServerError() bool

IsServerError returns true when this update enterprise o k response has a 5xx status code

func (*UpdateEnterpriseOK) IsSuccess

func (o *UpdateEnterpriseOK) IsSuccess() bool

IsSuccess returns true when this update enterprise o k response has a 2xx status code

func (*UpdateEnterpriseOK) String

func (o *UpdateEnterpriseOK) String() string

type UpdateEnterpriseParams

type UpdateEnterpriseParams struct {

	/* Body.

	   Parameters used when updating the enterprise.
	*/
	Body garm_params.UpdateEntityParams

	/* EnterpriseID.

	   The ID of the enterprise to update.
	*/
	EnterpriseID string

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

UpdateEnterpriseParams contains all the parameters to send to the API endpoint

for the update enterprise operation.

Typically these are written to a http.Request.

func NewUpdateEnterpriseParams

func NewUpdateEnterpriseParams() *UpdateEnterpriseParams

NewUpdateEnterpriseParams creates a new UpdateEnterpriseParams 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 NewUpdateEnterpriseParamsWithContext

func NewUpdateEnterpriseParamsWithContext(ctx context.Context) *UpdateEnterpriseParams

NewUpdateEnterpriseParamsWithContext creates a new UpdateEnterpriseParams object with the ability to set a context for a request.

func NewUpdateEnterpriseParamsWithHTTPClient

func NewUpdateEnterpriseParamsWithHTTPClient(client *http.Client) *UpdateEnterpriseParams

NewUpdateEnterpriseParamsWithHTTPClient creates a new UpdateEnterpriseParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEnterpriseParamsWithTimeout

func NewUpdateEnterpriseParamsWithTimeout(timeout time.Duration) *UpdateEnterpriseParams

NewUpdateEnterpriseParamsWithTimeout creates a new UpdateEnterpriseParams object with the ability to set a timeout on a request.

func (*UpdateEnterpriseParams) SetBody

SetBody adds the body to the update enterprise params

func (*UpdateEnterpriseParams) SetContext

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

SetContext adds the context to the update enterprise params

func (*UpdateEnterpriseParams) SetDefaults

func (o *UpdateEnterpriseParams) SetDefaults()

SetDefaults hydrates default values in the update enterprise params (not the query body).

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

func (*UpdateEnterpriseParams) SetEnterpriseID

func (o *UpdateEnterpriseParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the update enterprise params

func (*UpdateEnterpriseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update enterprise params

func (*UpdateEnterpriseParams) SetTimeout

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

SetTimeout adds the timeout to the update enterprise params

func (*UpdateEnterpriseParams) WithBody

WithBody adds the body to the update enterprise params

func (*UpdateEnterpriseParams) WithContext

WithContext adds the context to the update enterprise params

func (*UpdateEnterpriseParams) WithDefaults

WithDefaults hydrates default values in the update enterprise params (not the query body).

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

func (*UpdateEnterpriseParams) WithEnterpriseID

func (o *UpdateEnterpriseParams) WithEnterpriseID(enterpriseID string) *UpdateEnterpriseParams

WithEnterpriseID adds the enterpriseID to the update enterprise params

func (*UpdateEnterpriseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update enterprise params

func (*UpdateEnterpriseParams) WithTimeout

WithTimeout adds the timeout to the update enterprise params

func (*UpdateEnterpriseParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEnterprisePoolDefault

type UpdateEnterprisePoolDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

UpdateEnterprisePoolDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewUpdateEnterprisePoolDefault

func NewUpdateEnterprisePoolDefault(code int) *UpdateEnterprisePoolDefault

NewUpdateEnterprisePoolDefault creates a UpdateEnterprisePoolDefault with default headers values

func (*UpdateEnterprisePoolDefault) Code

func (o *UpdateEnterprisePoolDefault) Code() int

Code gets the status code for the update enterprise pool default response

func (*UpdateEnterprisePoolDefault) Error

func (*UpdateEnterprisePoolDefault) GetPayload

func (*UpdateEnterprisePoolDefault) IsClientError

func (o *UpdateEnterprisePoolDefault) IsClientError() bool

IsClientError returns true when this update enterprise pool default response has a 4xx status code

func (*UpdateEnterprisePoolDefault) IsCode

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

IsCode returns true when this update enterprise pool default response a status code equal to that given

func (*UpdateEnterprisePoolDefault) IsRedirect

func (o *UpdateEnterprisePoolDefault) IsRedirect() bool

IsRedirect returns true when this update enterprise pool default response has a 3xx status code

func (*UpdateEnterprisePoolDefault) IsServerError

func (o *UpdateEnterprisePoolDefault) IsServerError() bool

IsServerError returns true when this update enterprise pool default response has a 5xx status code

func (*UpdateEnterprisePoolDefault) IsSuccess

func (o *UpdateEnterprisePoolDefault) IsSuccess() bool

IsSuccess returns true when this update enterprise pool default response has a 2xx status code

func (*UpdateEnterprisePoolDefault) String

func (o *UpdateEnterprisePoolDefault) String() string

type UpdateEnterprisePoolOK

type UpdateEnterprisePoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewUpdateEnterprisePoolOK

func NewUpdateEnterprisePoolOK() *UpdateEnterprisePoolOK

NewUpdateEnterprisePoolOK creates a UpdateEnterprisePoolOK with default headers values

func (*UpdateEnterprisePoolOK) Code

func (o *UpdateEnterprisePoolOK) Code() int

Code gets the status code for the update enterprise pool o k response

func (*UpdateEnterprisePoolOK) Error

func (o *UpdateEnterprisePoolOK) Error() string

func (*UpdateEnterprisePoolOK) GetPayload

func (o *UpdateEnterprisePoolOK) GetPayload() garm_params.Pool

func (*UpdateEnterprisePoolOK) IsClientError

func (o *UpdateEnterprisePoolOK) IsClientError() bool

IsClientError returns true when this update enterprise pool o k response has a 4xx status code

func (*UpdateEnterprisePoolOK) IsCode

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

IsCode returns true when this update enterprise pool o k response a status code equal to that given

func (*UpdateEnterprisePoolOK) IsRedirect

func (o *UpdateEnterprisePoolOK) IsRedirect() bool

IsRedirect returns true when this update enterprise pool o k response has a 3xx status code

func (*UpdateEnterprisePoolOK) IsServerError

func (o *UpdateEnterprisePoolOK) IsServerError() bool

IsServerError returns true when this update enterprise pool o k response has a 5xx status code

func (*UpdateEnterprisePoolOK) IsSuccess

func (o *UpdateEnterprisePoolOK) IsSuccess() bool

IsSuccess returns true when this update enterprise pool o k response has a 2xx status code

func (*UpdateEnterprisePoolOK) String

func (o *UpdateEnterprisePoolOK) String() string

type UpdateEnterprisePoolParams

type UpdateEnterprisePoolParams struct {

	/* Body.

	   Parameters used when updating the enterprise pool.
	*/
	Body garm_params.UpdatePoolParams

	/* EnterpriseID.

	   Enterprise ID.
	*/
	EnterpriseID string

	/* PoolID.

	   ID of the enterprise pool to update.
	*/
	PoolID string

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

UpdateEnterprisePoolParams contains all the parameters to send to the API endpoint

for the update enterprise pool operation.

Typically these are written to a http.Request.

func NewUpdateEnterprisePoolParams

func NewUpdateEnterprisePoolParams() *UpdateEnterprisePoolParams

NewUpdateEnterprisePoolParams creates a new UpdateEnterprisePoolParams 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 NewUpdateEnterprisePoolParamsWithContext

func NewUpdateEnterprisePoolParamsWithContext(ctx context.Context) *UpdateEnterprisePoolParams

NewUpdateEnterprisePoolParamsWithContext creates a new UpdateEnterprisePoolParams object with the ability to set a context for a request.

func NewUpdateEnterprisePoolParamsWithHTTPClient

func NewUpdateEnterprisePoolParamsWithHTTPClient(client *http.Client) *UpdateEnterprisePoolParams

NewUpdateEnterprisePoolParamsWithHTTPClient creates a new UpdateEnterprisePoolParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEnterprisePoolParamsWithTimeout

func NewUpdateEnterprisePoolParamsWithTimeout(timeout time.Duration) *UpdateEnterprisePoolParams

NewUpdateEnterprisePoolParamsWithTimeout creates a new UpdateEnterprisePoolParams object with the ability to set a timeout on a request.

func (*UpdateEnterprisePoolParams) SetBody

SetBody adds the body to the update enterprise pool params

func (*UpdateEnterprisePoolParams) SetContext

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

SetContext adds the context to the update enterprise pool params

func (*UpdateEnterprisePoolParams) SetDefaults

func (o *UpdateEnterprisePoolParams) SetDefaults()

SetDefaults hydrates default values in the update enterprise pool params (not the query body).

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

func (*UpdateEnterprisePoolParams) SetEnterpriseID

func (o *UpdateEnterprisePoolParams) SetEnterpriseID(enterpriseID string)

SetEnterpriseID adds the enterpriseId to the update enterprise pool params

func (*UpdateEnterprisePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update enterprise pool params

func (*UpdateEnterprisePoolParams) SetPoolID

func (o *UpdateEnterprisePoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the update enterprise pool params

func (*UpdateEnterprisePoolParams) SetTimeout

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

SetTimeout adds the timeout to the update enterprise pool params

func (*UpdateEnterprisePoolParams) WithBody

WithBody adds the body to the update enterprise pool params

func (*UpdateEnterprisePoolParams) WithContext

WithContext adds the context to the update enterprise pool params

func (*UpdateEnterprisePoolParams) WithDefaults

WithDefaults hydrates default values in the update enterprise pool params (not the query body).

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

func (*UpdateEnterprisePoolParams) WithEnterpriseID

func (o *UpdateEnterprisePoolParams) WithEnterpriseID(enterpriseID string) *UpdateEnterprisePoolParams

WithEnterpriseID adds the enterpriseID to the update enterprise pool params

func (*UpdateEnterprisePoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update enterprise pool params

func (*UpdateEnterprisePoolParams) WithPoolID

WithPoolID adds the poolID to the update enterprise pool params

func (*UpdateEnterprisePoolParams) WithTimeout

WithTimeout adds the timeout to the update enterprise pool params

func (*UpdateEnterprisePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEnterprisePoolReader

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

UpdateEnterprisePoolReader is a Reader for the UpdateEnterprisePool structure.

func (*UpdateEnterprisePoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateEnterpriseReader

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

UpdateEnterpriseReader is a Reader for the UpdateEnterprise structure.

func (*UpdateEnterpriseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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