organizations

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 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 organizations API

func (*Client) CreateOrg

func (a *Client) CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgOK, error)

CreateOrg creates organization with the parameters given

func (*Client) CreateOrgPool

func (a *Client) CreateOrgPool(params *CreateOrgPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgPoolOK, error)

CreateOrgPool creates organization pool with the parameters given

func (*Client) DeleteOrg

func (a *Client) DeleteOrg(params *DeleteOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteOrg deletes organization by ID

func (*Client) DeleteOrgPool

func (a *Client) DeleteOrgPool(params *DeleteOrgPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteOrgPool deletes organization pool by ID

func (*Client) GetOrg

func (a *Client) GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgOK, error)

GetOrg gets organization by ID

func (*Client) GetOrgPool

func (a *Client) GetOrgPool(params *GetOrgPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgPoolOK, error)

GetOrgPool gets organization pool by ID

func (*Client) ListOrgInstances

func (a *Client) ListOrgInstances(params *ListOrgInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgInstancesOK, error)

ListOrgInstances lists organization instances

func (*Client) ListOrgPools

func (a *Client) ListOrgPools(params *ListOrgPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgPoolsOK, error)

ListOrgPools lists organization pools

func (*Client) ListOrgs

func (a *Client) ListOrgs(params *ListOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgsOK, error)

ListOrgs lists organizations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrg

func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, error)

UpdateOrg updates organization with the parameters given

func (*Client) UpdateOrgPool

func (a *Client) UpdateOrgPool(params *UpdateOrgPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgPoolOK, error)

UpdateOrgPool updates organization pool with the parameters given

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateOrg(params *CreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgOK, error)

	CreateOrgPool(params *CreateOrgPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrgPoolOK, error)

	DeleteOrg(params *DeleteOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	DeleteOrgPool(params *DeleteOrgPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgOK, error)

	GetOrgPool(params *GetOrgPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgPoolOK, error)

	ListOrgInstances(params *ListOrgInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgInstancesOK, error)

	ListOrgPools(params *ListOrgPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgPoolsOK, error)

	ListOrgs(params *ListOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgsOK, error)

	UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, error)

	UpdateOrgPool(params *UpdateOrgPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgPoolOK, 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 organizations API client.

type CreateOrgDefault

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

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

APIErrorResponse

func NewCreateOrgDefault

func NewCreateOrgDefault(code int) *CreateOrgDefault

NewCreateOrgDefault creates a CreateOrgDefault with default headers values

func (*CreateOrgDefault) Code

func (o *CreateOrgDefault) Code() int

Code gets the status code for the create org default response

func (*CreateOrgDefault) Error

func (o *CreateOrgDefault) Error() string

func (*CreateOrgDefault) GetPayload

func (*CreateOrgDefault) IsClientError

func (o *CreateOrgDefault) IsClientError() bool

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

func (*CreateOrgDefault) IsCode

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

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

func (*CreateOrgDefault) IsRedirect

func (o *CreateOrgDefault) IsRedirect() bool

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

func (*CreateOrgDefault) IsServerError

func (o *CreateOrgDefault) IsServerError() bool

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

func (*CreateOrgDefault) IsSuccess

func (o *CreateOrgDefault) IsSuccess() bool

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

func (*CreateOrgDefault) String

func (o *CreateOrgDefault) String() string

type CreateOrgOK

type CreateOrgOK struct {
	Payload garm_params.Organization
}

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

Organization

func NewCreateOrgOK

func NewCreateOrgOK() *CreateOrgOK

NewCreateOrgOK creates a CreateOrgOK with default headers values

func (*CreateOrgOK) Code

func (o *CreateOrgOK) Code() int

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

func (*CreateOrgOK) Error

func (o *CreateOrgOK) Error() string

func (*CreateOrgOK) GetPayload

func (o *CreateOrgOK) GetPayload() garm_params.Organization

func (*CreateOrgOK) IsClientError

func (o *CreateOrgOK) IsClientError() bool

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

func (*CreateOrgOK) IsCode

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

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

func (*CreateOrgOK) IsRedirect

func (o *CreateOrgOK) IsRedirect() bool

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

func (*CreateOrgOK) IsServerError

func (o *CreateOrgOK) IsServerError() bool

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

func (*CreateOrgOK) IsSuccess

func (o *CreateOrgOK) IsSuccess() bool

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

func (*CreateOrgOK) String

func (o *CreateOrgOK) String() string

type CreateOrgParams

type CreateOrgParams struct {

	/* Body.

	   Parameters used when creating the organization.
	*/
	Body garm_params.CreateOrgParams

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

CreateOrgParams contains all the parameters to send to the API endpoint

for the create org operation.

Typically these are written to a http.Request.

func NewCreateOrgParams

func NewCreateOrgParams() *CreateOrgParams

NewCreateOrgParams creates a new CreateOrgParams 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 NewCreateOrgParamsWithContext

func NewCreateOrgParamsWithContext(ctx context.Context) *CreateOrgParams

NewCreateOrgParamsWithContext creates a new CreateOrgParams object with the ability to set a context for a request.

func NewCreateOrgParamsWithHTTPClient

func NewCreateOrgParamsWithHTTPClient(client *http.Client) *CreateOrgParams

NewCreateOrgParamsWithHTTPClient creates a new CreateOrgParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrgParamsWithTimeout

func NewCreateOrgParamsWithTimeout(timeout time.Duration) *CreateOrgParams

NewCreateOrgParamsWithTimeout creates a new CreateOrgParams object with the ability to set a timeout on a request.

func (*CreateOrgParams) SetBody

func (o *CreateOrgParams) SetBody(body garm_params.CreateOrgParams)

SetBody adds the body to the create org params

func (*CreateOrgParams) SetContext

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

SetContext adds the context to the create org params

func (*CreateOrgParams) SetDefaults

func (o *CreateOrgParams) SetDefaults()

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

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

func (*CreateOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create org params

func (*CreateOrgParams) SetTimeout

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

SetTimeout adds the timeout to the create org params

func (*CreateOrgParams) WithBody

WithBody adds the body to the create org params

func (*CreateOrgParams) WithContext

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

WithContext adds the context to the create org params

func (*CreateOrgParams) WithDefaults

func (o *CreateOrgParams) WithDefaults() *CreateOrgParams

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

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

func (*CreateOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create org params

func (*CreateOrgParams) WithTimeout

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

WithTimeout adds the timeout to the create org params

func (*CreateOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateOrgPoolDefault

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

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

APIErrorResponse

func NewCreateOrgPoolDefault

func NewCreateOrgPoolDefault(code int) *CreateOrgPoolDefault

NewCreateOrgPoolDefault creates a CreateOrgPoolDefault with default headers values

func (*CreateOrgPoolDefault) Code

func (o *CreateOrgPoolDefault) Code() int

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

func (*CreateOrgPoolDefault) Error

func (o *CreateOrgPoolDefault) Error() string

func (*CreateOrgPoolDefault) GetPayload

func (*CreateOrgPoolDefault) IsClientError

func (o *CreateOrgPoolDefault) IsClientError() bool

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

func (*CreateOrgPoolDefault) IsCode

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

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

func (*CreateOrgPoolDefault) IsRedirect

func (o *CreateOrgPoolDefault) IsRedirect() bool

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

func (*CreateOrgPoolDefault) IsServerError

func (o *CreateOrgPoolDefault) IsServerError() bool

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

func (*CreateOrgPoolDefault) IsSuccess

func (o *CreateOrgPoolDefault) IsSuccess() bool

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

func (*CreateOrgPoolDefault) String

func (o *CreateOrgPoolDefault) String() string

type CreateOrgPoolOK

type CreateOrgPoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewCreateOrgPoolOK

func NewCreateOrgPoolOK() *CreateOrgPoolOK

NewCreateOrgPoolOK creates a CreateOrgPoolOK with default headers values

func (*CreateOrgPoolOK) Code

func (o *CreateOrgPoolOK) Code() int

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

func (*CreateOrgPoolOK) Error

func (o *CreateOrgPoolOK) Error() string

func (*CreateOrgPoolOK) GetPayload

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

func (*CreateOrgPoolOK) IsClientError

func (o *CreateOrgPoolOK) IsClientError() bool

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

func (*CreateOrgPoolOK) IsCode

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

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

func (*CreateOrgPoolOK) IsRedirect

func (o *CreateOrgPoolOK) IsRedirect() bool

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

func (*CreateOrgPoolOK) IsServerError

func (o *CreateOrgPoolOK) IsServerError() bool

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

func (*CreateOrgPoolOK) IsSuccess

func (o *CreateOrgPoolOK) IsSuccess() bool

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

func (*CreateOrgPoolOK) String

func (o *CreateOrgPoolOK) String() string

type CreateOrgPoolParams

type CreateOrgPoolParams struct {

	/* Body.

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

	/* OrgID.

	   Organization ID.
	*/
	OrgID string

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

CreateOrgPoolParams contains all the parameters to send to the API endpoint

for the create org pool operation.

Typically these are written to a http.Request.

func NewCreateOrgPoolParams

func NewCreateOrgPoolParams() *CreateOrgPoolParams

NewCreateOrgPoolParams creates a new CreateOrgPoolParams 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 NewCreateOrgPoolParamsWithContext

func NewCreateOrgPoolParamsWithContext(ctx context.Context) *CreateOrgPoolParams

NewCreateOrgPoolParamsWithContext creates a new CreateOrgPoolParams object with the ability to set a context for a request.

func NewCreateOrgPoolParamsWithHTTPClient

func NewCreateOrgPoolParamsWithHTTPClient(client *http.Client) *CreateOrgPoolParams

NewCreateOrgPoolParamsWithHTTPClient creates a new CreateOrgPoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrgPoolParamsWithTimeout

func NewCreateOrgPoolParamsWithTimeout(timeout time.Duration) *CreateOrgPoolParams

NewCreateOrgPoolParamsWithTimeout creates a new CreateOrgPoolParams object with the ability to set a timeout on a request.

func (*CreateOrgPoolParams) SetBody

SetBody adds the body to the create org pool params

func (*CreateOrgPoolParams) SetContext

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

SetContext adds the context to the create org pool params

func (*CreateOrgPoolParams) SetDefaults

func (o *CreateOrgPoolParams) SetDefaults()

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

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

func (*CreateOrgPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create org pool params

func (*CreateOrgPoolParams) SetOrgID

func (o *CreateOrgPoolParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the create org pool params

func (*CreateOrgPoolParams) SetTimeout

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

SetTimeout adds the timeout to the create org pool params

func (*CreateOrgPoolParams) WithBody

WithBody adds the body to the create org pool params

func (*CreateOrgPoolParams) WithContext

WithContext adds the context to the create org pool params

func (*CreateOrgPoolParams) WithDefaults

func (o *CreateOrgPoolParams) WithDefaults() *CreateOrgPoolParams

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

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

func (*CreateOrgPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create org pool params

func (*CreateOrgPoolParams) WithOrgID

func (o *CreateOrgPoolParams) WithOrgID(orgID string) *CreateOrgPoolParams

WithOrgID adds the orgID to the create org pool params

func (*CreateOrgPoolParams) WithTimeout

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

WithTimeout adds the timeout to the create org pool params

func (*CreateOrgPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateOrgPoolReader

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

CreateOrgPoolReader is a Reader for the CreateOrgPool structure.

func (*CreateOrgPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrgReader

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

CreateOrgReader is a Reader for the CreateOrg structure.

func (*CreateOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrgDefault

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

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

APIErrorResponse

func NewDeleteOrgDefault

func NewDeleteOrgDefault(code int) *DeleteOrgDefault

NewDeleteOrgDefault creates a DeleteOrgDefault with default headers values

func (*DeleteOrgDefault) Code

func (o *DeleteOrgDefault) Code() int

Code gets the status code for the delete org default response

func (*DeleteOrgDefault) Error

func (o *DeleteOrgDefault) Error() string

func (*DeleteOrgDefault) GetPayload

func (*DeleteOrgDefault) IsClientError

func (o *DeleteOrgDefault) IsClientError() bool

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

func (*DeleteOrgDefault) IsCode

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

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

func (*DeleteOrgDefault) IsRedirect

func (o *DeleteOrgDefault) IsRedirect() bool

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

func (*DeleteOrgDefault) IsServerError

func (o *DeleteOrgDefault) IsServerError() bool

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

func (*DeleteOrgDefault) IsSuccess

func (o *DeleteOrgDefault) IsSuccess() bool

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

func (*DeleteOrgDefault) String

func (o *DeleteOrgDefault) String() string

type DeleteOrgParams

type DeleteOrgParams struct {

	/* OrgID.

	   ID of the organization to delete.
	*/
	OrgID string

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

DeleteOrgParams contains all the parameters to send to the API endpoint

for the delete org operation.

Typically these are written to a http.Request.

func NewDeleteOrgParams

func NewDeleteOrgParams() *DeleteOrgParams

NewDeleteOrgParams creates a new DeleteOrgParams 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 NewDeleteOrgParamsWithContext

func NewDeleteOrgParamsWithContext(ctx context.Context) *DeleteOrgParams

NewDeleteOrgParamsWithContext creates a new DeleteOrgParams object with the ability to set a context for a request.

func NewDeleteOrgParamsWithHTTPClient

func NewDeleteOrgParamsWithHTTPClient(client *http.Client) *DeleteOrgParams

NewDeleteOrgParamsWithHTTPClient creates a new DeleteOrgParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrgParamsWithTimeout

func NewDeleteOrgParamsWithTimeout(timeout time.Duration) *DeleteOrgParams

NewDeleteOrgParamsWithTimeout creates a new DeleteOrgParams object with the ability to set a timeout on a request.

func (*DeleteOrgParams) SetContext

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

SetContext adds the context to the delete org params

func (*DeleteOrgParams) SetDefaults

func (o *DeleteOrgParams) SetDefaults()

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

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

func (*DeleteOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete org params

func (*DeleteOrgParams) SetOrgID

func (o *DeleteOrgParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the delete org params

func (*DeleteOrgParams) SetTimeout

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

SetTimeout adds the timeout to the delete org params

func (*DeleteOrgParams) WithContext

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

WithContext adds the context to the delete org params

func (*DeleteOrgParams) WithDefaults

func (o *DeleteOrgParams) WithDefaults() *DeleteOrgParams

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

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

func (*DeleteOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete org params

func (*DeleteOrgParams) WithOrgID

func (o *DeleteOrgParams) WithOrgID(orgID string) *DeleteOrgParams

WithOrgID adds the orgID to the delete org params

func (*DeleteOrgParams) WithTimeout

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

WithTimeout adds the timeout to the delete org params

func (*DeleteOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteOrgPoolDefault

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

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

APIErrorResponse

func NewDeleteOrgPoolDefault

func NewDeleteOrgPoolDefault(code int) *DeleteOrgPoolDefault

NewDeleteOrgPoolDefault creates a DeleteOrgPoolDefault with default headers values

func (*DeleteOrgPoolDefault) Code

func (o *DeleteOrgPoolDefault) Code() int

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

func (*DeleteOrgPoolDefault) Error

func (o *DeleteOrgPoolDefault) Error() string

func (*DeleteOrgPoolDefault) GetPayload

func (*DeleteOrgPoolDefault) IsClientError

func (o *DeleteOrgPoolDefault) IsClientError() bool

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

func (*DeleteOrgPoolDefault) IsCode

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

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

func (*DeleteOrgPoolDefault) IsRedirect

func (o *DeleteOrgPoolDefault) IsRedirect() bool

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

func (*DeleteOrgPoolDefault) IsServerError

func (o *DeleteOrgPoolDefault) IsServerError() bool

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

func (*DeleteOrgPoolDefault) IsSuccess

func (o *DeleteOrgPoolDefault) IsSuccess() bool

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

func (*DeleteOrgPoolDefault) String

func (o *DeleteOrgPoolDefault) String() string

type DeleteOrgPoolParams

type DeleteOrgPoolParams struct {

	/* OrgID.

	   Organization ID.
	*/
	OrgID string

	/* PoolID.

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

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

DeleteOrgPoolParams contains all the parameters to send to the API endpoint

for the delete org pool operation.

Typically these are written to a http.Request.

func NewDeleteOrgPoolParams

func NewDeleteOrgPoolParams() *DeleteOrgPoolParams

NewDeleteOrgPoolParams creates a new DeleteOrgPoolParams 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 NewDeleteOrgPoolParamsWithContext

func NewDeleteOrgPoolParamsWithContext(ctx context.Context) *DeleteOrgPoolParams

NewDeleteOrgPoolParamsWithContext creates a new DeleteOrgPoolParams object with the ability to set a context for a request.

func NewDeleteOrgPoolParamsWithHTTPClient

func NewDeleteOrgPoolParamsWithHTTPClient(client *http.Client) *DeleteOrgPoolParams

NewDeleteOrgPoolParamsWithHTTPClient creates a new DeleteOrgPoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrgPoolParamsWithTimeout

func NewDeleteOrgPoolParamsWithTimeout(timeout time.Duration) *DeleteOrgPoolParams

NewDeleteOrgPoolParamsWithTimeout creates a new DeleteOrgPoolParams object with the ability to set a timeout on a request.

func (*DeleteOrgPoolParams) SetContext

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

SetContext adds the context to the delete org pool params

func (*DeleteOrgPoolParams) SetDefaults

func (o *DeleteOrgPoolParams) SetDefaults()

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

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

func (*DeleteOrgPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete org pool params

func (*DeleteOrgPoolParams) SetOrgID

func (o *DeleteOrgPoolParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the delete org pool params

func (*DeleteOrgPoolParams) SetPoolID

func (o *DeleteOrgPoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the delete org pool params

func (*DeleteOrgPoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete org pool params

func (*DeleteOrgPoolParams) WithContext

WithContext adds the context to the delete org pool params

func (*DeleteOrgPoolParams) WithDefaults

func (o *DeleteOrgPoolParams) WithDefaults() *DeleteOrgPoolParams

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

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

func (*DeleteOrgPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete org pool params

func (*DeleteOrgPoolParams) WithOrgID

func (o *DeleteOrgPoolParams) WithOrgID(orgID string) *DeleteOrgPoolParams

WithOrgID adds the orgID to the delete org pool params

func (*DeleteOrgPoolParams) WithPoolID

func (o *DeleteOrgPoolParams) WithPoolID(poolID string) *DeleteOrgPoolParams

WithPoolID adds the poolID to the delete org pool params

func (*DeleteOrgPoolParams) WithTimeout

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

WithTimeout adds the timeout to the delete org pool params

func (*DeleteOrgPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteOrgPoolReader

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

DeleteOrgPoolReader is a Reader for the DeleteOrgPool structure.

func (*DeleteOrgPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrgReader

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

DeleteOrgReader is a Reader for the DeleteOrg structure.

func (*DeleteOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgDefault

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

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

APIErrorResponse

func NewGetOrgDefault

func NewGetOrgDefault(code int) *GetOrgDefault

NewGetOrgDefault creates a GetOrgDefault with default headers values

func (*GetOrgDefault) Code

func (o *GetOrgDefault) Code() int

Code gets the status code for the get org default response

func (*GetOrgDefault) Error

func (o *GetOrgDefault) Error() string

func (*GetOrgDefault) GetPayload

func (*GetOrgDefault) IsClientError

func (o *GetOrgDefault) IsClientError() bool

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

func (*GetOrgDefault) IsCode

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

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

func (*GetOrgDefault) IsRedirect

func (o *GetOrgDefault) IsRedirect() bool

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

func (*GetOrgDefault) IsServerError

func (o *GetOrgDefault) IsServerError() bool

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

func (*GetOrgDefault) IsSuccess

func (o *GetOrgDefault) IsSuccess() bool

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

func (*GetOrgDefault) String

func (o *GetOrgDefault) String() string

type GetOrgOK

type GetOrgOK struct {
	Payload garm_params.Organization
}

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

Organization

func NewGetOrgOK

func NewGetOrgOK() *GetOrgOK

NewGetOrgOK creates a GetOrgOK with default headers values

func (*GetOrgOK) Code

func (o *GetOrgOK) Code() int

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

func (*GetOrgOK) Error

func (o *GetOrgOK) Error() string

func (*GetOrgOK) GetPayload

func (o *GetOrgOK) GetPayload() garm_params.Organization

func (*GetOrgOK) IsClientError

func (o *GetOrgOK) IsClientError() bool

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

func (*GetOrgOK) IsCode

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

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

func (*GetOrgOK) IsRedirect

func (o *GetOrgOK) IsRedirect() bool

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

func (*GetOrgOK) IsServerError

func (o *GetOrgOK) IsServerError() bool

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

func (*GetOrgOK) IsSuccess

func (o *GetOrgOK) IsSuccess() bool

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

func (*GetOrgOK) String

func (o *GetOrgOK) String() string

type GetOrgParams

type GetOrgParams struct {

	/* OrgID.

	   ID of the organization to fetch.
	*/
	OrgID string

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

GetOrgParams contains all the parameters to send to the API endpoint

for the get org operation.

Typically these are written to a http.Request.

func NewGetOrgParams

func NewGetOrgParams() *GetOrgParams

NewGetOrgParams creates a new GetOrgParams 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 NewGetOrgParamsWithContext

func NewGetOrgParamsWithContext(ctx context.Context) *GetOrgParams

NewGetOrgParamsWithContext creates a new GetOrgParams object with the ability to set a context for a request.

func NewGetOrgParamsWithHTTPClient

func NewGetOrgParamsWithHTTPClient(client *http.Client) *GetOrgParams

NewGetOrgParamsWithHTTPClient creates a new GetOrgParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgParamsWithTimeout

func NewGetOrgParamsWithTimeout(timeout time.Duration) *GetOrgParams

NewGetOrgParamsWithTimeout creates a new GetOrgParams object with the ability to set a timeout on a request.

func (*GetOrgParams) SetContext

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

SetContext adds the context to the get org params

func (*GetOrgParams) SetDefaults

func (o *GetOrgParams) SetDefaults()

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

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

func (*GetOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org params

func (*GetOrgParams) SetOrgID

func (o *GetOrgParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the get org params

func (*GetOrgParams) SetTimeout

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

SetTimeout adds the timeout to the get org params

func (*GetOrgParams) WithContext

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

WithContext adds the context to the get org params

func (*GetOrgParams) WithDefaults

func (o *GetOrgParams) WithDefaults() *GetOrgParams

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

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

func (*GetOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org params

func (*GetOrgParams) WithOrgID

func (o *GetOrgParams) WithOrgID(orgID string) *GetOrgParams

WithOrgID adds the orgID to the get org params

func (*GetOrgParams) WithTimeout

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

WithTimeout adds the timeout to the get org params

func (*GetOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgPoolDefault

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

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

APIErrorResponse

func NewGetOrgPoolDefault

func NewGetOrgPoolDefault(code int) *GetOrgPoolDefault

NewGetOrgPoolDefault creates a GetOrgPoolDefault with default headers values

func (*GetOrgPoolDefault) Code

func (o *GetOrgPoolDefault) Code() int

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

func (*GetOrgPoolDefault) Error

func (o *GetOrgPoolDefault) Error() string

func (*GetOrgPoolDefault) GetPayload

func (*GetOrgPoolDefault) IsClientError

func (o *GetOrgPoolDefault) IsClientError() bool

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

func (*GetOrgPoolDefault) IsCode

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

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

func (*GetOrgPoolDefault) IsRedirect

func (o *GetOrgPoolDefault) IsRedirect() bool

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

func (*GetOrgPoolDefault) IsServerError

func (o *GetOrgPoolDefault) IsServerError() bool

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

func (*GetOrgPoolDefault) IsSuccess

func (o *GetOrgPoolDefault) IsSuccess() bool

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

func (*GetOrgPoolDefault) String

func (o *GetOrgPoolDefault) String() string

type GetOrgPoolOK

type GetOrgPoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewGetOrgPoolOK

func NewGetOrgPoolOK() *GetOrgPoolOK

NewGetOrgPoolOK creates a GetOrgPoolOK with default headers values

func (*GetOrgPoolOK) Code

func (o *GetOrgPoolOK) Code() int

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

func (*GetOrgPoolOK) Error

func (o *GetOrgPoolOK) Error() string

func (*GetOrgPoolOK) GetPayload

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

func (*GetOrgPoolOK) IsClientError

func (o *GetOrgPoolOK) IsClientError() bool

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

func (*GetOrgPoolOK) IsCode

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

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

func (*GetOrgPoolOK) IsRedirect

func (o *GetOrgPoolOK) IsRedirect() bool

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

func (*GetOrgPoolOK) IsServerError

func (o *GetOrgPoolOK) IsServerError() bool

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

func (*GetOrgPoolOK) IsSuccess

func (o *GetOrgPoolOK) IsSuccess() bool

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

func (*GetOrgPoolOK) String

func (o *GetOrgPoolOK) String() string

type GetOrgPoolParams

type GetOrgPoolParams struct {

	/* OrgID.

	   Organization ID.
	*/
	OrgID string

	/* PoolID.

	   Pool ID.
	*/
	PoolID string

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

GetOrgPoolParams contains all the parameters to send to the API endpoint

for the get org pool operation.

Typically these are written to a http.Request.

func NewGetOrgPoolParams

func NewGetOrgPoolParams() *GetOrgPoolParams

NewGetOrgPoolParams creates a new GetOrgPoolParams 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 NewGetOrgPoolParamsWithContext

func NewGetOrgPoolParamsWithContext(ctx context.Context) *GetOrgPoolParams

NewGetOrgPoolParamsWithContext creates a new GetOrgPoolParams object with the ability to set a context for a request.

func NewGetOrgPoolParamsWithHTTPClient

func NewGetOrgPoolParamsWithHTTPClient(client *http.Client) *GetOrgPoolParams

NewGetOrgPoolParamsWithHTTPClient creates a new GetOrgPoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrgPoolParamsWithTimeout

func NewGetOrgPoolParamsWithTimeout(timeout time.Duration) *GetOrgPoolParams

NewGetOrgPoolParamsWithTimeout creates a new GetOrgPoolParams object with the ability to set a timeout on a request.

func (*GetOrgPoolParams) SetContext

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

SetContext adds the context to the get org pool params

func (*GetOrgPoolParams) SetDefaults

func (o *GetOrgPoolParams) SetDefaults()

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

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

func (*GetOrgPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org pool params

func (*GetOrgPoolParams) SetOrgID

func (o *GetOrgPoolParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the get org pool params

func (*GetOrgPoolParams) SetPoolID

func (o *GetOrgPoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the get org pool params

func (*GetOrgPoolParams) SetTimeout

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

SetTimeout adds the timeout to the get org pool params

func (*GetOrgPoolParams) WithContext

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

WithContext adds the context to the get org pool params

func (*GetOrgPoolParams) WithDefaults

func (o *GetOrgPoolParams) WithDefaults() *GetOrgPoolParams

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

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

func (*GetOrgPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org pool params

func (*GetOrgPoolParams) WithOrgID

func (o *GetOrgPoolParams) WithOrgID(orgID string) *GetOrgPoolParams

WithOrgID adds the orgID to the get org pool params

func (*GetOrgPoolParams) WithPoolID

func (o *GetOrgPoolParams) WithPoolID(poolID string) *GetOrgPoolParams

WithPoolID adds the poolID to the get org pool params

func (*GetOrgPoolParams) WithTimeout

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

WithTimeout adds the timeout to the get org pool params

func (*GetOrgPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgPoolReader

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

GetOrgPoolReader is a Reader for the GetOrgPool structure.

func (*GetOrgPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgReader

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

GetOrgReader is a Reader for the GetOrg structure.

func (*GetOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrgInstancesDefault

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

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

APIErrorResponse

func NewListOrgInstancesDefault

func NewListOrgInstancesDefault(code int) *ListOrgInstancesDefault

NewListOrgInstancesDefault creates a ListOrgInstancesDefault with default headers values

func (*ListOrgInstancesDefault) Code

func (o *ListOrgInstancesDefault) Code() int

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

func (*ListOrgInstancesDefault) Error

func (o *ListOrgInstancesDefault) Error() string

func (*ListOrgInstancesDefault) GetPayload

func (*ListOrgInstancesDefault) IsClientError

func (o *ListOrgInstancesDefault) IsClientError() bool

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

func (*ListOrgInstancesDefault) IsCode

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

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

func (*ListOrgInstancesDefault) IsRedirect

func (o *ListOrgInstancesDefault) IsRedirect() bool

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

func (*ListOrgInstancesDefault) IsServerError

func (o *ListOrgInstancesDefault) IsServerError() bool

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

func (*ListOrgInstancesDefault) IsSuccess

func (o *ListOrgInstancesDefault) IsSuccess() bool

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

func (*ListOrgInstancesDefault) String

func (o *ListOrgInstancesDefault) String() string

type ListOrgInstancesOK

type ListOrgInstancesOK struct {
	Payload garm_params.Instances
}

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

Instances

func NewListOrgInstancesOK

func NewListOrgInstancesOK() *ListOrgInstancesOK

NewListOrgInstancesOK creates a ListOrgInstancesOK with default headers values

func (*ListOrgInstancesOK) Code

func (o *ListOrgInstancesOK) Code() int

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

func (*ListOrgInstancesOK) Error

func (o *ListOrgInstancesOK) Error() string

func (*ListOrgInstancesOK) GetPayload

func (o *ListOrgInstancesOK) GetPayload() garm_params.Instances

func (*ListOrgInstancesOK) IsClientError

func (o *ListOrgInstancesOK) IsClientError() bool

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

func (*ListOrgInstancesOK) IsCode

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

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

func (*ListOrgInstancesOK) IsRedirect

func (o *ListOrgInstancesOK) IsRedirect() bool

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

func (*ListOrgInstancesOK) IsServerError

func (o *ListOrgInstancesOK) IsServerError() bool

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

func (*ListOrgInstancesOK) IsSuccess

func (o *ListOrgInstancesOK) IsSuccess() bool

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

func (*ListOrgInstancesOK) String

func (o *ListOrgInstancesOK) String() string

type ListOrgInstancesParams

type ListOrgInstancesParams struct {

	/* OrgID.

	   Organization ID.
	*/
	OrgID string

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

ListOrgInstancesParams contains all the parameters to send to the API endpoint

for the list org instances operation.

Typically these are written to a http.Request.

func NewListOrgInstancesParams

func NewListOrgInstancesParams() *ListOrgInstancesParams

NewListOrgInstancesParams creates a new ListOrgInstancesParams 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 NewListOrgInstancesParamsWithContext

func NewListOrgInstancesParamsWithContext(ctx context.Context) *ListOrgInstancesParams

NewListOrgInstancesParamsWithContext creates a new ListOrgInstancesParams object with the ability to set a context for a request.

func NewListOrgInstancesParamsWithHTTPClient

func NewListOrgInstancesParamsWithHTTPClient(client *http.Client) *ListOrgInstancesParams

NewListOrgInstancesParamsWithHTTPClient creates a new ListOrgInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewListOrgInstancesParamsWithTimeout

func NewListOrgInstancesParamsWithTimeout(timeout time.Duration) *ListOrgInstancesParams

NewListOrgInstancesParamsWithTimeout creates a new ListOrgInstancesParams object with the ability to set a timeout on a request.

func (*ListOrgInstancesParams) SetContext

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

SetContext adds the context to the list org instances params

func (*ListOrgInstancesParams) SetDefaults

func (o *ListOrgInstancesParams) SetDefaults()

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

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

func (*ListOrgInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list org instances params

func (*ListOrgInstancesParams) SetOrgID

func (o *ListOrgInstancesParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the list org instances params

func (*ListOrgInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the list org instances params

func (*ListOrgInstancesParams) WithContext

WithContext adds the context to the list org instances params

func (*ListOrgInstancesParams) WithDefaults

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

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

func (*ListOrgInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list org instances params

func (*ListOrgInstancesParams) WithOrgID

WithOrgID adds the orgID to the list org instances params

func (*ListOrgInstancesParams) WithTimeout

WithTimeout adds the timeout to the list org instances params

func (*ListOrgInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOrgInstancesReader

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

ListOrgInstancesReader is a Reader for the ListOrgInstances structure.

func (*ListOrgInstancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrgPoolsDefault

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

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

APIErrorResponse

func NewListOrgPoolsDefault

func NewListOrgPoolsDefault(code int) *ListOrgPoolsDefault

NewListOrgPoolsDefault creates a ListOrgPoolsDefault with default headers values

func (*ListOrgPoolsDefault) Code

func (o *ListOrgPoolsDefault) Code() int

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

func (*ListOrgPoolsDefault) Error

func (o *ListOrgPoolsDefault) Error() string

func (*ListOrgPoolsDefault) GetPayload

func (*ListOrgPoolsDefault) IsClientError

func (o *ListOrgPoolsDefault) IsClientError() bool

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

func (*ListOrgPoolsDefault) IsCode

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

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

func (*ListOrgPoolsDefault) IsRedirect

func (o *ListOrgPoolsDefault) IsRedirect() bool

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

func (*ListOrgPoolsDefault) IsServerError

func (o *ListOrgPoolsDefault) IsServerError() bool

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

func (*ListOrgPoolsDefault) IsSuccess

func (o *ListOrgPoolsDefault) IsSuccess() bool

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

func (*ListOrgPoolsDefault) String

func (o *ListOrgPoolsDefault) String() string

type ListOrgPoolsOK

type ListOrgPoolsOK struct {
	Payload garm_params.Pools
}

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

Pools

func NewListOrgPoolsOK

func NewListOrgPoolsOK() *ListOrgPoolsOK

NewListOrgPoolsOK creates a ListOrgPoolsOK with default headers values

func (*ListOrgPoolsOK) Code

func (o *ListOrgPoolsOK) Code() int

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

func (*ListOrgPoolsOK) Error

func (o *ListOrgPoolsOK) Error() string

func (*ListOrgPoolsOK) GetPayload

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

func (*ListOrgPoolsOK) IsClientError

func (o *ListOrgPoolsOK) IsClientError() bool

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

func (*ListOrgPoolsOK) IsCode

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

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

func (*ListOrgPoolsOK) IsRedirect

func (o *ListOrgPoolsOK) IsRedirect() bool

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

func (*ListOrgPoolsOK) IsServerError

func (o *ListOrgPoolsOK) IsServerError() bool

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

func (*ListOrgPoolsOK) IsSuccess

func (o *ListOrgPoolsOK) IsSuccess() bool

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

func (*ListOrgPoolsOK) String

func (o *ListOrgPoolsOK) String() string

type ListOrgPoolsParams

type ListOrgPoolsParams struct {

	/* OrgID.

	   Organization ID.
	*/
	OrgID string

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

ListOrgPoolsParams contains all the parameters to send to the API endpoint

for the list org pools operation.

Typically these are written to a http.Request.

func NewListOrgPoolsParams

func NewListOrgPoolsParams() *ListOrgPoolsParams

NewListOrgPoolsParams creates a new ListOrgPoolsParams 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 NewListOrgPoolsParamsWithContext

func NewListOrgPoolsParamsWithContext(ctx context.Context) *ListOrgPoolsParams

NewListOrgPoolsParamsWithContext creates a new ListOrgPoolsParams object with the ability to set a context for a request.

func NewListOrgPoolsParamsWithHTTPClient

func NewListOrgPoolsParamsWithHTTPClient(client *http.Client) *ListOrgPoolsParams

NewListOrgPoolsParamsWithHTTPClient creates a new ListOrgPoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListOrgPoolsParamsWithTimeout

func NewListOrgPoolsParamsWithTimeout(timeout time.Duration) *ListOrgPoolsParams

NewListOrgPoolsParamsWithTimeout creates a new ListOrgPoolsParams object with the ability to set a timeout on a request.

func (*ListOrgPoolsParams) SetContext

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

SetContext adds the context to the list org pools params

func (*ListOrgPoolsParams) SetDefaults

func (o *ListOrgPoolsParams) SetDefaults()

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

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

func (*ListOrgPoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list org pools params

func (*ListOrgPoolsParams) SetOrgID

func (o *ListOrgPoolsParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the list org pools params

func (*ListOrgPoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list org pools params

func (*ListOrgPoolsParams) WithContext

WithContext adds the context to the list org pools params

func (*ListOrgPoolsParams) WithDefaults

func (o *ListOrgPoolsParams) WithDefaults() *ListOrgPoolsParams

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

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

func (*ListOrgPoolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list org pools params

func (*ListOrgPoolsParams) WithOrgID

func (o *ListOrgPoolsParams) WithOrgID(orgID string) *ListOrgPoolsParams

WithOrgID adds the orgID to the list org pools params

func (*ListOrgPoolsParams) WithTimeout

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

WithTimeout adds the timeout to the list org pools params

func (*ListOrgPoolsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListOrgPoolsReader

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

ListOrgPoolsReader is a Reader for the ListOrgPools structure.

func (*ListOrgPoolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOrgsDefault

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

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

APIErrorResponse

func NewListOrgsDefault

func NewListOrgsDefault(code int) *ListOrgsDefault

NewListOrgsDefault creates a ListOrgsDefault with default headers values

func (*ListOrgsDefault) Code

func (o *ListOrgsDefault) Code() int

Code gets the status code for the list orgs default response

func (*ListOrgsDefault) Error

func (o *ListOrgsDefault) Error() string

func (*ListOrgsDefault) GetPayload

func (*ListOrgsDefault) IsClientError

func (o *ListOrgsDefault) IsClientError() bool

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

func (*ListOrgsDefault) IsCode

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

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

func (*ListOrgsDefault) IsRedirect

func (o *ListOrgsDefault) IsRedirect() bool

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

func (*ListOrgsDefault) IsServerError

func (o *ListOrgsDefault) IsServerError() bool

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

func (*ListOrgsDefault) IsSuccess

func (o *ListOrgsDefault) IsSuccess() bool

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

func (*ListOrgsDefault) String

func (o *ListOrgsDefault) String() string

type ListOrgsOK

type ListOrgsOK struct {
	Payload garm_params.Organizations
}

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

Organizations

func NewListOrgsOK

func NewListOrgsOK() *ListOrgsOK

NewListOrgsOK creates a ListOrgsOK with default headers values

func (*ListOrgsOK) Code

func (o *ListOrgsOK) Code() int

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

func (*ListOrgsOK) Error

func (o *ListOrgsOK) Error() string

func (*ListOrgsOK) GetPayload

func (o *ListOrgsOK) GetPayload() garm_params.Organizations

func (*ListOrgsOK) IsClientError

func (o *ListOrgsOK) IsClientError() bool

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

func (*ListOrgsOK) IsCode

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

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

func (*ListOrgsOK) IsRedirect

func (o *ListOrgsOK) IsRedirect() bool

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

func (*ListOrgsOK) IsServerError

func (o *ListOrgsOK) IsServerError() bool

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

func (*ListOrgsOK) IsSuccess

func (o *ListOrgsOK) IsSuccess() bool

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

func (*ListOrgsOK) String

func (o *ListOrgsOK) String() string

type ListOrgsParams

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

ListOrgsParams contains all the parameters to send to the API endpoint

for the list orgs operation.

Typically these are written to a http.Request.

func NewListOrgsParams

func NewListOrgsParams() *ListOrgsParams

NewListOrgsParams creates a new ListOrgsParams 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 NewListOrgsParamsWithContext

func NewListOrgsParamsWithContext(ctx context.Context) *ListOrgsParams

NewListOrgsParamsWithContext creates a new ListOrgsParams object with the ability to set a context for a request.

func NewListOrgsParamsWithHTTPClient

func NewListOrgsParamsWithHTTPClient(client *http.Client) *ListOrgsParams

NewListOrgsParamsWithHTTPClient creates a new ListOrgsParams object with the ability to set a custom HTTPClient for a request.

func NewListOrgsParamsWithTimeout

func NewListOrgsParamsWithTimeout(timeout time.Duration) *ListOrgsParams

NewListOrgsParamsWithTimeout creates a new ListOrgsParams object with the ability to set a timeout on a request.

func (*ListOrgsParams) SetContext

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

SetContext adds the context to the list orgs params

func (*ListOrgsParams) SetDefaults

func (o *ListOrgsParams) SetDefaults()

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

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

func (*ListOrgsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list orgs params

func (*ListOrgsParams) SetTimeout

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

SetTimeout adds the timeout to the list orgs params

func (*ListOrgsParams) WithContext

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

WithContext adds the context to the list orgs params

func (*ListOrgsParams) WithDefaults

func (o *ListOrgsParams) WithDefaults() *ListOrgsParams

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

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

func (*ListOrgsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list orgs params

func (*ListOrgsParams) WithTimeout

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

WithTimeout adds the timeout to the list orgs params

func (*ListOrgsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListOrgsReader

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

ListOrgsReader is a Reader for the ListOrgs structure.

func (*ListOrgsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrgDefault

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

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

APIErrorResponse

func NewUpdateOrgDefault

func NewUpdateOrgDefault(code int) *UpdateOrgDefault

NewUpdateOrgDefault creates a UpdateOrgDefault with default headers values

func (*UpdateOrgDefault) Code

func (o *UpdateOrgDefault) Code() int

Code gets the status code for the update org default response

func (*UpdateOrgDefault) Error

func (o *UpdateOrgDefault) Error() string

func (*UpdateOrgDefault) GetPayload

func (*UpdateOrgDefault) IsClientError

func (o *UpdateOrgDefault) IsClientError() bool

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

func (*UpdateOrgDefault) IsCode

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

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

func (*UpdateOrgDefault) IsRedirect

func (o *UpdateOrgDefault) IsRedirect() bool

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

func (*UpdateOrgDefault) IsServerError

func (o *UpdateOrgDefault) IsServerError() bool

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

func (*UpdateOrgDefault) IsSuccess

func (o *UpdateOrgDefault) IsSuccess() bool

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

func (*UpdateOrgDefault) String

func (o *UpdateOrgDefault) String() string

type UpdateOrgOK

type UpdateOrgOK struct {
	Payload garm_params.Organization
}

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

Organization

func NewUpdateOrgOK

func NewUpdateOrgOK() *UpdateOrgOK

NewUpdateOrgOK creates a UpdateOrgOK with default headers values

func (*UpdateOrgOK) Code

func (o *UpdateOrgOK) Code() int

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

func (*UpdateOrgOK) Error

func (o *UpdateOrgOK) Error() string

func (*UpdateOrgOK) GetPayload

func (o *UpdateOrgOK) GetPayload() garm_params.Organization

func (*UpdateOrgOK) IsClientError

func (o *UpdateOrgOK) IsClientError() bool

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

func (*UpdateOrgOK) IsCode

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

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

func (*UpdateOrgOK) IsRedirect

func (o *UpdateOrgOK) IsRedirect() bool

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

func (*UpdateOrgOK) IsServerError

func (o *UpdateOrgOK) IsServerError() bool

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

func (*UpdateOrgOK) IsSuccess

func (o *UpdateOrgOK) IsSuccess() bool

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

func (*UpdateOrgOK) String

func (o *UpdateOrgOK) String() string

type UpdateOrgParams

type UpdateOrgParams struct {

	/* Body.

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

	/* OrgID.

	   ID of the organization to update.
	*/
	OrgID string

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

UpdateOrgParams contains all the parameters to send to the API endpoint

for the update org operation.

Typically these are written to a http.Request.

func NewUpdateOrgParams

func NewUpdateOrgParams() *UpdateOrgParams

NewUpdateOrgParams creates a new UpdateOrgParams 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 NewUpdateOrgParamsWithContext

func NewUpdateOrgParamsWithContext(ctx context.Context) *UpdateOrgParams

NewUpdateOrgParamsWithContext creates a new UpdateOrgParams object with the ability to set a context for a request.

func NewUpdateOrgParamsWithHTTPClient

func NewUpdateOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgParams

NewUpdateOrgParamsWithHTTPClient creates a new UpdateOrgParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgParamsWithTimeout

func NewUpdateOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgParams

NewUpdateOrgParamsWithTimeout creates a new UpdateOrgParams object with the ability to set a timeout on a request.

func (*UpdateOrgParams) SetBody

SetBody adds the body to the update org params

func (*UpdateOrgParams) SetContext

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

SetContext adds the context to the update org params

func (*UpdateOrgParams) SetDefaults

func (o *UpdateOrgParams) SetDefaults()

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

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

func (*UpdateOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update org params

func (*UpdateOrgParams) SetOrgID

func (o *UpdateOrgParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the update org params

func (*UpdateOrgParams) SetTimeout

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

SetTimeout adds the timeout to the update org params

func (*UpdateOrgParams) WithBody

WithBody adds the body to the update org params

func (*UpdateOrgParams) WithContext

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

WithContext adds the context to the update org params

func (*UpdateOrgParams) WithDefaults

func (o *UpdateOrgParams) WithDefaults() *UpdateOrgParams

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

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

func (*UpdateOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update org params

func (*UpdateOrgParams) WithOrgID

func (o *UpdateOrgParams) WithOrgID(orgID string) *UpdateOrgParams

WithOrgID adds the orgID to the update org params

func (*UpdateOrgParams) WithTimeout

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

WithTimeout adds the timeout to the update org params

func (*UpdateOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateOrgPoolDefault

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

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

APIErrorResponse

func NewUpdateOrgPoolDefault

func NewUpdateOrgPoolDefault(code int) *UpdateOrgPoolDefault

NewUpdateOrgPoolDefault creates a UpdateOrgPoolDefault with default headers values

func (*UpdateOrgPoolDefault) Code

func (o *UpdateOrgPoolDefault) Code() int

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

func (*UpdateOrgPoolDefault) Error

func (o *UpdateOrgPoolDefault) Error() string

func (*UpdateOrgPoolDefault) GetPayload

func (*UpdateOrgPoolDefault) IsClientError

func (o *UpdateOrgPoolDefault) IsClientError() bool

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

func (*UpdateOrgPoolDefault) IsCode

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

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

func (*UpdateOrgPoolDefault) IsRedirect

func (o *UpdateOrgPoolDefault) IsRedirect() bool

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

func (*UpdateOrgPoolDefault) IsServerError

func (o *UpdateOrgPoolDefault) IsServerError() bool

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

func (*UpdateOrgPoolDefault) IsSuccess

func (o *UpdateOrgPoolDefault) IsSuccess() bool

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

func (*UpdateOrgPoolDefault) String

func (o *UpdateOrgPoolDefault) String() string

type UpdateOrgPoolOK

type UpdateOrgPoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewUpdateOrgPoolOK

func NewUpdateOrgPoolOK() *UpdateOrgPoolOK

NewUpdateOrgPoolOK creates a UpdateOrgPoolOK with default headers values

func (*UpdateOrgPoolOK) Code

func (o *UpdateOrgPoolOK) Code() int

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

func (*UpdateOrgPoolOK) Error

func (o *UpdateOrgPoolOK) Error() string

func (*UpdateOrgPoolOK) GetPayload

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

func (*UpdateOrgPoolOK) IsClientError

func (o *UpdateOrgPoolOK) IsClientError() bool

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

func (*UpdateOrgPoolOK) IsCode

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

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

func (*UpdateOrgPoolOK) IsRedirect

func (o *UpdateOrgPoolOK) IsRedirect() bool

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

func (*UpdateOrgPoolOK) IsServerError

func (o *UpdateOrgPoolOK) IsServerError() bool

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

func (*UpdateOrgPoolOK) IsSuccess

func (o *UpdateOrgPoolOK) IsSuccess() bool

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

func (*UpdateOrgPoolOK) String

func (o *UpdateOrgPoolOK) String() string

type UpdateOrgPoolParams

type UpdateOrgPoolParams struct {

	/* Body.

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

	/* OrgID.

	   Organization ID.
	*/
	OrgID string

	/* PoolID.

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

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

UpdateOrgPoolParams contains all the parameters to send to the API endpoint

for the update org pool operation.

Typically these are written to a http.Request.

func NewUpdateOrgPoolParams

func NewUpdateOrgPoolParams() *UpdateOrgPoolParams

NewUpdateOrgPoolParams creates a new UpdateOrgPoolParams 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 NewUpdateOrgPoolParamsWithContext

func NewUpdateOrgPoolParamsWithContext(ctx context.Context) *UpdateOrgPoolParams

NewUpdateOrgPoolParamsWithContext creates a new UpdateOrgPoolParams object with the ability to set a context for a request.

func NewUpdateOrgPoolParamsWithHTTPClient

func NewUpdateOrgPoolParamsWithHTTPClient(client *http.Client) *UpdateOrgPoolParams

NewUpdateOrgPoolParamsWithHTTPClient creates a new UpdateOrgPoolParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrgPoolParamsWithTimeout

func NewUpdateOrgPoolParamsWithTimeout(timeout time.Duration) *UpdateOrgPoolParams

NewUpdateOrgPoolParamsWithTimeout creates a new UpdateOrgPoolParams object with the ability to set a timeout on a request.

func (*UpdateOrgPoolParams) SetBody

SetBody adds the body to the update org pool params

func (*UpdateOrgPoolParams) SetContext

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

SetContext adds the context to the update org pool params

func (*UpdateOrgPoolParams) SetDefaults

func (o *UpdateOrgPoolParams) SetDefaults()

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

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

func (*UpdateOrgPoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update org pool params

func (*UpdateOrgPoolParams) SetOrgID

func (o *UpdateOrgPoolParams) SetOrgID(orgID string)

SetOrgID adds the orgId to the update org pool params

func (*UpdateOrgPoolParams) SetPoolID

func (o *UpdateOrgPoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the update org pool params

func (*UpdateOrgPoolParams) SetTimeout

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

SetTimeout adds the timeout to the update org pool params

func (*UpdateOrgPoolParams) WithBody

WithBody adds the body to the update org pool params

func (*UpdateOrgPoolParams) WithContext

WithContext adds the context to the update org pool params

func (*UpdateOrgPoolParams) WithDefaults

func (o *UpdateOrgPoolParams) WithDefaults() *UpdateOrgPoolParams

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

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

func (*UpdateOrgPoolParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update org pool params

func (*UpdateOrgPoolParams) WithOrgID

func (o *UpdateOrgPoolParams) WithOrgID(orgID string) *UpdateOrgPoolParams

WithOrgID adds the orgID to the update org pool params

func (*UpdateOrgPoolParams) WithPoolID

func (o *UpdateOrgPoolParams) WithPoolID(poolID string) *UpdateOrgPoolParams

WithPoolID adds the poolID to the update org pool params

func (*UpdateOrgPoolParams) WithTimeout

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

WithTimeout adds the timeout to the update org pool params

func (*UpdateOrgPoolParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateOrgPoolReader

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

UpdateOrgPoolReader is a Reader for the UpdateOrgPool structure.

func (*UpdateOrgPoolReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrgReader

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

UpdateOrgReader is a Reader for the UpdateOrg structure.

func (*UpdateOrgReader) ReadResponse

func (o *UpdateOrgReader) 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