Documentation ¶
Index ¶
- type AddMemberBadRequest
- func (o *AddMemberBadRequest) Error() string
- func (o *AddMemberBadRequest) GetPayload() *models.HTTPError
- func (o *AddMemberBadRequest) IsClientError() bool
- func (o *AddMemberBadRequest) IsCode(code int) bool
- func (o *AddMemberBadRequest) IsRedirect() bool
- func (o *AddMemberBadRequest) IsServerError() bool
- func (o *AddMemberBadRequest) IsSuccess() bool
- func (o *AddMemberBadRequest) String() string
- type AddMemberForbidden
- func (o *AddMemberForbidden) Error() string
- func (o *AddMemberForbidden) GetPayload() *models.HTTPError
- func (o *AddMemberForbidden) IsClientError() bool
- func (o *AddMemberForbidden) IsCode(code int) bool
- func (o *AddMemberForbidden) IsRedirect() bool
- func (o *AddMemberForbidden) IsServerError() bool
- func (o *AddMemberForbidden) IsSuccess() bool
- func (o *AddMemberForbidden) String() string
- type AddMemberInternalServerError
- func (o *AddMemberInternalServerError) Error() string
- func (o *AddMemberInternalServerError) GetPayload() *models.HTTPError
- func (o *AddMemberInternalServerError) IsClientError() bool
- func (o *AddMemberInternalServerError) IsCode(code int) bool
- func (o *AddMemberInternalServerError) IsRedirect() bool
- func (o *AddMemberInternalServerError) IsServerError() bool
- func (o *AddMemberInternalServerError) IsSuccess() bool
- func (o *AddMemberInternalServerError) String() string
- type AddMemberOK
- func (o *AddMemberOK) Error() string
- func (o *AddMemberOK) GetPayload() *models.AddMemberResponse
- func (o *AddMemberOK) IsClientError() bool
- func (o *AddMemberOK) IsCode(code int) bool
- func (o *AddMemberOK) IsRedirect() bool
- func (o *AddMemberOK) IsServerError() bool
- func (o *AddMemberOK) IsSuccess() bool
- func (o *AddMemberOK) String() string
- type AddMemberParams
- func (o *AddMemberParams) SetBody(body *models.MemberRequest)
- func (o *AddMemberParams) SetContext(ctx context.Context)
- func (o *AddMemberParams) SetDefaults()
- func (o *AddMemberParams) SetHTTPClient(client *http.Client)
- func (o *AddMemberParams) SetName(name string)
- func (o *AddMemberParams) SetTimeout(timeout time.Duration)
- func (o *AddMemberParams) WithBody(body *models.MemberRequest) *AddMemberParams
- func (o *AddMemberParams) WithContext(ctx context.Context) *AddMemberParams
- func (o *AddMemberParams) WithDefaults() *AddMemberParams
- func (o *AddMemberParams) WithHTTPClient(client *http.Client) *AddMemberParams
- func (o *AddMemberParams) WithName(name string) *AddMemberParams
- func (o *AddMemberParams) WithTimeout(timeout time.Duration) *AddMemberParams
- func (o *AddMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddMemberReader
- type AddMemberUnauthorized
- func (o *AddMemberUnauthorized) Error() string
- func (o *AddMemberUnauthorized) GetPayload() *models.HTTPError
- func (o *AddMemberUnauthorized) IsClientError() bool
- func (o *AddMemberUnauthorized) IsCode(code int) bool
- func (o *AddMemberUnauthorized) IsRedirect() bool
- func (o *AddMemberUnauthorized) IsServerError() bool
- func (o *AddMemberUnauthorized) IsSuccess() bool
- func (o *AddMemberUnauthorized) String() string
- type Client
- func (a *Client) AddMember(params *AddMemberParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddMemberOK, error)
- func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateGroupCreated, error)
- func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteGroupOK, *DeleteGroupNoContent, error)
- func (a *Client) DeleteMember(params *DeleteMemberParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMemberNoContent, error)
- func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGroupOK, error)
- func (a *Client) RestoreGroup(params *RestoreGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestoreGroupOK, error)
- func (a *Client) SearchGroups(params *SearchGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateGroupBadRequest
- func (o *CreateGroupBadRequest) Error() string
- func (o *CreateGroupBadRequest) GetPayload() *models.HTTPError
- func (o *CreateGroupBadRequest) IsClientError() bool
- func (o *CreateGroupBadRequest) IsCode(code int) bool
- func (o *CreateGroupBadRequest) IsRedirect() bool
- func (o *CreateGroupBadRequest) IsServerError() bool
- func (o *CreateGroupBadRequest) IsSuccess() bool
- func (o *CreateGroupBadRequest) String() string
- type CreateGroupCreated
- func (o *CreateGroupCreated) Error() string
- func (o *CreateGroupCreated) GetPayload() *models.AddMemberResponse
- func (o *CreateGroupCreated) IsClientError() bool
- func (o *CreateGroupCreated) IsCode(code int) bool
- func (o *CreateGroupCreated) IsRedirect() bool
- func (o *CreateGroupCreated) IsServerError() bool
- func (o *CreateGroupCreated) IsSuccess() bool
- func (o *CreateGroupCreated) String() string
- type CreateGroupForbidden
- func (o *CreateGroupForbidden) Error() string
- func (o *CreateGroupForbidden) GetPayload() *models.HTTPError
- func (o *CreateGroupForbidden) IsClientError() bool
- func (o *CreateGroupForbidden) IsCode(code int) bool
- func (o *CreateGroupForbidden) IsRedirect() bool
- func (o *CreateGroupForbidden) IsServerError() bool
- func (o *CreateGroupForbidden) IsSuccess() bool
- func (o *CreateGroupForbidden) String() string
- type CreateGroupInternalServerError
- func (o *CreateGroupInternalServerError) Error() string
- func (o *CreateGroupInternalServerError) GetPayload() *models.HTTPError
- func (o *CreateGroupInternalServerError) IsClientError() bool
- func (o *CreateGroupInternalServerError) IsCode(code int) bool
- func (o *CreateGroupInternalServerError) IsRedirect() bool
- func (o *CreateGroupInternalServerError) IsServerError() bool
- func (o *CreateGroupInternalServerError) IsSuccess() bool
- func (o *CreateGroupInternalServerError) String() string
- type CreateGroupParams
- func (o *CreateGroupParams) SetBody(body *models.CreateGroup)
- func (o *CreateGroupParams) SetContext(ctx context.Context)
- func (o *CreateGroupParams) SetDefaults()
- func (o *CreateGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateGroupParams) WithBody(body *models.CreateGroup) *CreateGroupParams
- func (o *CreateGroupParams) WithContext(ctx context.Context) *CreateGroupParams
- func (o *CreateGroupParams) WithDefaults() *CreateGroupParams
- func (o *CreateGroupParams) WithHTTPClient(client *http.Client) *CreateGroupParams
- func (o *CreateGroupParams) WithTimeout(timeout time.Duration) *CreateGroupParams
- func (o *CreateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGroupReader
- type CreateGroupUnauthorized
- func (o *CreateGroupUnauthorized) Error() string
- func (o *CreateGroupUnauthorized) GetPayload() *models.HTTPError
- func (o *CreateGroupUnauthorized) IsClientError() bool
- func (o *CreateGroupUnauthorized) IsCode(code int) bool
- func (o *CreateGroupUnauthorized) IsRedirect() bool
- func (o *CreateGroupUnauthorized) IsServerError() bool
- func (o *CreateGroupUnauthorized) IsSuccess() bool
- func (o *CreateGroupUnauthorized) String() string
- type DeleteGroupBadRequest
- func (o *DeleteGroupBadRequest) Error() string
- func (o *DeleteGroupBadRequest) GetPayload() *models.HTTPError
- func (o *DeleteGroupBadRequest) IsClientError() bool
- func (o *DeleteGroupBadRequest) IsCode(code int) bool
- func (o *DeleteGroupBadRequest) IsRedirect() bool
- func (o *DeleteGroupBadRequest) IsServerError() bool
- func (o *DeleteGroupBadRequest) IsSuccess() bool
- func (o *DeleteGroupBadRequest) String() string
- type DeleteGroupForbidden
- func (o *DeleteGroupForbidden) Error() string
- func (o *DeleteGroupForbidden) GetPayload() *models.HTTPError
- func (o *DeleteGroupForbidden) IsClientError() bool
- func (o *DeleteGroupForbidden) IsCode(code int) bool
- func (o *DeleteGroupForbidden) IsRedirect() bool
- func (o *DeleteGroupForbidden) IsServerError() bool
- func (o *DeleteGroupForbidden) IsSuccess() bool
- func (o *DeleteGroupForbidden) String() string
- type DeleteGroupInternalServerError
- func (o *DeleteGroupInternalServerError) Error() string
- func (o *DeleteGroupInternalServerError) GetPayload() *models.HTTPError
- func (o *DeleteGroupInternalServerError) IsClientError() bool
- func (o *DeleteGroupInternalServerError) IsCode(code int) bool
- func (o *DeleteGroupInternalServerError) IsRedirect() bool
- func (o *DeleteGroupInternalServerError) IsServerError() bool
- func (o *DeleteGroupInternalServerError) IsSuccess() bool
- func (o *DeleteGroupInternalServerError) String() string
- type DeleteGroupNoContent
- func (o *DeleteGroupNoContent) Error() string
- func (o *DeleteGroupNoContent) IsClientError() bool
- func (o *DeleteGroupNoContent) IsCode(code int) bool
- func (o *DeleteGroupNoContent) IsRedirect() bool
- func (o *DeleteGroupNoContent) IsServerError() bool
- func (o *DeleteGroupNoContent) IsSuccess() bool
- func (o *DeleteGroupNoContent) String() string
- type DeleteGroupOK
- func (o *DeleteGroupOK) Error() string
- func (o *DeleteGroupOK) GetPayload() *models.MessageResponse
- func (o *DeleteGroupOK) IsClientError() bool
- func (o *DeleteGroupOK) IsCode(code int) bool
- func (o *DeleteGroupOK) IsRedirect() bool
- func (o *DeleteGroupOK) IsServerError() bool
- func (o *DeleteGroupOK) IsSuccess() bool
- func (o *DeleteGroupOK) String() string
- type DeleteGroupParams
- func (o *DeleteGroupParams) SetContext(ctx context.Context)
- func (o *DeleteGroupParams) SetDefaults()
- func (o *DeleteGroupParams) SetForce(force *bool)
- func (o *DeleteGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGroupParams) SetName(name string)
- func (o *DeleteGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGroupParams) WithContext(ctx context.Context) *DeleteGroupParams
- func (o *DeleteGroupParams) WithDefaults() *DeleteGroupParams
- func (o *DeleteGroupParams) WithForce(force *bool) *DeleteGroupParams
- func (o *DeleteGroupParams) WithHTTPClient(client *http.Client) *DeleteGroupParams
- func (o *DeleteGroupParams) WithName(name string) *DeleteGroupParams
- func (o *DeleteGroupParams) WithTimeout(timeout time.Duration) *DeleteGroupParams
- func (o *DeleteGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGroupReader
- type DeleteGroupUnauthorized
- func (o *DeleteGroupUnauthorized) Error() string
- func (o *DeleteGroupUnauthorized) GetPayload() *models.HTTPError
- func (o *DeleteGroupUnauthorized) IsClientError() bool
- func (o *DeleteGroupUnauthorized) IsCode(code int) bool
- func (o *DeleteGroupUnauthorized) IsRedirect() bool
- func (o *DeleteGroupUnauthorized) IsServerError() bool
- func (o *DeleteGroupUnauthorized) IsSuccess() bool
- func (o *DeleteGroupUnauthorized) String() string
- type DeleteMemberBadRequest
- func (o *DeleteMemberBadRequest) Error() string
- func (o *DeleteMemberBadRequest) GetPayload() *models.HTTPError
- func (o *DeleteMemberBadRequest) IsClientError() bool
- func (o *DeleteMemberBadRequest) IsCode(code int) bool
- func (o *DeleteMemberBadRequest) IsRedirect() bool
- func (o *DeleteMemberBadRequest) IsServerError() bool
- func (o *DeleteMemberBadRequest) IsSuccess() bool
- func (o *DeleteMemberBadRequest) String() string
- type DeleteMemberForbidden
- func (o *DeleteMemberForbidden) Error() string
- func (o *DeleteMemberForbidden) GetPayload() *models.HTTPError
- func (o *DeleteMemberForbidden) IsClientError() bool
- func (o *DeleteMemberForbidden) IsCode(code int) bool
- func (o *DeleteMemberForbidden) IsRedirect() bool
- func (o *DeleteMemberForbidden) IsServerError() bool
- func (o *DeleteMemberForbidden) IsSuccess() bool
- func (o *DeleteMemberForbidden) String() string
- type DeleteMemberInternalServerError
- func (o *DeleteMemberInternalServerError) Error() string
- func (o *DeleteMemberInternalServerError) GetPayload() *models.HTTPError
- func (o *DeleteMemberInternalServerError) IsClientError() bool
- func (o *DeleteMemberInternalServerError) IsCode(code int) bool
- func (o *DeleteMemberInternalServerError) IsRedirect() bool
- func (o *DeleteMemberInternalServerError) IsServerError() bool
- func (o *DeleteMemberInternalServerError) IsSuccess() bool
- func (o *DeleteMemberInternalServerError) String() string
- type DeleteMemberNoContent
- func (o *DeleteMemberNoContent) Error() string
- func (o *DeleteMemberNoContent) IsClientError() bool
- func (o *DeleteMemberNoContent) IsCode(code int) bool
- func (o *DeleteMemberNoContent) IsRedirect() bool
- func (o *DeleteMemberNoContent) IsServerError() bool
- func (o *DeleteMemberNoContent) IsSuccess() bool
- func (o *DeleteMemberNoContent) String() string
- type DeleteMemberParams
- func (o *DeleteMemberParams) SetBody(body *models.MemberRequest)
- func (o *DeleteMemberParams) SetContext(ctx context.Context)
- func (o *DeleteMemberParams) SetDefaults()
- func (o *DeleteMemberParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMemberParams) SetName(name string)
- func (o *DeleteMemberParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMemberParams) WithBody(body *models.MemberRequest) *DeleteMemberParams
- func (o *DeleteMemberParams) WithContext(ctx context.Context) *DeleteMemberParams
- func (o *DeleteMemberParams) WithDefaults() *DeleteMemberParams
- func (o *DeleteMemberParams) WithHTTPClient(client *http.Client) *DeleteMemberParams
- func (o *DeleteMemberParams) WithName(name string) *DeleteMemberParams
- func (o *DeleteMemberParams) WithTimeout(timeout time.Duration) *DeleteMemberParams
- func (o *DeleteMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMemberReader
- type DeleteMemberUnauthorized
- func (o *DeleteMemberUnauthorized) Error() string
- func (o *DeleteMemberUnauthorized) GetPayload() *models.HTTPError
- func (o *DeleteMemberUnauthorized) IsClientError() bool
- func (o *DeleteMemberUnauthorized) IsCode(code int) bool
- func (o *DeleteMemberUnauthorized) IsRedirect() bool
- func (o *DeleteMemberUnauthorized) IsServerError() bool
- func (o *DeleteMemberUnauthorized) IsSuccess() bool
- func (o *DeleteMemberUnauthorized) String() string
- type GetGroupBadRequest
- func (o *GetGroupBadRequest) Error() string
- func (o *GetGroupBadRequest) GetPayload() *models.HTTPError
- func (o *GetGroupBadRequest) IsClientError() bool
- func (o *GetGroupBadRequest) IsCode(code int) bool
- func (o *GetGroupBadRequest) IsRedirect() bool
- func (o *GetGroupBadRequest) IsServerError() bool
- func (o *GetGroupBadRequest) IsSuccess() bool
- func (o *GetGroupBadRequest) String() string
- type GetGroupForbidden
- func (o *GetGroupForbidden) Error() string
- func (o *GetGroupForbidden) GetPayload() *models.HTTPError
- func (o *GetGroupForbidden) IsClientError() bool
- func (o *GetGroupForbidden) IsCode(code int) bool
- func (o *GetGroupForbidden) IsRedirect() bool
- func (o *GetGroupForbidden) IsServerError() bool
- func (o *GetGroupForbidden) IsSuccess() bool
- func (o *GetGroupForbidden) String() string
- type GetGroupInternalServerError
- func (o *GetGroupInternalServerError) Error() string
- func (o *GetGroupInternalServerError) GetPayload() *models.HTTPError
- func (o *GetGroupInternalServerError) IsClientError() bool
- func (o *GetGroupInternalServerError) IsCode(code int) bool
- func (o *GetGroupInternalServerError) IsRedirect() bool
- func (o *GetGroupInternalServerError) IsServerError() bool
- func (o *GetGroupInternalServerError) IsSuccess() bool
- func (o *GetGroupInternalServerError) String() string
- type GetGroupNotFound
- func (o *GetGroupNotFound) Error() string
- func (o *GetGroupNotFound) GetPayload() *models.HTTPError
- func (o *GetGroupNotFound) IsClientError() bool
- func (o *GetGroupNotFound) IsCode(code int) bool
- func (o *GetGroupNotFound) IsRedirect() bool
- func (o *GetGroupNotFound) IsServerError() bool
- func (o *GetGroupNotFound) IsSuccess() bool
- func (o *GetGroupNotFound) String() string
- type GetGroupOK
- func (o *GetGroupOK) Error() string
- func (o *GetGroupOK) GetPayload() *models.GroupResponse
- func (o *GetGroupOK) IsClientError() bool
- func (o *GetGroupOK) IsCode(code int) bool
- func (o *GetGroupOK) IsRedirect() bool
- func (o *GetGroupOK) IsServerError() bool
- func (o *GetGroupOK) IsSuccess() bool
- func (o *GetGroupOK) String() string
- type GetGroupParams
- func (o *GetGroupParams) SetContext(ctx context.Context)
- func (o *GetGroupParams) SetDefaults()
- func (o *GetGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupParams) SetName(name string)
- func (o *GetGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupParams) WithContext(ctx context.Context) *GetGroupParams
- func (o *GetGroupParams) WithDefaults() *GetGroupParams
- func (o *GetGroupParams) WithHTTPClient(client *http.Client) *GetGroupParams
- func (o *GetGroupParams) WithName(name string) *GetGroupParams
- func (o *GetGroupParams) WithTimeout(timeout time.Duration) *GetGroupParams
- func (o *GetGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupReader
- type GetGroupUnauthorized
- func (o *GetGroupUnauthorized) Error() string
- func (o *GetGroupUnauthorized) GetPayload() *models.HTTPError
- func (o *GetGroupUnauthorized) IsClientError() bool
- func (o *GetGroupUnauthorized) IsCode(code int) bool
- func (o *GetGroupUnauthorized) IsRedirect() bool
- func (o *GetGroupUnauthorized) IsServerError() bool
- func (o *GetGroupUnauthorized) IsSuccess() bool
- func (o *GetGroupUnauthorized) String() string
- type RestoreGroupBadRequest
- func (o *RestoreGroupBadRequest) Error() string
- func (o *RestoreGroupBadRequest) GetPayload() *models.HTTPError
- func (o *RestoreGroupBadRequest) IsClientError() bool
- func (o *RestoreGroupBadRequest) IsCode(code int) bool
- func (o *RestoreGroupBadRequest) IsRedirect() bool
- func (o *RestoreGroupBadRequest) IsServerError() bool
- func (o *RestoreGroupBadRequest) IsSuccess() bool
- func (o *RestoreGroupBadRequest) String() string
- type RestoreGroupForbidden
- func (o *RestoreGroupForbidden) Error() string
- func (o *RestoreGroupForbidden) GetPayload() *models.HTTPError
- func (o *RestoreGroupForbidden) IsClientError() bool
- func (o *RestoreGroupForbidden) IsCode(code int) bool
- func (o *RestoreGroupForbidden) IsRedirect() bool
- func (o *RestoreGroupForbidden) IsServerError() bool
- func (o *RestoreGroupForbidden) IsSuccess() bool
- func (o *RestoreGroupForbidden) String() string
- type RestoreGroupInternalServerError
- func (o *RestoreGroupInternalServerError) Error() string
- func (o *RestoreGroupInternalServerError) GetPayload() *models.HTTPError
- func (o *RestoreGroupInternalServerError) IsClientError() bool
- func (o *RestoreGroupInternalServerError) IsCode(code int) bool
- func (o *RestoreGroupInternalServerError) IsRedirect() bool
- func (o *RestoreGroupInternalServerError) IsServerError() bool
- func (o *RestoreGroupInternalServerError) IsSuccess() bool
- func (o *RestoreGroupInternalServerError) String() string
- type RestoreGroupNotFound
- func (o *RestoreGroupNotFound) Error() string
- func (o *RestoreGroupNotFound) GetPayload() *models.HTTPError
- func (o *RestoreGroupNotFound) IsClientError() bool
- func (o *RestoreGroupNotFound) IsCode(code int) bool
- func (o *RestoreGroupNotFound) IsRedirect() bool
- func (o *RestoreGroupNotFound) IsServerError() bool
- func (o *RestoreGroupNotFound) IsSuccess() bool
- func (o *RestoreGroupNotFound) String() string
- type RestoreGroupOK
- func (o *RestoreGroupOK) Error() string
- func (o *RestoreGroupOK) IsClientError() bool
- func (o *RestoreGroupOK) IsCode(code int) bool
- func (o *RestoreGroupOK) IsRedirect() bool
- func (o *RestoreGroupOK) IsServerError() bool
- func (o *RestoreGroupOK) IsSuccess() bool
- func (o *RestoreGroupOK) String() string
- type RestoreGroupParams
- func (o *RestoreGroupParams) SetContext(ctx context.Context)
- func (o *RestoreGroupParams) SetDefaults()
- func (o *RestoreGroupParams) SetHTTPClient(client *http.Client)
- func (o *RestoreGroupParams) SetName(name string)
- func (o *RestoreGroupParams) SetTimeout(timeout time.Duration)
- func (o *RestoreGroupParams) WithContext(ctx context.Context) *RestoreGroupParams
- func (o *RestoreGroupParams) WithDefaults() *RestoreGroupParams
- func (o *RestoreGroupParams) WithHTTPClient(client *http.Client) *RestoreGroupParams
- func (o *RestoreGroupParams) WithName(name string) *RestoreGroupParams
- func (o *RestoreGroupParams) WithTimeout(timeout time.Duration) *RestoreGroupParams
- func (o *RestoreGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestoreGroupReader
- type RestoreGroupUnauthorized
- func (o *RestoreGroupUnauthorized) Error() string
- func (o *RestoreGroupUnauthorized) GetPayload() *models.HTTPError
- func (o *RestoreGroupUnauthorized) IsClientError() bool
- func (o *RestoreGroupUnauthorized) IsCode(code int) bool
- func (o *RestoreGroupUnauthorized) IsRedirect() bool
- func (o *RestoreGroupUnauthorized) IsServerError() bool
- func (o *RestoreGroupUnauthorized) IsSuccess() bool
- func (o *RestoreGroupUnauthorized) String() string
- type SearchGroupsBadRequest
- func (o *SearchGroupsBadRequest) Error() string
- func (o *SearchGroupsBadRequest) GetPayload() *models.HTTPError
- func (o *SearchGroupsBadRequest) IsClientError() bool
- func (o *SearchGroupsBadRequest) IsCode(code int) bool
- func (o *SearchGroupsBadRequest) IsRedirect() bool
- func (o *SearchGroupsBadRequest) IsServerError() bool
- func (o *SearchGroupsBadRequest) IsSuccess() bool
- func (o *SearchGroupsBadRequest) String() string
- type SearchGroupsForbidden
- func (o *SearchGroupsForbidden) Error() string
- func (o *SearchGroupsForbidden) GetPayload() *models.HTTPError
- func (o *SearchGroupsForbidden) IsClientError() bool
- func (o *SearchGroupsForbidden) IsCode(code int) bool
- func (o *SearchGroupsForbidden) IsRedirect() bool
- func (o *SearchGroupsForbidden) IsServerError() bool
- func (o *SearchGroupsForbidden) IsSuccess() bool
- func (o *SearchGroupsForbidden) String() string
- type SearchGroupsInternalServerError
- func (o *SearchGroupsInternalServerError) Error() string
- func (o *SearchGroupsInternalServerError) GetPayload() *models.HTTPError
- func (o *SearchGroupsInternalServerError) IsClientError() bool
- func (o *SearchGroupsInternalServerError) IsCode(code int) bool
- func (o *SearchGroupsInternalServerError) IsRedirect() bool
- func (o *SearchGroupsInternalServerError) IsServerError() bool
- func (o *SearchGroupsInternalServerError) IsSuccess() bool
- func (o *SearchGroupsInternalServerError) String() string
- type SearchGroupsOK
- func (o *SearchGroupsOK) Error() string
- func (o *SearchGroupsOK) GetPayload() *models.ResponseModelSearch
- func (o *SearchGroupsOK) IsClientError() bool
- func (o *SearchGroupsOK) IsCode(code int) bool
- func (o *SearchGroupsOK) IsRedirect() bool
- func (o *SearchGroupsOK) IsServerError() bool
- func (o *SearchGroupsOK) IsSuccess() bool
- func (o *SearchGroupsOK) String() string
- type SearchGroupsParams
- func (o *SearchGroupsParams) SetContext(ctx context.Context)
- func (o *SearchGroupsParams) SetCursor(cursor *string)
- func (o *SearchGroupsParams) SetDefaults()
- func (o *SearchGroupsParams) SetHTTPClient(client *http.Client)
- func (o *SearchGroupsParams) SetLimit(limit *int64)
- func (o *SearchGroupsParams) SetSearchTerm(searchTerm *string)
- func (o *SearchGroupsParams) SetSort(sort *string)
- func (o *SearchGroupsParams) SetSortedBy(sortedBy *string)
- func (o *SearchGroupsParams) SetTimeout(timeout time.Duration)
- func (o *SearchGroupsParams) WithContext(ctx context.Context) *SearchGroupsParams
- func (o *SearchGroupsParams) WithCursor(cursor *string) *SearchGroupsParams
- func (o *SearchGroupsParams) WithDefaults() *SearchGroupsParams
- func (o *SearchGroupsParams) WithHTTPClient(client *http.Client) *SearchGroupsParams
- func (o *SearchGroupsParams) WithLimit(limit *int64) *SearchGroupsParams
- func (o *SearchGroupsParams) WithSearchTerm(searchTerm *string) *SearchGroupsParams
- func (o *SearchGroupsParams) WithSort(sort *string) *SearchGroupsParams
- func (o *SearchGroupsParams) WithSortedBy(sortedBy *string) *SearchGroupsParams
- func (o *SearchGroupsParams) WithTimeout(timeout time.Duration) *SearchGroupsParams
- func (o *SearchGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchGroupsReader
- type SearchGroupsUnauthorized
- func (o *SearchGroupsUnauthorized) Error() string
- func (o *SearchGroupsUnauthorized) GetPayload() *models.HTTPError
- func (o *SearchGroupsUnauthorized) IsClientError() bool
- func (o *SearchGroupsUnauthorized) IsCode(code int) bool
- func (o *SearchGroupsUnauthorized) IsRedirect() bool
- func (o *SearchGroupsUnauthorized) IsServerError() bool
- func (o *SearchGroupsUnauthorized) IsSuccess() bool
- func (o *SearchGroupsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMemberBadRequest ¶
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 ¶
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 ¶
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 (o *AddMemberInternalServerError) Error() string
func (*AddMemberInternalServerError) GetPayload ¶
func (o *AddMemberInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *AddMemberInternalServerError) String() 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 ¶
func (o *AddMemberParams) WithBody(body *models.MemberRequest) *AddMemberParams
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 {
}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 ¶
func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupOK, *DeleteGroupNoContent, error)
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 ¶
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 ¶
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 ¶
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 (o *CreateGroupInternalServerError) Error() string
func (*CreateGroupInternalServerError) GetPayload ¶
func (o *CreateGroupInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *CreateGroupInternalServerError) String() 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 ¶
func (o *CreateGroupParams) WithBody(body *models.CreateGroup) *CreateGroupParams
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 {
}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 ¶
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 ¶
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 ¶
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 (o *DeleteGroupInternalServerError) Error() string
func (*DeleteGroupInternalServerError) GetPayload ¶
func (o *DeleteGroupInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *DeleteGroupInternalServerError) String() 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 {
}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 ¶
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 ¶
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 ¶
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 (o *DeleteMemberInternalServerError) Error() string
func (*DeleteMemberInternalServerError) GetPayload ¶
func (o *DeleteMemberInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *DeleteMemberInternalServerError) String() 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 ¶
func (o *DeleteMemberParams) WithBody(body *models.MemberRequest) *DeleteMemberParams
WithBody adds the body to the delete member params
func (*DeleteMemberParams) WithContext ¶
func (o *DeleteMemberParams) WithContext(ctx context.Context) *DeleteMemberParams
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 {
}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 ¶
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 ¶
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 ¶
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 (o *GetGroupInternalServerError) Error() string
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 ¶
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 {
}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 ¶
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 ¶
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 ¶
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 (o *RestoreGroupInternalServerError) Error() string
func (*RestoreGroupInternalServerError) GetPayload ¶
func (o *RestoreGroupInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *RestoreGroupInternalServerError) String() string
type RestoreGroupNotFound ¶
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 ¶
func (o *RestoreGroupParams) WithContext(ctx context.Context) *RestoreGroupParams
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 {
}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 ¶
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 ¶
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 ¶
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 (o *SearchGroupsInternalServerError) Error() string
func (*SearchGroupsInternalServerError) GetPayload ¶
func (o *SearchGroupsInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *SearchGroupsInternalServerError) String() 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 ¶
func (o *SearchGroupsParams) WithContext(ctx context.Context) *SearchGroupsParams
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 {
}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
Source Files ¶
- add_member_parameters.go
- add_member_responses.go
- create_group_parameters.go
- create_group_responses.go
- delete_group_parameters.go
- delete_group_responses.go
- delete_member_parameters.go
- delete_member_responses.go
- get_group_parameters.go
- get_group_responses.go
- groups_client.go
- restore_group_parameters.go
- restore_group_responses.go
- search_groups_parameters.go
- search_groups_responses.go