groups

package
v0.0.0-...-8ec8102 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUserToGroupBadRequest

type AddUserToGroupBadRequest struct {
	Payload *models.Error
}

AddUserToGroupBadRequest describes a response with status code 400, with default header values.

Bad request

func NewAddUserToGroupBadRequest

func NewAddUserToGroupBadRequest() *AddUserToGroupBadRequest

NewAddUserToGroupBadRequest creates a AddUserToGroupBadRequest with default headers values

func (*AddUserToGroupBadRequest) Code

func (o *AddUserToGroupBadRequest) Code() int

Code gets the status code for the add user to group bad request response

func (*AddUserToGroupBadRequest) Error

func (o *AddUserToGroupBadRequest) Error() string

func (*AddUserToGroupBadRequest) GetPayload

func (o *AddUserToGroupBadRequest) GetPayload() *models.Error

func (*AddUserToGroupBadRequest) IsClientError

func (o *AddUserToGroupBadRequest) IsClientError() bool

IsClientError returns true when this add user to group bad request response has a 4xx status code

func (*AddUserToGroupBadRequest) IsCode

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

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

func (*AddUserToGroupBadRequest) IsRedirect

func (o *AddUserToGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this add user to group bad request response has a 3xx status code

func (*AddUserToGroupBadRequest) IsServerError

func (o *AddUserToGroupBadRequest) IsServerError() bool

IsServerError returns true when this add user to group bad request response has a 5xx status code

func (*AddUserToGroupBadRequest) IsSuccess

func (o *AddUserToGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this add user to group bad request response has a 2xx status code

func (*AddUserToGroupBadRequest) String

func (o *AddUserToGroupBadRequest) String() string

type AddUserToGroupConflict

type AddUserToGroupConflict struct {
	Payload *models.Error
}

AddUserToGroupConflict describes a response with status code 409, with default header values.

Conflict

func NewAddUserToGroupConflict

func NewAddUserToGroupConflict() *AddUserToGroupConflict

NewAddUserToGroupConflict creates a AddUserToGroupConflict with default headers values

func (*AddUserToGroupConflict) Code

func (o *AddUserToGroupConflict) Code() int

Code gets the status code for the add user to group conflict response

func (*AddUserToGroupConflict) Error

func (o *AddUserToGroupConflict) Error() string

func (*AddUserToGroupConflict) GetPayload

func (o *AddUserToGroupConflict) GetPayload() *models.Error

func (*AddUserToGroupConflict) IsClientError

func (o *AddUserToGroupConflict) IsClientError() bool

IsClientError returns true when this add user to group conflict response has a 4xx status code

func (*AddUserToGroupConflict) IsCode

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

IsCode returns true when this add user to group conflict response a status code equal to that given

func (*AddUserToGroupConflict) IsRedirect

func (o *AddUserToGroupConflict) IsRedirect() bool

IsRedirect returns true when this add user to group conflict response has a 3xx status code

func (*AddUserToGroupConflict) IsServerError

func (o *AddUserToGroupConflict) IsServerError() bool

IsServerError returns true when this add user to group conflict response has a 5xx status code

func (*AddUserToGroupConflict) IsSuccess

func (o *AddUserToGroupConflict) IsSuccess() bool

IsSuccess returns true when this add user to group conflict response has a 2xx status code

func (*AddUserToGroupConflict) String

func (o *AddUserToGroupConflict) String() string

type AddUserToGroupForbidden

type AddUserToGroupForbidden struct {
	Payload *models.Error
}

AddUserToGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAddUserToGroupForbidden

func NewAddUserToGroupForbidden() *AddUserToGroupForbidden

NewAddUserToGroupForbidden creates a AddUserToGroupForbidden with default headers values

func (*AddUserToGroupForbidden) Code

func (o *AddUserToGroupForbidden) Code() int

Code gets the status code for the add user to group forbidden response

func (*AddUserToGroupForbidden) Error

func (o *AddUserToGroupForbidden) Error() string

func (*AddUserToGroupForbidden) GetPayload

func (o *AddUserToGroupForbidden) GetPayload() *models.Error

func (*AddUserToGroupForbidden) IsClientError

func (o *AddUserToGroupForbidden) IsClientError() bool

IsClientError returns true when this add user to group forbidden response has a 4xx status code

func (*AddUserToGroupForbidden) IsCode

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

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

func (*AddUserToGroupForbidden) IsRedirect

func (o *AddUserToGroupForbidden) IsRedirect() bool

IsRedirect returns true when this add user to group forbidden response has a 3xx status code

func (*AddUserToGroupForbidden) IsServerError

func (o *AddUserToGroupForbidden) IsServerError() bool

IsServerError returns true when this add user to group forbidden response has a 5xx status code

func (*AddUserToGroupForbidden) IsSuccess

func (o *AddUserToGroupForbidden) IsSuccess() bool

IsSuccess returns true when this add user to group forbidden response has a 2xx status code

func (*AddUserToGroupForbidden) String

func (o *AddUserToGroupForbidden) String() string

type AddUserToGroupNoContent

type AddUserToGroupNoContent struct {
}

AddUserToGroupNoContent describes a response with status code 204, with default header values.

OK

func NewAddUserToGroupNoContent

func NewAddUserToGroupNoContent() *AddUserToGroupNoContent

NewAddUserToGroupNoContent creates a AddUserToGroupNoContent with default headers values

func (*AddUserToGroupNoContent) Code

func (o *AddUserToGroupNoContent) Code() int

Code gets the status code for the add user to group no content response

func (*AddUserToGroupNoContent) Error

func (o *AddUserToGroupNoContent) Error() string

func (*AddUserToGroupNoContent) IsClientError

func (o *AddUserToGroupNoContent) IsClientError() bool

IsClientError returns true when this add user to group no content response has a 4xx status code

func (*AddUserToGroupNoContent) IsCode

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

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

func (*AddUserToGroupNoContent) IsRedirect

func (o *AddUserToGroupNoContent) IsRedirect() bool

IsRedirect returns true when this add user to group no content response has a 3xx status code

func (*AddUserToGroupNoContent) IsServerError

func (o *AddUserToGroupNoContent) IsServerError() bool

IsServerError returns true when this add user to group no content response has a 5xx status code

func (*AddUserToGroupNoContent) IsSuccess

func (o *AddUserToGroupNoContent) IsSuccess() bool

IsSuccess returns true when this add user to group no content response has a 2xx status code

func (*AddUserToGroupNoContent) String

func (o *AddUserToGroupNoContent) String() string

type AddUserToGroupNotFound

type AddUserToGroupNotFound struct {
	Payload *models.Error
}

AddUserToGroupNotFound describes a response with status code 404, with default header values.

Not found

func NewAddUserToGroupNotFound

func NewAddUserToGroupNotFound() *AddUserToGroupNotFound

NewAddUserToGroupNotFound creates a AddUserToGroupNotFound with default headers values

func (*AddUserToGroupNotFound) Code

func (o *AddUserToGroupNotFound) Code() int

Code gets the status code for the add user to group not found response

func (*AddUserToGroupNotFound) Error

func (o *AddUserToGroupNotFound) Error() string

func (*AddUserToGroupNotFound) GetPayload

func (o *AddUserToGroupNotFound) GetPayload() *models.Error

func (*AddUserToGroupNotFound) IsClientError

func (o *AddUserToGroupNotFound) IsClientError() bool

IsClientError returns true when this add user to group not found response has a 4xx status code

func (*AddUserToGroupNotFound) IsCode

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

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

func (*AddUserToGroupNotFound) IsRedirect

func (o *AddUserToGroupNotFound) IsRedirect() bool

IsRedirect returns true when this add user to group not found response has a 3xx status code

func (*AddUserToGroupNotFound) IsServerError

func (o *AddUserToGroupNotFound) IsServerError() bool

IsServerError returns true when this add user to group not found response has a 5xx status code

func (*AddUserToGroupNotFound) IsSuccess

func (o *AddUserToGroupNotFound) IsSuccess() bool

IsSuccess returns true when this add user to group not found response has a 2xx status code

func (*AddUserToGroupNotFound) String

func (o *AddUserToGroupNotFound) String() string

type AddUserToGroupParams

type AddUserToGroupParams struct {

	// GroupID.
	GroupID string

	// IPID.
	IPID string

	// UserID.
	UserID string

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

AddUserToGroupParams contains all the parameters to send to the API endpoint

for the add user to group operation.

Typically these are written to a http.Request.

func NewAddUserToGroupParams

func NewAddUserToGroupParams() *AddUserToGroupParams

NewAddUserToGroupParams creates a new AddUserToGroupParams 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 NewAddUserToGroupParamsWithContext

func NewAddUserToGroupParamsWithContext(ctx context.Context) *AddUserToGroupParams

NewAddUserToGroupParamsWithContext creates a new AddUserToGroupParams object with the ability to set a context for a request.

func NewAddUserToGroupParamsWithHTTPClient

func NewAddUserToGroupParamsWithHTTPClient(client *http.Client) *AddUserToGroupParams

NewAddUserToGroupParamsWithHTTPClient creates a new AddUserToGroupParams object with the ability to set a custom HTTPClient for a request.

func NewAddUserToGroupParamsWithTimeout

func NewAddUserToGroupParamsWithTimeout(timeout time.Duration) *AddUserToGroupParams

NewAddUserToGroupParamsWithTimeout creates a new AddUserToGroupParams object with the ability to set a timeout on a request.

func (*AddUserToGroupParams) SetContext

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

SetContext adds the context to the add user to group params

func (*AddUserToGroupParams) SetDefaults

func (o *AddUserToGroupParams) SetDefaults()

SetDefaults hydrates default values in the add user to group params (not the query body).

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

func (*AddUserToGroupParams) SetGroupID

func (o *AddUserToGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the add user to group params

func (*AddUserToGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add user to group params

func (*AddUserToGroupParams) SetIPID

func (o *AddUserToGroupParams) SetIPID(iPID string)

SetIPID adds the ipId to the add user to group params

func (*AddUserToGroupParams) SetTimeout

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

SetTimeout adds the timeout to the add user to group params

func (*AddUserToGroupParams) SetUserID

func (o *AddUserToGroupParams) SetUserID(userID string)

SetUserID adds the userId to the add user to group params

func (*AddUserToGroupParams) WithContext

WithContext adds the context to the add user to group params

func (*AddUserToGroupParams) WithDefaults

func (o *AddUserToGroupParams) WithDefaults() *AddUserToGroupParams

WithDefaults hydrates default values in the add user to group params (not the query body).

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

func (*AddUserToGroupParams) WithGroupID

func (o *AddUserToGroupParams) WithGroupID(groupID string) *AddUserToGroupParams

WithGroupID adds the groupID to the add user to group params

func (*AddUserToGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add user to group params

func (*AddUserToGroupParams) WithIPID

WithIPID adds the iPID to the add user to group params

func (*AddUserToGroupParams) WithTimeout

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

WithTimeout adds the timeout to the add user to group params

func (*AddUserToGroupParams) WithUserID

func (o *AddUserToGroupParams) WithUserID(userID string) *AddUserToGroupParams

WithUserID adds the userID to the add user to group params

func (*AddUserToGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddUserToGroupReader

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

AddUserToGroupReader is a Reader for the AddUserToGroup structure.

func (*AddUserToGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddUserToGroupTooManyRequests

type AddUserToGroupTooManyRequests struct {
	Payload *models.Error
}

AddUserToGroupTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewAddUserToGroupTooManyRequests

func NewAddUserToGroupTooManyRequests() *AddUserToGroupTooManyRequests

NewAddUserToGroupTooManyRequests creates a AddUserToGroupTooManyRequests with default headers values

func (*AddUserToGroupTooManyRequests) Code

Code gets the status code for the add user to group too many requests response

func (*AddUserToGroupTooManyRequests) Error

func (*AddUserToGroupTooManyRequests) GetPayload

func (o *AddUserToGroupTooManyRequests) GetPayload() *models.Error

func (*AddUserToGroupTooManyRequests) IsClientError

func (o *AddUserToGroupTooManyRequests) IsClientError() bool

IsClientError returns true when this add user to group too many requests response has a 4xx status code

func (*AddUserToGroupTooManyRequests) IsCode

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

IsCode returns true when this add user to group too many requests response a status code equal to that given

func (*AddUserToGroupTooManyRequests) IsRedirect

func (o *AddUserToGroupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this add user to group too many requests response has a 3xx status code

func (*AddUserToGroupTooManyRequests) IsServerError

func (o *AddUserToGroupTooManyRequests) IsServerError() bool

IsServerError returns true when this add user to group too many requests response has a 5xx status code

func (*AddUserToGroupTooManyRequests) IsSuccess

func (o *AddUserToGroupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this add user to group too many requests response has a 2xx status code

func (*AddUserToGroupTooManyRequests) String

type AddUserToGroupUnauthorized

type AddUserToGroupUnauthorized struct {
	Payload *models.Error
}

AddUserToGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewAddUserToGroupUnauthorized

func NewAddUserToGroupUnauthorized() *AddUserToGroupUnauthorized

NewAddUserToGroupUnauthorized creates a AddUserToGroupUnauthorized with default headers values

func (*AddUserToGroupUnauthorized) Code

func (o *AddUserToGroupUnauthorized) Code() int

Code gets the status code for the add user to group unauthorized response

func (*AddUserToGroupUnauthorized) Error

func (*AddUserToGroupUnauthorized) GetPayload

func (o *AddUserToGroupUnauthorized) GetPayload() *models.Error

func (*AddUserToGroupUnauthorized) IsClientError

func (o *AddUserToGroupUnauthorized) IsClientError() bool

IsClientError returns true when this add user to group unauthorized response has a 4xx status code

func (*AddUserToGroupUnauthorized) IsCode

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

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

func (*AddUserToGroupUnauthorized) IsRedirect

func (o *AddUserToGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this add user to group unauthorized response has a 3xx status code

func (*AddUserToGroupUnauthorized) IsServerError

func (o *AddUserToGroupUnauthorized) IsServerError() bool

IsServerError returns true when this add user to group unauthorized response has a 5xx status code

func (*AddUserToGroupUnauthorized) IsSuccess

func (o *AddUserToGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this add user to group unauthorized response has a 2xx status code

func (*AddUserToGroupUnauthorized) String

func (o *AddUserToGroupUnauthorized) String() string

type AddUserToGroupUnprocessableEntity

type AddUserToGroupUnprocessableEntity struct {
	Payload *models.Error
}

AddUserToGroupUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewAddUserToGroupUnprocessableEntity

func NewAddUserToGroupUnprocessableEntity() *AddUserToGroupUnprocessableEntity

NewAddUserToGroupUnprocessableEntity creates a AddUserToGroupUnprocessableEntity with default headers values

func (*AddUserToGroupUnprocessableEntity) Code

Code gets the status code for the add user to group unprocessable entity response

func (*AddUserToGroupUnprocessableEntity) Error

func (*AddUserToGroupUnprocessableEntity) GetPayload

func (*AddUserToGroupUnprocessableEntity) IsClientError

func (o *AddUserToGroupUnprocessableEntity) IsClientError() bool

IsClientError returns true when this add user to group unprocessable entity response has a 4xx status code

func (*AddUserToGroupUnprocessableEntity) IsCode

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

IsCode returns true when this add user to group unprocessable entity response a status code equal to that given

func (*AddUserToGroupUnprocessableEntity) IsRedirect

func (o *AddUserToGroupUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this add user to group unprocessable entity response has a 3xx status code

func (*AddUserToGroupUnprocessableEntity) IsServerError

func (o *AddUserToGroupUnprocessableEntity) IsServerError() bool

IsServerError returns true when this add user to group unprocessable entity response has a 5xx status code

func (*AddUserToGroupUnprocessableEntity) IsSuccess

func (o *AddUserToGroupUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this add user to group unprocessable entity response has a 2xx status code

func (*AddUserToGroupUnprocessableEntity) String

type Client

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

Client for groups API

func (*Client) AddUserToGroup

func (a *Client) AddUserToGroup(params *AddUserToGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddUserToGroupNoContent, error)

AddUserToGroup adds user to a specific group

func (*Client) CreateGroup

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

CreateGroup creates group

func (*Client) DeleteGroup

func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupNoContent, error)

DeleteGroup deletes group

Delete a group.

func (*Client) GetGroup

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

GetGroup gets group details

Retrieve a group details.

func (*Client) IsUserInGroup

func (a *Client) IsUserInGroup(params *IsUserInGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IsUserInGroupNoContent, error)
IsUserInGroup checks if user is in group

Checks if user is in the group.

Fails with 404 if user is not in the group. If query param with_nested_groups is set to true, it will check if user is in requested group or any nested group.

func (*Client) ListGroups

func (a *Client) ListGroups(params *ListGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGroupsOK, error)
ListGroups lists groups

Retrieve the top level list of groups from the specified identity pool.

If query param parent_id is set, the response will contain top level list of groups that are children of the specified group.

If query param with_nested_groups is set to true, the response will contain a list of groups with all nested groups (also nested groups of nested groups etc.)

Results are sorted by group `name`. No other sorting is supported.

func (*Client) ListUserGroups

func (a *Client) ListUserGroups(params *ListUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserGroupsOK, error)
ListUserGroups lists user groups

Retrieve the list of groups that user belongs to.

If query param with_parent_groups is set to true, the response will contain a list of groups and all parent groups

Results are sorted by group `name`. No other sorting is supported.

func (*Client) ListUsersInGroup

func (a *Client) ListUsersInGroup(params *ListUsersInGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersInGroupOK, error)
ListUsersInGroup lists users in group

Retrieve the list of users under specific group.

If query param with_nested_groups is set to true, the response will contain a list of users in that group and all nested groups

Results are sorted by user ID. No other sorting is supported.

This endpoint follows eventual consistency and may temporarily omit newly created users under high load.

func (*Client) RemoveUserFromGroup

func (a *Client) RemoveUserFromGroup(params *RemoveUserFromGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserFromGroupNoContent, error)

RemoveUserFromGroup removes user from group

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateGroup

func (a *Client) UpdateGroup(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGroupOK, error)

UpdateGroup updates group

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	AddUserToGroup(params *AddUserToGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddUserToGroupNoContent, error)

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

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

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

	IsUserInGroup(params *IsUserInGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IsUserInGroupNoContent, error)

	ListGroups(params *ListGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGroupsOK, error)

	ListUserGroups(params *ListUserGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserGroupsOK, error)

	ListUsersInGroup(params *ListUsersInGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersInGroupOK, error)

	RemoveUserFromGroup(params *RemoveUserFromGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveUserFromGroupNoContent, error)

	UpdateGroup(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGroupOK, 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.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new groups API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new groups API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateGroupBadRequest

type CreateGroupBadRequest struct {
	Payload *models.Error
}

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) Code

func (o *CreateGroupBadRequest) Code() int

Code gets the status code for the create group bad request response

func (*CreateGroupBadRequest) Error

func (o *CreateGroupBadRequest) Error() string

func (*CreateGroupBadRequest) GetPayload

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

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 CreateGroupConflict

type CreateGroupConflict struct {
	Payload *models.Error
}

CreateGroupConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateGroupConflict

func NewCreateGroupConflict() *CreateGroupConflict

NewCreateGroupConflict creates a CreateGroupConflict with default headers values

func (*CreateGroupConflict) Code

func (o *CreateGroupConflict) Code() int

Code gets the status code for the create group conflict response

func (*CreateGroupConflict) Error

func (o *CreateGroupConflict) Error() string

func (*CreateGroupConflict) GetPayload

func (o *CreateGroupConflict) GetPayload() *models.Error

func (*CreateGroupConflict) IsClientError

func (o *CreateGroupConflict) IsClientError() bool

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

func (*CreateGroupConflict) IsCode

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

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

func (*CreateGroupConflict) IsRedirect

func (o *CreateGroupConflict) IsRedirect() bool

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

func (*CreateGroupConflict) IsServerError

func (o *CreateGroupConflict) IsServerError() bool

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

func (*CreateGroupConflict) IsSuccess

func (o *CreateGroupConflict) IsSuccess() bool

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

func (*CreateGroupConflict) String

func (o *CreateGroupConflict) String() string

type CreateGroupCreated

type CreateGroupCreated struct {
	Payload *models.Group
}

CreateGroupCreated describes a response with status code 201, with default header values.

Group

func NewCreateGroupCreated

func NewCreateGroupCreated() *CreateGroupCreated

NewCreateGroupCreated creates a CreateGroupCreated with default headers values

func (*CreateGroupCreated) Code

func (o *CreateGroupCreated) Code() int

Code gets the status code for the create group created response

func (*CreateGroupCreated) Error

func (o *CreateGroupCreated) Error() string

func (*CreateGroupCreated) GetPayload

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

func (*CreateGroupCreated) IsClientError

func (o *CreateGroupCreated) IsClientError() bool

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

func (*CreateGroupCreated) IsCode

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

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

func (*CreateGroupCreated) IsRedirect

func (o *CreateGroupCreated) IsRedirect() bool

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

func (*CreateGroupCreated) IsServerError

func (o *CreateGroupCreated) IsServerError() bool

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

func (*CreateGroupCreated) IsSuccess

func (o *CreateGroupCreated) IsSuccess() bool

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

func (*CreateGroupCreated) String

func (o *CreateGroupCreated) String() string

type CreateGroupForbidden

type CreateGroupForbidden struct {
	Payload *models.Error
}

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) Code

func (o *CreateGroupForbidden) Code() int

Code gets the status code for the create group forbidden response

func (*CreateGroupForbidden) Error

func (o *CreateGroupForbidden) Error() string

func (*CreateGroupForbidden) GetPayload

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

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 CreateGroupNotFound

type CreateGroupNotFound struct {
	Payload *models.Error
}

CreateGroupNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateGroupNotFound

func NewCreateGroupNotFound() *CreateGroupNotFound

NewCreateGroupNotFound creates a CreateGroupNotFound with default headers values

func (*CreateGroupNotFound) Code

func (o *CreateGroupNotFound) Code() int

Code gets the status code for the create group not found response

func (*CreateGroupNotFound) Error

func (o *CreateGroupNotFound) Error() string

func (*CreateGroupNotFound) GetPayload

func (o *CreateGroupNotFound) GetPayload() *models.Error

func (*CreateGroupNotFound) IsClientError

func (o *CreateGroupNotFound) IsClientError() bool

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

func (*CreateGroupNotFound) IsCode

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

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

func (*CreateGroupNotFound) IsRedirect

func (o *CreateGroupNotFound) IsRedirect() bool

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

func (*CreateGroupNotFound) IsServerError

func (o *CreateGroupNotFound) IsServerError() bool

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

func (*CreateGroupNotFound) IsSuccess

func (o *CreateGroupNotFound) IsSuccess() bool

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

func (*CreateGroupNotFound) String

func (o *CreateGroupNotFound) String() string

type CreateGroupParams

type CreateGroupParams struct {

	// NewGroup.
	NewGroup *models.Group

	// IPID.
	IPID string

	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) 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) SetIPID

func (o *CreateGroupParams) SetIPID(iPID string)

SetIPID adds the ipId to the create group params

func (*CreateGroupParams) SetNewGroup

func (o *CreateGroupParams) SetNewGroup(newGroup *models.Group)

SetNewGroup adds the newGroup 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) 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) WithIPID

func (o *CreateGroupParams) WithIPID(iPID string) *CreateGroupParams

WithIPID adds the iPID to the create group params

func (*CreateGroupParams) WithNewGroup

func (o *CreateGroupParams) WithNewGroup(newGroup *models.Group) *CreateGroupParams

WithNewGroup adds the newGroup 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 CreateGroupTooManyRequests

type CreateGroupTooManyRequests struct {
	Payload *models.Error
}

CreateGroupTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewCreateGroupTooManyRequests

func NewCreateGroupTooManyRequests() *CreateGroupTooManyRequests

NewCreateGroupTooManyRequests creates a CreateGroupTooManyRequests with default headers values

func (*CreateGroupTooManyRequests) Code

func (o *CreateGroupTooManyRequests) Code() int

Code gets the status code for the create group too many requests response

func (*CreateGroupTooManyRequests) Error

func (*CreateGroupTooManyRequests) GetPayload

func (o *CreateGroupTooManyRequests) GetPayload() *models.Error

func (*CreateGroupTooManyRequests) IsClientError

func (o *CreateGroupTooManyRequests) IsClientError() bool

IsClientError returns true when this create group too many requests response has a 4xx status code

func (*CreateGroupTooManyRequests) IsCode

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

IsCode returns true when this create group too many requests response a status code equal to that given

func (*CreateGroupTooManyRequests) IsRedirect

func (o *CreateGroupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create group too many requests response has a 3xx status code

func (*CreateGroupTooManyRequests) IsServerError

func (o *CreateGroupTooManyRequests) IsServerError() bool

IsServerError returns true when this create group too many requests response has a 5xx status code

func (*CreateGroupTooManyRequests) IsSuccess

func (o *CreateGroupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create group too many requests response has a 2xx status code

func (*CreateGroupTooManyRequests) String

func (o *CreateGroupTooManyRequests) String() string

type CreateGroupUnauthorized

type CreateGroupUnauthorized struct {
	Payload *models.Error
}

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) Code

func (o *CreateGroupUnauthorized) Code() int

Code gets the status code for the create group unauthorized response

func (*CreateGroupUnauthorized) Error

func (o *CreateGroupUnauthorized) Error() string

func (*CreateGroupUnauthorized) GetPayload

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

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 CreateGroupUnprocessableEntity

type CreateGroupUnprocessableEntity struct {
	Payload *models.Error
}

CreateGroupUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCreateGroupUnprocessableEntity

func NewCreateGroupUnprocessableEntity() *CreateGroupUnprocessableEntity

NewCreateGroupUnprocessableEntity creates a CreateGroupUnprocessableEntity with default headers values

func (*CreateGroupUnprocessableEntity) Code

Code gets the status code for the create group unprocessable entity response

func (*CreateGroupUnprocessableEntity) Error

func (*CreateGroupUnprocessableEntity) GetPayload

func (o *CreateGroupUnprocessableEntity) GetPayload() *models.Error

func (*CreateGroupUnprocessableEntity) IsClientError

func (o *CreateGroupUnprocessableEntity) IsClientError() bool

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

func (*CreateGroupUnprocessableEntity) IsCode

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

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

func (*CreateGroupUnprocessableEntity) IsRedirect

func (o *CreateGroupUnprocessableEntity) IsRedirect() bool

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

func (*CreateGroupUnprocessableEntity) IsServerError

func (o *CreateGroupUnprocessableEntity) IsServerError() bool

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

func (*CreateGroupUnprocessableEntity) IsSuccess

func (o *CreateGroupUnprocessableEntity) IsSuccess() bool

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

func (*CreateGroupUnprocessableEntity) String

type DeleteGroupForbidden

type DeleteGroupForbidden struct {
	Payload *models.Error
}

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) Code

func (o *DeleteGroupForbidden) Code() int

Code gets the status code for the delete group forbidden response

func (*DeleteGroupForbidden) Error

func (o *DeleteGroupForbidden) Error() string

func (*DeleteGroupForbidden) GetPayload

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

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 DeleteGroupNoContent

type DeleteGroupNoContent struct {
}

DeleteGroupNoContent describes a response with status code 204, with default header values.

Group has been deleted

func NewDeleteGroupNoContent

func NewDeleteGroupNoContent() *DeleteGroupNoContent

NewDeleteGroupNoContent creates a DeleteGroupNoContent with default headers values

func (*DeleteGroupNoContent) Code

func (o *DeleteGroupNoContent) Code() int

Code gets the status code for the delete group no content response

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 DeleteGroupNotFound

type DeleteGroupNotFound struct {
	Payload *models.Error
}

DeleteGroupNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteGroupNotFound

func NewDeleteGroupNotFound() *DeleteGroupNotFound

NewDeleteGroupNotFound creates a DeleteGroupNotFound with default headers values

func (*DeleteGroupNotFound) Code

func (o *DeleteGroupNotFound) Code() int

Code gets the status code for the delete group not found response

func (*DeleteGroupNotFound) Error

func (o *DeleteGroupNotFound) Error() string

func (*DeleteGroupNotFound) GetPayload

func (o *DeleteGroupNotFound) GetPayload() *models.Error

func (*DeleteGroupNotFound) IsClientError

func (o *DeleteGroupNotFound) IsClientError() bool

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

func (*DeleteGroupNotFound) IsCode

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

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

func (*DeleteGroupNotFound) IsRedirect

func (o *DeleteGroupNotFound) IsRedirect() bool

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

func (*DeleteGroupNotFound) IsServerError

func (o *DeleteGroupNotFound) IsServerError() bool

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

func (*DeleteGroupNotFound) IsSuccess

func (o *DeleteGroupNotFound) IsSuccess() bool

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

func (*DeleteGroupNotFound) String

func (o *DeleteGroupNotFound) String() string

type DeleteGroupParams

type DeleteGroupParams struct {

	// GroupID.
	GroupID string

	// IPID.
	IPID 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) SetGroupID

func (o *DeleteGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId 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) SetIPID

func (o *DeleteGroupParams) SetIPID(iPID string)

SetIPID adds the ipId 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) WithGroupID

func (o *DeleteGroupParams) WithGroupID(groupID string) *DeleteGroupParams

WithGroupID adds the groupID 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) WithIPID

func (o *DeleteGroupParams) WithIPID(iPID string) *DeleteGroupParams

WithIPID adds the iPID 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 DeleteGroupTooManyRequests

type DeleteGroupTooManyRequests struct {
	Payload *models.Error
}

DeleteGroupTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewDeleteGroupTooManyRequests

func NewDeleteGroupTooManyRequests() *DeleteGroupTooManyRequests

NewDeleteGroupTooManyRequests creates a DeleteGroupTooManyRequests with default headers values

func (*DeleteGroupTooManyRequests) Code

func (o *DeleteGroupTooManyRequests) Code() int

Code gets the status code for the delete group too many requests response

func (*DeleteGroupTooManyRequests) Error

func (*DeleteGroupTooManyRequests) GetPayload

func (o *DeleteGroupTooManyRequests) GetPayload() *models.Error

func (*DeleteGroupTooManyRequests) IsClientError

func (o *DeleteGroupTooManyRequests) IsClientError() bool

IsClientError returns true when this delete group too many requests response has a 4xx status code

func (*DeleteGroupTooManyRequests) IsCode

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

IsCode returns true when this delete group too many requests response a status code equal to that given

func (*DeleteGroupTooManyRequests) IsRedirect

func (o *DeleteGroupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete group too many requests response has a 3xx status code

func (*DeleteGroupTooManyRequests) IsServerError

func (o *DeleteGroupTooManyRequests) IsServerError() bool

IsServerError returns true when this delete group too many requests response has a 5xx status code

func (*DeleteGroupTooManyRequests) IsSuccess

func (o *DeleteGroupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete group too many requests response has a 2xx status code

func (*DeleteGroupTooManyRequests) String

func (o *DeleteGroupTooManyRequests) String() string

type DeleteGroupUnauthorized

type DeleteGroupUnauthorized struct {
	Payload *models.Error
}

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) Code

func (o *DeleteGroupUnauthorized) Code() int

Code gets the status code for the delete group unauthorized response

func (*DeleteGroupUnauthorized) Error

func (o *DeleteGroupUnauthorized) Error() string

func (*DeleteGroupUnauthorized) GetPayload

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

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 GetGroupForbidden

type GetGroupForbidden struct {
	Payload *models.Error
}

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) Code

func (o *GetGroupForbidden) Code() int

Code gets the status code for the get group forbidden response

func (*GetGroupForbidden) Error

func (o *GetGroupForbidden) Error() string

func (*GetGroupForbidden) GetPayload

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

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 GetGroupNotFound

type GetGroupNotFound struct {
	Payload *models.Error
}

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) Code

func (o *GetGroupNotFound) Code() int

Code gets the status code for the get group not found response

func (*GetGroupNotFound) Error

func (o *GetGroupNotFound) Error() string

func (*GetGroupNotFound) GetPayload

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

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.Group
}

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

Group

func NewGetGroupOK

func NewGetGroupOK() *GetGroupOK

NewGetGroupOK creates a GetGroupOK with default headers values

func (*GetGroupOK) Code

func (o *GetGroupOK) Code() int

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

func (*GetGroupOK) Error

func (o *GetGroupOK) Error() string

func (*GetGroupOK) GetPayload

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

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 {

	// GroupID.
	GroupID string

	// IPID.
	IPID 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) SetGroupID

func (o *GetGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get group params

func (*GetGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) SetIPID

func (o *GetGroupParams) SetIPID(iPID string)

SetIPID adds the ipId 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) WithGroupID

func (o *GetGroupParams) WithGroupID(groupID string) *GetGroupParams

WithGroupID adds the groupID to the get group params

func (*GetGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) WithIPID

func (o *GetGroupParams) WithIPID(iPID string) *GetGroupParams

WithIPID adds the iPID 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 GetGroupTooManyRequests

type GetGroupTooManyRequests struct {
	Payload *models.Error
}

GetGroupTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetGroupTooManyRequests

func NewGetGroupTooManyRequests() *GetGroupTooManyRequests

NewGetGroupTooManyRequests creates a GetGroupTooManyRequests with default headers values

func (*GetGroupTooManyRequests) Code

func (o *GetGroupTooManyRequests) Code() int

Code gets the status code for the get group too many requests response

func (*GetGroupTooManyRequests) Error

func (o *GetGroupTooManyRequests) Error() string

func (*GetGroupTooManyRequests) GetPayload

func (o *GetGroupTooManyRequests) GetPayload() *models.Error

func (*GetGroupTooManyRequests) IsClientError

func (o *GetGroupTooManyRequests) IsClientError() bool

IsClientError returns true when this get group too many requests response has a 4xx status code

func (*GetGroupTooManyRequests) IsCode

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

IsCode returns true when this get group too many requests response a status code equal to that given

func (*GetGroupTooManyRequests) IsRedirect

func (o *GetGroupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get group too many requests response has a 3xx status code

func (*GetGroupTooManyRequests) IsServerError

func (o *GetGroupTooManyRequests) IsServerError() bool

IsServerError returns true when this get group too many requests response has a 5xx status code

func (*GetGroupTooManyRequests) IsSuccess

func (o *GetGroupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get group too many requests response has a 2xx status code

func (*GetGroupTooManyRequests) String

func (o *GetGroupTooManyRequests) String() string

type GetGroupUnauthorized

type GetGroupUnauthorized struct {
	Payload *models.Error
}

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) Code

func (o *GetGroupUnauthorized) Code() int

Code gets the status code for the get group unauthorized response

func (*GetGroupUnauthorized) Error

func (o *GetGroupUnauthorized) Error() string

func (*GetGroupUnauthorized) GetPayload

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

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 IsUserInGroupForbidden

type IsUserInGroupForbidden struct {
	Payload *models.Error
}

IsUserInGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewIsUserInGroupForbidden

func NewIsUserInGroupForbidden() *IsUserInGroupForbidden

NewIsUserInGroupForbidden creates a IsUserInGroupForbidden with default headers values

func (*IsUserInGroupForbidden) Code

func (o *IsUserInGroupForbidden) Code() int

Code gets the status code for the is user in group forbidden response

func (*IsUserInGroupForbidden) Error

func (o *IsUserInGroupForbidden) Error() string

func (*IsUserInGroupForbidden) GetPayload

func (o *IsUserInGroupForbidden) GetPayload() *models.Error

func (*IsUserInGroupForbidden) IsClientError

func (o *IsUserInGroupForbidden) IsClientError() bool

IsClientError returns true when this is user in group forbidden response has a 4xx status code

func (*IsUserInGroupForbidden) IsCode

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

IsCode returns true when this is user in group forbidden response a status code equal to that given

func (*IsUserInGroupForbidden) IsRedirect

func (o *IsUserInGroupForbidden) IsRedirect() bool

IsRedirect returns true when this is user in group forbidden response has a 3xx status code

func (*IsUserInGroupForbidden) IsServerError

func (o *IsUserInGroupForbidden) IsServerError() bool

IsServerError returns true when this is user in group forbidden response has a 5xx status code

func (*IsUserInGroupForbidden) IsSuccess

func (o *IsUserInGroupForbidden) IsSuccess() bool

IsSuccess returns true when this is user in group forbidden response has a 2xx status code

func (*IsUserInGroupForbidden) String

func (o *IsUserInGroupForbidden) String() string

type IsUserInGroupNoContent

type IsUserInGroupNoContent struct {
}

IsUserInGroupNoContent describes a response with status code 204, with default header values.

User is in group

func NewIsUserInGroupNoContent

func NewIsUserInGroupNoContent() *IsUserInGroupNoContent

NewIsUserInGroupNoContent creates a IsUserInGroupNoContent with default headers values

func (*IsUserInGroupNoContent) Code

func (o *IsUserInGroupNoContent) Code() int

Code gets the status code for the is user in group no content response

func (*IsUserInGroupNoContent) Error

func (o *IsUserInGroupNoContent) Error() string

func (*IsUserInGroupNoContent) IsClientError

func (o *IsUserInGroupNoContent) IsClientError() bool

IsClientError returns true when this is user in group no content response has a 4xx status code

func (*IsUserInGroupNoContent) IsCode

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

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

func (*IsUserInGroupNoContent) IsRedirect

func (o *IsUserInGroupNoContent) IsRedirect() bool

IsRedirect returns true when this is user in group no content response has a 3xx status code

func (*IsUserInGroupNoContent) IsServerError

func (o *IsUserInGroupNoContent) IsServerError() bool

IsServerError returns true when this is user in group no content response has a 5xx status code

func (*IsUserInGroupNoContent) IsSuccess

func (o *IsUserInGroupNoContent) IsSuccess() bool

IsSuccess returns true when this is user in group no content response has a 2xx status code

func (*IsUserInGroupNoContent) String

func (o *IsUserInGroupNoContent) String() string

type IsUserInGroupNotFound

type IsUserInGroupNotFound struct {
	Payload *models.Error
}

IsUserInGroupNotFound describes a response with status code 404, with default header values.

Not found

func NewIsUserInGroupNotFound

func NewIsUserInGroupNotFound() *IsUserInGroupNotFound

NewIsUserInGroupNotFound creates a IsUserInGroupNotFound with default headers values

func (*IsUserInGroupNotFound) Code

func (o *IsUserInGroupNotFound) Code() int

Code gets the status code for the is user in group not found response

func (*IsUserInGroupNotFound) Error

func (o *IsUserInGroupNotFound) Error() string

func (*IsUserInGroupNotFound) GetPayload

func (o *IsUserInGroupNotFound) GetPayload() *models.Error

func (*IsUserInGroupNotFound) IsClientError

func (o *IsUserInGroupNotFound) IsClientError() bool

IsClientError returns true when this is user in group not found response has a 4xx status code

func (*IsUserInGroupNotFound) IsCode

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

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

func (*IsUserInGroupNotFound) IsRedirect

func (o *IsUserInGroupNotFound) IsRedirect() bool

IsRedirect returns true when this is user in group not found response has a 3xx status code

func (*IsUserInGroupNotFound) IsServerError

func (o *IsUserInGroupNotFound) IsServerError() bool

IsServerError returns true when this is user in group not found response has a 5xx status code

func (*IsUserInGroupNotFound) IsSuccess

func (o *IsUserInGroupNotFound) IsSuccess() bool

IsSuccess returns true when this is user in group not found response has a 2xx status code

func (*IsUserInGroupNotFound) String

func (o *IsUserInGroupNotFound) String() string

type IsUserInGroupParams

type IsUserInGroupParams struct {

	// GroupID.
	GroupID string

	// IPID.
	IPID string

	// UserID.
	UserID string

	// WithNestedGroups.
	WithNestedGroups *bool

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

IsUserInGroupParams contains all the parameters to send to the API endpoint

for the is user in group operation.

Typically these are written to a http.Request.

func NewIsUserInGroupParams

func NewIsUserInGroupParams() *IsUserInGroupParams

NewIsUserInGroupParams creates a new IsUserInGroupParams 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 NewIsUserInGroupParamsWithContext

func NewIsUserInGroupParamsWithContext(ctx context.Context) *IsUserInGroupParams

NewIsUserInGroupParamsWithContext creates a new IsUserInGroupParams object with the ability to set a context for a request.

func NewIsUserInGroupParamsWithHTTPClient

func NewIsUserInGroupParamsWithHTTPClient(client *http.Client) *IsUserInGroupParams

NewIsUserInGroupParamsWithHTTPClient creates a new IsUserInGroupParams object with the ability to set a custom HTTPClient for a request.

func NewIsUserInGroupParamsWithTimeout

func NewIsUserInGroupParamsWithTimeout(timeout time.Duration) *IsUserInGroupParams

NewIsUserInGroupParamsWithTimeout creates a new IsUserInGroupParams object with the ability to set a timeout on a request.

func (*IsUserInGroupParams) SetContext

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

SetContext adds the context to the is user in group params

func (*IsUserInGroupParams) SetDefaults

func (o *IsUserInGroupParams) SetDefaults()

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

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

func (*IsUserInGroupParams) SetGroupID

func (o *IsUserInGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the is user in group params

func (*IsUserInGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the is user in group params

func (*IsUserInGroupParams) SetIPID

func (o *IsUserInGroupParams) SetIPID(iPID string)

SetIPID adds the ipId to the is user in group params

func (*IsUserInGroupParams) SetTimeout

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

SetTimeout adds the timeout to the is user in group params

func (*IsUserInGroupParams) SetUserID

func (o *IsUserInGroupParams) SetUserID(userID string)

SetUserID adds the userId to the is user in group params

func (*IsUserInGroupParams) SetWithNestedGroups

func (o *IsUserInGroupParams) SetWithNestedGroups(withNestedGroups *bool)

SetWithNestedGroups adds the withNestedGroups to the is user in group params

func (*IsUserInGroupParams) WithContext

WithContext adds the context to the is user in group params

func (*IsUserInGroupParams) WithDefaults

func (o *IsUserInGroupParams) WithDefaults() *IsUserInGroupParams

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

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

func (*IsUserInGroupParams) WithGroupID

func (o *IsUserInGroupParams) WithGroupID(groupID string) *IsUserInGroupParams

WithGroupID adds the groupID to the is user in group params

func (*IsUserInGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the is user in group params

func (*IsUserInGroupParams) WithIPID

func (o *IsUserInGroupParams) WithIPID(iPID string) *IsUserInGroupParams

WithIPID adds the iPID to the is user in group params

func (*IsUserInGroupParams) WithTimeout

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

WithTimeout adds the timeout to the is user in group params

func (*IsUserInGroupParams) WithUserID

func (o *IsUserInGroupParams) WithUserID(userID string) *IsUserInGroupParams

WithUserID adds the userID to the is user in group params

func (*IsUserInGroupParams) WithWithNestedGroups

func (o *IsUserInGroupParams) WithWithNestedGroups(withNestedGroups *bool) *IsUserInGroupParams

WithWithNestedGroups adds the withNestedGroups to the is user in group params

func (*IsUserInGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type IsUserInGroupReader

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

IsUserInGroupReader is a Reader for the IsUserInGroup structure.

func (*IsUserInGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IsUserInGroupTooManyRequests

type IsUserInGroupTooManyRequests struct {
	Payload *models.Error
}

IsUserInGroupTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewIsUserInGroupTooManyRequests

func NewIsUserInGroupTooManyRequests() *IsUserInGroupTooManyRequests

NewIsUserInGroupTooManyRequests creates a IsUserInGroupTooManyRequests with default headers values

func (*IsUserInGroupTooManyRequests) Code

Code gets the status code for the is user in group too many requests response

func (*IsUserInGroupTooManyRequests) Error

func (*IsUserInGroupTooManyRequests) GetPayload

func (o *IsUserInGroupTooManyRequests) GetPayload() *models.Error

func (*IsUserInGroupTooManyRequests) IsClientError

func (o *IsUserInGroupTooManyRequests) IsClientError() bool

IsClientError returns true when this is user in group too many requests response has a 4xx status code

func (*IsUserInGroupTooManyRequests) IsCode

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

IsCode returns true when this is user in group too many requests response a status code equal to that given

func (*IsUserInGroupTooManyRequests) IsRedirect

func (o *IsUserInGroupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this is user in group too many requests response has a 3xx status code

func (*IsUserInGroupTooManyRequests) IsServerError

func (o *IsUserInGroupTooManyRequests) IsServerError() bool

IsServerError returns true when this is user in group too many requests response has a 5xx status code

func (*IsUserInGroupTooManyRequests) IsSuccess

func (o *IsUserInGroupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this is user in group too many requests response has a 2xx status code

func (*IsUserInGroupTooManyRequests) String

type IsUserInGroupUnauthorized

type IsUserInGroupUnauthorized struct {
	Payload *models.Error
}

IsUserInGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewIsUserInGroupUnauthorized

func NewIsUserInGroupUnauthorized() *IsUserInGroupUnauthorized

NewIsUserInGroupUnauthorized creates a IsUserInGroupUnauthorized with default headers values

func (*IsUserInGroupUnauthorized) Code

func (o *IsUserInGroupUnauthorized) Code() int

Code gets the status code for the is user in group unauthorized response

func (*IsUserInGroupUnauthorized) Error

func (o *IsUserInGroupUnauthorized) Error() string

func (*IsUserInGroupUnauthorized) GetPayload

func (o *IsUserInGroupUnauthorized) GetPayload() *models.Error

func (*IsUserInGroupUnauthorized) IsClientError

func (o *IsUserInGroupUnauthorized) IsClientError() bool

IsClientError returns true when this is user in group unauthorized response has a 4xx status code

func (*IsUserInGroupUnauthorized) IsCode

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

IsCode returns true when this is user in group unauthorized response a status code equal to that given

func (*IsUserInGroupUnauthorized) IsRedirect

func (o *IsUserInGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this is user in group unauthorized response has a 3xx status code

func (*IsUserInGroupUnauthorized) IsServerError

func (o *IsUserInGroupUnauthorized) IsServerError() bool

IsServerError returns true when this is user in group unauthorized response has a 5xx status code

func (*IsUserInGroupUnauthorized) IsSuccess

func (o *IsUserInGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this is user in group unauthorized response has a 2xx status code

func (*IsUserInGroupUnauthorized) String

func (o *IsUserInGroupUnauthorized) String() string

type ListGroupsBadRequest

type ListGroupsBadRequest struct {
	Payload *models.Error
}

ListGroupsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewListGroupsBadRequest

func NewListGroupsBadRequest() *ListGroupsBadRequest

NewListGroupsBadRequest creates a ListGroupsBadRequest with default headers values

func (*ListGroupsBadRequest) Code

func (o *ListGroupsBadRequest) Code() int

Code gets the status code for the list groups bad request response

func (*ListGroupsBadRequest) Error

func (o *ListGroupsBadRequest) Error() string

func (*ListGroupsBadRequest) GetPayload

func (o *ListGroupsBadRequest) GetPayload() *models.Error

func (*ListGroupsBadRequest) IsClientError

func (o *ListGroupsBadRequest) IsClientError() bool

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

func (*ListGroupsBadRequest) IsCode

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

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

func (*ListGroupsBadRequest) IsRedirect

func (o *ListGroupsBadRequest) IsRedirect() bool

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

func (*ListGroupsBadRequest) IsServerError

func (o *ListGroupsBadRequest) IsServerError() bool

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

func (*ListGroupsBadRequest) IsSuccess

func (o *ListGroupsBadRequest) IsSuccess() bool

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

func (*ListGroupsBadRequest) String

func (o *ListGroupsBadRequest) String() string

type ListGroupsForbidden

type ListGroupsForbidden struct {
	Payload *models.Error
}

ListGroupsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListGroupsForbidden

func NewListGroupsForbidden() *ListGroupsForbidden

NewListGroupsForbidden creates a ListGroupsForbidden with default headers values

func (*ListGroupsForbidden) Code

func (o *ListGroupsForbidden) Code() int

Code gets the status code for the list groups forbidden response

func (*ListGroupsForbidden) Error

func (o *ListGroupsForbidden) Error() string

func (*ListGroupsForbidden) GetPayload

func (o *ListGroupsForbidden) GetPayload() *models.Error

func (*ListGroupsForbidden) IsClientError

func (o *ListGroupsForbidden) IsClientError() bool

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

func (*ListGroupsForbidden) IsCode

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

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

func (*ListGroupsForbidden) IsRedirect

func (o *ListGroupsForbidden) IsRedirect() bool

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

func (*ListGroupsForbidden) IsServerError

func (o *ListGroupsForbidden) IsServerError() bool

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

func (*ListGroupsForbidden) IsSuccess

func (o *ListGroupsForbidden) IsSuccess() bool

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

func (*ListGroupsForbidden) String

func (o *ListGroupsForbidden) String() string

type ListGroupsNotFound

type ListGroupsNotFound struct {
	Payload *models.Error
}

ListGroupsNotFound describes a response with status code 404, with default header values.

Not found

func NewListGroupsNotFound

func NewListGroupsNotFound() *ListGroupsNotFound

NewListGroupsNotFound creates a ListGroupsNotFound with default headers values

func (*ListGroupsNotFound) Code

func (o *ListGroupsNotFound) Code() int

Code gets the status code for the list groups not found response

func (*ListGroupsNotFound) Error

func (o *ListGroupsNotFound) Error() string

func (*ListGroupsNotFound) GetPayload

func (o *ListGroupsNotFound) GetPayload() *models.Error

func (*ListGroupsNotFound) IsClientError

func (o *ListGroupsNotFound) IsClientError() bool

IsClientError returns true when this list groups not found response has a 4xx status code

func (*ListGroupsNotFound) IsCode

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

IsCode returns true when this list groups not found response a status code equal to that given

func (*ListGroupsNotFound) IsRedirect

func (o *ListGroupsNotFound) IsRedirect() bool

IsRedirect returns true when this list groups not found response has a 3xx status code

func (*ListGroupsNotFound) IsServerError

func (o *ListGroupsNotFound) IsServerError() bool

IsServerError returns true when this list groups not found response has a 5xx status code

func (*ListGroupsNotFound) IsSuccess

func (o *ListGroupsNotFound) IsSuccess() bool

IsSuccess returns true when this list groups not found response has a 2xx status code

func (*ListGroupsNotFound) String

func (o *ListGroupsNotFound) String() string

type ListGroupsOK

type ListGroupsOK struct {
	Payload models.Groups
}

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

Groups

func NewListGroupsOK

func NewListGroupsOK() *ListGroupsOK

NewListGroupsOK creates a ListGroupsOK with default headers values

func (*ListGroupsOK) Code

func (o *ListGroupsOK) Code() int

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

func (*ListGroupsOK) Error

func (o *ListGroupsOK) Error() string

func (*ListGroupsOK) GetPayload

func (o *ListGroupsOK) GetPayload() models.Groups

func (*ListGroupsOK) IsClientError

func (o *ListGroupsOK) IsClientError() bool

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

func (*ListGroupsOK) IsCode

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

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

func (*ListGroupsOK) IsRedirect

func (o *ListGroupsOK) IsRedirect() bool

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

func (*ListGroupsOK) IsServerError

func (o *ListGroupsOK) IsServerError() bool

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

func (*ListGroupsOK) IsSuccess

func (o *ListGroupsOK) IsSuccess() bool

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

func (*ListGroupsOK) String

func (o *ListGroupsOK) String() string

type ListGroupsParams

type ListGroupsParams struct {

	/* AfterGroupID.

	     optional list groups after given id
	AfterGroupID
	*/
	AfterGroupID *string

	/* BeforeGroupID.

	     optional list groups before given id
	BeforeGroupID
	*/
	BeforeGroupID *string

	// IPID.
	IPID string

	/* Limit.

	     optional limit results
	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	// ParentID.
	ParentID *string

	/* Query.

	     optional query filter
	query is in json format - parameter must be url-encoded
	supported parameters:
	`name` - limits group set to groups that have name starting or ending with provided value (case insensitive)
	*/
	Query *string

	// WithNestedGroups.
	WithNestedGroups *bool

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

ListGroupsParams contains all the parameters to send to the API endpoint

for the list groups operation.

Typically these are written to a http.Request.

func NewListGroupsParams

func NewListGroupsParams() *ListGroupsParams

NewListGroupsParams creates a new ListGroupsParams 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 NewListGroupsParamsWithContext

func NewListGroupsParamsWithContext(ctx context.Context) *ListGroupsParams

NewListGroupsParamsWithContext creates a new ListGroupsParams object with the ability to set a context for a request.

func NewListGroupsParamsWithHTTPClient

func NewListGroupsParamsWithHTTPClient(client *http.Client) *ListGroupsParams

NewListGroupsParamsWithHTTPClient creates a new ListGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewListGroupsParamsWithTimeout

func NewListGroupsParamsWithTimeout(timeout time.Duration) *ListGroupsParams

NewListGroupsParamsWithTimeout creates a new ListGroupsParams object with the ability to set a timeout on a request.

func (*ListGroupsParams) SetAfterGroupID

func (o *ListGroupsParams) SetAfterGroupID(afterGroupID *string)

SetAfterGroupID adds the afterGroupId to the list groups params

func (*ListGroupsParams) SetBeforeGroupID

func (o *ListGroupsParams) SetBeforeGroupID(beforeGroupID *string)

SetBeforeGroupID adds the beforeGroupId to the list groups params

func (*ListGroupsParams) SetContext

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

SetContext adds the context to the list groups params

func (*ListGroupsParams) SetDefaults

func (o *ListGroupsParams) SetDefaults()

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

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

func (*ListGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list groups params

func (*ListGroupsParams) SetIPID

func (o *ListGroupsParams) SetIPID(iPID string)

SetIPID adds the ipId to the list groups params

func (*ListGroupsParams) SetLimit

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

SetLimit adds the limit to the list groups params

func (*ListGroupsParams) SetParentID

func (o *ListGroupsParams) SetParentID(parentID *string)

SetParentID adds the parentId to the list groups params

func (*ListGroupsParams) SetQuery

func (o *ListGroupsParams) SetQuery(query *string)

SetQuery adds the query to the list groups params

func (*ListGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the list groups params

func (*ListGroupsParams) SetWithNestedGroups

func (o *ListGroupsParams) SetWithNestedGroups(withNestedGroups *bool)

SetWithNestedGroups adds the withNestedGroups to the list groups params

func (*ListGroupsParams) WithAfterGroupID

func (o *ListGroupsParams) WithAfterGroupID(afterGroupID *string) *ListGroupsParams

WithAfterGroupID adds the afterGroupID to the list groups params

func (*ListGroupsParams) WithBeforeGroupID

func (o *ListGroupsParams) WithBeforeGroupID(beforeGroupID *string) *ListGroupsParams

WithBeforeGroupID adds the beforeGroupID to the list groups params

func (*ListGroupsParams) WithContext

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

WithContext adds the context to the list groups params

func (*ListGroupsParams) WithDefaults

func (o *ListGroupsParams) WithDefaults() *ListGroupsParams

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

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

func (*ListGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list groups params

func (*ListGroupsParams) WithIPID

func (o *ListGroupsParams) WithIPID(iPID string) *ListGroupsParams

WithIPID adds the iPID to the list groups params

func (*ListGroupsParams) WithLimit

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

WithLimit adds the limit to the list groups params

func (*ListGroupsParams) WithParentID

func (o *ListGroupsParams) WithParentID(parentID *string) *ListGroupsParams

WithParentID adds the parentID to the list groups params

func (*ListGroupsParams) WithQuery

func (o *ListGroupsParams) WithQuery(query *string) *ListGroupsParams

WithQuery adds the query to the list groups params

func (*ListGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the list groups params

func (*ListGroupsParams) WithWithNestedGroups

func (o *ListGroupsParams) WithWithNestedGroups(withNestedGroups *bool) *ListGroupsParams

WithWithNestedGroups adds the withNestedGroups to the list groups params

func (*ListGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListGroupsReader

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

ListGroupsReader is a Reader for the ListGroups structure.

func (*ListGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGroupsTooManyRequests

type ListGroupsTooManyRequests struct {
	Payload *models.Error
}

ListGroupsTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListGroupsTooManyRequests

func NewListGroupsTooManyRequests() *ListGroupsTooManyRequests

NewListGroupsTooManyRequests creates a ListGroupsTooManyRequests with default headers values

func (*ListGroupsTooManyRequests) Code

func (o *ListGroupsTooManyRequests) Code() int

Code gets the status code for the list groups too many requests response

func (*ListGroupsTooManyRequests) Error

func (o *ListGroupsTooManyRequests) Error() string

func (*ListGroupsTooManyRequests) GetPayload

func (o *ListGroupsTooManyRequests) GetPayload() *models.Error

func (*ListGroupsTooManyRequests) IsClientError

func (o *ListGroupsTooManyRequests) IsClientError() bool

IsClientError returns true when this list groups too many requests response has a 4xx status code

func (*ListGroupsTooManyRequests) IsCode

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

IsCode returns true when this list groups too many requests response a status code equal to that given

func (*ListGroupsTooManyRequests) IsRedirect

func (o *ListGroupsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list groups too many requests response has a 3xx status code

func (*ListGroupsTooManyRequests) IsServerError

func (o *ListGroupsTooManyRequests) IsServerError() bool

IsServerError returns true when this list groups too many requests response has a 5xx status code

func (*ListGroupsTooManyRequests) IsSuccess

func (o *ListGroupsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list groups too many requests response has a 2xx status code

func (*ListGroupsTooManyRequests) String

func (o *ListGroupsTooManyRequests) String() string

type ListGroupsUnauthorized

type ListGroupsUnauthorized struct {
	Payload *models.Error
}

ListGroupsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListGroupsUnauthorized

func NewListGroupsUnauthorized() *ListGroupsUnauthorized

NewListGroupsUnauthorized creates a ListGroupsUnauthorized with default headers values

func (*ListGroupsUnauthorized) Code

func (o *ListGroupsUnauthorized) Code() int

Code gets the status code for the list groups unauthorized response

func (*ListGroupsUnauthorized) Error

func (o *ListGroupsUnauthorized) Error() string

func (*ListGroupsUnauthorized) GetPayload

func (o *ListGroupsUnauthorized) GetPayload() *models.Error

func (*ListGroupsUnauthorized) IsClientError

func (o *ListGroupsUnauthorized) IsClientError() bool

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

func (*ListGroupsUnauthorized) IsCode

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

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

func (*ListGroupsUnauthorized) IsRedirect

func (o *ListGroupsUnauthorized) IsRedirect() bool

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

func (*ListGroupsUnauthorized) IsServerError

func (o *ListGroupsUnauthorized) IsServerError() bool

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

func (*ListGroupsUnauthorized) IsSuccess

func (o *ListGroupsUnauthorized) IsSuccess() bool

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

func (*ListGroupsUnauthorized) String

func (o *ListGroupsUnauthorized) String() string

type ListGroupsUnprocessableEntity

type ListGroupsUnprocessableEntity struct {
	Payload *models.Error
}

ListGroupsUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewListGroupsUnprocessableEntity

func NewListGroupsUnprocessableEntity() *ListGroupsUnprocessableEntity

NewListGroupsUnprocessableEntity creates a ListGroupsUnprocessableEntity with default headers values

func (*ListGroupsUnprocessableEntity) Code

Code gets the status code for the list groups unprocessable entity response

func (*ListGroupsUnprocessableEntity) Error

func (*ListGroupsUnprocessableEntity) GetPayload

func (o *ListGroupsUnprocessableEntity) GetPayload() *models.Error

func (*ListGroupsUnprocessableEntity) IsClientError

func (o *ListGroupsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this list groups unprocessable entity response has a 4xx status code

func (*ListGroupsUnprocessableEntity) IsCode

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

IsCode returns true when this list groups unprocessable entity response a status code equal to that given

func (*ListGroupsUnprocessableEntity) IsRedirect

func (o *ListGroupsUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this list groups unprocessable entity response has a 3xx status code

func (*ListGroupsUnprocessableEntity) IsServerError

func (o *ListGroupsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this list groups unprocessable entity response has a 5xx status code

func (*ListGroupsUnprocessableEntity) IsSuccess

func (o *ListGroupsUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this list groups unprocessable entity response has a 2xx status code

func (*ListGroupsUnprocessableEntity) String

type ListUserGroupsBadRequest

type ListUserGroupsBadRequest struct {
	Payload *models.Error
}

ListUserGroupsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewListUserGroupsBadRequest

func NewListUserGroupsBadRequest() *ListUserGroupsBadRequest

NewListUserGroupsBadRequest creates a ListUserGroupsBadRequest with default headers values

func (*ListUserGroupsBadRequest) Code

func (o *ListUserGroupsBadRequest) Code() int

Code gets the status code for the list user groups bad request response

func (*ListUserGroupsBadRequest) Error

func (o *ListUserGroupsBadRequest) Error() string

func (*ListUserGroupsBadRequest) GetPayload

func (o *ListUserGroupsBadRequest) GetPayload() *models.Error

func (*ListUserGroupsBadRequest) IsClientError

func (o *ListUserGroupsBadRequest) IsClientError() bool

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

func (*ListUserGroupsBadRequest) IsCode

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

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

func (*ListUserGroupsBadRequest) IsRedirect

func (o *ListUserGroupsBadRequest) IsRedirect() bool

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

func (*ListUserGroupsBadRequest) IsServerError

func (o *ListUserGroupsBadRequest) IsServerError() bool

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

func (*ListUserGroupsBadRequest) IsSuccess

func (o *ListUserGroupsBadRequest) IsSuccess() bool

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

func (*ListUserGroupsBadRequest) String

func (o *ListUserGroupsBadRequest) String() string

type ListUserGroupsForbidden

type ListUserGroupsForbidden struct {
	Payload *models.Error
}

ListUserGroupsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListUserGroupsForbidden

func NewListUserGroupsForbidden() *ListUserGroupsForbidden

NewListUserGroupsForbidden creates a ListUserGroupsForbidden with default headers values

func (*ListUserGroupsForbidden) Code

func (o *ListUserGroupsForbidden) Code() int

Code gets the status code for the list user groups forbidden response

func (*ListUserGroupsForbidden) Error

func (o *ListUserGroupsForbidden) Error() string

func (*ListUserGroupsForbidden) GetPayload

func (o *ListUserGroupsForbidden) GetPayload() *models.Error

func (*ListUserGroupsForbidden) IsClientError

func (o *ListUserGroupsForbidden) IsClientError() bool

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

func (*ListUserGroupsForbidden) IsCode

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

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

func (*ListUserGroupsForbidden) IsRedirect

func (o *ListUserGroupsForbidden) IsRedirect() bool

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

func (*ListUserGroupsForbidden) IsServerError

func (o *ListUserGroupsForbidden) IsServerError() bool

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

func (*ListUserGroupsForbidden) IsSuccess

func (o *ListUserGroupsForbidden) IsSuccess() bool

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

func (*ListUserGroupsForbidden) String

func (o *ListUserGroupsForbidden) String() string

type ListUserGroupsNotFound

type ListUserGroupsNotFound struct {
	Payload *models.Error
}

ListUserGroupsNotFound describes a response with status code 404, with default header values.

Not found

func NewListUserGroupsNotFound

func NewListUserGroupsNotFound() *ListUserGroupsNotFound

NewListUserGroupsNotFound creates a ListUserGroupsNotFound with default headers values

func (*ListUserGroupsNotFound) Code

func (o *ListUserGroupsNotFound) Code() int

Code gets the status code for the list user groups not found response

func (*ListUserGroupsNotFound) Error

func (o *ListUserGroupsNotFound) Error() string

func (*ListUserGroupsNotFound) GetPayload

func (o *ListUserGroupsNotFound) GetPayload() *models.Error

func (*ListUserGroupsNotFound) IsClientError

func (o *ListUserGroupsNotFound) IsClientError() bool

IsClientError returns true when this list user groups not found response has a 4xx status code

func (*ListUserGroupsNotFound) IsCode

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

IsCode returns true when this list user groups not found response a status code equal to that given

func (*ListUserGroupsNotFound) IsRedirect

func (o *ListUserGroupsNotFound) IsRedirect() bool

IsRedirect returns true when this list user groups not found response has a 3xx status code

func (*ListUserGroupsNotFound) IsServerError

func (o *ListUserGroupsNotFound) IsServerError() bool

IsServerError returns true when this list user groups not found response has a 5xx status code

func (*ListUserGroupsNotFound) IsSuccess

func (o *ListUserGroupsNotFound) IsSuccess() bool

IsSuccess returns true when this list user groups not found response has a 2xx status code

func (*ListUserGroupsNotFound) String

func (o *ListUserGroupsNotFound) String() string

type ListUserGroupsOK

type ListUserGroupsOK struct {
	Payload models.Groups
}

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

Groups

func NewListUserGroupsOK

func NewListUserGroupsOK() *ListUserGroupsOK

NewListUserGroupsOK creates a ListUserGroupsOK with default headers values

func (*ListUserGroupsOK) Code

func (o *ListUserGroupsOK) Code() int

Code gets the status code for the list user groups o k response

func (*ListUserGroupsOK) Error

func (o *ListUserGroupsOK) Error() string

func (*ListUserGroupsOK) GetPayload

func (o *ListUserGroupsOK) GetPayload() models.Groups

func (*ListUserGroupsOK) IsClientError

func (o *ListUserGroupsOK) IsClientError() bool

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

func (*ListUserGroupsOK) IsCode

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

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

func (*ListUserGroupsOK) IsRedirect

func (o *ListUserGroupsOK) IsRedirect() bool

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

func (*ListUserGroupsOK) IsServerError

func (o *ListUserGroupsOK) IsServerError() bool

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

func (*ListUserGroupsOK) IsSuccess

func (o *ListUserGroupsOK) IsSuccess() bool

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

func (*ListUserGroupsOK) String

func (o *ListUserGroupsOK) String() string

type ListUserGroupsParams

type ListUserGroupsParams struct {

	/* AfterGroupID.

	     optional list groups after given id
	AfterUserID
	*/
	AfterGroupID *string

	/* BeforeGroupID.

	     optional list groups before given id
	BeforeUserID
	*/
	BeforeGroupID *string

	// IPID.
	IPID string

	/* Limit.

	     optional limit results
	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	/* Query.

	     optional query filter
	query is in json format like {"name":"admin"} - parameter must be url-encoded
	supported parameters:
	`name` - limits group set to groups that have name starting or ending with provided value (case insensitive)
	*/
	Query *string

	// UserID.
	UserID string

	// WithParentGroups.
	WithParentGroups *bool

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

ListUserGroupsParams contains all the parameters to send to the API endpoint

for the list user groups operation.

Typically these are written to a http.Request.

func NewListUserGroupsParams

func NewListUserGroupsParams() *ListUserGroupsParams

NewListUserGroupsParams creates a new ListUserGroupsParams 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 NewListUserGroupsParamsWithContext

func NewListUserGroupsParamsWithContext(ctx context.Context) *ListUserGroupsParams

NewListUserGroupsParamsWithContext creates a new ListUserGroupsParams object with the ability to set a context for a request.

func NewListUserGroupsParamsWithHTTPClient

func NewListUserGroupsParamsWithHTTPClient(client *http.Client) *ListUserGroupsParams

NewListUserGroupsParamsWithHTTPClient creates a new ListUserGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewListUserGroupsParamsWithTimeout

func NewListUserGroupsParamsWithTimeout(timeout time.Duration) *ListUserGroupsParams

NewListUserGroupsParamsWithTimeout creates a new ListUserGroupsParams object with the ability to set a timeout on a request.

func (*ListUserGroupsParams) SetAfterGroupID

func (o *ListUserGroupsParams) SetAfterGroupID(afterGroupID *string)

SetAfterGroupID adds the afterGroupId to the list user groups params

func (*ListUserGroupsParams) SetBeforeGroupID

func (o *ListUserGroupsParams) SetBeforeGroupID(beforeGroupID *string)

SetBeforeGroupID adds the beforeGroupId to the list user groups params

func (*ListUserGroupsParams) SetContext

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

SetContext adds the context to the list user groups params

func (*ListUserGroupsParams) SetDefaults

func (o *ListUserGroupsParams) SetDefaults()

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

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

func (*ListUserGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user groups params

func (*ListUserGroupsParams) SetIPID

func (o *ListUserGroupsParams) SetIPID(iPID string)

SetIPID adds the ipId to the list user groups params

func (*ListUserGroupsParams) SetLimit

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

SetLimit adds the limit to the list user groups params

func (*ListUserGroupsParams) SetQuery

func (o *ListUserGroupsParams) SetQuery(query *string)

SetQuery adds the query to the list user groups params

func (*ListUserGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the list user groups params

func (*ListUserGroupsParams) SetUserID

func (o *ListUserGroupsParams) SetUserID(userID string)

SetUserID adds the userId to the list user groups params

func (*ListUserGroupsParams) SetWithParentGroups

func (o *ListUserGroupsParams) SetWithParentGroups(withParentGroups *bool)

SetWithParentGroups adds the withParentGroups to the list user groups params

func (*ListUserGroupsParams) WithAfterGroupID

func (o *ListUserGroupsParams) WithAfterGroupID(afterGroupID *string) *ListUserGroupsParams

WithAfterGroupID adds the afterGroupID to the list user groups params

func (*ListUserGroupsParams) WithBeforeGroupID

func (o *ListUserGroupsParams) WithBeforeGroupID(beforeGroupID *string) *ListUserGroupsParams

WithBeforeGroupID adds the beforeGroupID to the list user groups params

func (*ListUserGroupsParams) WithContext

WithContext adds the context to the list user groups params

func (*ListUserGroupsParams) WithDefaults

func (o *ListUserGroupsParams) WithDefaults() *ListUserGroupsParams

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

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

func (*ListUserGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list user groups params

func (*ListUserGroupsParams) WithIPID

WithIPID adds the iPID to the list user groups params

func (*ListUserGroupsParams) WithLimit

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

WithLimit adds the limit to the list user groups params

func (*ListUserGroupsParams) WithQuery

func (o *ListUserGroupsParams) WithQuery(query *string) *ListUserGroupsParams

WithQuery adds the query to the list user groups params

func (*ListUserGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the list user groups params

func (*ListUserGroupsParams) WithUserID

func (o *ListUserGroupsParams) WithUserID(userID string) *ListUserGroupsParams

WithUserID adds the userID to the list user groups params

func (*ListUserGroupsParams) WithWithParentGroups

func (o *ListUserGroupsParams) WithWithParentGroups(withParentGroups *bool) *ListUserGroupsParams

WithWithParentGroups adds the withParentGroups to the list user groups params

func (*ListUserGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListUserGroupsReader

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

ListUserGroupsReader is a Reader for the ListUserGroups structure.

func (*ListUserGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserGroupsTooManyRequests

type ListUserGroupsTooManyRequests struct {
	Payload *models.Error
}

ListUserGroupsTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListUserGroupsTooManyRequests

func NewListUserGroupsTooManyRequests() *ListUserGroupsTooManyRequests

NewListUserGroupsTooManyRequests creates a ListUserGroupsTooManyRequests with default headers values

func (*ListUserGroupsTooManyRequests) Code

Code gets the status code for the list user groups too many requests response

func (*ListUserGroupsTooManyRequests) Error

func (*ListUserGroupsTooManyRequests) GetPayload

func (o *ListUserGroupsTooManyRequests) GetPayload() *models.Error

func (*ListUserGroupsTooManyRequests) IsClientError

func (o *ListUserGroupsTooManyRequests) IsClientError() bool

IsClientError returns true when this list user groups too many requests response has a 4xx status code

func (*ListUserGroupsTooManyRequests) IsCode

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

IsCode returns true when this list user groups too many requests response a status code equal to that given

func (*ListUserGroupsTooManyRequests) IsRedirect

func (o *ListUserGroupsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list user groups too many requests response has a 3xx status code

func (*ListUserGroupsTooManyRequests) IsServerError

func (o *ListUserGroupsTooManyRequests) IsServerError() bool

IsServerError returns true when this list user groups too many requests response has a 5xx status code

func (*ListUserGroupsTooManyRequests) IsSuccess

func (o *ListUserGroupsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list user groups too many requests response has a 2xx status code

func (*ListUserGroupsTooManyRequests) String

type ListUserGroupsUnauthorized

type ListUserGroupsUnauthorized struct {
	Payload *models.Error
}

ListUserGroupsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListUserGroupsUnauthorized

func NewListUserGroupsUnauthorized() *ListUserGroupsUnauthorized

NewListUserGroupsUnauthorized creates a ListUserGroupsUnauthorized with default headers values

func (*ListUserGroupsUnauthorized) Code

func (o *ListUserGroupsUnauthorized) Code() int

Code gets the status code for the list user groups unauthorized response

func (*ListUserGroupsUnauthorized) Error

func (*ListUserGroupsUnauthorized) GetPayload

func (o *ListUserGroupsUnauthorized) GetPayload() *models.Error

func (*ListUserGroupsUnauthorized) IsClientError

func (o *ListUserGroupsUnauthorized) IsClientError() bool

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

func (*ListUserGroupsUnauthorized) IsCode

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

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

func (*ListUserGroupsUnauthorized) IsRedirect

func (o *ListUserGroupsUnauthorized) IsRedirect() bool

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

func (*ListUserGroupsUnauthorized) IsServerError

func (o *ListUserGroupsUnauthorized) IsServerError() bool

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

func (*ListUserGroupsUnauthorized) IsSuccess

func (o *ListUserGroupsUnauthorized) IsSuccess() bool

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

func (*ListUserGroupsUnauthorized) String

func (o *ListUserGroupsUnauthorized) String() string

type ListUserGroupsUnprocessableEntity

type ListUserGroupsUnprocessableEntity struct {
	Payload *models.Error
}

ListUserGroupsUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewListUserGroupsUnprocessableEntity

func NewListUserGroupsUnprocessableEntity() *ListUserGroupsUnprocessableEntity

NewListUserGroupsUnprocessableEntity creates a ListUserGroupsUnprocessableEntity with default headers values

func (*ListUserGroupsUnprocessableEntity) Code

Code gets the status code for the list user groups unprocessable entity response

func (*ListUserGroupsUnprocessableEntity) Error

func (*ListUserGroupsUnprocessableEntity) GetPayload

func (*ListUserGroupsUnprocessableEntity) IsClientError

func (o *ListUserGroupsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this list user groups unprocessable entity response has a 4xx status code

func (*ListUserGroupsUnprocessableEntity) IsCode

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

IsCode returns true when this list user groups unprocessable entity response a status code equal to that given

func (*ListUserGroupsUnprocessableEntity) IsRedirect

func (o *ListUserGroupsUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this list user groups unprocessable entity response has a 3xx status code

func (*ListUserGroupsUnprocessableEntity) IsServerError

func (o *ListUserGroupsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this list user groups unprocessable entity response has a 5xx status code

func (*ListUserGroupsUnprocessableEntity) IsSuccess

func (o *ListUserGroupsUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this list user groups unprocessable entity response has a 2xx status code

func (*ListUserGroupsUnprocessableEntity) String

type ListUsersInGroupBadRequest

type ListUsersInGroupBadRequest struct {
	Payload *models.Error
}

ListUsersInGroupBadRequest describes a response with status code 400, with default header values.

Bad request

func NewListUsersInGroupBadRequest

func NewListUsersInGroupBadRequest() *ListUsersInGroupBadRequest

NewListUsersInGroupBadRequest creates a ListUsersInGroupBadRequest with default headers values

func (*ListUsersInGroupBadRequest) Code

func (o *ListUsersInGroupBadRequest) Code() int

Code gets the status code for the list users in group bad request response

func (*ListUsersInGroupBadRequest) Error

func (*ListUsersInGroupBadRequest) GetPayload

func (o *ListUsersInGroupBadRequest) GetPayload() *models.Error

func (*ListUsersInGroupBadRequest) IsClientError

func (o *ListUsersInGroupBadRequest) IsClientError() bool

IsClientError returns true when this list users in group bad request response has a 4xx status code

func (*ListUsersInGroupBadRequest) IsCode

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

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

func (*ListUsersInGroupBadRequest) IsRedirect

func (o *ListUsersInGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this list users in group bad request response has a 3xx status code

func (*ListUsersInGroupBadRequest) IsServerError

func (o *ListUsersInGroupBadRequest) IsServerError() bool

IsServerError returns true when this list users in group bad request response has a 5xx status code

func (*ListUsersInGroupBadRequest) IsSuccess

func (o *ListUsersInGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this list users in group bad request response has a 2xx status code

func (*ListUsersInGroupBadRequest) String

func (o *ListUsersInGroupBadRequest) String() string

type ListUsersInGroupForbidden

type ListUsersInGroupForbidden struct {
	Payload *models.Error
}

ListUsersInGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListUsersInGroupForbidden

func NewListUsersInGroupForbidden() *ListUsersInGroupForbidden

NewListUsersInGroupForbidden creates a ListUsersInGroupForbidden with default headers values

func (*ListUsersInGroupForbidden) Code

func (o *ListUsersInGroupForbidden) Code() int

Code gets the status code for the list users in group forbidden response

func (*ListUsersInGroupForbidden) Error

func (o *ListUsersInGroupForbidden) Error() string

func (*ListUsersInGroupForbidden) GetPayload

func (o *ListUsersInGroupForbidden) GetPayload() *models.Error

func (*ListUsersInGroupForbidden) IsClientError

func (o *ListUsersInGroupForbidden) IsClientError() bool

IsClientError returns true when this list users in group forbidden response has a 4xx status code

func (*ListUsersInGroupForbidden) IsCode

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

IsCode returns true when this list users in group forbidden response a status code equal to that given

func (*ListUsersInGroupForbidden) IsRedirect

func (o *ListUsersInGroupForbidden) IsRedirect() bool

IsRedirect returns true when this list users in group forbidden response has a 3xx status code

func (*ListUsersInGroupForbidden) IsServerError

func (o *ListUsersInGroupForbidden) IsServerError() bool

IsServerError returns true when this list users in group forbidden response has a 5xx status code

func (*ListUsersInGroupForbidden) IsSuccess

func (o *ListUsersInGroupForbidden) IsSuccess() bool

IsSuccess returns true when this list users in group forbidden response has a 2xx status code

func (*ListUsersInGroupForbidden) String

func (o *ListUsersInGroupForbidden) String() string

type ListUsersInGroupNotFound

type ListUsersInGroupNotFound struct {
	Payload *models.Error
}

ListUsersInGroupNotFound describes a response with status code 404, with default header values.

Not found

func NewListUsersInGroupNotFound

func NewListUsersInGroupNotFound() *ListUsersInGroupNotFound

NewListUsersInGroupNotFound creates a ListUsersInGroupNotFound with default headers values

func (*ListUsersInGroupNotFound) Code

func (o *ListUsersInGroupNotFound) Code() int

Code gets the status code for the list users in group not found response

func (*ListUsersInGroupNotFound) Error

func (o *ListUsersInGroupNotFound) Error() string

func (*ListUsersInGroupNotFound) GetPayload

func (o *ListUsersInGroupNotFound) GetPayload() *models.Error

func (*ListUsersInGroupNotFound) IsClientError

func (o *ListUsersInGroupNotFound) IsClientError() bool

IsClientError returns true when this list users in group not found response has a 4xx status code

func (*ListUsersInGroupNotFound) IsCode

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

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

func (*ListUsersInGroupNotFound) IsRedirect

func (o *ListUsersInGroupNotFound) IsRedirect() bool

IsRedirect returns true when this list users in group not found response has a 3xx status code

func (*ListUsersInGroupNotFound) IsServerError

func (o *ListUsersInGroupNotFound) IsServerError() bool

IsServerError returns true when this list users in group not found response has a 5xx status code

func (*ListUsersInGroupNotFound) IsSuccess

func (o *ListUsersInGroupNotFound) IsSuccess() bool

IsSuccess returns true when this list users in group not found response has a 2xx status code

func (*ListUsersInGroupNotFound) String

func (o *ListUsersInGroupNotFound) String() string

type ListUsersInGroupOK

type ListUsersInGroupOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	/* Indicates that a 5xx error was caused by tenant-provided code

	in:header
	*/
	XExternalError string

	/* OpenTelemetry trace identifier

	in:header
	*/
	XTraceID string

	Payload *models.Users
}

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

Identity Users

func NewListUsersInGroupOK

func NewListUsersInGroupOK() *ListUsersInGroupOK

NewListUsersInGroupOK creates a ListUsersInGroupOK with default headers values

func (*ListUsersInGroupOK) Code

func (o *ListUsersInGroupOK) Code() int

Code gets the status code for the list users in group o k response

func (*ListUsersInGroupOK) Error

func (o *ListUsersInGroupOK) Error() string

func (*ListUsersInGroupOK) GetPayload

func (o *ListUsersInGroupOK) GetPayload() *models.Users

func (*ListUsersInGroupOK) IsClientError

func (o *ListUsersInGroupOK) IsClientError() bool

IsClientError returns true when this list users in group o k response has a 4xx status code

func (*ListUsersInGroupOK) IsCode

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

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

func (*ListUsersInGroupOK) IsRedirect

func (o *ListUsersInGroupOK) IsRedirect() bool

IsRedirect returns true when this list users in group o k response has a 3xx status code

func (*ListUsersInGroupOK) IsServerError

func (o *ListUsersInGroupOK) IsServerError() bool

IsServerError returns true when this list users in group o k response has a 5xx status code

func (*ListUsersInGroupOK) IsSuccess

func (o *ListUsersInGroupOK) IsSuccess() bool

IsSuccess returns true when this list users in group o k response has a 2xx status code

func (*ListUsersInGroupOK) String

func (o *ListUsersInGroupOK) String() string

type ListUsersInGroupParams

type ListUsersInGroupParams struct {

	/* AfterUserID.

	     optional list users after given id
	AfterUserID
	*/
	AfterUserID *string

	/* BeforeUserID.

	     optional list users before given id
	BeforeUserID
	*/
	BeforeUserID *string

	// GroupID.
	GroupID string

	// IPID.
	IPID string

	/* Limit.

	     optional limit results
	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	// WithNestedGroups.
	WithNestedGroups *bool

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

ListUsersInGroupParams contains all the parameters to send to the API endpoint

for the list users in group operation.

Typically these are written to a http.Request.

func NewListUsersInGroupParams

func NewListUsersInGroupParams() *ListUsersInGroupParams

NewListUsersInGroupParams creates a new ListUsersInGroupParams 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 NewListUsersInGroupParamsWithContext

func NewListUsersInGroupParamsWithContext(ctx context.Context) *ListUsersInGroupParams

NewListUsersInGroupParamsWithContext creates a new ListUsersInGroupParams object with the ability to set a context for a request.

func NewListUsersInGroupParamsWithHTTPClient

func NewListUsersInGroupParamsWithHTTPClient(client *http.Client) *ListUsersInGroupParams

NewListUsersInGroupParamsWithHTTPClient creates a new ListUsersInGroupParams object with the ability to set a custom HTTPClient for a request.

func NewListUsersInGroupParamsWithTimeout

func NewListUsersInGroupParamsWithTimeout(timeout time.Duration) *ListUsersInGroupParams

NewListUsersInGroupParamsWithTimeout creates a new ListUsersInGroupParams object with the ability to set a timeout on a request.

func (*ListUsersInGroupParams) SetAfterUserID

func (o *ListUsersInGroupParams) SetAfterUserID(afterUserID *string)

SetAfterUserID adds the afterUserId to the list users in group params

func (*ListUsersInGroupParams) SetBeforeUserID

func (o *ListUsersInGroupParams) SetBeforeUserID(beforeUserID *string)

SetBeforeUserID adds the beforeUserId to the list users in group params

func (*ListUsersInGroupParams) SetContext

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

SetContext adds the context to the list users in group params

func (*ListUsersInGroupParams) SetDefaults

func (o *ListUsersInGroupParams) SetDefaults()

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

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

func (*ListUsersInGroupParams) SetGroupID

func (o *ListUsersInGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the list users in group params

func (*ListUsersInGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list users in group params

func (*ListUsersInGroupParams) SetIPID

func (o *ListUsersInGroupParams) SetIPID(iPID string)

SetIPID adds the ipId to the list users in group params

func (*ListUsersInGroupParams) SetLimit

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

SetLimit adds the limit to the list users in group params

func (*ListUsersInGroupParams) SetTimeout

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

SetTimeout adds the timeout to the list users in group params

func (*ListUsersInGroupParams) SetWithNestedGroups

func (o *ListUsersInGroupParams) SetWithNestedGroups(withNestedGroups *bool)

SetWithNestedGroups adds the withNestedGroups to the list users in group params

func (*ListUsersInGroupParams) WithAfterUserID

func (o *ListUsersInGroupParams) WithAfterUserID(afterUserID *string) *ListUsersInGroupParams

WithAfterUserID adds the afterUserID to the list users in group params

func (*ListUsersInGroupParams) WithBeforeUserID

func (o *ListUsersInGroupParams) WithBeforeUserID(beforeUserID *string) *ListUsersInGroupParams

WithBeforeUserID adds the beforeUserID to the list users in group params

func (*ListUsersInGroupParams) WithContext

WithContext adds the context to the list users in group params

func (*ListUsersInGroupParams) WithDefaults

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

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

func (*ListUsersInGroupParams) WithGroupID

func (o *ListUsersInGroupParams) WithGroupID(groupID string) *ListUsersInGroupParams

WithGroupID adds the groupID to the list users in group params

func (*ListUsersInGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list users in group params

func (*ListUsersInGroupParams) WithIPID

WithIPID adds the iPID to the list users in group params

func (*ListUsersInGroupParams) WithLimit

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

WithLimit adds the limit to the list users in group params

func (*ListUsersInGroupParams) WithTimeout

WithTimeout adds the timeout to the list users in group params

func (*ListUsersInGroupParams) WithWithNestedGroups

func (o *ListUsersInGroupParams) WithWithNestedGroups(withNestedGroups *bool) *ListUsersInGroupParams

WithWithNestedGroups adds the withNestedGroups to the list users in group params

func (*ListUsersInGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUsersInGroupReader

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

ListUsersInGroupReader is a Reader for the ListUsersInGroup structure.

func (*ListUsersInGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUsersInGroupTooManyRequests

type ListUsersInGroupTooManyRequests struct {
	Payload *models.Error
}

ListUsersInGroupTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListUsersInGroupTooManyRequests

func NewListUsersInGroupTooManyRequests() *ListUsersInGroupTooManyRequests

NewListUsersInGroupTooManyRequests creates a ListUsersInGroupTooManyRequests with default headers values

func (*ListUsersInGroupTooManyRequests) Code

Code gets the status code for the list users in group too many requests response

func (*ListUsersInGroupTooManyRequests) Error

func (*ListUsersInGroupTooManyRequests) GetPayload

func (o *ListUsersInGroupTooManyRequests) GetPayload() *models.Error

func (*ListUsersInGroupTooManyRequests) IsClientError

func (o *ListUsersInGroupTooManyRequests) IsClientError() bool

IsClientError returns true when this list users in group too many requests response has a 4xx status code

func (*ListUsersInGroupTooManyRequests) IsCode

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

IsCode returns true when this list users in group too many requests response a status code equal to that given

func (*ListUsersInGroupTooManyRequests) IsRedirect

func (o *ListUsersInGroupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list users in group too many requests response has a 3xx status code

func (*ListUsersInGroupTooManyRequests) IsServerError

func (o *ListUsersInGroupTooManyRequests) IsServerError() bool

IsServerError returns true when this list users in group too many requests response has a 5xx status code

func (*ListUsersInGroupTooManyRequests) IsSuccess

func (o *ListUsersInGroupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list users in group too many requests response has a 2xx status code

func (*ListUsersInGroupTooManyRequests) String

type ListUsersInGroupUnauthorized

type ListUsersInGroupUnauthorized struct {
	Payload *models.Error
}

ListUsersInGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListUsersInGroupUnauthorized

func NewListUsersInGroupUnauthorized() *ListUsersInGroupUnauthorized

NewListUsersInGroupUnauthorized creates a ListUsersInGroupUnauthorized with default headers values

func (*ListUsersInGroupUnauthorized) Code

Code gets the status code for the list users in group unauthorized response

func (*ListUsersInGroupUnauthorized) Error

func (*ListUsersInGroupUnauthorized) GetPayload

func (o *ListUsersInGroupUnauthorized) GetPayload() *models.Error

func (*ListUsersInGroupUnauthorized) IsClientError

func (o *ListUsersInGroupUnauthorized) IsClientError() bool

IsClientError returns true when this list users in group unauthorized response has a 4xx status code

func (*ListUsersInGroupUnauthorized) IsCode

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

IsCode returns true when this list users in group unauthorized response a status code equal to that given

func (*ListUsersInGroupUnauthorized) IsRedirect

func (o *ListUsersInGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this list users in group unauthorized response has a 3xx status code

func (*ListUsersInGroupUnauthorized) IsServerError

func (o *ListUsersInGroupUnauthorized) IsServerError() bool

IsServerError returns true when this list users in group unauthorized response has a 5xx status code

func (*ListUsersInGroupUnauthorized) IsSuccess

func (o *ListUsersInGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this list users in group unauthorized response has a 2xx status code

func (*ListUsersInGroupUnauthorized) String

type ListUsersInGroupUnprocessableEntity

type ListUsersInGroupUnprocessableEntity struct {
	Payload *models.Error
}

ListUsersInGroupUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewListUsersInGroupUnprocessableEntity

func NewListUsersInGroupUnprocessableEntity() *ListUsersInGroupUnprocessableEntity

NewListUsersInGroupUnprocessableEntity creates a ListUsersInGroupUnprocessableEntity with default headers values

func (*ListUsersInGroupUnprocessableEntity) Code

Code gets the status code for the list users in group unprocessable entity response

func (*ListUsersInGroupUnprocessableEntity) Error

func (*ListUsersInGroupUnprocessableEntity) GetPayload

func (*ListUsersInGroupUnprocessableEntity) IsClientError

func (o *ListUsersInGroupUnprocessableEntity) IsClientError() bool

IsClientError returns true when this list users in group unprocessable entity response has a 4xx status code

func (*ListUsersInGroupUnprocessableEntity) IsCode

IsCode returns true when this list users in group unprocessable entity response a status code equal to that given

func (*ListUsersInGroupUnprocessableEntity) IsRedirect

func (o *ListUsersInGroupUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this list users in group unprocessable entity response has a 3xx status code

func (*ListUsersInGroupUnprocessableEntity) IsServerError

func (o *ListUsersInGroupUnprocessableEntity) IsServerError() bool

IsServerError returns true when this list users in group unprocessable entity response has a 5xx status code

func (*ListUsersInGroupUnprocessableEntity) IsSuccess

IsSuccess returns true when this list users in group unprocessable entity response has a 2xx status code

func (*ListUsersInGroupUnprocessableEntity) String

type RemoveUserFromGroupBadRequest

type RemoveUserFromGroupBadRequest struct {
	Payload *models.Error
}

RemoveUserFromGroupBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRemoveUserFromGroupBadRequest

func NewRemoveUserFromGroupBadRequest() *RemoveUserFromGroupBadRequest

NewRemoveUserFromGroupBadRequest creates a RemoveUserFromGroupBadRequest with default headers values

func (*RemoveUserFromGroupBadRequest) Code

Code gets the status code for the remove user from group bad request response

func (*RemoveUserFromGroupBadRequest) Error

func (*RemoveUserFromGroupBadRequest) GetPayload

func (o *RemoveUserFromGroupBadRequest) GetPayload() *models.Error

func (*RemoveUserFromGroupBadRequest) IsClientError

func (o *RemoveUserFromGroupBadRequest) IsClientError() bool

IsClientError returns true when this remove user from group bad request response has a 4xx status code

func (*RemoveUserFromGroupBadRequest) IsCode

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

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

func (*RemoveUserFromGroupBadRequest) IsRedirect

func (o *RemoveUserFromGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this remove user from group bad request response has a 3xx status code

func (*RemoveUserFromGroupBadRequest) IsServerError

func (o *RemoveUserFromGroupBadRequest) IsServerError() bool

IsServerError returns true when this remove user from group bad request response has a 5xx status code

func (*RemoveUserFromGroupBadRequest) IsSuccess

func (o *RemoveUserFromGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this remove user from group bad request response has a 2xx status code

func (*RemoveUserFromGroupBadRequest) String

type RemoveUserFromGroupConflict

type RemoveUserFromGroupConflict struct {
	Payload *models.Error
}

RemoveUserFromGroupConflict describes a response with status code 409, with default header values.

Conflict

func NewRemoveUserFromGroupConflict

func NewRemoveUserFromGroupConflict() *RemoveUserFromGroupConflict

NewRemoveUserFromGroupConflict creates a RemoveUserFromGroupConflict with default headers values

func (*RemoveUserFromGroupConflict) Code

func (o *RemoveUserFromGroupConflict) Code() int

Code gets the status code for the remove user from group conflict response

func (*RemoveUserFromGroupConflict) Error

func (*RemoveUserFromGroupConflict) GetPayload

func (o *RemoveUserFromGroupConflict) GetPayload() *models.Error

func (*RemoveUserFromGroupConflict) IsClientError

func (o *RemoveUserFromGroupConflict) IsClientError() bool

IsClientError returns true when this remove user from group conflict response has a 4xx status code

func (*RemoveUserFromGroupConflict) IsCode

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

IsCode returns true when this remove user from group conflict response a status code equal to that given

func (*RemoveUserFromGroupConflict) IsRedirect

func (o *RemoveUserFromGroupConflict) IsRedirect() bool

IsRedirect returns true when this remove user from group conflict response has a 3xx status code

func (*RemoveUserFromGroupConflict) IsServerError

func (o *RemoveUserFromGroupConflict) IsServerError() bool

IsServerError returns true when this remove user from group conflict response has a 5xx status code

func (*RemoveUserFromGroupConflict) IsSuccess

func (o *RemoveUserFromGroupConflict) IsSuccess() bool

IsSuccess returns true when this remove user from group conflict response has a 2xx status code

func (*RemoveUserFromGroupConflict) String

func (o *RemoveUserFromGroupConflict) String() string

type RemoveUserFromGroupForbidden

type RemoveUserFromGroupForbidden struct {
	Payload *models.Error
}

RemoveUserFromGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRemoveUserFromGroupForbidden

func NewRemoveUserFromGroupForbidden() *RemoveUserFromGroupForbidden

NewRemoveUserFromGroupForbidden creates a RemoveUserFromGroupForbidden with default headers values

func (*RemoveUserFromGroupForbidden) Code

Code gets the status code for the remove user from group forbidden response

func (*RemoveUserFromGroupForbidden) Error

func (*RemoveUserFromGroupForbidden) GetPayload

func (o *RemoveUserFromGroupForbidden) GetPayload() *models.Error

func (*RemoveUserFromGroupForbidden) IsClientError

func (o *RemoveUserFromGroupForbidden) IsClientError() bool

IsClientError returns true when this remove user from group forbidden response has a 4xx status code

func (*RemoveUserFromGroupForbidden) IsCode

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

IsCode returns true when this remove user from group forbidden response a status code equal to that given

func (*RemoveUserFromGroupForbidden) IsRedirect

func (o *RemoveUserFromGroupForbidden) IsRedirect() bool

IsRedirect returns true when this remove user from group forbidden response has a 3xx status code

func (*RemoveUserFromGroupForbidden) IsServerError

func (o *RemoveUserFromGroupForbidden) IsServerError() bool

IsServerError returns true when this remove user from group forbidden response has a 5xx status code

func (*RemoveUserFromGroupForbidden) IsSuccess

func (o *RemoveUserFromGroupForbidden) IsSuccess() bool

IsSuccess returns true when this remove user from group forbidden response has a 2xx status code

func (*RemoveUserFromGroupForbidden) String

type RemoveUserFromGroupNoContent

type RemoveUserFromGroupNoContent struct {
}

RemoveUserFromGroupNoContent describes a response with status code 204, with default header values.

OK

func NewRemoveUserFromGroupNoContent

func NewRemoveUserFromGroupNoContent() *RemoveUserFromGroupNoContent

NewRemoveUserFromGroupNoContent creates a RemoveUserFromGroupNoContent with default headers values

func (*RemoveUserFromGroupNoContent) Code

Code gets the status code for the remove user from group no content response

func (*RemoveUserFromGroupNoContent) Error

func (*RemoveUserFromGroupNoContent) IsClientError

func (o *RemoveUserFromGroupNoContent) IsClientError() bool

IsClientError returns true when this remove user from group no content response has a 4xx status code

func (*RemoveUserFromGroupNoContent) IsCode

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

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

func (*RemoveUserFromGroupNoContent) IsRedirect

func (o *RemoveUserFromGroupNoContent) IsRedirect() bool

IsRedirect returns true when this remove user from group no content response has a 3xx status code

func (*RemoveUserFromGroupNoContent) IsServerError

func (o *RemoveUserFromGroupNoContent) IsServerError() bool

IsServerError returns true when this remove user from group no content response has a 5xx status code

func (*RemoveUserFromGroupNoContent) IsSuccess

func (o *RemoveUserFromGroupNoContent) IsSuccess() bool

IsSuccess returns true when this remove user from group no content response has a 2xx status code

func (*RemoveUserFromGroupNoContent) String

type RemoveUserFromGroupNotFound

type RemoveUserFromGroupNotFound struct {
	Payload *models.Error
}

RemoveUserFromGroupNotFound describes a response with status code 404, with default header values.

Not found

func NewRemoveUserFromGroupNotFound

func NewRemoveUserFromGroupNotFound() *RemoveUserFromGroupNotFound

NewRemoveUserFromGroupNotFound creates a RemoveUserFromGroupNotFound with default headers values

func (*RemoveUserFromGroupNotFound) Code

func (o *RemoveUserFromGroupNotFound) Code() int

Code gets the status code for the remove user from group not found response

func (*RemoveUserFromGroupNotFound) Error

func (*RemoveUserFromGroupNotFound) GetPayload

func (o *RemoveUserFromGroupNotFound) GetPayload() *models.Error

func (*RemoveUserFromGroupNotFound) IsClientError

func (o *RemoveUserFromGroupNotFound) IsClientError() bool

IsClientError returns true when this remove user from group not found response has a 4xx status code

func (*RemoveUserFromGroupNotFound) IsCode

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

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

func (*RemoveUserFromGroupNotFound) IsRedirect

func (o *RemoveUserFromGroupNotFound) IsRedirect() bool

IsRedirect returns true when this remove user from group not found response has a 3xx status code

func (*RemoveUserFromGroupNotFound) IsServerError

func (o *RemoveUserFromGroupNotFound) IsServerError() bool

IsServerError returns true when this remove user from group not found response has a 5xx status code

func (*RemoveUserFromGroupNotFound) IsSuccess

func (o *RemoveUserFromGroupNotFound) IsSuccess() bool

IsSuccess returns true when this remove user from group not found response has a 2xx status code

func (*RemoveUserFromGroupNotFound) String

func (o *RemoveUserFromGroupNotFound) String() string

type RemoveUserFromGroupParams

type RemoveUserFromGroupParams struct {

	// GroupID.
	GroupID string

	// IPID.
	IPID string

	// UserID.
	UserID string

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

RemoveUserFromGroupParams contains all the parameters to send to the API endpoint

for the remove user from group operation.

Typically these are written to a http.Request.

func NewRemoveUserFromGroupParams

func NewRemoveUserFromGroupParams() *RemoveUserFromGroupParams

NewRemoveUserFromGroupParams creates a new RemoveUserFromGroupParams 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 NewRemoveUserFromGroupParamsWithContext

func NewRemoveUserFromGroupParamsWithContext(ctx context.Context) *RemoveUserFromGroupParams

NewRemoveUserFromGroupParamsWithContext creates a new RemoveUserFromGroupParams object with the ability to set a context for a request.

func NewRemoveUserFromGroupParamsWithHTTPClient

func NewRemoveUserFromGroupParamsWithHTTPClient(client *http.Client) *RemoveUserFromGroupParams

NewRemoveUserFromGroupParamsWithHTTPClient creates a new RemoveUserFromGroupParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveUserFromGroupParamsWithTimeout

func NewRemoveUserFromGroupParamsWithTimeout(timeout time.Duration) *RemoveUserFromGroupParams

NewRemoveUserFromGroupParamsWithTimeout creates a new RemoveUserFromGroupParams object with the ability to set a timeout on a request.

func (*RemoveUserFromGroupParams) SetContext

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

SetContext adds the context to the remove user from group params

func (*RemoveUserFromGroupParams) SetDefaults

func (o *RemoveUserFromGroupParams) SetDefaults()

SetDefaults hydrates default values in the remove user from group params (not the query body).

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

func (*RemoveUserFromGroupParams) SetGroupID

func (o *RemoveUserFromGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the remove user from group params

func (*RemoveUserFromGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove user from group params

func (*RemoveUserFromGroupParams) SetIPID

func (o *RemoveUserFromGroupParams) SetIPID(iPID string)

SetIPID adds the ipId to the remove user from group params

func (*RemoveUserFromGroupParams) SetTimeout

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

SetTimeout adds the timeout to the remove user from group params

func (*RemoveUserFromGroupParams) SetUserID

func (o *RemoveUserFromGroupParams) SetUserID(userID string)

SetUserID adds the userId to the remove user from group params

func (*RemoveUserFromGroupParams) WithContext

WithContext adds the context to the remove user from group params

func (*RemoveUserFromGroupParams) WithDefaults

WithDefaults hydrates default values in the remove user from group params (not the query body).

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

func (*RemoveUserFromGroupParams) WithGroupID

WithGroupID adds the groupID to the remove user from group params

func (*RemoveUserFromGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove user from group params

func (*RemoveUserFromGroupParams) WithIPID

WithIPID adds the iPID to the remove user from group params

func (*RemoveUserFromGroupParams) WithTimeout

WithTimeout adds the timeout to the remove user from group params

func (*RemoveUserFromGroupParams) WithUserID

WithUserID adds the userID to the remove user from group params

func (*RemoveUserFromGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveUserFromGroupReader

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

RemoveUserFromGroupReader is a Reader for the RemoveUserFromGroup structure.

func (*RemoveUserFromGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoveUserFromGroupTooManyRequests

type RemoveUserFromGroupTooManyRequests struct {
	Payload *models.Error
}

RemoveUserFromGroupTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewRemoveUserFromGroupTooManyRequests

func NewRemoveUserFromGroupTooManyRequests() *RemoveUserFromGroupTooManyRequests

NewRemoveUserFromGroupTooManyRequests creates a RemoveUserFromGroupTooManyRequests with default headers values

func (*RemoveUserFromGroupTooManyRequests) Code

Code gets the status code for the remove user from group too many requests response

func (*RemoveUserFromGroupTooManyRequests) Error

func (*RemoveUserFromGroupTooManyRequests) GetPayload

func (*RemoveUserFromGroupTooManyRequests) IsClientError

func (o *RemoveUserFromGroupTooManyRequests) IsClientError() bool

IsClientError returns true when this remove user from group too many requests response has a 4xx status code

func (*RemoveUserFromGroupTooManyRequests) IsCode

IsCode returns true when this remove user from group too many requests response a status code equal to that given

func (*RemoveUserFromGroupTooManyRequests) IsRedirect

func (o *RemoveUserFromGroupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this remove user from group too many requests response has a 3xx status code

func (*RemoveUserFromGroupTooManyRequests) IsServerError

func (o *RemoveUserFromGroupTooManyRequests) IsServerError() bool

IsServerError returns true when this remove user from group too many requests response has a 5xx status code

func (*RemoveUserFromGroupTooManyRequests) IsSuccess

IsSuccess returns true when this remove user from group too many requests response has a 2xx status code

func (*RemoveUserFromGroupTooManyRequests) String

type RemoveUserFromGroupUnauthorized

type RemoveUserFromGroupUnauthorized struct {
	Payload *models.Error
}

RemoveUserFromGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewRemoveUserFromGroupUnauthorized

func NewRemoveUserFromGroupUnauthorized() *RemoveUserFromGroupUnauthorized

NewRemoveUserFromGroupUnauthorized creates a RemoveUserFromGroupUnauthorized with default headers values

func (*RemoveUserFromGroupUnauthorized) Code

Code gets the status code for the remove user from group unauthorized response

func (*RemoveUserFromGroupUnauthorized) Error

func (*RemoveUserFromGroupUnauthorized) GetPayload

func (o *RemoveUserFromGroupUnauthorized) GetPayload() *models.Error

func (*RemoveUserFromGroupUnauthorized) IsClientError

func (o *RemoveUserFromGroupUnauthorized) IsClientError() bool

IsClientError returns true when this remove user from group unauthorized response has a 4xx status code

func (*RemoveUserFromGroupUnauthorized) IsCode

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

IsCode returns true when this remove user from group unauthorized response a status code equal to that given

func (*RemoveUserFromGroupUnauthorized) IsRedirect

func (o *RemoveUserFromGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this remove user from group unauthorized response has a 3xx status code

func (*RemoveUserFromGroupUnauthorized) IsServerError

func (o *RemoveUserFromGroupUnauthorized) IsServerError() bool

IsServerError returns true when this remove user from group unauthorized response has a 5xx status code

func (*RemoveUserFromGroupUnauthorized) IsSuccess

func (o *RemoveUserFromGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this remove user from group unauthorized response has a 2xx status code

func (*RemoveUserFromGroupUnauthorized) String

type RemoveUserFromGroupUnprocessableEntity

type RemoveUserFromGroupUnprocessableEntity struct {
	Payload *models.Error
}

RemoveUserFromGroupUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewRemoveUserFromGroupUnprocessableEntity

func NewRemoveUserFromGroupUnprocessableEntity() *RemoveUserFromGroupUnprocessableEntity

NewRemoveUserFromGroupUnprocessableEntity creates a RemoveUserFromGroupUnprocessableEntity with default headers values

func (*RemoveUserFromGroupUnprocessableEntity) Code

Code gets the status code for the remove user from group unprocessable entity response

func (*RemoveUserFromGroupUnprocessableEntity) Error

func (*RemoveUserFromGroupUnprocessableEntity) GetPayload

func (*RemoveUserFromGroupUnprocessableEntity) IsClientError

func (o *RemoveUserFromGroupUnprocessableEntity) IsClientError() bool

IsClientError returns true when this remove user from group unprocessable entity response has a 4xx status code

func (*RemoveUserFromGroupUnprocessableEntity) IsCode

IsCode returns true when this remove user from group unprocessable entity response a status code equal to that given

func (*RemoveUserFromGroupUnprocessableEntity) IsRedirect

IsRedirect returns true when this remove user from group unprocessable entity response has a 3xx status code

func (*RemoveUserFromGroupUnprocessableEntity) IsServerError

func (o *RemoveUserFromGroupUnprocessableEntity) IsServerError() bool

IsServerError returns true when this remove user from group unprocessable entity response has a 5xx status code

func (*RemoveUserFromGroupUnprocessableEntity) IsSuccess

IsSuccess returns true when this remove user from group unprocessable entity response has a 2xx status code

func (*RemoveUserFromGroupUnprocessableEntity) String

type UpdateGroupBadRequest

type UpdateGroupBadRequest struct {
	Payload *models.Error
}

UpdateGroupBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateGroupBadRequest

func NewUpdateGroupBadRequest() *UpdateGroupBadRequest

NewUpdateGroupBadRequest creates a UpdateGroupBadRequest with default headers values

func (*UpdateGroupBadRequest) Code

func (o *UpdateGroupBadRequest) Code() int

Code gets the status code for the update group bad request response

func (*UpdateGroupBadRequest) Error

func (o *UpdateGroupBadRequest) Error() string

func (*UpdateGroupBadRequest) GetPayload

func (o *UpdateGroupBadRequest) GetPayload() *models.Error

func (*UpdateGroupBadRequest) IsClientError

func (o *UpdateGroupBadRequest) IsClientError() bool

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

func (*UpdateGroupBadRequest) IsCode

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

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

func (*UpdateGroupBadRequest) IsRedirect

func (o *UpdateGroupBadRequest) IsRedirect() bool

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

func (*UpdateGroupBadRequest) IsServerError

func (o *UpdateGroupBadRequest) IsServerError() bool

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

func (*UpdateGroupBadRequest) IsSuccess

func (o *UpdateGroupBadRequest) IsSuccess() bool

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

func (*UpdateGroupBadRequest) String

func (o *UpdateGroupBadRequest) String() string

type UpdateGroupConflict

type UpdateGroupConflict struct {
	Payload *models.Error
}

UpdateGroupConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateGroupConflict

func NewUpdateGroupConflict() *UpdateGroupConflict

NewUpdateGroupConflict creates a UpdateGroupConflict with default headers values

func (*UpdateGroupConflict) Code

func (o *UpdateGroupConflict) Code() int

Code gets the status code for the update group conflict response

func (*UpdateGroupConflict) Error

func (o *UpdateGroupConflict) Error() string

func (*UpdateGroupConflict) GetPayload

func (o *UpdateGroupConflict) GetPayload() *models.Error

func (*UpdateGroupConflict) IsClientError

func (o *UpdateGroupConflict) IsClientError() bool

IsClientError returns true when this update group conflict response has a 4xx status code

func (*UpdateGroupConflict) IsCode

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

IsCode returns true when this update group conflict response a status code equal to that given

func (*UpdateGroupConflict) IsRedirect

func (o *UpdateGroupConflict) IsRedirect() bool

IsRedirect returns true when this update group conflict response has a 3xx status code

func (*UpdateGroupConflict) IsServerError

func (o *UpdateGroupConflict) IsServerError() bool

IsServerError returns true when this update group conflict response has a 5xx status code

func (*UpdateGroupConflict) IsSuccess

func (o *UpdateGroupConflict) IsSuccess() bool

IsSuccess returns true when this update group conflict response has a 2xx status code

func (*UpdateGroupConflict) String

func (o *UpdateGroupConflict) String() string

type UpdateGroupForbidden

type UpdateGroupForbidden struct {
	Payload *models.Error
}

UpdateGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateGroupForbidden

func NewUpdateGroupForbidden() *UpdateGroupForbidden

NewUpdateGroupForbidden creates a UpdateGroupForbidden with default headers values

func (*UpdateGroupForbidden) Code

func (o *UpdateGroupForbidden) Code() int

Code gets the status code for the update group forbidden response

func (*UpdateGroupForbidden) Error

func (o *UpdateGroupForbidden) Error() string

func (*UpdateGroupForbidden) GetPayload

func (o *UpdateGroupForbidden) GetPayload() *models.Error

func (*UpdateGroupForbidden) IsClientError

func (o *UpdateGroupForbidden) IsClientError() bool

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

func (*UpdateGroupForbidden) IsCode

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

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

func (*UpdateGroupForbidden) IsRedirect

func (o *UpdateGroupForbidden) IsRedirect() bool

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

func (*UpdateGroupForbidden) IsServerError

func (o *UpdateGroupForbidden) IsServerError() bool

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

func (*UpdateGroupForbidden) IsSuccess

func (o *UpdateGroupForbidden) IsSuccess() bool

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

func (*UpdateGroupForbidden) String

func (o *UpdateGroupForbidden) String() string

type UpdateGroupNotFound

type UpdateGroupNotFound struct {
	Payload *models.Error
}

UpdateGroupNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateGroupNotFound

func NewUpdateGroupNotFound() *UpdateGroupNotFound

NewUpdateGroupNotFound creates a UpdateGroupNotFound with default headers values

func (*UpdateGroupNotFound) Code

func (o *UpdateGroupNotFound) Code() int

Code gets the status code for the update group not found response

func (*UpdateGroupNotFound) Error

func (o *UpdateGroupNotFound) Error() string

func (*UpdateGroupNotFound) GetPayload

func (o *UpdateGroupNotFound) GetPayload() *models.Error

func (*UpdateGroupNotFound) IsClientError

func (o *UpdateGroupNotFound) IsClientError() bool

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

func (*UpdateGroupNotFound) IsCode

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

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

func (*UpdateGroupNotFound) IsRedirect

func (o *UpdateGroupNotFound) IsRedirect() bool

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

func (*UpdateGroupNotFound) IsServerError

func (o *UpdateGroupNotFound) IsServerError() bool

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

func (*UpdateGroupNotFound) IsSuccess

func (o *UpdateGroupNotFound) IsSuccess() bool

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

func (*UpdateGroupNotFound) String

func (o *UpdateGroupNotFound) String() string

type UpdateGroupOK

type UpdateGroupOK struct {
	Payload *models.Group
}

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

Group

func NewUpdateGroupOK

func NewUpdateGroupOK() *UpdateGroupOK

NewUpdateGroupOK creates a UpdateGroupOK with default headers values

func (*UpdateGroupOK) Code

func (o *UpdateGroupOK) Code() int

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

func (*UpdateGroupOK) Error

func (o *UpdateGroupOK) Error() string

func (*UpdateGroupOK) GetPayload

func (o *UpdateGroupOK) GetPayload() *models.Group

func (*UpdateGroupOK) IsClientError

func (o *UpdateGroupOK) IsClientError() bool

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

func (*UpdateGroupOK) IsCode

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

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

func (*UpdateGroupOK) IsRedirect

func (o *UpdateGroupOK) IsRedirect() bool

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

func (*UpdateGroupOK) IsServerError

func (o *UpdateGroupOK) IsServerError() bool

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

func (*UpdateGroupOK) IsSuccess

func (o *UpdateGroupOK) IsSuccess() bool

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

func (*UpdateGroupOK) String

func (o *UpdateGroupOK) String() string

type UpdateGroupParams

type UpdateGroupParams struct {

	// UpdateGroup.
	UpdateGroup *models.Group

	// GroupID.
	GroupID string

	// IPID.
	IPID string

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

UpdateGroupParams contains all the parameters to send to the API endpoint

for the update group operation.

Typically these are written to a http.Request.

func NewUpdateGroupParams

func NewUpdateGroupParams() *UpdateGroupParams

NewUpdateGroupParams creates a new UpdateGroupParams 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 NewUpdateGroupParamsWithContext

func NewUpdateGroupParamsWithContext(ctx context.Context) *UpdateGroupParams

NewUpdateGroupParamsWithContext creates a new UpdateGroupParams object with the ability to set a context for a request.

func NewUpdateGroupParamsWithHTTPClient

func NewUpdateGroupParamsWithHTTPClient(client *http.Client) *UpdateGroupParams

NewUpdateGroupParamsWithHTTPClient creates a new UpdateGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGroupParamsWithTimeout

func NewUpdateGroupParamsWithTimeout(timeout time.Duration) *UpdateGroupParams

NewUpdateGroupParamsWithTimeout creates a new UpdateGroupParams object with the ability to set a timeout on a request.

func (*UpdateGroupParams) SetContext

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

SetContext adds the context to the update group params

func (*UpdateGroupParams) SetDefaults

func (o *UpdateGroupParams) SetDefaults()

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

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

func (*UpdateGroupParams) SetGroupID

func (o *UpdateGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the update group params

func (*UpdateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update group params

func (*UpdateGroupParams) SetIPID

func (o *UpdateGroupParams) SetIPID(iPID string)

SetIPID adds the ipId to the update group params

func (*UpdateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update group params

func (*UpdateGroupParams) SetUpdateGroup

func (o *UpdateGroupParams) SetUpdateGroup(updateGroup *models.Group)

SetUpdateGroup adds the updateGroup to the update group params

func (*UpdateGroupParams) WithContext

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

WithContext adds the context to the update group params

func (*UpdateGroupParams) WithDefaults

func (o *UpdateGroupParams) WithDefaults() *UpdateGroupParams

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

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

func (*UpdateGroupParams) WithGroupID

func (o *UpdateGroupParams) WithGroupID(groupID string) *UpdateGroupParams

WithGroupID adds the groupID to the update group params

func (*UpdateGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update group params

func (*UpdateGroupParams) WithIPID

func (o *UpdateGroupParams) WithIPID(iPID string) *UpdateGroupParams

WithIPID adds the iPID to the update group params

func (*UpdateGroupParams) WithTimeout

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

WithTimeout adds the timeout to the update group params

func (*UpdateGroupParams) WithUpdateGroup

func (o *UpdateGroupParams) WithUpdateGroup(updateGroup *models.Group) *UpdateGroupParams

WithUpdateGroup adds the updateGroup to the update group params

func (*UpdateGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateGroupReader

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

UpdateGroupReader is a Reader for the UpdateGroup structure.

func (*UpdateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGroupTooManyRequests

type UpdateGroupTooManyRequests struct {
	Payload *models.Error
}

UpdateGroupTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewUpdateGroupTooManyRequests

func NewUpdateGroupTooManyRequests() *UpdateGroupTooManyRequests

NewUpdateGroupTooManyRequests creates a UpdateGroupTooManyRequests with default headers values

func (*UpdateGroupTooManyRequests) Code

func (o *UpdateGroupTooManyRequests) Code() int

Code gets the status code for the update group too many requests response

func (*UpdateGroupTooManyRequests) Error

func (*UpdateGroupTooManyRequests) GetPayload

func (o *UpdateGroupTooManyRequests) GetPayload() *models.Error

func (*UpdateGroupTooManyRequests) IsClientError

func (o *UpdateGroupTooManyRequests) IsClientError() bool

IsClientError returns true when this update group too many requests response has a 4xx status code

func (*UpdateGroupTooManyRequests) IsCode

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

IsCode returns true when this update group too many requests response a status code equal to that given

func (*UpdateGroupTooManyRequests) IsRedirect

func (o *UpdateGroupTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update group too many requests response has a 3xx status code

func (*UpdateGroupTooManyRequests) IsServerError

func (o *UpdateGroupTooManyRequests) IsServerError() bool

IsServerError returns true when this update group too many requests response has a 5xx status code

func (*UpdateGroupTooManyRequests) IsSuccess

func (o *UpdateGroupTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update group too many requests response has a 2xx status code

func (*UpdateGroupTooManyRequests) String

func (o *UpdateGroupTooManyRequests) String() string

type UpdateGroupUnauthorized

type UpdateGroupUnauthorized struct {
	Payload *models.Error
}

UpdateGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateGroupUnauthorized

func NewUpdateGroupUnauthorized() *UpdateGroupUnauthorized

NewUpdateGroupUnauthorized creates a UpdateGroupUnauthorized with default headers values

func (*UpdateGroupUnauthorized) Code

func (o *UpdateGroupUnauthorized) Code() int

Code gets the status code for the update group unauthorized response

func (*UpdateGroupUnauthorized) Error

func (o *UpdateGroupUnauthorized) Error() string

func (*UpdateGroupUnauthorized) GetPayload

func (o *UpdateGroupUnauthorized) GetPayload() *models.Error

func (*UpdateGroupUnauthorized) IsClientError

func (o *UpdateGroupUnauthorized) IsClientError() bool

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

func (*UpdateGroupUnauthorized) IsCode

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

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

func (*UpdateGroupUnauthorized) IsRedirect

func (o *UpdateGroupUnauthorized) IsRedirect() bool

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

func (*UpdateGroupUnauthorized) IsServerError

func (o *UpdateGroupUnauthorized) IsServerError() bool

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

func (*UpdateGroupUnauthorized) IsSuccess

func (o *UpdateGroupUnauthorized) IsSuccess() bool

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

func (*UpdateGroupUnauthorized) String

func (o *UpdateGroupUnauthorized) String() string

type UpdateGroupUnprocessableEntity

type UpdateGroupUnprocessableEntity struct {
	Payload *models.Error
}

UpdateGroupUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUpdateGroupUnprocessableEntity

func NewUpdateGroupUnprocessableEntity() *UpdateGroupUnprocessableEntity

NewUpdateGroupUnprocessableEntity creates a UpdateGroupUnprocessableEntity with default headers values

func (*UpdateGroupUnprocessableEntity) Code

Code gets the status code for the update group unprocessable entity response

func (*UpdateGroupUnprocessableEntity) Error

func (*UpdateGroupUnprocessableEntity) GetPayload

func (o *UpdateGroupUnprocessableEntity) GetPayload() *models.Error

func (*UpdateGroupUnprocessableEntity) IsClientError

func (o *UpdateGroupUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update group unprocessable entity response has a 4xx status code

func (*UpdateGroupUnprocessableEntity) IsCode

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

IsCode returns true when this update group unprocessable entity response a status code equal to that given

func (*UpdateGroupUnprocessableEntity) IsRedirect

func (o *UpdateGroupUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update group unprocessable entity response has a 3xx status code

func (*UpdateGroupUnprocessableEntity) IsServerError

func (o *UpdateGroupUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update group unprocessable entity response has a 5xx status code

func (*UpdateGroupUnprocessableEntity) IsSuccess

func (o *UpdateGroupUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update group unprocessable entity response has a 2xx status code

func (*UpdateGroupUnprocessableEntity) String

Jump to

Keyboard shortcuts

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