Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateNamespaceGroup(params *CreateNamespaceGroupParams, opts ...ClientOption) (*CreateNamespaceGroupOK, error)
- func (a *Client) DeleteNamespaceGroup(params *DeleteNamespaceGroupParams, opts ...ClientOption) (*DeleteNamespaceGroupOK, error)
- func (a *Client) GetNamespaceGroups(params *GetNamespaceGroupsParams, opts ...ClientOption) (*GetNamespaceGroupsOK, error)
- func (a *Client) GetNamespaceGroupsConnection(params *GetNamespaceGroupsConnectionParams, opts ...ClientOption) (*GetNamespaceGroupsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNamespaceGroup(params *UpdateNamespaceGroupParams, opts ...ClientOption) (*UpdateNamespaceGroupOK, error)
- type ClientOption
- type ClientService
- type CreateNamespaceGroupBadRequest
- type CreateNamespaceGroupInternalServerError
- type CreateNamespaceGroupNotFound
- type CreateNamespaceGroupOK
- type CreateNamespaceGroupParams
- func NewCreateNamespaceGroupParams() *CreateNamespaceGroupParams
- func NewCreateNamespaceGroupParamsWithContext(ctx context.Context) *CreateNamespaceGroupParams
- func NewCreateNamespaceGroupParamsWithHTTPClient(client *http.Client) *CreateNamespaceGroupParams
- func NewCreateNamespaceGroupParamsWithTimeout(timeout time.Duration) *CreateNamespaceGroupParams
- func (o *CreateNamespaceGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateNamespaceGroupParams) SetContext(ctx context.Context)
- func (o *CreateNamespaceGroupParams) SetDefaults()
- func (o *CreateNamespaceGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateNamespaceGroupParams) SetRequestBody(requestBody []*models.NamespaceGroupCreationParams)
- func (o *CreateNamespaceGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateNamespaceGroupParams) WithContentLanguage(contentLanguage *string) *CreateNamespaceGroupParams
- func (o *CreateNamespaceGroupParams) WithContext(ctx context.Context) *CreateNamespaceGroupParams
- func (o *CreateNamespaceGroupParams) WithDefaults() *CreateNamespaceGroupParams
- func (o *CreateNamespaceGroupParams) WithHTTPClient(client *http.Client) *CreateNamespaceGroupParams
- func (o *CreateNamespaceGroupParams) WithRequestBody(requestBody []*models.NamespaceGroupCreationParams) *CreateNamespaceGroupParams
- func (o *CreateNamespaceGroupParams) WithTimeout(timeout time.Duration) *CreateNamespaceGroupParams
- func (o *CreateNamespaceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNamespaceGroupReader
- type DeleteNamespaceGroupBadRequest
- type DeleteNamespaceGroupInternalServerError
- type DeleteNamespaceGroupNotFound
- type DeleteNamespaceGroupOK
- type DeleteNamespaceGroupParams
- func NewDeleteNamespaceGroupParams() *DeleteNamespaceGroupParams
- func NewDeleteNamespaceGroupParamsWithContext(ctx context.Context) *DeleteNamespaceGroupParams
- func NewDeleteNamespaceGroupParamsWithHTTPClient(client *http.Client) *DeleteNamespaceGroupParams
- func NewDeleteNamespaceGroupParamsWithTimeout(timeout time.Duration) *DeleteNamespaceGroupParams
- func (o *DeleteNamespaceGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteNamespaceGroupParams) SetContext(ctx context.Context)
- func (o *DeleteNamespaceGroupParams) SetDefaults()
- func (o *DeleteNamespaceGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNamespaceGroupParams) SetRequestBody(requestBody *models.NamespaceGroupDeletionParams)
- func (o *DeleteNamespaceGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNamespaceGroupParams) WithContentLanguage(contentLanguage *string) *DeleteNamespaceGroupParams
- func (o *DeleteNamespaceGroupParams) WithContext(ctx context.Context) *DeleteNamespaceGroupParams
- func (o *DeleteNamespaceGroupParams) WithDefaults() *DeleteNamespaceGroupParams
- func (o *DeleteNamespaceGroupParams) WithHTTPClient(client *http.Client) *DeleteNamespaceGroupParams
- func (o *DeleteNamespaceGroupParams) WithRequestBody(requestBody *models.NamespaceGroupDeletionParams) *DeleteNamespaceGroupParams
- func (o *DeleteNamespaceGroupParams) WithTimeout(timeout time.Duration) *DeleteNamespaceGroupParams
- func (o *DeleteNamespaceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNamespaceGroupReader
- type GetNamespaceGroupsBadRequest
- type GetNamespaceGroupsConnectionBadRequest
- type GetNamespaceGroupsConnectionInternalServerError
- type GetNamespaceGroupsConnectionNotFound
- type GetNamespaceGroupsConnectionOK
- type GetNamespaceGroupsConnectionParams
- func NewGetNamespaceGroupsConnectionParams() *GetNamespaceGroupsConnectionParams
- func NewGetNamespaceGroupsConnectionParamsWithContext(ctx context.Context) *GetNamespaceGroupsConnectionParams
- func NewGetNamespaceGroupsConnectionParamsWithHTTPClient(client *http.Client) *GetNamespaceGroupsConnectionParams
- func NewGetNamespaceGroupsConnectionParamsWithTimeout(timeout time.Duration) *GetNamespaceGroupsConnectionParams
- func (o *GetNamespaceGroupsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNamespaceGroupsConnectionParams) SetContext(ctx context.Context)
- func (o *GetNamespaceGroupsConnectionParams) SetDefaults()
- func (o *GetNamespaceGroupsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetNamespaceGroupsConnectionParams) SetRequestBody(requestBody *models.GetNamespaceGroupsConnectionRequestBody)
- func (o *GetNamespaceGroupsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetNamespaceGroupsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNamespaceGroupsConnectionParams
- func (o *GetNamespaceGroupsConnectionParams) WithContext(ctx context.Context) *GetNamespaceGroupsConnectionParams
- func (o *GetNamespaceGroupsConnectionParams) WithDefaults() *GetNamespaceGroupsConnectionParams
- func (o *GetNamespaceGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetNamespaceGroupsConnectionParams
- func (o *GetNamespaceGroupsConnectionParams) WithRequestBody(requestBody *models.GetNamespaceGroupsConnectionRequestBody) *GetNamespaceGroupsConnectionParams
- func (o *GetNamespaceGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetNamespaceGroupsConnectionParams
- func (o *GetNamespaceGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNamespaceGroupsConnectionReader
- type GetNamespaceGroupsInternalServerError
- type GetNamespaceGroupsNotFound
- type GetNamespaceGroupsOK
- type GetNamespaceGroupsParams
- func NewGetNamespaceGroupsParams() *GetNamespaceGroupsParams
- func NewGetNamespaceGroupsParamsWithContext(ctx context.Context) *GetNamespaceGroupsParams
- func NewGetNamespaceGroupsParamsWithHTTPClient(client *http.Client) *GetNamespaceGroupsParams
- func NewGetNamespaceGroupsParamsWithTimeout(timeout time.Duration) *GetNamespaceGroupsParams
- func (o *GetNamespaceGroupsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNamespaceGroupsParams) SetContext(ctx context.Context)
- func (o *GetNamespaceGroupsParams) SetDefaults()
- func (o *GetNamespaceGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetNamespaceGroupsParams) SetRequestBody(requestBody *models.GetNamespaceGroupsRequestBody)
- func (o *GetNamespaceGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetNamespaceGroupsParams) WithContentLanguage(contentLanguage *string) *GetNamespaceGroupsParams
- func (o *GetNamespaceGroupsParams) WithContext(ctx context.Context) *GetNamespaceGroupsParams
- func (o *GetNamespaceGroupsParams) WithDefaults() *GetNamespaceGroupsParams
- func (o *GetNamespaceGroupsParams) WithHTTPClient(client *http.Client) *GetNamespaceGroupsParams
- func (o *GetNamespaceGroupsParams) WithRequestBody(requestBody *models.GetNamespaceGroupsRequestBody) *GetNamespaceGroupsParams
- func (o *GetNamespaceGroupsParams) WithTimeout(timeout time.Duration) *GetNamespaceGroupsParams
- func (o *GetNamespaceGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNamespaceGroupsReader
- type UpdateNamespaceGroupBadRequest
- type UpdateNamespaceGroupInternalServerError
- type UpdateNamespaceGroupNotFound
- type UpdateNamespaceGroupOK
- type UpdateNamespaceGroupParams
- func NewUpdateNamespaceGroupParams() *UpdateNamespaceGroupParams
- func NewUpdateNamespaceGroupParamsWithContext(ctx context.Context) *UpdateNamespaceGroupParams
- func NewUpdateNamespaceGroupParamsWithHTTPClient(client *http.Client) *UpdateNamespaceGroupParams
- func NewUpdateNamespaceGroupParamsWithTimeout(timeout time.Duration) *UpdateNamespaceGroupParams
- func (o *UpdateNamespaceGroupParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateNamespaceGroupParams) SetContext(ctx context.Context)
- func (o *UpdateNamespaceGroupParams) SetDefaults()
- func (o *UpdateNamespaceGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNamespaceGroupParams) SetRequestBody(requestBody *models.NamespaceGroupUpdationParams)
- func (o *UpdateNamespaceGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNamespaceGroupParams) WithContentLanguage(contentLanguage *string) *UpdateNamespaceGroupParams
- func (o *UpdateNamespaceGroupParams) WithContext(ctx context.Context) *UpdateNamespaceGroupParams
- func (o *UpdateNamespaceGroupParams) WithDefaults() *UpdateNamespaceGroupParams
- func (o *UpdateNamespaceGroupParams) WithHTTPClient(client *http.Client) *UpdateNamespaceGroupParams
- func (o *UpdateNamespaceGroupParams) WithRequestBody(requestBody *models.NamespaceGroupUpdationParams) *UpdateNamespaceGroupParams
- func (o *UpdateNamespaceGroupParams) WithTimeout(timeout time.Duration) *UpdateNamespaceGroupParams
- func (o *UpdateNamespaceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNamespaceGroupReader
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 ¶
CreateNamespaceGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateNamespaceGroupBadRequest ¶
func NewCreateNamespaceGroupBadRequest() *CreateNamespaceGroupBadRequest
NewCreateNamespaceGroupBadRequest creates a CreateNamespaceGroupBadRequest with default headers values
func (*CreateNamespaceGroupBadRequest) Error ¶
func (o *CreateNamespaceGroupBadRequest) Error() string
func (*CreateNamespaceGroupBadRequest) GetPayload ¶
func (o *CreateNamespaceGroupBadRequest) GetPayload() *models.ErrorBody
type CreateNamespaceGroupInternalServerError ¶
type CreateNamespaceGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateNamespaceGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateNamespaceGroupInternalServerError ¶
func NewCreateNamespaceGroupInternalServerError() *CreateNamespaceGroupInternalServerError
NewCreateNamespaceGroupInternalServerError creates a CreateNamespaceGroupInternalServerError with default headers values
func (*CreateNamespaceGroupInternalServerError) Error ¶
func (o *CreateNamespaceGroupInternalServerError) Error() string
func (*CreateNamespaceGroupInternalServerError) GetPayload ¶
func (o *CreateNamespaceGroupInternalServerError) GetPayload() *models.ErrorBody
type CreateNamespaceGroupNotFound ¶
CreateNamespaceGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateNamespaceGroupNotFound ¶
func NewCreateNamespaceGroupNotFound() *CreateNamespaceGroupNotFound
NewCreateNamespaceGroupNotFound creates a CreateNamespaceGroupNotFound with default headers values
func (*CreateNamespaceGroupNotFound) Error ¶
func (o *CreateNamespaceGroupNotFound) Error() string
func (*CreateNamespaceGroupNotFound) GetPayload ¶
func (o *CreateNamespaceGroupNotFound) GetPayload() *models.ErrorBody
type CreateNamespaceGroupOK ¶
type CreateNamespaceGroupOK struct { XTowerRequestID string Payload []*models.WithTaskNamespaceGroup }
CreateNamespaceGroupOK describes a response with status code 200, with default header values.
CreateNamespaceGroupOK create namespace group o k
func NewCreateNamespaceGroupOK ¶
func NewCreateNamespaceGroupOK() *CreateNamespaceGroupOK
NewCreateNamespaceGroupOK creates a CreateNamespaceGroupOK with default headers values
func (*CreateNamespaceGroupOK) Error ¶
func (o *CreateNamespaceGroupOK) Error() string
func (*CreateNamespaceGroupOK) GetPayload ¶
func (o *CreateNamespaceGroupOK) GetPayload() []*models.WithTaskNamespaceGroup
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 ¶
func (o *CreateNamespaceGroupParams) WithContext(ctx context.Context) *CreateNamespaceGroupParams
WithContext adds the context to the create namespace group params
func (*CreateNamespaceGroupParams) WithDefaults ¶
func (o *CreateNamespaceGroupParams) WithDefaults() *CreateNamespaceGroupParams
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 ¶
func (o *CreateNamespaceGroupParams) WithHTTPClient(client *http.Client) *CreateNamespaceGroupParams
WithHTTPClient adds the HTTPClient to the create namespace group params
func (*CreateNamespaceGroupParams) WithRequestBody ¶
func (o *CreateNamespaceGroupParams) WithRequestBody(requestBody []*models.NamespaceGroupCreationParams) *CreateNamespaceGroupParams
WithRequestBody adds the requestBody to the create namespace group params
func (*CreateNamespaceGroupParams) WithTimeout ¶
func (o *CreateNamespaceGroupParams) WithTimeout(timeout time.Duration) *CreateNamespaceGroupParams
WithTimeout adds the timeout to the create namespace group params
func (*CreateNamespaceGroupParams) WriteToRequest ¶
func (o *CreateNamespaceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
DeleteNamespaceGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteNamespaceGroupBadRequest ¶
func NewDeleteNamespaceGroupBadRequest() *DeleteNamespaceGroupBadRequest
NewDeleteNamespaceGroupBadRequest creates a DeleteNamespaceGroupBadRequest with default headers values
func (*DeleteNamespaceGroupBadRequest) Error ¶
func (o *DeleteNamespaceGroupBadRequest) Error() string
func (*DeleteNamespaceGroupBadRequest) GetPayload ¶
func (o *DeleteNamespaceGroupBadRequest) GetPayload() *models.ErrorBody
type DeleteNamespaceGroupInternalServerError ¶
type DeleteNamespaceGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteNamespaceGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteNamespaceGroupInternalServerError ¶
func NewDeleteNamespaceGroupInternalServerError() *DeleteNamespaceGroupInternalServerError
NewDeleteNamespaceGroupInternalServerError creates a DeleteNamespaceGroupInternalServerError with default headers values
func (*DeleteNamespaceGroupInternalServerError) Error ¶
func (o *DeleteNamespaceGroupInternalServerError) Error() string
func (*DeleteNamespaceGroupInternalServerError) GetPayload ¶
func (o *DeleteNamespaceGroupInternalServerError) GetPayload() *models.ErrorBody
type DeleteNamespaceGroupNotFound ¶
DeleteNamespaceGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteNamespaceGroupNotFound ¶
func NewDeleteNamespaceGroupNotFound() *DeleteNamespaceGroupNotFound
NewDeleteNamespaceGroupNotFound creates a DeleteNamespaceGroupNotFound with default headers values
func (*DeleteNamespaceGroupNotFound) Error ¶
func (o *DeleteNamespaceGroupNotFound) Error() string
func (*DeleteNamespaceGroupNotFound) GetPayload ¶
func (o *DeleteNamespaceGroupNotFound) GetPayload() *models.ErrorBody
type DeleteNamespaceGroupOK ¶
type DeleteNamespaceGroupOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteNamespaceGroup }
DeleteNamespaceGroupOK describes a response with status code 200, with default header values.
DeleteNamespaceGroupOK delete namespace group o k
func NewDeleteNamespaceGroupOK ¶
func NewDeleteNamespaceGroupOK() *DeleteNamespaceGroupOK
NewDeleteNamespaceGroupOK creates a DeleteNamespaceGroupOK with default headers values
func (*DeleteNamespaceGroupOK) Error ¶
func (o *DeleteNamespaceGroupOK) Error() string
func (*DeleteNamespaceGroupOK) GetPayload ¶
func (o *DeleteNamespaceGroupOK) GetPayload() []*models.WithTaskDeleteNamespaceGroup
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 ¶
func (o *DeleteNamespaceGroupParams) WithContext(ctx context.Context) *DeleteNamespaceGroupParams
WithContext adds the context to the delete namespace group params
func (*DeleteNamespaceGroupParams) WithDefaults ¶
func (o *DeleteNamespaceGroupParams) WithDefaults() *DeleteNamespaceGroupParams
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 ¶
func (o *DeleteNamespaceGroupParams) WithHTTPClient(client *http.Client) *DeleteNamespaceGroupParams
WithHTTPClient adds the HTTPClient to the delete namespace group params
func (*DeleteNamespaceGroupParams) WithRequestBody ¶
func (o *DeleteNamespaceGroupParams) WithRequestBody(requestBody *models.NamespaceGroupDeletionParams) *DeleteNamespaceGroupParams
WithRequestBody adds the requestBody to the delete namespace group params
func (*DeleteNamespaceGroupParams) WithTimeout ¶
func (o *DeleteNamespaceGroupParams) WithTimeout(timeout time.Duration) *DeleteNamespaceGroupParams
WithTimeout adds the timeout to the delete namespace group params
func (*DeleteNamespaceGroupParams) WriteToRequest ¶
func (o *DeleteNamespaceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
GetNamespaceGroupsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNamespaceGroupsBadRequest ¶
func NewGetNamespaceGroupsBadRequest() *GetNamespaceGroupsBadRequest
NewGetNamespaceGroupsBadRequest creates a GetNamespaceGroupsBadRequest with default headers values
func (*GetNamespaceGroupsBadRequest) Error ¶
func (o *GetNamespaceGroupsBadRequest) Error() string
func (*GetNamespaceGroupsBadRequest) GetPayload ¶
func (o *GetNamespaceGroupsBadRequest) GetPayload() *models.ErrorBody
type GetNamespaceGroupsConnectionBadRequest ¶
type GetNamespaceGroupsConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetNamespaceGroupsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNamespaceGroupsConnectionBadRequest ¶
func NewGetNamespaceGroupsConnectionBadRequest() *GetNamespaceGroupsConnectionBadRequest
NewGetNamespaceGroupsConnectionBadRequest creates a GetNamespaceGroupsConnectionBadRequest with default headers values
func (*GetNamespaceGroupsConnectionBadRequest) Error ¶
func (o *GetNamespaceGroupsConnectionBadRequest) Error() string
func (*GetNamespaceGroupsConnectionBadRequest) GetPayload ¶
func (o *GetNamespaceGroupsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetNamespaceGroupsConnectionInternalServerError ¶
type GetNamespaceGroupsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNamespaceGroupsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNamespaceGroupsConnectionInternalServerError ¶
func NewGetNamespaceGroupsConnectionInternalServerError() *GetNamespaceGroupsConnectionInternalServerError
NewGetNamespaceGroupsConnectionInternalServerError creates a GetNamespaceGroupsConnectionInternalServerError with default headers values
func (*GetNamespaceGroupsConnectionInternalServerError) Error ¶
func (o *GetNamespaceGroupsConnectionInternalServerError) Error() string
func (*GetNamespaceGroupsConnectionInternalServerError) GetPayload ¶
func (o *GetNamespaceGroupsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetNamespaceGroupsConnectionNotFound ¶
type GetNamespaceGroupsConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetNamespaceGroupsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNamespaceGroupsConnectionNotFound ¶
func NewGetNamespaceGroupsConnectionNotFound() *GetNamespaceGroupsConnectionNotFound
NewGetNamespaceGroupsConnectionNotFound creates a GetNamespaceGroupsConnectionNotFound with default headers values
func (*GetNamespaceGroupsConnectionNotFound) Error ¶
func (o *GetNamespaceGroupsConnectionNotFound) Error() string
func (*GetNamespaceGroupsConnectionNotFound) GetPayload ¶
func (o *GetNamespaceGroupsConnectionNotFound) GetPayload() *models.ErrorBody
type GetNamespaceGroupsConnectionOK ¶
type GetNamespaceGroupsConnectionOK struct { XTowerRequestID string Payload *models.NamespaceGroupConnection }
GetNamespaceGroupsConnectionOK describes a response with status code 200, with default header values.
GetNamespaceGroupsConnectionOK get namespace groups connection o k
func NewGetNamespaceGroupsConnectionOK ¶
func NewGetNamespaceGroupsConnectionOK() *GetNamespaceGroupsConnectionOK
NewGetNamespaceGroupsConnectionOK creates a GetNamespaceGroupsConnectionOK with default headers values
func (*GetNamespaceGroupsConnectionOK) Error ¶
func (o *GetNamespaceGroupsConnectionOK) Error() string
func (*GetNamespaceGroupsConnectionOK) GetPayload ¶
func (o *GetNamespaceGroupsConnectionOK) GetPayload() *models.NamespaceGroupConnection
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 ¶
func (o *GetNamespaceGroupsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNamespaceGroupsConnectionParams) SetRequestBody(requestBody *models.GetNamespaceGroupsConnectionRequestBody)
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 ¶
func (o *GetNamespaceGroupsConnectionParams) WithContext(ctx context.Context) *GetNamespaceGroupsConnectionParams
WithContext adds the context to the get namespace groups connection params
func (*GetNamespaceGroupsConnectionParams) WithDefaults ¶
func (o *GetNamespaceGroupsConnectionParams) WithDefaults() *GetNamespaceGroupsConnectionParams
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 ¶
func (o *GetNamespaceGroupsConnectionParams) WithHTTPClient(client *http.Client) *GetNamespaceGroupsConnectionParams
WithHTTPClient adds the HTTPClient to the get namespace groups connection params
func (*GetNamespaceGroupsConnectionParams) WithRequestBody ¶
func (o *GetNamespaceGroupsConnectionParams) WithRequestBody(requestBody *models.GetNamespaceGroupsConnectionRequestBody) *GetNamespaceGroupsConnectionParams
WithRequestBody adds the requestBody to the get namespace groups connection params
func (*GetNamespaceGroupsConnectionParams) WithTimeout ¶
func (o *GetNamespaceGroupsConnectionParams) WithTimeout(timeout time.Duration) *GetNamespaceGroupsConnectionParams
WithTimeout adds the timeout to the get namespace groups connection params
func (*GetNamespaceGroupsConnectionParams) WriteToRequest ¶
func (o *GetNamespaceGroupsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetNamespaceGroupsInternalServerError ¶
type GetNamespaceGroupsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNamespaceGroupsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNamespaceGroupsInternalServerError ¶
func NewGetNamespaceGroupsInternalServerError() *GetNamespaceGroupsInternalServerError
NewGetNamespaceGroupsInternalServerError creates a GetNamespaceGroupsInternalServerError with default headers values
func (*GetNamespaceGroupsInternalServerError) Error ¶
func (o *GetNamespaceGroupsInternalServerError) Error() string
func (*GetNamespaceGroupsInternalServerError) GetPayload ¶
func (o *GetNamespaceGroupsInternalServerError) GetPayload() *models.ErrorBody
type GetNamespaceGroupsNotFound ¶
GetNamespaceGroupsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNamespaceGroupsNotFound ¶
func NewGetNamespaceGroupsNotFound() *GetNamespaceGroupsNotFound
NewGetNamespaceGroupsNotFound creates a GetNamespaceGroupsNotFound with default headers values
func (*GetNamespaceGroupsNotFound) Error ¶
func (o *GetNamespaceGroupsNotFound) Error() string
func (*GetNamespaceGroupsNotFound) GetPayload ¶
func (o *GetNamespaceGroupsNotFound) GetPayload() *models.ErrorBody
type GetNamespaceGroupsOK ¶
type GetNamespaceGroupsOK struct { XTowerRequestID string Payload []*models.NamespaceGroup }
GetNamespaceGroupsOK describes a response with status code 200, with default header values.
GetNamespaceGroupsOK get namespace groups o k
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 ¶
func (o *GetNamespaceGroupsParams) WithContext(ctx context.Context) *GetNamespaceGroupsParams
WithContext adds the context to the get namespace groups params
func (*GetNamespaceGroupsParams) WithDefaults ¶
func (o *GetNamespaceGroupsParams) WithDefaults() *GetNamespaceGroupsParams
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 ¶
func (o *GetNamespaceGroupsParams) WithRequestBody(requestBody *models.GetNamespaceGroupsRequestBody) *GetNamespaceGroupsParams
WithRequestBody adds the requestBody to the get namespace groups params
func (*GetNamespaceGroupsParams) WithTimeout ¶
func (o *GetNamespaceGroupsParams) WithTimeout(timeout time.Duration) *GetNamespaceGroupsParams
WithTimeout adds the timeout to the get namespace groups params
func (*GetNamespaceGroupsParams) WriteToRequest ¶
func (o *GetNamespaceGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
UpdateNamespaceGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateNamespaceGroupBadRequest ¶
func NewUpdateNamespaceGroupBadRequest() *UpdateNamespaceGroupBadRequest
NewUpdateNamespaceGroupBadRequest creates a UpdateNamespaceGroupBadRequest with default headers values
func (*UpdateNamespaceGroupBadRequest) Error ¶
func (o *UpdateNamespaceGroupBadRequest) Error() string
func (*UpdateNamespaceGroupBadRequest) GetPayload ¶
func (o *UpdateNamespaceGroupBadRequest) GetPayload() *models.ErrorBody
type UpdateNamespaceGroupInternalServerError ¶
type UpdateNamespaceGroupInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateNamespaceGroupInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateNamespaceGroupInternalServerError ¶
func NewUpdateNamespaceGroupInternalServerError() *UpdateNamespaceGroupInternalServerError
NewUpdateNamespaceGroupInternalServerError creates a UpdateNamespaceGroupInternalServerError with default headers values
func (*UpdateNamespaceGroupInternalServerError) Error ¶
func (o *UpdateNamespaceGroupInternalServerError) Error() string
func (*UpdateNamespaceGroupInternalServerError) GetPayload ¶
func (o *UpdateNamespaceGroupInternalServerError) GetPayload() *models.ErrorBody
type UpdateNamespaceGroupNotFound ¶
UpdateNamespaceGroupNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateNamespaceGroupNotFound ¶
func NewUpdateNamespaceGroupNotFound() *UpdateNamespaceGroupNotFound
NewUpdateNamespaceGroupNotFound creates a UpdateNamespaceGroupNotFound with default headers values
func (*UpdateNamespaceGroupNotFound) Error ¶
func (o *UpdateNamespaceGroupNotFound) Error() string
func (*UpdateNamespaceGroupNotFound) GetPayload ¶
func (o *UpdateNamespaceGroupNotFound) GetPayload() *models.ErrorBody
type UpdateNamespaceGroupOK ¶
type UpdateNamespaceGroupOK struct { XTowerRequestID string Payload []*models.WithTaskNamespaceGroup }
UpdateNamespaceGroupOK describes a response with status code 200, with default header values.
UpdateNamespaceGroupOK update namespace group o k
func NewUpdateNamespaceGroupOK ¶
func NewUpdateNamespaceGroupOK() *UpdateNamespaceGroupOK
NewUpdateNamespaceGroupOK creates a UpdateNamespaceGroupOK with default headers values
func (*UpdateNamespaceGroupOK) Error ¶
func (o *UpdateNamespaceGroupOK) Error() string
func (*UpdateNamespaceGroupOK) GetPayload ¶
func (o *UpdateNamespaceGroupOK) GetPayload() []*models.WithTaskNamespaceGroup
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 ¶
func (o *UpdateNamespaceGroupParams) WithContext(ctx context.Context) *UpdateNamespaceGroupParams
WithContext adds the context to the update namespace group params
func (*UpdateNamespaceGroupParams) WithDefaults ¶
func (o *UpdateNamespaceGroupParams) WithDefaults() *UpdateNamespaceGroupParams
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 ¶
func (o *UpdateNamespaceGroupParams) WithHTTPClient(client *http.Client) *UpdateNamespaceGroupParams
WithHTTPClient adds the HTTPClient to the update namespace group params
func (*UpdateNamespaceGroupParams) WithRequestBody ¶
func (o *UpdateNamespaceGroupParams) WithRequestBody(requestBody *models.NamespaceGroupUpdationParams) *UpdateNamespaceGroupParams
WithRequestBody adds the requestBody to the update namespace group params
func (*UpdateNamespaceGroupParams) WithTimeout ¶
func (o *UpdateNamespaceGroupParams) WithTimeout(timeout time.Duration) *UpdateNamespaceGroupParams
WithTimeout adds the timeout to the update namespace group params
func (*UpdateNamespaceGroupParams) WriteToRequest ¶
func (o *UpdateNamespaceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_namespace_group_parameters.go
- create_namespace_group_responses.go
- delete_namespace_group_parameters.go
- delete_namespace_group_responses.go
- get_namespace_groups_connection_parameters.go
- get_namespace_groups_connection_responses.go
- get_namespace_groups_parameters.go
- get_namespace_groups_responses.go
- namespace_group_client.go
- update_namespace_group_parameters.go
- update_namespace_group_responses.go