namespace_group

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

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 namespace group API

func (*Client) CreateNamespaceGroup

func (a *Client) CreateNamespaceGroup(params *CreateNamespaceGroupParams, opts ...ClientOption) (*CreateNamespaceGroupOK, error)

CreateNamespaceGroup create namespace group API

func (*Client) DeleteNamespaceGroup

func (a *Client) DeleteNamespaceGroup(params *DeleteNamespaceGroupParams, opts ...ClientOption) (*DeleteNamespaceGroupOK, error)

DeleteNamespaceGroup delete namespace group API

func (*Client) GetNamespaceGroups

func (a *Client) GetNamespaceGroups(params *GetNamespaceGroupsParams, opts ...ClientOption) (*GetNamespaceGroupsOK, error)

GetNamespaceGroups get namespace groups API

func (*Client) GetNamespaceGroupsConnection

func (a *Client) GetNamespaceGroupsConnection(params *GetNamespaceGroupsConnectionParams, opts ...ClientOption) (*GetNamespaceGroupsConnectionOK, error)

GetNamespaceGroupsConnection get namespace groups connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNamespaceGroup

func (a *Client) UpdateNamespaceGroup(params *UpdateNamespaceGroupParams, opts ...ClientOption) (*UpdateNamespaceGroupOK, error)

UpdateNamespaceGroup update namespace group API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateNamespaceGroup(params *CreateNamespaceGroupParams, opts ...ClientOption) (*CreateNamespaceGroupOK, error)

	DeleteNamespaceGroup(params *DeleteNamespaceGroupParams, opts ...ClientOption) (*DeleteNamespaceGroupOK, error)

	GetNamespaceGroups(params *GetNamespaceGroupsParams, opts ...ClientOption) (*GetNamespaceGroupsOK, error)

	GetNamespaceGroupsConnection(params *GetNamespaceGroupsConnectionParams, opts ...ClientOption) (*GetNamespaceGroupsConnectionOK, error)

	UpdateNamespaceGroup(params *UpdateNamespaceGroupParams, opts ...ClientOption) (*UpdateNamespaceGroupOK, 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 namespace group API client.

type CreateNamespaceGroupBadRequest

type CreateNamespaceGroupBadRequest struct {
	Payload string
}
CreateNamespaceGroupBadRequest describes a response with status code 400, with default header values.

CreateNamespaceGroupBadRequest create namespace group bad request

func NewCreateNamespaceGroupBadRequest

func NewCreateNamespaceGroupBadRequest() *CreateNamespaceGroupBadRequest

NewCreateNamespaceGroupBadRequest creates a CreateNamespaceGroupBadRequest with default headers values

func (*CreateNamespaceGroupBadRequest) Error

func (*CreateNamespaceGroupBadRequest) GetPayload

func (o *CreateNamespaceGroupBadRequest) GetPayload() string

type CreateNamespaceGroupOK

type CreateNamespaceGroupOK struct {
	Payload []*models.WithTaskNamespaceGroup
}
CreateNamespaceGroupOK describes a response with status code 200, with default header values.

Ok

func NewCreateNamespaceGroupOK

func NewCreateNamespaceGroupOK() *CreateNamespaceGroupOK

NewCreateNamespaceGroupOK creates a CreateNamespaceGroupOK with default headers values

func (*CreateNamespaceGroupOK) Error

func (o *CreateNamespaceGroupOK) Error() string

func (*CreateNamespaceGroupOK) GetPayload

type CreateNamespaceGroupParams

type CreateNamespaceGroupParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.NamespaceGroupCreationParams

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

CreateNamespaceGroupParams contains all the parameters to send to the API endpoint

for the create namespace group operation.

Typically these are written to a http.Request.

func NewCreateNamespaceGroupParams

func NewCreateNamespaceGroupParams() *CreateNamespaceGroupParams

NewCreateNamespaceGroupParams creates a new CreateNamespaceGroupParams 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 NewCreateNamespaceGroupParamsWithContext

func NewCreateNamespaceGroupParamsWithContext(ctx context.Context) *CreateNamespaceGroupParams

NewCreateNamespaceGroupParamsWithContext creates a new CreateNamespaceGroupParams object with the ability to set a context for a request.

func NewCreateNamespaceGroupParamsWithHTTPClient

func NewCreateNamespaceGroupParamsWithHTTPClient(client *http.Client) *CreateNamespaceGroupParams

NewCreateNamespaceGroupParamsWithHTTPClient creates a new CreateNamespaceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNamespaceGroupParamsWithTimeout

func NewCreateNamespaceGroupParamsWithTimeout(timeout time.Duration) *CreateNamespaceGroupParams

NewCreateNamespaceGroupParamsWithTimeout creates a new CreateNamespaceGroupParams object with the ability to set a timeout on a request.

func (*CreateNamespaceGroupParams) SetContentLanguage

func (o *CreateNamespaceGroupParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create namespace group params

func (*CreateNamespaceGroupParams) SetContext

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

SetContext adds the context to the create namespace group params

func (*CreateNamespaceGroupParams) SetDefaults

func (o *CreateNamespaceGroupParams) SetDefaults()

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

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

func (*CreateNamespaceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create namespace group params

func (*CreateNamespaceGroupParams) SetRequestBody

func (o *CreateNamespaceGroupParams) SetRequestBody(requestBody []*models.NamespaceGroupCreationParams)

SetRequestBody adds the requestBody to the create namespace group params

func (*CreateNamespaceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create namespace group params

func (*CreateNamespaceGroupParams) WithContentLanguage

func (o *CreateNamespaceGroupParams) WithContentLanguage(contentLanguage *string) *CreateNamespaceGroupParams

WithContentLanguage adds the contentLanguage to the create namespace group params

func (*CreateNamespaceGroupParams) WithContext

WithContext adds the context to the create namespace group params

func (*CreateNamespaceGroupParams) WithDefaults

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

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

func (*CreateNamespaceGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create namespace group params

func (*CreateNamespaceGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the create namespace group params

func (*CreateNamespaceGroupParams) WithTimeout

WithTimeout adds the timeout to the create namespace group params

func (*CreateNamespaceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNamespaceGroupReader

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

CreateNamespaceGroupReader is a Reader for the CreateNamespaceGroup structure.

func (*CreateNamespaceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNamespaceGroupBadRequest

type DeleteNamespaceGroupBadRequest struct {
	Payload string
}
DeleteNamespaceGroupBadRequest describes a response with status code 400, with default header values.

DeleteNamespaceGroupBadRequest delete namespace group bad request

func NewDeleteNamespaceGroupBadRequest

func NewDeleteNamespaceGroupBadRequest() *DeleteNamespaceGroupBadRequest

NewDeleteNamespaceGroupBadRequest creates a DeleteNamespaceGroupBadRequest with default headers values

func (*DeleteNamespaceGroupBadRequest) Error

func (*DeleteNamespaceGroupBadRequest) GetPayload

func (o *DeleteNamespaceGroupBadRequest) GetPayload() string

type DeleteNamespaceGroupOK

type DeleteNamespaceGroupOK struct {
	Payload []*models.WithTaskDeleteNamespaceGroup
}
DeleteNamespaceGroupOK describes a response with status code 200, with default header values.

Ok

func NewDeleteNamespaceGroupOK

func NewDeleteNamespaceGroupOK() *DeleteNamespaceGroupOK

NewDeleteNamespaceGroupOK creates a DeleteNamespaceGroupOK with default headers values

func (*DeleteNamespaceGroupOK) Error

func (o *DeleteNamespaceGroupOK) Error() string

func (*DeleteNamespaceGroupOK) GetPayload

type DeleteNamespaceGroupParams

type DeleteNamespaceGroupParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.NamespaceGroupDeletionParams

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

DeleteNamespaceGroupParams contains all the parameters to send to the API endpoint

for the delete namespace group operation.

Typically these are written to a http.Request.

func NewDeleteNamespaceGroupParams

func NewDeleteNamespaceGroupParams() *DeleteNamespaceGroupParams

NewDeleteNamespaceGroupParams creates a new DeleteNamespaceGroupParams 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 NewDeleteNamespaceGroupParamsWithContext

func NewDeleteNamespaceGroupParamsWithContext(ctx context.Context) *DeleteNamespaceGroupParams

NewDeleteNamespaceGroupParamsWithContext creates a new DeleteNamespaceGroupParams object with the ability to set a context for a request.

func NewDeleteNamespaceGroupParamsWithHTTPClient

func NewDeleteNamespaceGroupParamsWithHTTPClient(client *http.Client) *DeleteNamespaceGroupParams

NewDeleteNamespaceGroupParamsWithHTTPClient creates a new DeleteNamespaceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNamespaceGroupParamsWithTimeout

func NewDeleteNamespaceGroupParamsWithTimeout(timeout time.Duration) *DeleteNamespaceGroupParams

NewDeleteNamespaceGroupParamsWithTimeout creates a new DeleteNamespaceGroupParams object with the ability to set a timeout on a request.

func (*DeleteNamespaceGroupParams) SetContentLanguage

func (o *DeleteNamespaceGroupParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete namespace group params

func (*DeleteNamespaceGroupParams) SetContext

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

SetContext adds the context to the delete namespace group params

func (*DeleteNamespaceGroupParams) SetDefaults

func (o *DeleteNamespaceGroupParams) SetDefaults()

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

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

func (*DeleteNamespaceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete namespace group params

func (*DeleteNamespaceGroupParams) SetRequestBody

func (o *DeleteNamespaceGroupParams) SetRequestBody(requestBody *models.NamespaceGroupDeletionParams)

SetRequestBody adds the requestBody to the delete namespace group params

func (*DeleteNamespaceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete namespace group params

func (*DeleteNamespaceGroupParams) WithContentLanguage

func (o *DeleteNamespaceGroupParams) WithContentLanguage(contentLanguage *string) *DeleteNamespaceGroupParams

WithContentLanguage adds the contentLanguage to the delete namespace group params

func (*DeleteNamespaceGroupParams) WithContext

WithContext adds the context to the delete namespace group params

func (*DeleteNamespaceGroupParams) WithDefaults

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

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

func (*DeleteNamespaceGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete namespace group params

func (*DeleteNamespaceGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the delete namespace group params

func (*DeleteNamespaceGroupParams) WithTimeout

WithTimeout adds the timeout to the delete namespace group params

func (*DeleteNamespaceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNamespaceGroupReader

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

DeleteNamespaceGroupReader is a Reader for the DeleteNamespaceGroup structure.

func (*DeleteNamespaceGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespaceGroupsBadRequest

type GetNamespaceGroupsBadRequest struct {
	Payload string
}
GetNamespaceGroupsBadRequest describes a response with status code 400, with default header values.

GetNamespaceGroupsBadRequest get namespace groups bad request

func NewGetNamespaceGroupsBadRequest

func NewGetNamespaceGroupsBadRequest() *GetNamespaceGroupsBadRequest

NewGetNamespaceGroupsBadRequest creates a GetNamespaceGroupsBadRequest with default headers values

func (*GetNamespaceGroupsBadRequest) Error

func (*GetNamespaceGroupsBadRequest) GetPayload

func (o *GetNamespaceGroupsBadRequest) GetPayload() string

type GetNamespaceGroupsConnectionBadRequest

type GetNamespaceGroupsConnectionBadRequest struct {
	Payload string
}
GetNamespaceGroupsConnectionBadRequest describes a response with status code 400, with default header values.

GetNamespaceGroupsConnectionBadRequest get namespace groups connection bad request

func NewGetNamespaceGroupsConnectionBadRequest

func NewGetNamespaceGroupsConnectionBadRequest() *GetNamespaceGroupsConnectionBadRequest

NewGetNamespaceGroupsConnectionBadRequest creates a GetNamespaceGroupsConnectionBadRequest with default headers values

func (*GetNamespaceGroupsConnectionBadRequest) Error

func (*GetNamespaceGroupsConnectionBadRequest) GetPayload

type GetNamespaceGroupsConnectionOK

type GetNamespaceGroupsConnectionOK struct {
	Payload *models.NamespaceGroupConnection
}
GetNamespaceGroupsConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetNamespaceGroupsConnectionOK

func NewGetNamespaceGroupsConnectionOK() *GetNamespaceGroupsConnectionOK

NewGetNamespaceGroupsConnectionOK creates a GetNamespaceGroupsConnectionOK with default headers values

func (*GetNamespaceGroupsConnectionOK) Error

func (*GetNamespaceGroupsConnectionOK) GetPayload

type GetNamespaceGroupsConnectionParams

type GetNamespaceGroupsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetNamespaceGroupsConnectionRequestBody

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

GetNamespaceGroupsConnectionParams contains all the parameters to send to the API endpoint

for the get namespace groups connection operation.

Typically these are written to a http.Request.

func NewGetNamespaceGroupsConnectionParams

func NewGetNamespaceGroupsConnectionParams() *GetNamespaceGroupsConnectionParams

NewGetNamespaceGroupsConnectionParams creates a new GetNamespaceGroupsConnectionParams 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 NewGetNamespaceGroupsConnectionParamsWithContext

func NewGetNamespaceGroupsConnectionParamsWithContext(ctx context.Context) *GetNamespaceGroupsConnectionParams

NewGetNamespaceGroupsConnectionParamsWithContext creates a new GetNamespaceGroupsConnectionParams object with the ability to set a context for a request.

func NewGetNamespaceGroupsConnectionParamsWithHTTPClient

func NewGetNamespaceGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetNamespaceGroupsConnectionParams

NewGetNamespaceGroupsConnectionParamsWithHTTPClient creates a new GetNamespaceGroupsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetNamespaceGroupsConnectionParamsWithTimeout

func NewGetNamespaceGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetNamespaceGroupsConnectionParams

NewGetNamespaceGroupsConnectionParamsWithTimeout creates a new GetNamespaceGroupsConnectionParams object with the ability to set a timeout on a request.

func (*GetNamespaceGroupsConnectionParams) SetContentLanguage

func (o *GetNamespaceGroupsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) SetContext

SetContext adds the context to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) SetDefaults

func (o *GetNamespaceGroupsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get namespace groups connection params (not the query body).

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

func (*GetNamespaceGroupsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) WithContentLanguage

func (o *GetNamespaceGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNamespaceGroupsConnectionParams

WithContentLanguage adds the contentLanguage to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) WithContext

WithContext adds the context to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get namespace groups connection params (not the query body).

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

func (*GetNamespaceGroupsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get namespace groups connection params

func (*GetNamespaceGroupsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNamespaceGroupsConnectionReader

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

GetNamespaceGroupsConnectionReader is a Reader for the GetNamespaceGroupsConnection structure.

func (*GetNamespaceGroupsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespaceGroupsOK

type GetNamespaceGroupsOK struct {
	Payload []*models.NamespaceGroup
}
GetNamespaceGroupsOK describes a response with status code 200, with default header values.

Ok

func NewGetNamespaceGroupsOK

func NewGetNamespaceGroupsOK() *GetNamespaceGroupsOK

NewGetNamespaceGroupsOK creates a GetNamespaceGroupsOK with default headers values

func (*GetNamespaceGroupsOK) Error

func (o *GetNamespaceGroupsOK) Error() string

func (*GetNamespaceGroupsOK) GetPayload

func (o *GetNamespaceGroupsOK) GetPayload() []*models.NamespaceGroup

type GetNamespaceGroupsParams

type GetNamespaceGroupsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetNamespaceGroupsRequestBody

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

GetNamespaceGroupsParams contains all the parameters to send to the API endpoint

for the get namespace groups operation.

Typically these are written to a http.Request.

func NewGetNamespaceGroupsParams

func NewGetNamespaceGroupsParams() *GetNamespaceGroupsParams

NewGetNamespaceGroupsParams creates a new GetNamespaceGroupsParams 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 NewGetNamespaceGroupsParamsWithContext

func NewGetNamespaceGroupsParamsWithContext(ctx context.Context) *GetNamespaceGroupsParams

NewGetNamespaceGroupsParamsWithContext creates a new GetNamespaceGroupsParams object with the ability to set a context for a request.

func NewGetNamespaceGroupsParamsWithHTTPClient

func NewGetNamespaceGroupsParamsWithHTTPClient(client *http.Client) *GetNamespaceGroupsParams

NewGetNamespaceGroupsParamsWithHTTPClient creates a new GetNamespaceGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNamespaceGroupsParamsWithTimeout

func NewGetNamespaceGroupsParamsWithTimeout(timeout time.Duration) *GetNamespaceGroupsParams

NewGetNamespaceGroupsParamsWithTimeout creates a new GetNamespaceGroupsParams object with the ability to set a timeout on a request.

func (*GetNamespaceGroupsParams) SetContentLanguage

func (o *GetNamespaceGroupsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get namespace groups params

func (*GetNamespaceGroupsParams) SetContext

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

SetContext adds the context to the get namespace groups params

func (*GetNamespaceGroupsParams) SetDefaults

func (o *GetNamespaceGroupsParams) SetDefaults()

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

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

func (*GetNamespaceGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespace groups params

func (*GetNamespaceGroupsParams) SetRequestBody

func (o *GetNamespaceGroupsParams) SetRequestBody(requestBody *models.GetNamespaceGroupsRequestBody)

SetRequestBody adds the requestBody to the get namespace groups params

func (*GetNamespaceGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get namespace groups params

func (*GetNamespaceGroupsParams) WithContentLanguage

func (o *GetNamespaceGroupsParams) WithContentLanguage(contentLanguage *string) *GetNamespaceGroupsParams

WithContentLanguage adds the contentLanguage to the get namespace groups params

func (*GetNamespaceGroupsParams) WithContext

WithContext adds the context to the get namespace groups params

func (*GetNamespaceGroupsParams) WithDefaults

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

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

func (*GetNamespaceGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get namespace groups params

func (*GetNamespaceGroupsParams) WithRequestBody

WithRequestBody adds the requestBody to the get namespace groups params

func (*GetNamespaceGroupsParams) WithTimeout

WithTimeout adds the timeout to the get namespace groups params

func (*GetNamespaceGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNamespaceGroupsReader

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

GetNamespaceGroupsReader is a Reader for the GetNamespaceGroups structure.

func (*GetNamespaceGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNamespaceGroupBadRequest

type UpdateNamespaceGroupBadRequest struct {
	Payload string
}
UpdateNamespaceGroupBadRequest describes a response with status code 400, with default header values.

UpdateNamespaceGroupBadRequest update namespace group bad request

func NewUpdateNamespaceGroupBadRequest

func NewUpdateNamespaceGroupBadRequest() *UpdateNamespaceGroupBadRequest

NewUpdateNamespaceGroupBadRequest creates a UpdateNamespaceGroupBadRequest with default headers values

func (*UpdateNamespaceGroupBadRequest) Error

func (*UpdateNamespaceGroupBadRequest) GetPayload

func (o *UpdateNamespaceGroupBadRequest) GetPayload() string

type UpdateNamespaceGroupOK

type UpdateNamespaceGroupOK struct {
	Payload []*models.WithTaskNamespaceGroup
}
UpdateNamespaceGroupOK describes a response with status code 200, with default header values.

Ok

func NewUpdateNamespaceGroupOK

func NewUpdateNamespaceGroupOK() *UpdateNamespaceGroupOK

NewUpdateNamespaceGroupOK creates a UpdateNamespaceGroupOK with default headers values

func (*UpdateNamespaceGroupOK) Error

func (o *UpdateNamespaceGroupOK) Error() string

func (*UpdateNamespaceGroupOK) GetPayload

type UpdateNamespaceGroupParams

type UpdateNamespaceGroupParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.NamespaceGroupUpdationParams

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

UpdateNamespaceGroupParams contains all the parameters to send to the API endpoint

for the update namespace group operation.

Typically these are written to a http.Request.

func NewUpdateNamespaceGroupParams

func NewUpdateNamespaceGroupParams() *UpdateNamespaceGroupParams

NewUpdateNamespaceGroupParams creates a new UpdateNamespaceGroupParams 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 NewUpdateNamespaceGroupParamsWithContext

func NewUpdateNamespaceGroupParamsWithContext(ctx context.Context) *UpdateNamespaceGroupParams

NewUpdateNamespaceGroupParamsWithContext creates a new UpdateNamespaceGroupParams object with the ability to set a context for a request.

func NewUpdateNamespaceGroupParamsWithHTTPClient

func NewUpdateNamespaceGroupParamsWithHTTPClient(client *http.Client) *UpdateNamespaceGroupParams

NewUpdateNamespaceGroupParamsWithHTTPClient creates a new UpdateNamespaceGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNamespaceGroupParamsWithTimeout

func NewUpdateNamespaceGroupParamsWithTimeout(timeout time.Duration) *UpdateNamespaceGroupParams

NewUpdateNamespaceGroupParamsWithTimeout creates a new UpdateNamespaceGroupParams object with the ability to set a timeout on a request.

func (*UpdateNamespaceGroupParams) SetContentLanguage

func (o *UpdateNamespaceGroupParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update namespace group params

func (*UpdateNamespaceGroupParams) SetContext

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

SetContext adds the context to the update namespace group params

func (*UpdateNamespaceGroupParams) SetDefaults

func (o *UpdateNamespaceGroupParams) SetDefaults()

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

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

func (*UpdateNamespaceGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update namespace group params

func (*UpdateNamespaceGroupParams) SetRequestBody

func (o *UpdateNamespaceGroupParams) SetRequestBody(requestBody *models.NamespaceGroupUpdationParams)

SetRequestBody adds the requestBody to the update namespace group params

func (*UpdateNamespaceGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update namespace group params

func (*UpdateNamespaceGroupParams) WithContentLanguage

func (o *UpdateNamespaceGroupParams) WithContentLanguage(contentLanguage *string) *UpdateNamespaceGroupParams

WithContentLanguage adds the contentLanguage to the update namespace group params

func (*UpdateNamespaceGroupParams) WithContext

WithContext adds the context to the update namespace group params

func (*UpdateNamespaceGroupParams) WithDefaults

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

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

func (*UpdateNamespaceGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update namespace group params

func (*UpdateNamespaceGroupParams) WithRequestBody

WithRequestBody adds the requestBody to the update namespace group params

func (*UpdateNamespaceGroupParams) WithTimeout

WithTimeout adds the timeout to the update namespace group params

func (*UpdateNamespaceGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNamespaceGroupReader

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

UpdateNamespaceGroupReader is a Reader for the UpdateNamespaceGroup structure.

func (*UpdateNamespaceGroupReader) ReadResponse

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