group_attribute_sync

package
v0.0.0-...-9bc70ad Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Client ¶

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

Client for group attribute sync API

func (*Client) CreateGroupMappings ¶

func (a *Client) CreateGroupMappings(groupID string, body *models.GroupAttributes, opts ...ClientOption) (*CreateGroupMappingsCreated, error)

CreateGroupMappings creates mappings for a group this endpoint is behind the feature flag group attribute sync and is considered experimental

func (*Client) CreateGroupMappingsWithParams ¶

func (a *Client) CreateGroupMappingsWithParams(params *CreateGroupMappingsParams, opts ...ClientOption) (*CreateGroupMappingsCreated, error)

func (*Client) DeleteGroupMappings ¶

func (a *Client) DeleteGroupMappings(groupID string, opts ...ClientOption) (*DeleteGroupMappingsNoContent, error)

DeleteGroupMappings deletes mappings for a group this endpoint is behind the feature flag group attribute sync and is considered experimental

func (*Client) DeleteGroupMappingsWithParams ¶

func (a *Client) DeleteGroupMappingsWithParams(params *DeleteGroupMappingsParams, opts ...ClientOption) (*DeleteGroupMappingsNoContent, error)

func (*Client) GetGroupRoles ¶

func (a *Client) GetGroupRoles(groupID string, opts ...ClientOption) (*GetGroupRolesOK, error)

GetGroupRoles gets roles mapped to a group this endpoint is behind the feature flag group attribute sync and is considered experimental

func (*Client) GetGroupRolesWithParams ¶

func (a *Client) GetGroupRolesWithParams(params *GetGroupRolesParams, opts ...ClientOption) (*GetGroupRolesOK, error)

func (*Client) GetMappedGroups ¶

func (a *Client) GetMappedGroups(opts ...ClientOption) (*GetMappedGroupsOK, error)

GetMappedGroups lists groups that have mappings set this endpoint is behind the feature flag group attribute sync and is considered experimental

func (*Client) GetMappedGroupsWithParams ¶

func (a *Client) GetMappedGroupsWithParams(params *GetMappedGroupsParams, opts ...ClientOption) (*GetMappedGroupsOK, error)

func (*Client) SetTransport ¶

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

SetTransport changes the transport on the client

func (*Client) UpdateGroupMappings ¶

func (a *Client) UpdateGroupMappings(groupID string, body *models.GroupAttributes, opts ...ClientOption) (*UpdateGroupMappingsCreated, error)

UpdateGroupMappings updates mappings for a group this endpoint is behind the feature flag group attribute sync and is considered experimental

func (*Client) UpdateGroupMappingsWithParams ¶

func (a *Client) UpdateGroupMappingsWithParams(params *UpdateGroupMappingsParams, opts ...ClientOption) (*UpdateGroupMappingsCreated, error)

type ClientOption ¶

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo ¶

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService ¶

type ClientService interface {
	CreateGroupMappings(groupID string, body *models.GroupAttributes, opts ...ClientOption) (*CreateGroupMappingsCreated, error)
	CreateGroupMappingsWithParams(params *CreateGroupMappingsParams, opts ...ClientOption) (*CreateGroupMappingsCreated, error)

	DeleteGroupMappings(groupID string, opts ...ClientOption) (*DeleteGroupMappingsNoContent, error)
	DeleteGroupMappingsWithParams(params *DeleteGroupMappingsParams, opts ...ClientOption) (*DeleteGroupMappingsNoContent, error)

	GetGroupRoles(groupID string, opts ...ClientOption) (*GetGroupRolesOK, error)
	GetGroupRolesWithParams(params *GetGroupRolesParams, opts ...ClientOption) (*GetGroupRolesOK, error)

	GetMappedGroups(opts ...ClientOption) (*GetMappedGroupsOK, error)
	GetMappedGroupsWithParams(params *GetMappedGroupsParams, opts ...ClientOption) (*GetMappedGroupsOK, error)

	UpdateGroupMappings(groupID string, body *models.GroupAttributes, opts ...ClientOption) (*UpdateGroupMappingsCreated, error)
	UpdateGroupMappingsWithParams(params *UpdateGroupMappingsParams, opts ...ClientOption) (*UpdateGroupMappingsCreated, 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 group attribute sync API client.

type CreateGroupMappingsBadRequest ¶

type CreateGroupMappingsBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCreateGroupMappingsBadRequest ¶

func NewCreateGroupMappingsBadRequest() *CreateGroupMappingsBadRequest

NewCreateGroupMappingsBadRequest creates a CreateGroupMappingsBadRequest with default headers values

func (*CreateGroupMappingsBadRequest) Code ¶

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

func (*CreateGroupMappingsBadRequest) Error ¶

func (*CreateGroupMappingsBadRequest) GetPayload ¶

func (*CreateGroupMappingsBadRequest) IsClientError ¶

func (o *CreateGroupMappingsBadRequest) IsClientError() bool

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

func (*CreateGroupMappingsBadRequest) IsCode ¶

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

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

func (*CreateGroupMappingsBadRequest) IsRedirect ¶

func (o *CreateGroupMappingsBadRequest) IsRedirect() bool

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

func (*CreateGroupMappingsBadRequest) IsServerError ¶

func (o *CreateGroupMappingsBadRequest) IsServerError() bool

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

func (*CreateGroupMappingsBadRequest) IsSuccess ¶

func (o *CreateGroupMappingsBadRequest) IsSuccess() bool

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

func (*CreateGroupMappingsBadRequest) String ¶

type CreateGroupMappingsCreated ¶

type CreateGroupMappingsCreated struct {
	Payload *models.MessageResponse
}

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

(empty)

func NewCreateGroupMappingsCreated ¶

func NewCreateGroupMappingsCreated() *CreateGroupMappingsCreated

NewCreateGroupMappingsCreated creates a CreateGroupMappingsCreated with default headers values

func (*CreateGroupMappingsCreated) Code ¶

func (o *CreateGroupMappingsCreated) Code() int

Code gets the status code for the create group mappings created response

func (*CreateGroupMappingsCreated) Error ¶

func (*CreateGroupMappingsCreated) GetPayload ¶

func (*CreateGroupMappingsCreated) IsClientError ¶

func (o *CreateGroupMappingsCreated) IsClientError() bool

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

func (*CreateGroupMappingsCreated) IsCode ¶

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

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

func (*CreateGroupMappingsCreated) IsRedirect ¶

func (o *CreateGroupMappingsCreated) IsRedirect() bool

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

func (*CreateGroupMappingsCreated) IsServerError ¶

func (o *CreateGroupMappingsCreated) IsServerError() bool

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

func (*CreateGroupMappingsCreated) IsSuccess ¶

func (o *CreateGroupMappingsCreated) IsSuccess() bool

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

func (*CreateGroupMappingsCreated) String ¶

func (o *CreateGroupMappingsCreated) String() string

type CreateGroupMappingsForbidden ¶

type CreateGroupMappingsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCreateGroupMappingsForbidden ¶

func NewCreateGroupMappingsForbidden() *CreateGroupMappingsForbidden

NewCreateGroupMappingsForbidden creates a CreateGroupMappingsForbidden with default headers values

func (*CreateGroupMappingsForbidden) Code ¶

Code gets the status code for the create group mappings forbidden response

func (*CreateGroupMappingsForbidden) Error ¶

func (*CreateGroupMappingsForbidden) GetPayload ¶

func (*CreateGroupMappingsForbidden) IsClientError ¶

func (o *CreateGroupMappingsForbidden) IsClientError() bool

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

func (*CreateGroupMappingsForbidden) IsCode ¶

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

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

func (*CreateGroupMappingsForbidden) IsRedirect ¶

func (o *CreateGroupMappingsForbidden) IsRedirect() bool

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

func (*CreateGroupMappingsForbidden) IsServerError ¶

func (o *CreateGroupMappingsForbidden) IsServerError() bool

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

func (*CreateGroupMappingsForbidden) IsSuccess ¶

func (o *CreateGroupMappingsForbidden) IsSuccess() bool

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

func (*CreateGroupMappingsForbidden) String ¶

type CreateGroupMappingsInternalServerError ¶

type CreateGroupMappingsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CreateGroupMappingsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCreateGroupMappingsInternalServerError ¶

func NewCreateGroupMappingsInternalServerError() *CreateGroupMappingsInternalServerError

NewCreateGroupMappingsInternalServerError creates a CreateGroupMappingsInternalServerError with default headers values

func (*CreateGroupMappingsInternalServerError) Code ¶

Code gets the status code for the create group mappings internal server error response

func (*CreateGroupMappingsInternalServerError) Error ¶

func (*CreateGroupMappingsInternalServerError) GetPayload ¶

func (*CreateGroupMappingsInternalServerError) IsClientError ¶

func (o *CreateGroupMappingsInternalServerError) IsClientError() bool

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

func (*CreateGroupMappingsInternalServerError) IsCode ¶

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

func (*CreateGroupMappingsInternalServerError) IsRedirect ¶

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

func (*CreateGroupMappingsInternalServerError) IsServerError ¶

func (o *CreateGroupMappingsInternalServerError) IsServerError() bool

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

func (*CreateGroupMappingsInternalServerError) IsSuccess ¶

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

func (*CreateGroupMappingsInternalServerError) String ¶

type CreateGroupMappingsParams ¶

type CreateGroupMappingsParams struct {

	// Body.
	Body *models.GroupAttributes

	// GroupID.
	GroupID string

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

CreateGroupMappingsParams contains all the parameters to send to the API endpoint

for the create group mappings operation.

Typically these are written to a http.Request.

func NewCreateGroupMappingsParams ¶

func NewCreateGroupMappingsParams() *CreateGroupMappingsParams

NewCreateGroupMappingsParams creates a new CreateGroupMappingsParams 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 NewCreateGroupMappingsParamsWithContext ¶

func NewCreateGroupMappingsParamsWithContext(ctx context.Context) *CreateGroupMappingsParams

NewCreateGroupMappingsParamsWithContext creates a new CreateGroupMappingsParams object with the ability to set a context for a request.

func NewCreateGroupMappingsParamsWithHTTPClient ¶

func NewCreateGroupMappingsParamsWithHTTPClient(client *http.Client) *CreateGroupMappingsParams

NewCreateGroupMappingsParamsWithHTTPClient creates a new CreateGroupMappingsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGroupMappingsParamsWithTimeout ¶

func NewCreateGroupMappingsParamsWithTimeout(timeout time.Duration) *CreateGroupMappingsParams

NewCreateGroupMappingsParamsWithTimeout creates a new CreateGroupMappingsParams object with the ability to set a timeout on a request.

func (*CreateGroupMappingsParams) SetBody ¶

SetBody adds the body to the create group mappings params

func (*CreateGroupMappingsParams) SetContext ¶

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

SetContext adds the context to the create group mappings params

func (*CreateGroupMappingsParams) SetDefaults ¶

func (o *CreateGroupMappingsParams) SetDefaults()

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

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

func (*CreateGroupMappingsParams) SetGroupID ¶

func (o *CreateGroupMappingsParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the create group mappings params

func (*CreateGroupMappingsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the create group mappings params

func (*CreateGroupMappingsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the create group mappings params

func (*CreateGroupMappingsParams) WithBody ¶

WithBody adds the body to the create group mappings params

func (*CreateGroupMappingsParams) WithContext ¶

WithContext adds the context to the create group mappings params

func (*CreateGroupMappingsParams) WithDefaults ¶

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

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

func (*CreateGroupMappingsParams) WithGroupID ¶

WithGroupID adds the groupID to the create group mappings params

func (*CreateGroupMappingsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the create group mappings params

func (*CreateGroupMappingsParams) WithTimeout ¶

WithTimeout adds the timeout to the create group mappings params

func (*CreateGroupMappingsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type CreateGroupMappingsReader ¶

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

CreateGroupMappingsReader is a Reader for the CreateGroupMappings structure.

func (*CreateGroupMappingsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type CreateGroupMappingsUnauthorized ¶

type CreateGroupMappingsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewCreateGroupMappingsUnauthorized ¶

func NewCreateGroupMappingsUnauthorized() *CreateGroupMappingsUnauthorized

NewCreateGroupMappingsUnauthorized creates a CreateGroupMappingsUnauthorized with default headers values

func (*CreateGroupMappingsUnauthorized) Code ¶

Code gets the status code for the create group mappings unauthorized response

func (*CreateGroupMappingsUnauthorized) Error ¶

func (*CreateGroupMappingsUnauthorized) GetPayload ¶

func (*CreateGroupMappingsUnauthorized) IsClientError ¶

func (o *CreateGroupMappingsUnauthorized) IsClientError() bool

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

func (*CreateGroupMappingsUnauthorized) IsCode ¶

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

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

func (*CreateGroupMappingsUnauthorized) IsRedirect ¶

func (o *CreateGroupMappingsUnauthorized) IsRedirect() bool

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

func (*CreateGroupMappingsUnauthorized) IsServerError ¶

func (o *CreateGroupMappingsUnauthorized) IsServerError() bool

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

func (*CreateGroupMappingsUnauthorized) IsSuccess ¶

func (o *CreateGroupMappingsUnauthorized) IsSuccess() bool

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

func (*CreateGroupMappingsUnauthorized) String ¶

type DeleteGroupMappingsBadRequest ¶

type DeleteGroupMappingsBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDeleteGroupMappingsBadRequest ¶

func NewDeleteGroupMappingsBadRequest() *DeleteGroupMappingsBadRequest

NewDeleteGroupMappingsBadRequest creates a DeleteGroupMappingsBadRequest with default headers values

func (*DeleteGroupMappingsBadRequest) Code ¶

Code gets the status code for the delete group mappings bad request response

func (*DeleteGroupMappingsBadRequest) Error ¶

func (*DeleteGroupMappingsBadRequest) GetPayload ¶

func (*DeleteGroupMappingsBadRequest) IsClientError ¶

func (o *DeleteGroupMappingsBadRequest) IsClientError() bool

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

func (*DeleteGroupMappingsBadRequest) IsCode ¶

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

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

func (*DeleteGroupMappingsBadRequest) IsRedirect ¶

func (o *DeleteGroupMappingsBadRequest) IsRedirect() bool

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

func (*DeleteGroupMappingsBadRequest) IsServerError ¶

func (o *DeleteGroupMappingsBadRequest) IsServerError() bool

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

func (*DeleteGroupMappingsBadRequest) IsSuccess ¶

func (o *DeleteGroupMappingsBadRequest) IsSuccess() bool

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

func (*DeleteGroupMappingsBadRequest) String ¶

type DeleteGroupMappingsForbidden ¶

type DeleteGroupMappingsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteGroupMappingsForbidden ¶

func NewDeleteGroupMappingsForbidden() *DeleteGroupMappingsForbidden

NewDeleteGroupMappingsForbidden creates a DeleteGroupMappingsForbidden with default headers values

func (*DeleteGroupMappingsForbidden) Code ¶

Code gets the status code for the delete group mappings forbidden response

func (*DeleteGroupMappingsForbidden) Error ¶

func (*DeleteGroupMappingsForbidden) GetPayload ¶

func (*DeleteGroupMappingsForbidden) IsClientError ¶

func (o *DeleteGroupMappingsForbidden) IsClientError() bool

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

func (*DeleteGroupMappingsForbidden) IsCode ¶

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

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

func (*DeleteGroupMappingsForbidden) IsRedirect ¶

func (o *DeleteGroupMappingsForbidden) IsRedirect() bool

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

func (*DeleteGroupMappingsForbidden) IsServerError ¶

func (o *DeleteGroupMappingsForbidden) IsServerError() bool

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

func (*DeleteGroupMappingsForbidden) IsSuccess ¶

func (o *DeleteGroupMappingsForbidden) IsSuccess() bool

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

func (*DeleteGroupMappingsForbidden) String ¶

type DeleteGroupMappingsInternalServerError ¶

type DeleteGroupMappingsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteGroupMappingsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteGroupMappingsInternalServerError ¶

func NewDeleteGroupMappingsInternalServerError() *DeleteGroupMappingsInternalServerError

NewDeleteGroupMappingsInternalServerError creates a DeleteGroupMappingsInternalServerError with default headers values

func (*DeleteGroupMappingsInternalServerError) Code ¶

Code gets the status code for the delete group mappings internal server error response

func (*DeleteGroupMappingsInternalServerError) Error ¶

func (*DeleteGroupMappingsInternalServerError) GetPayload ¶

func (*DeleteGroupMappingsInternalServerError) IsClientError ¶

func (o *DeleteGroupMappingsInternalServerError) IsClientError() bool

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

func (*DeleteGroupMappingsInternalServerError) IsCode ¶

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

func (*DeleteGroupMappingsInternalServerError) IsRedirect ¶

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

func (*DeleteGroupMappingsInternalServerError) IsServerError ¶

func (o *DeleteGroupMappingsInternalServerError) IsServerError() bool

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

func (*DeleteGroupMappingsInternalServerError) IsSuccess ¶

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

func (*DeleteGroupMappingsInternalServerError) String ¶

type DeleteGroupMappingsNoContent ¶

type DeleteGroupMappingsNoContent struct {
	Payload *models.SuccessResponseBody
}

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

An OKResponse is returned if the request was successful.

func NewDeleteGroupMappingsNoContent ¶

func NewDeleteGroupMappingsNoContent() *DeleteGroupMappingsNoContent

NewDeleteGroupMappingsNoContent creates a DeleteGroupMappingsNoContent with default headers values

func (*DeleteGroupMappingsNoContent) Code ¶

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

func (*DeleteGroupMappingsNoContent) Error ¶

func (*DeleteGroupMappingsNoContent) GetPayload ¶

func (*DeleteGroupMappingsNoContent) IsClientError ¶

func (o *DeleteGroupMappingsNoContent) IsClientError() bool

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

func (*DeleteGroupMappingsNoContent) IsCode ¶

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

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

func (*DeleteGroupMappingsNoContent) IsRedirect ¶

func (o *DeleteGroupMappingsNoContent) IsRedirect() bool

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

func (*DeleteGroupMappingsNoContent) IsServerError ¶

func (o *DeleteGroupMappingsNoContent) IsServerError() bool

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

func (*DeleteGroupMappingsNoContent) IsSuccess ¶

func (o *DeleteGroupMappingsNoContent) IsSuccess() bool

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

func (*DeleteGroupMappingsNoContent) String ¶

type DeleteGroupMappingsParams ¶

type DeleteGroupMappingsParams struct {

	// GroupID.
	GroupID string

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

DeleteGroupMappingsParams contains all the parameters to send to the API endpoint

for the delete group mappings operation.

Typically these are written to a http.Request.

func NewDeleteGroupMappingsParams ¶

func NewDeleteGroupMappingsParams() *DeleteGroupMappingsParams

NewDeleteGroupMappingsParams creates a new DeleteGroupMappingsParams 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 NewDeleteGroupMappingsParamsWithContext ¶

func NewDeleteGroupMappingsParamsWithContext(ctx context.Context) *DeleteGroupMappingsParams

NewDeleteGroupMappingsParamsWithContext creates a new DeleteGroupMappingsParams object with the ability to set a context for a request.

func NewDeleteGroupMappingsParamsWithHTTPClient ¶

func NewDeleteGroupMappingsParamsWithHTTPClient(client *http.Client) *DeleteGroupMappingsParams

NewDeleteGroupMappingsParamsWithHTTPClient creates a new DeleteGroupMappingsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGroupMappingsParamsWithTimeout ¶

func NewDeleteGroupMappingsParamsWithTimeout(timeout time.Duration) *DeleteGroupMappingsParams

NewDeleteGroupMappingsParamsWithTimeout creates a new DeleteGroupMappingsParams object with the ability to set a timeout on a request.

func (*DeleteGroupMappingsParams) SetContext ¶

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

SetContext adds the context to the delete group mappings params

func (*DeleteGroupMappingsParams) SetDefaults ¶

func (o *DeleteGroupMappingsParams) SetDefaults()

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

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

func (*DeleteGroupMappingsParams) SetGroupID ¶

func (o *DeleteGroupMappingsParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the delete group mappings params

func (*DeleteGroupMappingsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the delete group mappings params

func (*DeleteGroupMappingsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the delete group mappings params

func (*DeleteGroupMappingsParams) WithContext ¶

WithContext adds the context to the delete group mappings params

func (*DeleteGroupMappingsParams) WithDefaults ¶

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

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

func (*DeleteGroupMappingsParams) WithGroupID ¶

WithGroupID adds the groupID to the delete group mappings params

func (*DeleteGroupMappingsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the delete group mappings params

func (*DeleteGroupMappingsParams) WithTimeout ¶

WithTimeout adds the timeout to the delete group mappings params

func (*DeleteGroupMappingsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type DeleteGroupMappingsReader ¶

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

DeleteGroupMappingsReader is a Reader for the DeleteGroupMappings structure.

func (*DeleteGroupMappingsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type DeleteGroupMappingsUnauthorized ¶

type DeleteGroupMappingsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteGroupMappingsUnauthorized ¶

func NewDeleteGroupMappingsUnauthorized() *DeleteGroupMappingsUnauthorized

NewDeleteGroupMappingsUnauthorized creates a DeleteGroupMappingsUnauthorized with default headers values

func (*DeleteGroupMappingsUnauthorized) Code ¶

Code gets the status code for the delete group mappings unauthorized response

func (*DeleteGroupMappingsUnauthorized) Error ¶

func (*DeleteGroupMappingsUnauthorized) GetPayload ¶

func (*DeleteGroupMappingsUnauthorized) IsClientError ¶

func (o *DeleteGroupMappingsUnauthorized) IsClientError() bool

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

func (*DeleteGroupMappingsUnauthorized) IsCode ¶

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

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

func (*DeleteGroupMappingsUnauthorized) IsRedirect ¶

func (o *DeleteGroupMappingsUnauthorized) IsRedirect() bool

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

func (*DeleteGroupMappingsUnauthorized) IsServerError ¶

func (o *DeleteGroupMappingsUnauthorized) IsServerError() bool

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

func (*DeleteGroupMappingsUnauthorized) IsSuccess ¶

func (o *DeleteGroupMappingsUnauthorized) IsSuccess() bool

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

func (*DeleteGroupMappingsUnauthorized) String ¶

type GetGroupRolesBadRequest ¶

type GetGroupRolesBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewGetGroupRolesBadRequest ¶

func NewGetGroupRolesBadRequest() *GetGroupRolesBadRequest

NewGetGroupRolesBadRequest creates a GetGroupRolesBadRequest with default headers values

func (*GetGroupRolesBadRequest) Code ¶

func (o *GetGroupRolesBadRequest) Code() int

Code gets the status code for the get group roles bad request response

func (*GetGroupRolesBadRequest) Error ¶

func (o *GetGroupRolesBadRequest) Error() string

func (*GetGroupRolesBadRequest) GetPayload ¶

func (*GetGroupRolesBadRequest) IsClientError ¶

func (o *GetGroupRolesBadRequest) IsClientError() bool

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

func (*GetGroupRolesBadRequest) IsCode ¶

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

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

func (*GetGroupRolesBadRequest) IsRedirect ¶

func (o *GetGroupRolesBadRequest) IsRedirect() bool

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

func (*GetGroupRolesBadRequest) IsServerError ¶

func (o *GetGroupRolesBadRequest) IsServerError() bool

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

func (*GetGroupRolesBadRequest) IsSuccess ¶

func (o *GetGroupRolesBadRequest) IsSuccess() bool

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

func (*GetGroupRolesBadRequest) String ¶

func (o *GetGroupRolesBadRequest) String() string

type GetGroupRolesForbidden ¶

type GetGroupRolesForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetGroupRolesForbidden ¶

func NewGetGroupRolesForbidden() *GetGroupRolesForbidden

NewGetGroupRolesForbidden creates a GetGroupRolesForbidden with default headers values

func (*GetGroupRolesForbidden) Code ¶

func (o *GetGroupRolesForbidden) Code() int

Code gets the status code for the get group roles forbidden response

func (*GetGroupRolesForbidden) Error ¶

func (o *GetGroupRolesForbidden) Error() string

func (*GetGroupRolesForbidden) GetPayload ¶

func (*GetGroupRolesForbidden) IsClientError ¶

func (o *GetGroupRolesForbidden) IsClientError() bool

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

func (*GetGroupRolesForbidden) IsCode ¶

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

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

func (*GetGroupRolesForbidden) IsRedirect ¶

func (o *GetGroupRolesForbidden) IsRedirect() bool

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

func (*GetGroupRolesForbidden) IsServerError ¶

func (o *GetGroupRolesForbidden) IsServerError() bool

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

func (*GetGroupRolesForbidden) IsSuccess ¶

func (o *GetGroupRolesForbidden) IsSuccess() bool

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

func (*GetGroupRolesForbidden) String ¶

func (o *GetGroupRolesForbidden) String() string

type GetGroupRolesInternalServerError ¶

type GetGroupRolesInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetGroupRolesInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetGroupRolesInternalServerError ¶

func NewGetGroupRolesInternalServerError() *GetGroupRolesInternalServerError

NewGetGroupRolesInternalServerError creates a GetGroupRolesInternalServerError with default headers values

func (*GetGroupRolesInternalServerError) Code ¶

Code gets the status code for the get group roles internal server error response

func (*GetGroupRolesInternalServerError) Error ¶

func (*GetGroupRolesInternalServerError) GetPayload ¶

func (*GetGroupRolesInternalServerError) IsClientError ¶

func (o *GetGroupRolesInternalServerError) IsClientError() bool

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

func (*GetGroupRolesInternalServerError) IsCode ¶

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

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

func (*GetGroupRolesInternalServerError) IsRedirect ¶

func (o *GetGroupRolesInternalServerError) IsRedirect() bool

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

func (*GetGroupRolesInternalServerError) IsServerError ¶

func (o *GetGroupRolesInternalServerError) IsServerError() bool

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

func (*GetGroupRolesInternalServerError) IsSuccess ¶

func (o *GetGroupRolesInternalServerError) IsSuccess() bool

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

func (*GetGroupRolesInternalServerError) String ¶

type GetGroupRolesNotFound ¶

type GetGroupRolesNotFound struct {
	Payload *models.ErrorResponseBody
}

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

NotFoundError is returned when the requested resource was not found.

func NewGetGroupRolesNotFound ¶

func NewGetGroupRolesNotFound() *GetGroupRolesNotFound

NewGetGroupRolesNotFound creates a GetGroupRolesNotFound with default headers values

func (*GetGroupRolesNotFound) Code ¶

func (o *GetGroupRolesNotFound) Code() int

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

func (*GetGroupRolesNotFound) Error ¶

func (o *GetGroupRolesNotFound) Error() string

func (*GetGroupRolesNotFound) GetPayload ¶

func (*GetGroupRolesNotFound) IsClientError ¶

func (o *GetGroupRolesNotFound) IsClientError() bool

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

func (*GetGroupRolesNotFound) IsCode ¶

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

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

func (*GetGroupRolesNotFound) IsRedirect ¶

func (o *GetGroupRolesNotFound) IsRedirect() bool

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

func (*GetGroupRolesNotFound) IsServerError ¶

func (o *GetGroupRolesNotFound) IsServerError() bool

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

func (*GetGroupRolesNotFound) IsSuccess ¶

func (o *GetGroupRolesNotFound) IsSuccess() bool

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

func (*GetGroupRolesNotFound) String ¶

func (o *GetGroupRolesNotFound) String() string

type GetGroupRolesOK ¶

type GetGroupRolesOK struct {
	Payload []*models.RoleDTO
}

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

(empty)

func NewGetGroupRolesOK ¶

func NewGetGroupRolesOK() *GetGroupRolesOK

NewGetGroupRolesOK creates a GetGroupRolesOK with default headers values

func (*GetGroupRolesOK) Code ¶

func (o *GetGroupRolesOK) Code() int

Code gets the status code for the get group roles Ok response

func (*GetGroupRolesOK) Error ¶

func (o *GetGroupRolesOK) Error() string

func (*GetGroupRolesOK) GetPayload ¶

func (o *GetGroupRolesOK) GetPayload() []*models.RoleDTO

func (*GetGroupRolesOK) IsClientError ¶

func (o *GetGroupRolesOK) IsClientError() bool

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

func (*GetGroupRolesOK) IsCode ¶

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

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

func (*GetGroupRolesOK) IsRedirect ¶

func (o *GetGroupRolesOK) IsRedirect() bool

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

func (*GetGroupRolesOK) IsServerError ¶

func (o *GetGroupRolesOK) IsServerError() bool

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

func (*GetGroupRolesOK) IsSuccess ¶

func (o *GetGroupRolesOK) IsSuccess() bool

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

func (*GetGroupRolesOK) String ¶

func (o *GetGroupRolesOK) String() string

type GetGroupRolesParams ¶

type GetGroupRolesParams struct {

	// GroupID.
	GroupID string

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

GetGroupRolesParams contains all the parameters to send to the API endpoint

for the get group roles operation.

Typically these are written to a http.Request.

func NewGetGroupRolesParams ¶

func NewGetGroupRolesParams() *GetGroupRolesParams

NewGetGroupRolesParams creates a new GetGroupRolesParams 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 NewGetGroupRolesParamsWithContext ¶

func NewGetGroupRolesParamsWithContext(ctx context.Context) *GetGroupRolesParams

NewGetGroupRolesParamsWithContext creates a new GetGroupRolesParams object with the ability to set a context for a request.

func NewGetGroupRolesParamsWithHTTPClient ¶

func NewGetGroupRolesParamsWithHTTPClient(client *http.Client) *GetGroupRolesParams

NewGetGroupRolesParamsWithHTTPClient creates a new GetGroupRolesParams object with the ability to set a custom HTTPClient for a request.

func NewGetGroupRolesParamsWithTimeout ¶

func NewGetGroupRolesParamsWithTimeout(timeout time.Duration) *GetGroupRolesParams

NewGetGroupRolesParamsWithTimeout creates a new GetGroupRolesParams object with the ability to set a timeout on a request.

func (*GetGroupRolesParams) SetContext ¶

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

SetContext adds the context to the get group roles params

func (*GetGroupRolesParams) SetDefaults ¶

func (o *GetGroupRolesParams) SetDefaults()

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

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

func (*GetGroupRolesParams) SetGroupID ¶

func (o *GetGroupRolesParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get group roles params

func (*GetGroupRolesParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get group roles params

func (*GetGroupRolesParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get group roles params

func (*GetGroupRolesParams) WithContext ¶

WithContext adds the context to the get group roles params

func (*GetGroupRolesParams) WithDefaults ¶

func (o *GetGroupRolesParams) WithDefaults() *GetGroupRolesParams

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

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

func (*GetGroupRolesParams) WithGroupID ¶

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

WithGroupID adds the groupID to the get group roles params

func (*GetGroupRolesParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get group roles params

func (*GetGroupRolesParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get group roles params

func (*GetGroupRolesParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetGroupRolesReader ¶

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

GetGroupRolesReader is a Reader for the GetGroupRoles structure.

func (*GetGroupRolesReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetGroupRolesUnauthorized ¶

type GetGroupRolesUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetGroupRolesUnauthorized ¶

func NewGetGroupRolesUnauthorized() *GetGroupRolesUnauthorized

NewGetGroupRolesUnauthorized creates a GetGroupRolesUnauthorized with default headers values

func (*GetGroupRolesUnauthorized) Code ¶

func (o *GetGroupRolesUnauthorized) Code() int

Code gets the status code for the get group roles unauthorized response

func (*GetGroupRolesUnauthorized) Error ¶

func (o *GetGroupRolesUnauthorized) Error() string

func (*GetGroupRolesUnauthorized) GetPayload ¶

func (*GetGroupRolesUnauthorized) IsClientError ¶

func (o *GetGroupRolesUnauthorized) IsClientError() bool

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

func (*GetGroupRolesUnauthorized) IsCode ¶

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

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

func (*GetGroupRolesUnauthorized) IsRedirect ¶

func (o *GetGroupRolesUnauthorized) IsRedirect() bool

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

func (*GetGroupRolesUnauthorized) IsServerError ¶

func (o *GetGroupRolesUnauthorized) IsServerError() bool

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

func (*GetGroupRolesUnauthorized) IsSuccess ¶

func (o *GetGroupRolesUnauthorized) IsSuccess() bool

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

func (*GetGroupRolesUnauthorized) String ¶

func (o *GetGroupRolesUnauthorized) String() string

type GetMappedGroupsBadRequest ¶

type GetMappedGroupsBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewGetMappedGroupsBadRequest ¶

func NewGetMappedGroupsBadRequest() *GetMappedGroupsBadRequest

NewGetMappedGroupsBadRequest creates a GetMappedGroupsBadRequest with default headers values

func (*GetMappedGroupsBadRequest) Code ¶

func (o *GetMappedGroupsBadRequest) Code() int

Code gets the status code for the get mapped groups bad request response

func (*GetMappedGroupsBadRequest) Error ¶

func (o *GetMappedGroupsBadRequest) Error() string

func (*GetMappedGroupsBadRequest) GetPayload ¶

func (*GetMappedGroupsBadRequest) IsClientError ¶

func (o *GetMappedGroupsBadRequest) IsClientError() bool

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

func (*GetMappedGroupsBadRequest) IsCode ¶

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

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

func (*GetMappedGroupsBadRequest) IsRedirect ¶

func (o *GetMappedGroupsBadRequest) IsRedirect() bool

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

func (*GetMappedGroupsBadRequest) IsServerError ¶

func (o *GetMappedGroupsBadRequest) IsServerError() bool

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

func (*GetMappedGroupsBadRequest) IsSuccess ¶

func (o *GetMappedGroupsBadRequest) IsSuccess() bool

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

func (*GetMappedGroupsBadRequest) String ¶

func (o *GetMappedGroupsBadRequest) String() string

type GetMappedGroupsForbidden ¶

type GetMappedGroupsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetMappedGroupsForbidden ¶

func NewGetMappedGroupsForbidden() *GetMappedGroupsForbidden

NewGetMappedGroupsForbidden creates a GetMappedGroupsForbidden with default headers values

func (*GetMappedGroupsForbidden) Code ¶

func (o *GetMappedGroupsForbidden) Code() int

Code gets the status code for the get mapped groups forbidden response

func (*GetMappedGroupsForbidden) Error ¶

func (o *GetMappedGroupsForbidden) Error() string

func (*GetMappedGroupsForbidden) GetPayload ¶

func (*GetMappedGroupsForbidden) IsClientError ¶

func (o *GetMappedGroupsForbidden) IsClientError() bool

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

func (*GetMappedGroupsForbidden) IsCode ¶

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

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

func (*GetMappedGroupsForbidden) IsRedirect ¶

func (o *GetMappedGroupsForbidden) IsRedirect() bool

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

func (*GetMappedGroupsForbidden) IsServerError ¶

func (o *GetMappedGroupsForbidden) IsServerError() bool

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

func (*GetMappedGroupsForbidden) IsSuccess ¶

func (o *GetMappedGroupsForbidden) IsSuccess() bool

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

func (*GetMappedGroupsForbidden) String ¶

func (o *GetMappedGroupsForbidden) String() string

type GetMappedGroupsInternalServerError ¶

type GetMappedGroupsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetMappedGroupsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetMappedGroupsInternalServerError ¶

func NewGetMappedGroupsInternalServerError() *GetMappedGroupsInternalServerError

NewGetMappedGroupsInternalServerError creates a GetMappedGroupsInternalServerError with default headers values

func (*GetMappedGroupsInternalServerError) Code ¶

Code gets the status code for the get mapped groups internal server error response

func (*GetMappedGroupsInternalServerError) Error ¶

func (*GetMappedGroupsInternalServerError) GetPayload ¶

func (*GetMappedGroupsInternalServerError) IsClientError ¶

func (o *GetMappedGroupsInternalServerError) IsClientError() bool

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

func (*GetMappedGroupsInternalServerError) IsCode ¶

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

func (*GetMappedGroupsInternalServerError) IsRedirect ¶

func (o *GetMappedGroupsInternalServerError) IsRedirect() bool

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

func (*GetMappedGroupsInternalServerError) IsServerError ¶

func (o *GetMappedGroupsInternalServerError) IsServerError() bool

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

func (*GetMappedGroupsInternalServerError) IsSuccess ¶

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

func (*GetMappedGroupsInternalServerError) String ¶

type GetMappedGroupsOK ¶

type GetMappedGroupsOK struct {
	Payload *models.GetGroupsResponse
}

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

(empty)

func NewGetMappedGroupsOK ¶

func NewGetMappedGroupsOK() *GetMappedGroupsOK

NewGetMappedGroupsOK creates a GetMappedGroupsOK with default headers values

func (*GetMappedGroupsOK) Code ¶

func (o *GetMappedGroupsOK) Code() int

Code gets the status code for the get mapped groups Ok response

func (*GetMappedGroupsOK) Error ¶

func (o *GetMappedGroupsOK) Error() string

func (*GetMappedGroupsOK) GetPayload ¶

func (o *GetMappedGroupsOK) GetPayload() *models.GetGroupsResponse

func (*GetMappedGroupsOK) IsClientError ¶

func (o *GetMappedGroupsOK) IsClientError() bool

IsClientError returns true when this get mapped groups Ok response has a 4xx status code

func (*GetMappedGroupsOK) IsCode ¶

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

IsCode returns true when this get mapped groups Ok response a status code equal to that given

func (*GetMappedGroupsOK) IsRedirect ¶

func (o *GetMappedGroupsOK) IsRedirect() bool

IsRedirect returns true when this get mapped groups Ok response has a 3xx status code

func (*GetMappedGroupsOK) IsServerError ¶

func (o *GetMappedGroupsOK) IsServerError() bool

IsServerError returns true when this get mapped groups Ok response has a 5xx status code

func (*GetMappedGroupsOK) IsSuccess ¶

func (o *GetMappedGroupsOK) IsSuccess() bool

IsSuccess returns true when this get mapped groups Ok response has a 2xx status code

func (*GetMappedGroupsOK) String ¶

func (o *GetMappedGroupsOK) String() string

type GetMappedGroupsParams ¶

type GetMappedGroupsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMappedGroupsParams contains all the parameters to send to the API endpoint

for the get mapped groups operation.

Typically these are written to a http.Request.

func NewGetMappedGroupsParams ¶

func NewGetMappedGroupsParams() *GetMappedGroupsParams

NewGetMappedGroupsParams creates a new GetMappedGroupsParams 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 NewGetMappedGroupsParamsWithContext ¶

func NewGetMappedGroupsParamsWithContext(ctx context.Context) *GetMappedGroupsParams

NewGetMappedGroupsParamsWithContext creates a new GetMappedGroupsParams object with the ability to set a context for a request.

func NewGetMappedGroupsParamsWithHTTPClient ¶

func NewGetMappedGroupsParamsWithHTTPClient(client *http.Client) *GetMappedGroupsParams

NewGetMappedGroupsParamsWithHTTPClient creates a new GetMappedGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetMappedGroupsParamsWithTimeout ¶

func NewGetMappedGroupsParamsWithTimeout(timeout time.Duration) *GetMappedGroupsParams

NewGetMappedGroupsParamsWithTimeout creates a new GetMappedGroupsParams object with the ability to set a timeout on a request.

func (*GetMappedGroupsParams) SetContext ¶

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

SetContext adds the context to the get mapped groups params

func (*GetMappedGroupsParams) SetDefaults ¶

func (o *GetMappedGroupsParams) SetDefaults()

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

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

func (*GetMappedGroupsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the get mapped groups params

func (*GetMappedGroupsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the get mapped groups params

func (*GetMappedGroupsParams) WithContext ¶

WithContext adds the context to the get mapped groups params

func (*GetMappedGroupsParams) WithDefaults ¶

func (o *GetMappedGroupsParams) WithDefaults() *GetMappedGroupsParams

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

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

func (*GetMappedGroupsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the get mapped groups params

func (*GetMappedGroupsParams) WithTimeout ¶

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

WithTimeout adds the timeout to the get mapped groups params

func (*GetMappedGroupsParams) WriteToRequest ¶

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

WriteToRequest writes these params to a swagger request

type GetMappedGroupsReader ¶

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

GetMappedGroupsReader is a Reader for the GetMappedGroups structure.

func (*GetMappedGroupsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type GetMappedGroupsUnauthorized ¶

type GetMappedGroupsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewGetMappedGroupsUnauthorized ¶

func NewGetMappedGroupsUnauthorized() *GetMappedGroupsUnauthorized

NewGetMappedGroupsUnauthorized creates a GetMappedGroupsUnauthorized with default headers values

func (*GetMappedGroupsUnauthorized) Code ¶

func (o *GetMappedGroupsUnauthorized) Code() int

Code gets the status code for the get mapped groups unauthorized response

func (*GetMappedGroupsUnauthorized) Error ¶

func (*GetMappedGroupsUnauthorized) GetPayload ¶

func (*GetMappedGroupsUnauthorized) IsClientError ¶

func (o *GetMappedGroupsUnauthorized) IsClientError() bool

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

func (*GetMappedGroupsUnauthorized) IsCode ¶

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

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

func (*GetMappedGroupsUnauthorized) IsRedirect ¶

func (o *GetMappedGroupsUnauthorized) IsRedirect() bool

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

func (*GetMappedGroupsUnauthorized) IsServerError ¶

func (o *GetMappedGroupsUnauthorized) IsServerError() bool

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

func (*GetMappedGroupsUnauthorized) IsSuccess ¶

func (o *GetMappedGroupsUnauthorized) IsSuccess() bool

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

func (*GetMappedGroupsUnauthorized) String ¶

func (o *GetMappedGroupsUnauthorized) String() string

type UpdateGroupMappingsBadRequest ¶

type UpdateGroupMappingsBadRequest struct {
	Payload *models.ErrorResponseBody
}

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

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewUpdateGroupMappingsBadRequest ¶

func NewUpdateGroupMappingsBadRequest() *UpdateGroupMappingsBadRequest

NewUpdateGroupMappingsBadRequest creates a UpdateGroupMappingsBadRequest with default headers values

func (*UpdateGroupMappingsBadRequest) Code ¶

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

func (*UpdateGroupMappingsBadRequest) Error ¶

func (*UpdateGroupMappingsBadRequest) GetPayload ¶

func (*UpdateGroupMappingsBadRequest) IsClientError ¶

func (o *UpdateGroupMappingsBadRequest) IsClientError() bool

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

func (*UpdateGroupMappingsBadRequest) IsCode ¶

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

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

func (*UpdateGroupMappingsBadRequest) IsRedirect ¶

func (o *UpdateGroupMappingsBadRequest) IsRedirect() bool

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

func (*UpdateGroupMappingsBadRequest) IsServerError ¶

func (o *UpdateGroupMappingsBadRequest) IsServerError() bool

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

func (*UpdateGroupMappingsBadRequest) IsSuccess ¶

func (o *UpdateGroupMappingsBadRequest) IsSuccess() bool

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

func (*UpdateGroupMappingsBadRequest) String ¶

type UpdateGroupMappingsCreated ¶

type UpdateGroupMappingsCreated struct {
	Payload *models.MessageResponse
}

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

(empty)

func NewUpdateGroupMappingsCreated ¶

func NewUpdateGroupMappingsCreated() *UpdateGroupMappingsCreated

NewUpdateGroupMappingsCreated creates a UpdateGroupMappingsCreated with default headers values

func (*UpdateGroupMappingsCreated) Code ¶

func (o *UpdateGroupMappingsCreated) Code() int

Code gets the status code for the update group mappings created response

func (*UpdateGroupMappingsCreated) Error ¶

func (*UpdateGroupMappingsCreated) GetPayload ¶

func (*UpdateGroupMappingsCreated) IsClientError ¶

func (o *UpdateGroupMappingsCreated) IsClientError() bool

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

func (*UpdateGroupMappingsCreated) IsCode ¶

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

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

func (*UpdateGroupMappingsCreated) IsRedirect ¶

func (o *UpdateGroupMappingsCreated) IsRedirect() bool

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

func (*UpdateGroupMappingsCreated) IsServerError ¶

func (o *UpdateGroupMappingsCreated) IsServerError() bool

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

func (*UpdateGroupMappingsCreated) IsSuccess ¶

func (o *UpdateGroupMappingsCreated) IsSuccess() bool

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

func (*UpdateGroupMappingsCreated) String ¶

func (o *UpdateGroupMappingsCreated) String() string

type UpdateGroupMappingsForbidden ¶

type UpdateGroupMappingsForbidden struct {
	Payload *models.ErrorResponseBody
}

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

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdateGroupMappingsForbidden ¶

func NewUpdateGroupMappingsForbidden() *UpdateGroupMappingsForbidden

NewUpdateGroupMappingsForbidden creates a UpdateGroupMappingsForbidden with default headers values

func (*UpdateGroupMappingsForbidden) Code ¶

Code gets the status code for the update group mappings forbidden response

func (*UpdateGroupMappingsForbidden) Error ¶

func (*UpdateGroupMappingsForbidden) GetPayload ¶

func (*UpdateGroupMappingsForbidden) IsClientError ¶

func (o *UpdateGroupMappingsForbidden) IsClientError() bool

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

func (*UpdateGroupMappingsForbidden) IsCode ¶

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

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

func (*UpdateGroupMappingsForbidden) IsRedirect ¶

func (o *UpdateGroupMappingsForbidden) IsRedirect() bool

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

func (*UpdateGroupMappingsForbidden) IsServerError ¶

func (o *UpdateGroupMappingsForbidden) IsServerError() bool

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

func (*UpdateGroupMappingsForbidden) IsSuccess ¶

func (o *UpdateGroupMappingsForbidden) IsSuccess() bool

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

func (*UpdateGroupMappingsForbidden) String ¶

type UpdateGroupMappingsInternalServerError ¶

type UpdateGroupMappingsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

UpdateGroupMappingsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateGroupMappingsInternalServerError ¶

func NewUpdateGroupMappingsInternalServerError() *UpdateGroupMappingsInternalServerError

NewUpdateGroupMappingsInternalServerError creates a UpdateGroupMappingsInternalServerError with default headers values

func (*UpdateGroupMappingsInternalServerError) Code ¶

Code gets the status code for the update group mappings internal server error response

func (*UpdateGroupMappingsInternalServerError) Error ¶

func (*UpdateGroupMappingsInternalServerError) GetPayload ¶

func (*UpdateGroupMappingsInternalServerError) IsClientError ¶

func (o *UpdateGroupMappingsInternalServerError) IsClientError() bool

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

func (*UpdateGroupMappingsInternalServerError) IsCode ¶

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

func (*UpdateGroupMappingsInternalServerError) IsRedirect ¶

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

func (*UpdateGroupMappingsInternalServerError) IsServerError ¶

func (o *UpdateGroupMappingsInternalServerError) IsServerError() bool

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

func (*UpdateGroupMappingsInternalServerError) IsSuccess ¶

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

func (*UpdateGroupMappingsInternalServerError) String ¶

type UpdateGroupMappingsParams ¶

type UpdateGroupMappingsParams struct {

	// Body.
	Body *models.GroupAttributes

	// GroupID.
	GroupID string

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

UpdateGroupMappingsParams contains all the parameters to send to the API endpoint

for the update group mappings operation.

Typically these are written to a http.Request.

func NewUpdateGroupMappingsParams ¶

func NewUpdateGroupMappingsParams() *UpdateGroupMappingsParams

NewUpdateGroupMappingsParams creates a new UpdateGroupMappingsParams 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 NewUpdateGroupMappingsParamsWithContext ¶

func NewUpdateGroupMappingsParamsWithContext(ctx context.Context) *UpdateGroupMappingsParams

NewUpdateGroupMappingsParamsWithContext creates a new UpdateGroupMappingsParams object with the ability to set a context for a request.

func NewUpdateGroupMappingsParamsWithHTTPClient ¶

func NewUpdateGroupMappingsParamsWithHTTPClient(client *http.Client) *UpdateGroupMappingsParams

NewUpdateGroupMappingsParamsWithHTTPClient creates a new UpdateGroupMappingsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGroupMappingsParamsWithTimeout ¶

func NewUpdateGroupMappingsParamsWithTimeout(timeout time.Duration) *UpdateGroupMappingsParams

NewUpdateGroupMappingsParamsWithTimeout creates a new UpdateGroupMappingsParams object with the ability to set a timeout on a request.

func (*UpdateGroupMappingsParams) SetBody ¶

SetBody adds the body to the update group mappings params

func (*UpdateGroupMappingsParams) SetContext ¶

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

SetContext adds the context to the update group mappings params

func (*UpdateGroupMappingsParams) SetDefaults ¶

func (o *UpdateGroupMappingsParams) SetDefaults()

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

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

func (*UpdateGroupMappingsParams) SetGroupID ¶

func (o *UpdateGroupMappingsParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the update group mappings params

func (*UpdateGroupMappingsParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the update group mappings params

func (*UpdateGroupMappingsParams) SetTimeout ¶

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

SetTimeout adds the timeout to the update group mappings params

func (*UpdateGroupMappingsParams) WithBody ¶

WithBody adds the body to the update group mappings params

func (*UpdateGroupMappingsParams) WithContext ¶

WithContext adds the context to the update group mappings params

func (*UpdateGroupMappingsParams) WithDefaults ¶

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

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

func (*UpdateGroupMappingsParams) WithGroupID ¶

WithGroupID adds the groupID to the update group mappings params

func (*UpdateGroupMappingsParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the update group mappings params

func (*UpdateGroupMappingsParams) WithTimeout ¶

WithTimeout adds the timeout to the update group mappings params

func (*UpdateGroupMappingsParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type UpdateGroupMappingsReader ¶

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

UpdateGroupMappingsReader is a Reader for the UpdateGroupMappings structure.

func (*UpdateGroupMappingsReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type UpdateGroupMappingsUnauthorized ¶

type UpdateGroupMappingsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

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

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateGroupMappingsUnauthorized ¶

func NewUpdateGroupMappingsUnauthorized() *UpdateGroupMappingsUnauthorized

NewUpdateGroupMappingsUnauthorized creates a UpdateGroupMappingsUnauthorized with default headers values

func (*UpdateGroupMappingsUnauthorized) Code ¶

Code gets the status code for the update group mappings unauthorized response

func (*UpdateGroupMappingsUnauthorized) Error ¶

func (*UpdateGroupMappingsUnauthorized) GetPayload ¶

func (*UpdateGroupMappingsUnauthorized) IsClientError ¶

func (o *UpdateGroupMappingsUnauthorized) IsClientError() bool

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

func (*UpdateGroupMappingsUnauthorized) IsCode ¶

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

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

func (*UpdateGroupMappingsUnauthorized) IsRedirect ¶

func (o *UpdateGroupMappingsUnauthorized) IsRedirect() bool

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

func (*UpdateGroupMappingsUnauthorized) IsServerError ¶

func (o *UpdateGroupMappingsUnauthorized) IsServerError() bool

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

func (*UpdateGroupMappingsUnauthorized) IsSuccess ¶

func (o *UpdateGroupMappingsUnauthorized) IsSuccess() bool

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

func (*UpdateGroupMappingsUnauthorized) String ¶

Jump to

Keyboard shortcuts

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