groups

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMemberBadRequest

type AddMemberBadRequest struct {
	Payload *models.HTTPError
}
AddMemberBadRequest describes a response with status code 400, with default header values.

bad request

func NewAddMemberBadRequest

func NewAddMemberBadRequest() *AddMemberBadRequest

NewAddMemberBadRequest creates a AddMemberBadRequest with default headers values

func (*AddMemberBadRequest) Error

func (o *AddMemberBadRequest) Error() string

func (*AddMemberBadRequest) GetPayload

func (o *AddMemberBadRequest) GetPayload() *models.HTTPError

func (*AddMemberBadRequest) IsClientError

func (o *AddMemberBadRequest) IsClientError() bool

IsClientError returns true when this add member bad request response has a 4xx status code

func (*AddMemberBadRequest) IsCode

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

IsCode returns true when this add member bad request response a status code equal to that given

func (*AddMemberBadRequest) IsRedirect

func (o *AddMemberBadRequest) IsRedirect() bool

IsRedirect returns true when this add member bad request response has a 3xx status code

func (*AddMemberBadRequest) IsServerError

func (o *AddMemberBadRequest) IsServerError() bool

IsServerError returns true when this add member bad request response has a 5xx status code

func (*AddMemberBadRequest) IsSuccess

func (o *AddMemberBadRequest) IsSuccess() bool

IsSuccess returns true when this add member bad request response has a 2xx status code

func (*AddMemberBadRequest) String

func (o *AddMemberBadRequest) String() string

type AddMemberForbidden

type AddMemberForbidden struct {
	Payload *models.HTTPError
}
AddMemberForbidden describes a response with status code 403, with default header values.

forbidden

func NewAddMemberForbidden

func NewAddMemberForbidden() *AddMemberForbidden

NewAddMemberForbidden creates a AddMemberForbidden with default headers values

func (*AddMemberForbidden) Error

func (o *AddMemberForbidden) Error() string

func (*AddMemberForbidden) GetPayload

func (o *AddMemberForbidden) GetPayload() *models.HTTPError

func (*AddMemberForbidden) IsClientError

func (o *AddMemberForbidden) IsClientError() bool

IsClientError returns true when this add member forbidden response has a 4xx status code

func (*AddMemberForbidden) IsCode

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

IsCode returns true when this add member forbidden response a status code equal to that given

func (*AddMemberForbidden) IsRedirect

func (o *AddMemberForbidden) IsRedirect() bool

IsRedirect returns true when this add member forbidden response has a 3xx status code

func (*AddMemberForbidden) IsServerError

func (o *AddMemberForbidden) IsServerError() bool

IsServerError returns true when this add member forbidden response has a 5xx status code

func (*AddMemberForbidden) IsSuccess

func (o *AddMemberForbidden) IsSuccess() bool

IsSuccess returns true when this add member forbidden response has a 2xx status code

func (*AddMemberForbidden) String

func (o *AddMemberForbidden) String() string

type AddMemberInternalServerError

type AddMemberInternalServerError struct {
	Payload *models.HTTPError
}
AddMemberInternalServerError describes a response with status code 500, with default header values.

server error

func NewAddMemberInternalServerError

func NewAddMemberInternalServerError() *AddMemberInternalServerError

NewAddMemberInternalServerError creates a AddMemberInternalServerError with default headers values

func (*AddMemberInternalServerError) Error

func (*AddMemberInternalServerError) GetPayload

func (*AddMemberInternalServerError) IsClientError

func (o *AddMemberInternalServerError) IsClientError() bool

IsClientError returns true when this add member internal server error response has a 4xx status code

func (*AddMemberInternalServerError) IsCode

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

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

func (*AddMemberInternalServerError) IsRedirect

func (o *AddMemberInternalServerError) IsRedirect() bool

IsRedirect returns true when this add member internal server error response has a 3xx status code

func (*AddMemberInternalServerError) IsServerError

func (o *AddMemberInternalServerError) IsServerError() bool

IsServerError returns true when this add member internal server error response has a 5xx status code

func (*AddMemberInternalServerError) IsSuccess

func (o *AddMemberInternalServerError) IsSuccess() bool

IsSuccess returns true when this add member internal server error response has a 2xx status code

func (*AddMemberInternalServerError) String

type AddMemberOK

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

no error

func NewAddMemberOK

func NewAddMemberOK() *AddMemberOK

NewAddMemberOK creates a AddMemberOK with default headers values

func (*AddMemberOK) Error

func (o *AddMemberOK) Error() string

func (*AddMemberOK) GetPayload

func (o *AddMemberOK) GetPayload() *models.AddMemberResponse

func (*AddMemberOK) IsClientError

func (o *AddMemberOK) IsClientError() bool

IsClientError returns true when this add member o k response has a 4xx status code

func (*AddMemberOK) IsCode

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

IsCode returns true when this add member o k response a status code equal to that given

func (*AddMemberOK) IsRedirect

func (o *AddMemberOK) IsRedirect() bool

IsRedirect returns true when this add member o k response has a 3xx status code

func (*AddMemberOK) IsServerError

func (o *AddMemberOK) IsServerError() bool

IsServerError returns true when this add member o k response has a 5xx status code

func (*AddMemberOK) IsSuccess

func (o *AddMemberOK) IsSuccess() bool

IsSuccess returns true when this add member o k response has a 2xx status code

func (*AddMemberOK) String

func (o *AddMemberOK) String() string

type AddMemberParams

type AddMemberParams struct {

	// Body.
	Body *models.MemberRequest

	/* Name.

	   Group name
	*/
	Name string

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

AddMemberParams contains all the parameters to send to the API endpoint

for the add member operation.

Typically these are written to a http.Request.

func NewAddMemberParams

func NewAddMemberParams() *AddMemberParams

NewAddMemberParams creates a new AddMemberParams 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 NewAddMemberParamsWithContext

func NewAddMemberParamsWithContext(ctx context.Context) *AddMemberParams

NewAddMemberParamsWithContext creates a new AddMemberParams object with the ability to set a context for a request.

func NewAddMemberParamsWithHTTPClient

func NewAddMemberParamsWithHTTPClient(client *http.Client) *AddMemberParams

NewAddMemberParamsWithHTTPClient creates a new AddMemberParams object with the ability to set a custom HTTPClient for a request.

func NewAddMemberParamsWithTimeout

func NewAddMemberParamsWithTimeout(timeout time.Duration) *AddMemberParams

NewAddMemberParamsWithTimeout creates a new AddMemberParams object with the ability to set a timeout on a request.

func (*AddMemberParams) SetBody

func (o *AddMemberParams) SetBody(body *models.MemberRequest)

SetBody adds the body to the add member params

func (*AddMemberParams) SetContext

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

SetContext adds the context to the add member params

func (*AddMemberParams) SetDefaults

func (o *AddMemberParams) SetDefaults()

SetDefaults hydrates default values in the add member params (not the query body).

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

func (*AddMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add member params

func (*AddMemberParams) SetName

func (o *AddMemberParams) SetName(name string)

SetName adds the name to the add member params

func (*AddMemberParams) SetTimeout

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

SetTimeout adds the timeout to the add member params

func (*AddMemberParams) WithBody

WithBody adds the body to the add member params

func (*AddMemberParams) WithContext

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

WithContext adds the context to the add member params

func (*AddMemberParams) WithDefaults

func (o *AddMemberParams) WithDefaults() *AddMemberParams

WithDefaults hydrates default values in the add member params (not the query body).

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

func (*AddMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add member params

func (*AddMemberParams) WithName

func (o *AddMemberParams) WithName(name string) *AddMemberParams

WithName adds the name to the add member params

func (*AddMemberParams) WithTimeout

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

WithTimeout adds the timeout to the add member params

func (*AddMemberParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddMemberReader

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

AddMemberReader is a Reader for the AddMember structure.

func (*AddMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddMemberUnauthorized

type AddMemberUnauthorized struct {
	Payload *models.HTTPError
}
AddMemberUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAddMemberUnauthorized

func NewAddMemberUnauthorized() *AddMemberUnauthorized

NewAddMemberUnauthorized creates a AddMemberUnauthorized with default headers values

func (*AddMemberUnauthorized) Error

func (o *AddMemberUnauthorized) Error() string

func (*AddMemberUnauthorized) GetPayload

func (o *AddMemberUnauthorized) GetPayload() *models.HTTPError

func (*AddMemberUnauthorized) IsClientError

func (o *AddMemberUnauthorized) IsClientError() bool

IsClientError returns true when this add member unauthorized response has a 4xx status code

func (*AddMemberUnauthorized) IsCode

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

IsCode returns true when this add member unauthorized response a status code equal to that given

func (*AddMemberUnauthorized) IsRedirect

func (o *AddMemberUnauthorized) IsRedirect() bool

IsRedirect returns true when this add member unauthorized response has a 3xx status code

func (*AddMemberUnauthorized) IsServerError

func (o *AddMemberUnauthorized) IsServerError() bool

IsServerError returns true when this add member unauthorized response has a 5xx status code

func (*AddMemberUnauthorized) IsSuccess

func (o *AddMemberUnauthorized) IsSuccess() bool

IsSuccess returns true when this add member unauthorized response has a 2xx status code

func (*AddMemberUnauthorized) String

func (o *AddMemberUnauthorized) String() string

type Client

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

Client for groups API

func (*Client) AddMember

func (a *Client) AddMember(params *AddMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddMemberOK, error)

AddMember adds members to group

Add one or more members to a group.

func (*Client) CreateGroup

func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGroupCreated, error)

CreateGroup creates group

Create a new group.

func (*Client) DeleteGroup

DeleteGroup deletes group

Delete Group if it exists.

func (*Client) DeleteMember

func (a *Client) DeleteMember(params *DeleteMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMemberNoContent, error)

DeleteMember deletes members from group

Delete one or more members from a group.

func (*Client) GetGroup

func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupOK, error)

GetGroup gets group

Retrieve an existing group by name.

func (*Client) RestoreGroup

func (a *Client) RestoreGroup(params *RestoreGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreGroupOK, error)

RestoreGroup restores group

Restore a soft-deleted group.

func (*Client) SearchGroups

func (a *Client) SearchGroups(params *SearchGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchGroupsOK, error)

SearchGroups searches groups

Search for one or more groups by name.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddMember(params *AddMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddMemberOK, error)

	CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGroupCreated, error)

	DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupOK, *DeleteGroupNoContent, error)

	DeleteMember(params *DeleteMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMemberNoContent, error)

	GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupOK, error)

	RestoreGroup(params *RestoreGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreGroupOK, error)

	SearchGroups(params *SearchGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchGroupsOK, 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 groups API client.

type CreateGroupBadRequest

type CreateGroupBadRequest struct {
	Payload *models.HTTPError
}
CreateGroupBadRequest describes a response with status code 400, with default header values.

bad request

func NewCreateGroupBadRequest

func NewCreateGroupBadRequest() *CreateGroupBadRequest

NewCreateGroupBadRequest creates a CreateGroupBadRequest with default headers values

func (*CreateGroupBadRequest) Error

func (o *CreateGroupBadRequest) Error() string

func (*CreateGroupBadRequest) GetPayload

func (o *CreateGroupBadRequest) GetPayload() *models.HTTPError

func (*CreateGroupBadRequest) IsClientError

func (o *CreateGroupBadRequest) IsClientError() bool

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

func (*CreateGroupBadRequest) IsCode

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

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

func (*CreateGroupBadRequest) IsRedirect

func (o *CreateGroupBadRequest) IsRedirect() bool

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

func (*CreateGroupBadRequest) IsServerError

func (o *CreateGroupBadRequest) IsServerError() bool

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

func (*CreateGroupBadRequest) IsSuccess

func (o *CreateGroupBadRequest) IsSuccess() bool

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

func (*CreateGroupBadRequest) String

func (o *CreateGroupBadRequest) String() string

type CreateGroupCreated

type CreateGroupCreated struct {
	Payload *models.AddMemberResponse
}
CreateGroupCreated describes a response with status code 201, with default header values.

no error

func NewCreateGroupCreated

func NewCreateGroupCreated() *CreateGroupCreated

NewCreateGroupCreated creates a CreateGroupCreated with default headers values

func (*CreateGroupCreated) Error

func (o *CreateGroupCreated) Error() string

func (*CreateGroupCreated) GetPayload

func (o *CreateGroupCreated) GetPayload() *models.AddMemberResponse

func (*CreateGroupCreated) IsClientError

func (o *CreateGroupCreated) IsClientError() bool

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

func (*CreateGroupCreated) IsCode

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

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

func (*CreateGroupCreated) IsRedirect

func (o *CreateGroupCreated) IsRedirect() bool

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

func (*CreateGroupCreated) IsServerError

func (o *CreateGroupCreated) IsServerError() bool

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

func (*CreateGroupCreated) IsSuccess

func (o *CreateGroupCreated) IsSuccess() bool

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

func (*CreateGroupCreated) String

func (o *CreateGroupCreated) String() string

type CreateGroupForbidden

type CreateGroupForbidden struct {
	Payload *models.HTTPError
}
CreateGroupForbidden describes a response with status code 403, with default header values.

forbidden

func NewCreateGroupForbidden

func NewCreateGroupForbidden() *CreateGroupForbidden

NewCreateGroupForbidden creates a CreateGroupForbidden with default headers values

func (*CreateGroupForbidden) Error

func (o *CreateGroupForbidden) Error() string

func (*CreateGroupForbidden) GetPayload

func (o *CreateGroupForbidden) GetPayload() *models.HTTPError

func (*CreateGroupForbidden) IsClientError

func (o *CreateGroupForbidden) IsClientError() bool

IsClientError returns true when this create group forbidden response has a 4xx status code

func (*CreateGroupForbidden) IsCode

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

IsCode returns true when this create group forbidden response a status code equal to that given

func (*CreateGroupForbidden) IsRedirect

func (o *CreateGroupForbidden) IsRedirect() bool

IsRedirect returns true when this create group forbidden response has a 3xx status code

func (*CreateGroupForbidden) IsServerError

func (o *CreateGroupForbidden) IsServerError() bool

IsServerError returns true when this create group forbidden response has a 5xx status code

func (*CreateGroupForbidden) IsSuccess

func (o *CreateGroupForbidden) IsSuccess() bool

IsSuccess returns true when this create group forbidden response has a 2xx status code

func (*CreateGroupForbidden) String

func (o *CreateGroupForbidden) String() string

type CreateGroupInternalServerError

type CreateGroupInternalServerError struct {
	Payload *models.HTTPError
}
CreateGroupInternalServerError describes a response with status code 500, with default header values.

server error

func NewCreateGroupInternalServerError

func NewCreateGroupInternalServerError() *CreateGroupInternalServerError

NewCreateGroupInternalServerError creates a CreateGroupInternalServerError with default headers values

func (*CreateGroupInternalServerError) Error

func (*CreateGroupInternalServerError) GetPayload

func (*CreateGroupInternalServerError) IsClientError

func (o *CreateGroupInternalServerError) IsClientError() bool

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

func (*CreateGroupInternalServerError) IsCode

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

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

func (*CreateGroupInternalServerError) IsRedirect

func (o *CreateGroupInternalServerError) IsRedirect() bool

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

func (*CreateGroupInternalServerError) IsServerError

func (o *CreateGroupInternalServerError) IsServerError() bool

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

func (*CreateGroupInternalServerError) IsSuccess

func (o *CreateGroupInternalServerError) IsSuccess() bool

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

func (*CreateGroupInternalServerError) String

type CreateGroupParams

type CreateGroupParams struct {

	// Body.
	Body *models.CreateGroup

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

CreateGroupParams contains all the parameters to send to the API endpoint

for the create group operation.

Typically these are written to a http.Request.

func NewCreateGroupParams

func NewCreateGroupParams() *CreateGroupParams

NewCreateGroupParams creates a new CreateGroupParams 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 NewCreateGroupParamsWithContext

func NewCreateGroupParamsWithContext(ctx context.Context) *CreateGroupParams

NewCreateGroupParamsWithContext creates a new CreateGroupParams object with the ability to set a context for a request.

func NewCreateGroupParamsWithHTTPClient

func NewCreateGroupParamsWithHTTPClient(client *http.Client) *CreateGroupParams

NewCreateGroupParamsWithHTTPClient creates a new CreateGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGroupParamsWithTimeout

func NewCreateGroupParamsWithTimeout(timeout time.Duration) *CreateGroupParams

NewCreateGroupParamsWithTimeout creates a new CreateGroupParams object with the ability to set a timeout on a request.

func (*CreateGroupParams) SetBody

func (o *CreateGroupParams) SetBody(body *models.CreateGroup)

SetBody adds the body to the create group params

func (*CreateGroupParams) SetContext

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

SetContext adds the context to the create group params

func (*CreateGroupParams) SetDefaults

func (o *CreateGroupParams) SetDefaults()

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

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

func (*CreateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create group params

func (*CreateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create group params

func (*CreateGroupParams) WithBody

WithBody adds the body to the create group params

func (*CreateGroupParams) WithContext

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

WithContext adds the context to the create group params

func (*CreateGroupParams) WithDefaults

func (o *CreateGroupParams) WithDefaults() *CreateGroupParams

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

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

func (*CreateGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create group params

func (*CreateGroupParams) WithTimeout

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

WithTimeout adds the timeout to the create group params

func (*CreateGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateGroupReader

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

CreateGroupReader is a Reader for the CreateGroup structure.

func (*CreateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateGroupUnauthorized

type CreateGroupUnauthorized struct {
	Payload *models.HTTPError
}
CreateGroupUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewCreateGroupUnauthorized

func NewCreateGroupUnauthorized() *CreateGroupUnauthorized

NewCreateGroupUnauthorized creates a CreateGroupUnauthorized with default headers values

func (*CreateGroupUnauthorized) Error

func (o *CreateGroupUnauthorized) Error() string

func (*CreateGroupUnauthorized) GetPayload

func (o *CreateGroupUnauthorized) GetPayload() *models.HTTPError

func (*CreateGroupUnauthorized) IsClientError

func (o *CreateGroupUnauthorized) IsClientError() bool

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

func (*CreateGroupUnauthorized) IsCode

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

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

func (*CreateGroupUnauthorized) IsRedirect

func (o *CreateGroupUnauthorized) IsRedirect() bool

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

func (*CreateGroupUnauthorized) IsServerError

func (o *CreateGroupUnauthorized) IsServerError() bool

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

func (*CreateGroupUnauthorized) IsSuccess

func (o *CreateGroupUnauthorized) IsSuccess() bool

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

func (*CreateGroupUnauthorized) String

func (o *CreateGroupUnauthorized) String() string

type DeleteGroupBadRequest

type DeleteGroupBadRequest struct {
	Payload *models.HTTPError
}
DeleteGroupBadRequest describes a response with status code 400, with default header values.

bad request

func NewDeleteGroupBadRequest

func NewDeleteGroupBadRequest() *DeleteGroupBadRequest

NewDeleteGroupBadRequest creates a DeleteGroupBadRequest with default headers values

func (*DeleteGroupBadRequest) Error

func (o *DeleteGroupBadRequest) Error() string

func (*DeleteGroupBadRequest) GetPayload

func (o *DeleteGroupBadRequest) GetPayload() *models.HTTPError

func (*DeleteGroupBadRequest) IsClientError

func (o *DeleteGroupBadRequest) IsClientError() bool

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

func (*DeleteGroupBadRequest) IsCode

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

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

func (*DeleteGroupBadRequest) IsRedirect

func (o *DeleteGroupBadRequest) IsRedirect() bool

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

func (*DeleteGroupBadRequest) IsServerError

func (o *DeleteGroupBadRequest) IsServerError() bool

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

func (*DeleteGroupBadRequest) IsSuccess

func (o *DeleteGroupBadRequest) IsSuccess() bool

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

func (*DeleteGroupBadRequest) String

func (o *DeleteGroupBadRequest) String() string

type DeleteGroupForbidden

type DeleteGroupForbidden struct {
	Payload *models.HTTPError
}
DeleteGroupForbidden describes a response with status code 403, with default header values.

forbidden

func NewDeleteGroupForbidden

func NewDeleteGroupForbidden() *DeleteGroupForbidden

NewDeleteGroupForbidden creates a DeleteGroupForbidden with default headers values

func (*DeleteGroupForbidden) Error

func (o *DeleteGroupForbidden) Error() string

func (*DeleteGroupForbidden) GetPayload

func (o *DeleteGroupForbidden) GetPayload() *models.HTTPError

func (*DeleteGroupForbidden) IsClientError

func (o *DeleteGroupForbidden) IsClientError() bool

IsClientError returns true when this delete group forbidden response has a 4xx status code

func (*DeleteGroupForbidden) IsCode

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

IsCode returns true when this delete group forbidden response a status code equal to that given

func (*DeleteGroupForbidden) IsRedirect

func (o *DeleteGroupForbidden) IsRedirect() bool

IsRedirect returns true when this delete group forbidden response has a 3xx status code

func (*DeleteGroupForbidden) IsServerError

func (o *DeleteGroupForbidden) IsServerError() bool

IsServerError returns true when this delete group forbidden response has a 5xx status code

func (*DeleteGroupForbidden) IsSuccess

func (o *DeleteGroupForbidden) IsSuccess() bool

IsSuccess returns true when this delete group forbidden response has a 2xx status code

func (*DeleteGroupForbidden) String

func (o *DeleteGroupForbidden) String() string

type DeleteGroupInternalServerError

type DeleteGroupInternalServerError struct {
	Payload *models.HTTPError
}
DeleteGroupInternalServerError describes a response with status code 500, with default header values.

server error

func NewDeleteGroupInternalServerError

func NewDeleteGroupInternalServerError() *DeleteGroupInternalServerError

NewDeleteGroupInternalServerError creates a DeleteGroupInternalServerError with default headers values

func (*DeleteGroupInternalServerError) Error

func (*DeleteGroupInternalServerError) GetPayload

func (*DeleteGroupInternalServerError) IsClientError

func (o *DeleteGroupInternalServerError) IsClientError() bool

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

func (*DeleteGroupInternalServerError) IsCode

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

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

func (*DeleteGroupInternalServerError) IsRedirect

func (o *DeleteGroupInternalServerError) IsRedirect() bool

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

func (*DeleteGroupInternalServerError) IsServerError

func (o *DeleteGroupInternalServerError) IsServerError() bool

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

func (*DeleteGroupInternalServerError) IsSuccess

func (o *DeleteGroupInternalServerError) IsSuccess() bool

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

func (*DeleteGroupInternalServerError) String

type DeleteGroupNoContent

type DeleteGroupNoContent struct {
}
DeleteGroupNoContent describes a response with status code 204, with default header values.

no error

func NewDeleteGroupNoContent

func NewDeleteGroupNoContent() *DeleteGroupNoContent

NewDeleteGroupNoContent creates a DeleteGroupNoContent with default headers values

func (*DeleteGroupNoContent) Error

func (o *DeleteGroupNoContent) Error() string

func (*DeleteGroupNoContent) IsClientError

func (o *DeleteGroupNoContent) IsClientError() bool

IsClientError returns true when this delete group no content response has a 4xx status code

func (*DeleteGroupNoContent) IsCode

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

IsCode returns true when this delete group no content response a status code equal to that given

func (*DeleteGroupNoContent) IsRedirect

func (o *DeleteGroupNoContent) IsRedirect() bool

IsRedirect returns true when this delete group no content response has a 3xx status code

func (*DeleteGroupNoContent) IsServerError

func (o *DeleteGroupNoContent) IsServerError() bool

IsServerError returns true when this delete group no content response has a 5xx status code

func (*DeleteGroupNoContent) IsSuccess

func (o *DeleteGroupNoContent) IsSuccess() bool

IsSuccess returns true when this delete group no content response has a 2xx status code

func (*DeleteGroupNoContent) String

func (o *DeleteGroupNoContent) String() string

type DeleteGroupOK

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

no error

func NewDeleteGroupOK

func NewDeleteGroupOK() *DeleteGroupOK

NewDeleteGroupOK creates a DeleteGroupOK with default headers values

func (*DeleteGroupOK) Error

func (o *DeleteGroupOK) Error() string

func (*DeleteGroupOK) GetPayload

func (o *DeleteGroupOK) GetPayload() *models.MessageResponse

func (*DeleteGroupOK) IsClientError

func (o *DeleteGroupOK) IsClientError() bool

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

func (*DeleteGroupOK) IsCode

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

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

func (*DeleteGroupOK) IsRedirect

func (o *DeleteGroupOK) IsRedirect() bool

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

func (*DeleteGroupOK) IsServerError

func (o *DeleteGroupOK) IsServerError() bool

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

func (*DeleteGroupOK) IsSuccess

func (o *DeleteGroupOK) IsSuccess() bool

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

func (*DeleteGroupOK) String

func (o *DeleteGroupOK) String() string

type DeleteGroupParams

type DeleteGroupParams struct {

	/* Force.

	   Delete immediately
	*/
	Force *bool

	/* Name.

	   Group name
	*/
	Name string

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

DeleteGroupParams contains all the parameters to send to the API endpoint

for the delete group operation.

Typically these are written to a http.Request.

func NewDeleteGroupParams

func NewDeleteGroupParams() *DeleteGroupParams

NewDeleteGroupParams creates a new DeleteGroupParams 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 NewDeleteGroupParamsWithContext

func NewDeleteGroupParamsWithContext(ctx context.Context) *DeleteGroupParams

NewDeleteGroupParamsWithContext creates a new DeleteGroupParams object with the ability to set a context for a request.

func NewDeleteGroupParamsWithHTTPClient

func NewDeleteGroupParamsWithHTTPClient(client *http.Client) *DeleteGroupParams

NewDeleteGroupParamsWithHTTPClient creates a new DeleteGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGroupParamsWithTimeout

func NewDeleteGroupParamsWithTimeout(timeout time.Duration) *DeleteGroupParams

NewDeleteGroupParamsWithTimeout creates a new DeleteGroupParams object with the ability to set a timeout on a request.

func (*DeleteGroupParams) SetContext

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

SetContext adds the context to the delete group params

func (*DeleteGroupParams) SetDefaults

func (o *DeleteGroupParams) SetDefaults()

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

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

func (*DeleteGroupParams) SetForce

func (o *DeleteGroupParams) SetForce(force *bool)

SetForce adds the force to the delete group params

func (*DeleteGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete group params

func (*DeleteGroupParams) SetName

func (o *DeleteGroupParams) SetName(name string)

SetName adds the name to the delete group params

func (*DeleteGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete group params

func (*DeleteGroupParams) WithContext

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

WithContext adds the context to the delete group params

func (*DeleteGroupParams) WithDefaults

func (o *DeleteGroupParams) WithDefaults() *DeleteGroupParams

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

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

func (*DeleteGroupParams) WithForce

func (o *DeleteGroupParams) WithForce(force *bool) *DeleteGroupParams

WithForce adds the force to the delete group params

func (*DeleteGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete group params

func (*DeleteGroupParams) WithName

func (o *DeleteGroupParams) WithName(name string) *DeleteGroupParams

WithName adds the name to the delete group params

func (*DeleteGroupParams) WithTimeout

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

WithTimeout adds the timeout to the delete group params

func (*DeleteGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteGroupReader

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

DeleteGroupReader is a Reader for the DeleteGroup structure.

func (*DeleteGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGroupUnauthorized

type DeleteGroupUnauthorized struct {
	Payload *models.HTTPError
}
DeleteGroupUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDeleteGroupUnauthorized

func NewDeleteGroupUnauthorized() *DeleteGroupUnauthorized

NewDeleteGroupUnauthorized creates a DeleteGroupUnauthorized with default headers values

func (*DeleteGroupUnauthorized) Error

func (o *DeleteGroupUnauthorized) Error() string

func (*DeleteGroupUnauthorized) GetPayload

func (o *DeleteGroupUnauthorized) GetPayload() *models.HTTPError

func (*DeleteGroupUnauthorized) IsClientError

func (o *DeleteGroupUnauthorized) IsClientError() bool

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

func (*DeleteGroupUnauthorized) IsCode

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

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

func (*DeleteGroupUnauthorized) IsRedirect

func (o *DeleteGroupUnauthorized) IsRedirect() bool

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

func (*DeleteGroupUnauthorized) IsServerError

func (o *DeleteGroupUnauthorized) IsServerError() bool

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

func (*DeleteGroupUnauthorized) IsSuccess

func (o *DeleteGroupUnauthorized) IsSuccess() bool

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

func (*DeleteGroupUnauthorized) String

func (o *DeleteGroupUnauthorized) String() string

type DeleteMemberBadRequest

type DeleteMemberBadRequest struct {
	Payload *models.HTTPError
}
DeleteMemberBadRequest describes a response with status code 400, with default header values.

bad request

func NewDeleteMemberBadRequest

func NewDeleteMemberBadRequest() *DeleteMemberBadRequest

NewDeleteMemberBadRequest creates a DeleteMemberBadRequest with default headers values

func (*DeleteMemberBadRequest) Error

func (o *DeleteMemberBadRequest) Error() string

func (*DeleteMemberBadRequest) GetPayload

func (o *DeleteMemberBadRequest) GetPayload() *models.HTTPError

func (*DeleteMemberBadRequest) IsClientError

func (o *DeleteMemberBadRequest) IsClientError() bool

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

func (*DeleteMemberBadRequest) IsCode

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

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

func (*DeleteMemberBadRequest) IsRedirect

func (o *DeleteMemberBadRequest) IsRedirect() bool

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

func (*DeleteMemberBadRequest) IsServerError

func (o *DeleteMemberBadRequest) IsServerError() bool

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

func (*DeleteMemberBadRequest) IsSuccess

func (o *DeleteMemberBadRequest) IsSuccess() bool

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

func (*DeleteMemberBadRequest) String

func (o *DeleteMemberBadRequest) String() string

type DeleteMemberForbidden

type DeleteMemberForbidden struct {
	Payload *models.HTTPError
}
DeleteMemberForbidden describes a response with status code 403, with default header values.

forbidden

func NewDeleteMemberForbidden

func NewDeleteMemberForbidden() *DeleteMemberForbidden

NewDeleteMemberForbidden creates a DeleteMemberForbidden with default headers values

func (*DeleteMemberForbidden) Error

func (o *DeleteMemberForbidden) Error() string

func (*DeleteMemberForbidden) GetPayload

func (o *DeleteMemberForbidden) GetPayload() *models.HTTPError

func (*DeleteMemberForbidden) IsClientError

func (o *DeleteMemberForbidden) IsClientError() bool

IsClientError returns true when this delete member forbidden response has a 4xx status code

func (*DeleteMemberForbidden) IsCode

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

IsCode returns true when this delete member forbidden response a status code equal to that given

func (*DeleteMemberForbidden) IsRedirect

func (o *DeleteMemberForbidden) IsRedirect() bool

IsRedirect returns true when this delete member forbidden response has a 3xx status code

func (*DeleteMemberForbidden) IsServerError

func (o *DeleteMemberForbidden) IsServerError() bool

IsServerError returns true when this delete member forbidden response has a 5xx status code

func (*DeleteMemberForbidden) IsSuccess

func (o *DeleteMemberForbidden) IsSuccess() bool

IsSuccess returns true when this delete member forbidden response has a 2xx status code

func (*DeleteMemberForbidden) String

func (o *DeleteMemberForbidden) String() string

type DeleteMemberInternalServerError

type DeleteMemberInternalServerError struct {
	Payload *models.HTTPError
}
DeleteMemberInternalServerError describes a response with status code 500, with default header values.

server error

func NewDeleteMemberInternalServerError

func NewDeleteMemberInternalServerError() *DeleteMemberInternalServerError

NewDeleteMemberInternalServerError creates a DeleteMemberInternalServerError with default headers values

func (*DeleteMemberInternalServerError) Error

func (*DeleteMemberInternalServerError) GetPayload

func (*DeleteMemberInternalServerError) IsClientError

func (o *DeleteMemberInternalServerError) IsClientError() bool

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

func (*DeleteMemberInternalServerError) IsCode

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

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

func (*DeleteMemberInternalServerError) IsRedirect

func (o *DeleteMemberInternalServerError) IsRedirect() bool

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

func (*DeleteMemberInternalServerError) IsServerError

func (o *DeleteMemberInternalServerError) IsServerError() bool

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

func (*DeleteMemberInternalServerError) IsSuccess

func (o *DeleteMemberInternalServerError) IsSuccess() bool

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

func (*DeleteMemberInternalServerError) String

type DeleteMemberNoContent

type DeleteMemberNoContent struct {
}
DeleteMemberNoContent describes a response with status code 204, with default header values.

no error

func NewDeleteMemberNoContent

func NewDeleteMemberNoContent() *DeleteMemberNoContent

NewDeleteMemberNoContent creates a DeleteMemberNoContent with default headers values

func (*DeleteMemberNoContent) Error

func (o *DeleteMemberNoContent) Error() string

func (*DeleteMemberNoContent) IsClientError

func (o *DeleteMemberNoContent) IsClientError() bool

IsClientError returns true when this delete member no content response has a 4xx status code

func (*DeleteMemberNoContent) IsCode

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

IsCode returns true when this delete member no content response a status code equal to that given

func (*DeleteMemberNoContent) IsRedirect

func (o *DeleteMemberNoContent) IsRedirect() bool

IsRedirect returns true when this delete member no content response has a 3xx status code

func (*DeleteMemberNoContent) IsServerError

func (o *DeleteMemberNoContent) IsServerError() bool

IsServerError returns true when this delete member no content response has a 5xx status code

func (*DeleteMemberNoContent) IsSuccess

func (o *DeleteMemberNoContent) IsSuccess() bool

IsSuccess returns true when this delete member no content response has a 2xx status code

func (*DeleteMemberNoContent) String

func (o *DeleteMemberNoContent) String() string

type DeleteMemberParams

type DeleteMemberParams struct {

	// Body.
	Body *models.MemberRequest

	/* Name.

	   Group name
	*/
	Name string

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

DeleteMemberParams contains all the parameters to send to the API endpoint

for the delete member operation.

Typically these are written to a http.Request.

func NewDeleteMemberParams

func NewDeleteMemberParams() *DeleteMemberParams

NewDeleteMemberParams creates a new DeleteMemberParams 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 NewDeleteMemberParamsWithContext

func NewDeleteMemberParamsWithContext(ctx context.Context) *DeleteMemberParams

NewDeleteMemberParamsWithContext creates a new DeleteMemberParams object with the ability to set a context for a request.

func NewDeleteMemberParamsWithHTTPClient

func NewDeleteMemberParamsWithHTTPClient(client *http.Client) *DeleteMemberParams

NewDeleteMemberParamsWithHTTPClient creates a new DeleteMemberParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMemberParamsWithTimeout

func NewDeleteMemberParamsWithTimeout(timeout time.Duration) *DeleteMemberParams

NewDeleteMemberParamsWithTimeout creates a new DeleteMemberParams object with the ability to set a timeout on a request.

func (*DeleteMemberParams) SetBody

func (o *DeleteMemberParams) SetBody(body *models.MemberRequest)

SetBody adds the body to the delete member params

func (*DeleteMemberParams) SetContext

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

SetContext adds the context to the delete member params

func (*DeleteMemberParams) SetDefaults

func (o *DeleteMemberParams) SetDefaults()

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

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

func (*DeleteMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete member params

func (*DeleteMemberParams) SetName

func (o *DeleteMemberParams) SetName(name string)

SetName adds the name to the delete member params

func (*DeleteMemberParams) SetTimeout

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

SetTimeout adds the timeout to the delete member params

func (*DeleteMemberParams) WithBody

WithBody adds the body to the delete member params

func (*DeleteMemberParams) WithContext

WithContext adds the context to the delete member params

func (*DeleteMemberParams) WithDefaults

func (o *DeleteMemberParams) WithDefaults() *DeleteMemberParams

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

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

func (*DeleteMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete member params

func (*DeleteMemberParams) WithName

func (o *DeleteMemberParams) WithName(name string) *DeleteMemberParams

WithName adds the name to the delete member params

func (*DeleteMemberParams) WithTimeout

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

WithTimeout adds the timeout to the delete member params

func (*DeleteMemberParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteMemberReader

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

DeleteMemberReader is a Reader for the DeleteMember structure.

func (*DeleteMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMemberUnauthorized

type DeleteMemberUnauthorized struct {
	Payload *models.HTTPError
}
DeleteMemberUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDeleteMemberUnauthorized

func NewDeleteMemberUnauthorized() *DeleteMemberUnauthorized

NewDeleteMemberUnauthorized creates a DeleteMemberUnauthorized with default headers values

func (*DeleteMemberUnauthorized) Error

func (o *DeleteMemberUnauthorized) Error() string

func (*DeleteMemberUnauthorized) GetPayload

func (o *DeleteMemberUnauthorized) GetPayload() *models.HTTPError

func (*DeleteMemberUnauthorized) IsClientError

func (o *DeleteMemberUnauthorized) IsClientError() bool

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

func (*DeleteMemberUnauthorized) IsCode

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

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

func (*DeleteMemberUnauthorized) IsRedirect

func (o *DeleteMemberUnauthorized) IsRedirect() bool

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

func (*DeleteMemberUnauthorized) IsServerError

func (o *DeleteMemberUnauthorized) IsServerError() bool

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

func (*DeleteMemberUnauthorized) IsSuccess

func (o *DeleteMemberUnauthorized) IsSuccess() bool

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

func (*DeleteMemberUnauthorized) String

func (o *DeleteMemberUnauthorized) String() string

type GetGroupBadRequest

type GetGroupBadRequest struct {
	Payload *models.HTTPError
}
GetGroupBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetGroupBadRequest

func NewGetGroupBadRequest() *GetGroupBadRequest

NewGetGroupBadRequest creates a GetGroupBadRequest with default headers values

func (*GetGroupBadRequest) Error

func (o *GetGroupBadRequest) Error() string

func (*GetGroupBadRequest) GetPayload

func (o *GetGroupBadRequest) GetPayload() *models.HTTPError

func (*GetGroupBadRequest) IsClientError

func (o *GetGroupBadRequest) IsClientError() bool

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

func (*GetGroupBadRequest) IsCode

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

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

func (*GetGroupBadRequest) IsRedirect

func (o *GetGroupBadRequest) IsRedirect() bool

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

func (*GetGroupBadRequest) IsServerError

func (o *GetGroupBadRequest) IsServerError() bool

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

func (*GetGroupBadRequest) IsSuccess

func (o *GetGroupBadRequest) IsSuccess() bool

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

func (*GetGroupBadRequest) String

func (o *GetGroupBadRequest) String() string

type GetGroupForbidden

type GetGroupForbidden struct {
	Payload *models.HTTPError
}
GetGroupForbidden describes a response with status code 403, with default header values.

forbidden

func NewGetGroupForbidden

func NewGetGroupForbidden() *GetGroupForbidden

NewGetGroupForbidden creates a GetGroupForbidden with default headers values

func (*GetGroupForbidden) Error

func (o *GetGroupForbidden) Error() string

func (*GetGroupForbidden) GetPayload

func (o *GetGroupForbidden) GetPayload() *models.HTTPError

func (*GetGroupForbidden) IsClientError

func (o *GetGroupForbidden) IsClientError() bool

IsClientError returns true when this get group forbidden response has a 4xx status code

func (*GetGroupForbidden) IsCode

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

IsCode returns true when this get group forbidden response a status code equal to that given

func (*GetGroupForbidden) IsRedirect

func (o *GetGroupForbidden) IsRedirect() bool

IsRedirect returns true when this get group forbidden response has a 3xx status code

func (*GetGroupForbidden) IsServerError

func (o *GetGroupForbidden) IsServerError() bool

IsServerError returns true when this get group forbidden response has a 5xx status code

func (*GetGroupForbidden) IsSuccess

func (o *GetGroupForbidden) IsSuccess() bool

IsSuccess returns true when this get group forbidden response has a 2xx status code

func (*GetGroupForbidden) String

func (o *GetGroupForbidden) String() string

type GetGroupInternalServerError

type GetGroupInternalServerError struct {
	Payload *models.HTTPError
}
GetGroupInternalServerError describes a response with status code 500, with default header values.

server error

func NewGetGroupInternalServerError

func NewGetGroupInternalServerError() *GetGroupInternalServerError

NewGetGroupInternalServerError creates a GetGroupInternalServerError with default headers values

func (*GetGroupInternalServerError) Error

func (*GetGroupInternalServerError) GetPayload

func (o *GetGroupInternalServerError) GetPayload() *models.HTTPError

func (*GetGroupInternalServerError) IsClientError

func (o *GetGroupInternalServerError) IsClientError() bool

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

func (*GetGroupInternalServerError) IsCode

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

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

func (*GetGroupInternalServerError) IsRedirect

func (o *GetGroupInternalServerError) IsRedirect() bool

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

func (*GetGroupInternalServerError) IsServerError

func (o *GetGroupInternalServerError) IsServerError() bool

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

func (*GetGroupInternalServerError) IsSuccess

func (o *GetGroupInternalServerError) IsSuccess() bool

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

func (*GetGroupInternalServerError) String

func (o *GetGroupInternalServerError) String() string

type GetGroupNotFound

type GetGroupNotFound struct {
	Payload *models.HTTPError
}
GetGroupNotFound describes a response with status code 404, with default header values.

not found

func NewGetGroupNotFound

func NewGetGroupNotFound() *GetGroupNotFound

NewGetGroupNotFound creates a GetGroupNotFound with default headers values

func (*GetGroupNotFound) Error

func (o *GetGroupNotFound) Error() string

func (*GetGroupNotFound) GetPayload

func (o *GetGroupNotFound) GetPayload() *models.HTTPError

func (*GetGroupNotFound) IsClientError

func (o *GetGroupNotFound) IsClientError() bool

IsClientError returns true when this get group not found response has a 4xx status code

func (*GetGroupNotFound) IsCode

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

IsCode returns true when this get group not found response a status code equal to that given

func (*GetGroupNotFound) IsRedirect

func (o *GetGroupNotFound) IsRedirect() bool

IsRedirect returns true when this get group not found response has a 3xx status code

func (*GetGroupNotFound) IsServerError

func (o *GetGroupNotFound) IsServerError() bool

IsServerError returns true when this get group not found response has a 5xx status code

func (*GetGroupNotFound) IsSuccess

func (o *GetGroupNotFound) IsSuccess() bool

IsSuccess returns true when this get group not found response has a 2xx status code

func (*GetGroupNotFound) String

func (o *GetGroupNotFound) String() string

type GetGroupOK

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

no error

func NewGetGroupOK

func NewGetGroupOK() *GetGroupOK

NewGetGroupOK creates a GetGroupOK with default headers values

func (*GetGroupOK) Error

func (o *GetGroupOK) Error() string

func (*GetGroupOK) GetPayload

func (o *GetGroupOK) GetPayload() *models.GroupResponse

func (*GetGroupOK) IsClientError

func (o *GetGroupOK) IsClientError() bool

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

func (*GetGroupOK) IsCode

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

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

func (*GetGroupOK) IsRedirect

func (o *GetGroupOK) IsRedirect() bool

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

func (*GetGroupOK) IsServerError

func (o *GetGroupOK) IsServerError() bool

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

func (*GetGroupOK) IsSuccess

func (o *GetGroupOK) IsSuccess() bool

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

func (*GetGroupOK) String

func (o *GetGroupOK) String() string

type GetGroupParams

type GetGroupParams struct {

	/* Name.

	   Group name
	*/
	Name string

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

GetGroupParams contains all the parameters to send to the API endpoint

for the get group operation.

Typically these are written to a http.Request.

func NewGetGroupParams

func NewGetGroupParams() *GetGroupParams

NewGetGroupParams creates a new GetGroupParams 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 NewGetGroupParamsWithContext

func NewGetGroupParamsWithContext(ctx context.Context) *GetGroupParams

NewGetGroupParamsWithContext creates a new GetGroupParams object with the ability to set a context for a request.

func NewGetGroupParamsWithHTTPClient

func NewGetGroupParamsWithHTTPClient(client *http.Client) *GetGroupParams

NewGetGroupParamsWithHTTPClient creates a new GetGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetGroupParamsWithTimeout

func NewGetGroupParamsWithTimeout(timeout time.Duration) *GetGroupParams

NewGetGroupParamsWithTimeout creates a new GetGroupParams object with the ability to set a timeout on a request.

func (*GetGroupParams) SetContext

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

SetContext adds the context to the get group params

func (*GetGroupParams) SetDefaults

func (o *GetGroupParams) SetDefaults()

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

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

func (*GetGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) SetName

func (o *GetGroupParams) SetName(name string)

SetName adds the name to the get group params

func (*GetGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get group params

func (*GetGroupParams) WithContext

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

WithContext adds the context to the get group params

func (*GetGroupParams) WithDefaults

func (o *GetGroupParams) WithDefaults() *GetGroupParams

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

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

func (*GetGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) WithName

func (o *GetGroupParams) WithName(name string) *GetGroupParams

WithName adds the name to the get group params

func (*GetGroupParams) WithTimeout

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

WithTimeout adds the timeout to the get group params

func (*GetGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGroupReader

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

GetGroupReader is a Reader for the GetGroup structure.

func (*GetGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupUnauthorized

type GetGroupUnauthorized struct {
	Payload *models.HTTPError
}
GetGroupUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetGroupUnauthorized

func NewGetGroupUnauthorized() *GetGroupUnauthorized

NewGetGroupUnauthorized creates a GetGroupUnauthorized with default headers values

func (*GetGroupUnauthorized) Error

func (o *GetGroupUnauthorized) Error() string

func (*GetGroupUnauthorized) GetPayload

func (o *GetGroupUnauthorized) GetPayload() *models.HTTPError

func (*GetGroupUnauthorized) IsClientError

func (o *GetGroupUnauthorized) IsClientError() bool

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

func (*GetGroupUnauthorized) IsCode

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

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

func (*GetGroupUnauthorized) IsRedirect

func (o *GetGroupUnauthorized) IsRedirect() bool

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

func (*GetGroupUnauthorized) IsServerError

func (o *GetGroupUnauthorized) IsServerError() bool

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

func (*GetGroupUnauthorized) IsSuccess

func (o *GetGroupUnauthorized) IsSuccess() bool

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

func (*GetGroupUnauthorized) String

func (o *GetGroupUnauthorized) String() string

type RestoreGroupBadRequest

type RestoreGroupBadRequest struct {
	Payload *models.HTTPError
}
RestoreGroupBadRequest describes a response with status code 400, with default header values.

bad request

func NewRestoreGroupBadRequest

func NewRestoreGroupBadRequest() *RestoreGroupBadRequest

NewRestoreGroupBadRequest creates a RestoreGroupBadRequest with default headers values

func (*RestoreGroupBadRequest) Error

func (o *RestoreGroupBadRequest) Error() string

func (*RestoreGroupBadRequest) GetPayload

func (o *RestoreGroupBadRequest) GetPayload() *models.HTTPError

func (*RestoreGroupBadRequest) IsClientError

func (o *RestoreGroupBadRequest) IsClientError() bool

IsClientError returns true when this restore group bad request response has a 4xx status code

func (*RestoreGroupBadRequest) IsCode

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

IsCode returns true when this restore group bad request response a status code equal to that given

func (*RestoreGroupBadRequest) IsRedirect

func (o *RestoreGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this restore group bad request response has a 3xx status code

func (*RestoreGroupBadRequest) IsServerError

func (o *RestoreGroupBadRequest) IsServerError() bool

IsServerError returns true when this restore group bad request response has a 5xx status code

func (*RestoreGroupBadRequest) IsSuccess

func (o *RestoreGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this restore group bad request response has a 2xx status code

func (*RestoreGroupBadRequest) String

func (o *RestoreGroupBadRequest) String() string

type RestoreGroupForbidden

type RestoreGroupForbidden struct {
	Payload *models.HTTPError
}
RestoreGroupForbidden describes a response with status code 403, with default header values.

forbidden

func NewRestoreGroupForbidden

func NewRestoreGroupForbidden() *RestoreGroupForbidden

NewRestoreGroupForbidden creates a RestoreGroupForbidden with default headers values

func (*RestoreGroupForbidden) Error

func (o *RestoreGroupForbidden) Error() string

func (*RestoreGroupForbidden) GetPayload

func (o *RestoreGroupForbidden) GetPayload() *models.HTTPError

func (*RestoreGroupForbidden) IsClientError

func (o *RestoreGroupForbidden) IsClientError() bool

IsClientError returns true when this restore group forbidden response has a 4xx status code

func (*RestoreGroupForbidden) IsCode

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

IsCode returns true when this restore group forbidden response a status code equal to that given

func (*RestoreGroupForbidden) IsRedirect

func (o *RestoreGroupForbidden) IsRedirect() bool

IsRedirect returns true when this restore group forbidden response has a 3xx status code

func (*RestoreGroupForbidden) IsServerError

func (o *RestoreGroupForbidden) IsServerError() bool

IsServerError returns true when this restore group forbidden response has a 5xx status code

func (*RestoreGroupForbidden) IsSuccess

func (o *RestoreGroupForbidden) IsSuccess() bool

IsSuccess returns true when this restore group forbidden response has a 2xx status code

func (*RestoreGroupForbidden) String

func (o *RestoreGroupForbidden) String() string

type RestoreGroupInternalServerError

type RestoreGroupInternalServerError struct {
	Payload *models.HTTPError
}
RestoreGroupInternalServerError describes a response with status code 500, with default header values.

server error

func NewRestoreGroupInternalServerError

func NewRestoreGroupInternalServerError() *RestoreGroupInternalServerError

NewRestoreGroupInternalServerError creates a RestoreGroupInternalServerError with default headers values

func (*RestoreGroupInternalServerError) Error

func (*RestoreGroupInternalServerError) GetPayload

func (*RestoreGroupInternalServerError) IsClientError

func (o *RestoreGroupInternalServerError) IsClientError() bool

IsClientError returns true when this restore group internal server error response has a 4xx status code

func (*RestoreGroupInternalServerError) IsCode

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

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

func (*RestoreGroupInternalServerError) IsRedirect

func (o *RestoreGroupInternalServerError) IsRedirect() bool

IsRedirect returns true when this restore group internal server error response has a 3xx status code

func (*RestoreGroupInternalServerError) IsServerError

func (o *RestoreGroupInternalServerError) IsServerError() bool

IsServerError returns true when this restore group internal server error response has a 5xx status code

func (*RestoreGroupInternalServerError) IsSuccess

func (o *RestoreGroupInternalServerError) IsSuccess() bool

IsSuccess returns true when this restore group internal server error response has a 2xx status code

func (*RestoreGroupInternalServerError) String

type RestoreGroupNotFound

type RestoreGroupNotFound struct {
	Payload *models.HTTPError
}
RestoreGroupNotFound describes a response with status code 404, with default header values.

not found

func NewRestoreGroupNotFound

func NewRestoreGroupNotFound() *RestoreGroupNotFound

NewRestoreGroupNotFound creates a RestoreGroupNotFound with default headers values

func (*RestoreGroupNotFound) Error

func (o *RestoreGroupNotFound) Error() string

func (*RestoreGroupNotFound) GetPayload

func (o *RestoreGroupNotFound) GetPayload() *models.HTTPError

func (*RestoreGroupNotFound) IsClientError

func (o *RestoreGroupNotFound) IsClientError() bool

IsClientError returns true when this restore group not found response has a 4xx status code

func (*RestoreGroupNotFound) IsCode

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

IsCode returns true when this restore group not found response a status code equal to that given

func (*RestoreGroupNotFound) IsRedirect

func (o *RestoreGroupNotFound) IsRedirect() bool

IsRedirect returns true when this restore group not found response has a 3xx status code

func (*RestoreGroupNotFound) IsServerError

func (o *RestoreGroupNotFound) IsServerError() bool

IsServerError returns true when this restore group not found response has a 5xx status code

func (*RestoreGroupNotFound) IsSuccess

func (o *RestoreGroupNotFound) IsSuccess() bool

IsSuccess returns true when this restore group not found response has a 2xx status code

func (*RestoreGroupNotFound) String

func (o *RestoreGroupNotFound) String() string

type RestoreGroupOK

type RestoreGroupOK struct {
}
RestoreGroupOK describes a response with status code 200, with default header values.

no error

func NewRestoreGroupOK

func NewRestoreGroupOK() *RestoreGroupOK

NewRestoreGroupOK creates a RestoreGroupOK with default headers values

func (*RestoreGroupOK) Error

func (o *RestoreGroupOK) Error() string

func (*RestoreGroupOK) IsClientError

func (o *RestoreGroupOK) IsClientError() bool

IsClientError returns true when this restore group o k response has a 4xx status code

func (*RestoreGroupOK) IsCode

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

IsCode returns true when this restore group o k response a status code equal to that given

func (*RestoreGroupOK) IsRedirect

func (o *RestoreGroupOK) IsRedirect() bool

IsRedirect returns true when this restore group o k response has a 3xx status code

func (*RestoreGroupOK) IsServerError

func (o *RestoreGroupOK) IsServerError() bool

IsServerError returns true when this restore group o k response has a 5xx status code

func (*RestoreGroupOK) IsSuccess

func (o *RestoreGroupOK) IsSuccess() bool

IsSuccess returns true when this restore group o k response has a 2xx status code

func (*RestoreGroupOK) String

func (o *RestoreGroupOK) String() string

type RestoreGroupParams

type RestoreGroupParams struct {

	/* Name.

	   Group name
	*/
	Name string

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

RestoreGroupParams contains all the parameters to send to the API endpoint

for the restore group operation.

Typically these are written to a http.Request.

func NewRestoreGroupParams

func NewRestoreGroupParams() *RestoreGroupParams

NewRestoreGroupParams creates a new RestoreGroupParams 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 NewRestoreGroupParamsWithContext

func NewRestoreGroupParamsWithContext(ctx context.Context) *RestoreGroupParams

NewRestoreGroupParamsWithContext creates a new RestoreGroupParams object with the ability to set a context for a request.

func NewRestoreGroupParamsWithHTTPClient

func NewRestoreGroupParamsWithHTTPClient(client *http.Client) *RestoreGroupParams

NewRestoreGroupParamsWithHTTPClient creates a new RestoreGroupParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreGroupParamsWithTimeout

func NewRestoreGroupParamsWithTimeout(timeout time.Duration) *RestoreGroupParams

NewRestoreGroupParamsWithTimeout creates a new RestoreGroupParams object with the ability to set a timeout on a request.

func (*RestoreGroupParams) SetContext

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

SetContext adds the context to the restore group params

func (*RestoreGroupParams) SetDefaults

func (o *RestoreGroupParams) SetDefaults()

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

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

func (*RestoreGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore group params

func (*RestoreGroupParams) SetName

func (o *RestoreGroupParams) SetName(name string)

SetName adds the name to the restore group params

func (*RestoreGroupParams) SetTimeout

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

SetTimeout adds the timeout to the restore group params

func (*RestoreGroupParams) WithContext

WithContext adds the context to the restore group params

func (*RestoreGroupParams) WithDefaults

func (o *RestoreGroupParams) WithDefaults() *RestoreGroupParams

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

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

func (*RestoreGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restore group params

func (*RestoreGroupParams) WithName

func (o *RestoreGroupParams) WithName(name string) *RestoreGroupParams

WithName adds the name to the restore group params

func (*RestoreGroupParams) WithTimeout

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

WithTimeout adds the timeout to the restore group params

func (*RestoreGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RestoreGroupReader

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

RestoreGroupReader is a Reader for the RestoreGroup structure.

func (*RestoreGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreGroupUnauthorized

type RestoreGroupUnauthorized struct {
	Payload *models.HTTPError
}
RestoreGroupUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRestoreGroupUnauthorized

func NewRestoreGroupUnauthorized() *RestoreGroupUnauthorized

NewRestoreGroupUnauthorized creates a RestoreGroupUnauthorized with default headers values

func (*RestoreGroupUnauthorized) Error

func (o *RestoreGroupUnauthorized) Error() string

func (*RestoreGroupUnauthorized) GetPayload

func (o *RestoreGroupUnauthorized) GetPayload() *models.HTTPError

func (*RestoreGroupUnauthorized) IsClientError

func (o *RestoreGroupUnauthorized) IsClientError() bool

IsClientError returns true when this restore group unauthorized response has a 4xx status code

func (*RestoreGroupUnauthorized) IsCode

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

IsCode returns true when this restore group unauthorized response a status code equal to that given

func (*RestoreGroupUnauthorized) IsRedirect

func (o *RestoreGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this restore group unauthorized response has a 3xx status code

func (*RestoreGroupUnauthorized) IsServerError

func (o *RestoreGroupUnauthorized) IsServerError() bool

IsServerError returns true when this restore group unauthorized response has a 5xx status code

func (*RestoreGroupUnauthorized) IsSuccess

func (o *RestoreGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this restore group unauthorized response has a 2xx status code

func (*RestoreGroupUnauthorized) String

func (o *RestoreGroupUnauthorized) String() string

type SearchGroupsBadRequest

type SearchGroupsBadRequest struct {
	Payload *models.HTTPError
}
SearchGroupsBadRequest describes a response with status code 400, with default header values.

bad request

func NewSearchGroupsBadRequest

func NewSearchGroupsBadRequest() *SearchGroupsBadRequest

NewSearchGroupsBadRequest creates a SearchGroupsBadRequest with default headers values

func (*SearchGroupsBadRequest) Error

func (o *SearchGroupsBadRequest) Error() string

func (*SearchGroupsBadRequest) GetPayload

func (o *SearchGroupsBadRequest) GetPayload() *models.HTTPError

func (*SearchGroupsBadRequest) IsClientError

func (o *SearchGroupsBadRequest) IsClientError() bool

IsClientError returns true when this search groups bad request response has a 4xx status code

func (*SearchGroupsBadRequest) IsCode

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

IsCode returns true when this search groups bad request response a status code equal to that given

func (*SearchGroupsBadRequest) IsRedirect

func (o *SearchGroupsBadRequest) IsRedirect() bool

IsRedirect returns true when this search groups bad request response has a 3xx status code

func (*SearchGroupsBadRequest) IsServerError

func (o *SearchGroupsBadRequest) IsServerError() bool

IsServerError returns true when this search groups bad request response has a 5xx status code

func (*SearchGroupsBadRequest) IsSuccess

func (o *SearchGroupsBadRequest) IsSuccess() bool

IsSuccess returns true when this search groups bad request response has a 2xx status code

func (*SearchGroupsBadRequest) String

func (o *SearchGroupsBadRequest) String() string

type SearchGroupsForbidden

type SearchGroupsForbidden struct {
	Payload *models.HTTPError
}
SearchGroupsForbidden describes a response with status code 403, with default header values.

forbidden

func NewSearchGroupsForbidden

func NewSearchGroupsForbidden() *SearchGroupsForbidden

NewSearchGroupsForbidden creates a SearchGroupsForbidden with default headers values

func (*SearchGroupsForbidden) Error

func (o *SearchGroupsForbidden) Error() string

func (*SearchGroupsForbidden) GetPayload

func (o *SearchGroupsForbidden) GetPayload() *models.HTTPError

func (*SearchGroupsForbidden) IsClientError

func (o *SearchGroupsForbidden) IsClientError() bool

IsClientError returns true when this search groups forbidden response has a 4xx status code

func (*SearchGroupsForbidden) IsCode

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

IsCode returns true when this search groups forbidden response a status code equal to that given

func (*SearchGroupsForbidden) IsRedirect

func (o *SearchGroupsForbidden) IsRedirect() bool

IsRedirect returns true when this search groups forbidden response has a 3xx status code

func (*SearchGroupsForbidden) IsServerError

func (o *SearchGroupsForbidden) IsServerError() bool

IsServerError returns true when this search groups forbidden response has a 5xx status code

func (*SearchGroupsForbidden) IsSuccess

func (o *SearchGroupsForbidden) IsSuccess() bool

IsSuccess returns true when this search groups forbidden response has a 2xx status code

func (*SearchGroupsForbidden) String

func (o *SearchGroupsForbidden) String() string

type SearchGroupsInternalServerError

type SearchGroupsInternalServerError struct {
	Payload *models.HTTPError
}
SearchGroupsInternalServerError describes a response with status code 500, with default header values.

server error

func NewSearchGroupsInternalServerError

func NewSearchGroupsInternalServerError() *SearchGroupsInternalServerError

NewSearchGroupsInternalServerError creates a SearchGroupsInternalServerError with default headers values

func (*SearchGroupsInternalServerError) Error

func (*SearchGroupsInternalServerError) GetPayload

func (*SearchGroupsInternalServerError) IsClientError

func (o *SearchGroupsInternalServerError) IsClientError() bool

IsClientError returns true when this search groups internal server error response has a 4xx status code

func (*SearchGroupsInternalServerError) IsCode

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

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

func (*SearchGroupsInternalServerError) IsRedirect

func (o *SearchGroupsInternalServerError) IsRedirect() bool

IsRedirect returns true when this search groups internal server error response has a 3xx status code

func (*SearchGroupsInternalServerError) IsServerError

func (o *SearchGroupsInternalServerError) IsServerError() bool

IsServerError returns true when this search groups internal server error response has a 5xx status code

func (*SearchGroupsInternalServerError) IsSuccess

func (o *SearchGroupsInternalServerError) IsSuccess() bool

IsSuccess returns true when this search groups internal server error response has a 2xx status code

func (*SearchGroupsInternalServerError) String

type SearchGroupsOK

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

no error

func NewSearchGroupsOK

func NewSearchGroupsOK() *SearchGroupsOK

NewSearchGroupsOK creates a SearchGroupsOK with default headers values

func (*SearchGroupsOK) Error

func (o *SearchGroupsOK) Error() string

func (*SearchGroupsOK) GetPayload

func (o *SearchGroupsOK) GetPayload() *models.ResponseModelSearch

func (*SearchGroupsOK) IsClientError

func (o *SearchGroupsOK) IsClientError() bool

IsClientError returns true when this search groups o k response has a 4xx status code

func (*SearchGroupsOK) IsCode

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

IsCode returns true when this search groups o k response a status code equal to that given

func (*SearchGroupsOK) IsRedirect

func (o *SearchGroupsOK) IsRedirect() bool

IsRedirect returns true when this search groups o k response has a 3xx status code

func (*SearchGroupsOK) IsServerError

func (o *SearchGroupsOK) IsServerError() bool

IsServerError returns true when this search groups o k response has a 5xx status code

func (*SearchGroupsOK) IsSuccess

func (o *SearchGroupsOK) IsSuccess() bool

IsSuccess returns true when this search groups o k response has a 2xx status code

func (*SearchGroupsOK) String

func (o *SearchGroupsOK) String() string

type SearchGroupsParams

type SearchGroupsParams struct {

	/* Cursor.

	   Cursor to next batch of results
	*/
	Cursor *string

	/* Limit.

	   Limit for the number of results per page (cursor)

	   Format: int64
	*/
	Limit *int64

	/* SearchTerm.

	   Partial search term for search by path
	*/
	SearchTerm *string

	/* Sort.

	   Sort results ascending (asc) or descending (desc) order by lastModified attribute on field search. Default is desc
	*/
	Sort *string

	/* SortedBy.

	   SortedBy order the result by name, created or lastModified attribute on field search. Default is lastModified
	*/
	SortedBy *string

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

SearchGroupsParams contains all the parameters to send to the API endpoint

for the search groups operation.

Typically these are written to a http.Request.

func NewSearchGroupsParams

func NewSearchGroupsParams() *SearchGroupsParams

NewSearchGroupsParams creates a new SearchGroupsParams 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 NewSearchGroupsParamsWithContext

func NewSearchGroupsParamsWithContext(ctx context.Context) *SearchGroupsParams

NewSearchGroupsParamsWithContext creates a new SearchGroupsParams object with the ability to set a context for a request.

func NewSearchGroupsParamsWithHTTPClient

func NewSearchGroupsParamsWithHTTPClient(client *http.Client) *SearchGroupsParams

NewSearchGroupsParamsWithHTTPClient creates a new SearchGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchGroupsParamsWithTimeout

func NewSearchGroupsParamsWithTimeout(timeout time.Duration) *SearchGroupsParams

NewSearchGroupsParamsWithTimeout creates a new SearchGroupsParams object with the ability to set a timeout on a request.

func (*SearchGroupsParams) SetContext

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

SetContext adds the context to the search groups params

func (*SearchGroupsParams) SetCursor

func (o *SearchGroupsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the search groups params

func (*SearchGroupsParams) SetDefaults

func (o *SearchGroupsParams) SetDefaults()

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

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

func (*SearchGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search groups params

func (*SearchGroupsParams) SetLimit

func (o *SearchGroupsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search groups params

func (*SearchGroupsParams) SetSearchTerm

func (o *SearchGroupsParams) SetSearchTerm(searchTerm *string)

SetSearchTerm adds the searchTerm to the search groups params

func (*SearchGroupsParams) SetSort

func (o *SearchGroupsParams) SetSort(sort *string)

SetSort adds the sort to the search groups params

func (*SearchGroupsParams) SetSortedBy

func (o *SearchGroupsParams) SetSortedBy(sortedBy *string)

SetSortedBy adds the sortedBy to the search groups params

func (*SearchGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the search groups params

func (*SearchGroupsParams) WithContext

WithContext adds the context to the search groups params

func (*SearchGroupsParams) WithCursor

func (o *SearchGroupsParams) WithCursor(cursor *string) *SearchGroupsParams

WithCursor adds the cursor to the search groups params

func (*SearchGroupsParams) WithDefaults

func (o *SearchGroupsParams) WithDefaults() *SearchGroupsParams

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

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

func (*SearchGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search groups params

func (*SearchGroupsParams) WithLimit

func (o *SearchGroupsParams) WithLimit(limit *int64) *SearchGroupsParams

WithLimit adds the limit to the search groups params

func (*SearchGroupsParams) WithSearchTerm

func (o *SearchGroupsParams) WithSearchTerm(searchTerm *string) *SearchGroupsParams

WithSearchTerm adds the searchTerm to the search groups params

func (*SearchGroupsParams) WithSort

func (o *SearchGroupsParams) WithSort(sort *string) *SearchGroupsParams

WithSort adds the sort to the search groups params

func (*SearchGroupsParams) WithSortedBy

func (o *SearchGroupsParams) WithSortedBy(sortedBy *string) *SearchGroupsParams

WithSortedBy adds the sortedBy to the search groups params

func (*SearchGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the search groups params

func (*SearchGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchGroupsReader

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

SearchGroupsReader is a Reader for the SearchGroups structure.

func (*SearchGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchGroupsUnauthorized

type SearchGroupsUnauthorized struct {
	Payload *models.HTTPError
}
SearchGroupsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSearchGroupsUnauthorized

func NewSearchGroupsUnauthorized() *SearchGroupsUnauthorized

NewSearchGroupsUnauthorized creates a SearchGroupsUnauthorized with default headers values

func (*SearchGroupsUnauthorized) Error

func (o *SearchGroupsUnauthorized) Error() string

func (*SearchGroupsUnauthorized) GetPayload

func (o *SearchGroupsUnauthorized) GetPayload() *models.HTTPError

func (*SearchGroupsUnauthorized) IsClientError

func (o *SearchGroupsUnauthorized) IsClientError() bool

IsClientError returns true when this search groups unauthorized response has a 4xx status code

func (*SearchGroupsUnauthorized) IsCode

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

IsCode returns true when this search groups unauthorized response a status code equal to that given

func (*SearchGroupsUnauthorized) IsRedirect

func (o *SearchGroupsUnauthorized) IsRedirect() bool

IsRedirect returns true when this search groups unauthorized response has a 3xx status code

func (*SearchGroupsUnauthorized) IsServerError

func (o *SearchGroupsUnauthorized) IsServerError() bool

IsServerError returns true when this search groups unauthorized response has a 5xx status code

func (*SearchGroupsUnauthorized) IsSuccess

func (o *SearchGroupsUnauthorized) IsSuccess() bool

IsSuccess returns true when this search groups unauthorized response has a 2xx status code

func (*SearchGroupsUnauthorized) String

func (o *SearchGroupsUnauthorized) String() string

Jump to

Keyboard shortcuts

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