Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateGroupMappings(groupID string, body *models.GroupAttributes, opts ...ClientOption) (*CreateGroupMappingsCreated, error)
- func (a *Client) CreateGroupMappingsWithParams(params *CreateGroupMappingsParams, opts ...ClientOption) (*CreateGroupMappingsCreated, error)
- func (a *Client) DeleteGroupMappings(groupID string, opts ...ClientOption) (*DeleteGroupMappingsNoContent, error)
- func (a *Client) DeleteGroupMappingsWithParams(params *DeleteGroupMappingsParams, opts ...ClientOption) (*DeleteGroupMappingsNoContent, error)
- func (a *Client) GetGroupRoles(groupID string, opts ...ClientOption) (*GetGroupRolesOK, error)
- func (a *Client) GetGroupRolesWithParams(params *GetGroupRolesParams, opts ...ClientOption) (*GetGroupRolesOK, error)
- func (a *Client) GetMappedGroups(opts ...ClientOption) (*GetMappedGroupsOK, error)
- func (a *Client) GetMappedGroupsWithParams(params *GetMappedGroupsParams, opts ...ClientOption) (*GetMappedGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGroupMappings(groupID string, body *models.GroupAttributes, opts ...ClientOption) (*UpdateGroupMappingsCreated, error)
- func (a *Client) UpdateGroupMappingsWithParams(params *UpdateGroupMappingsParams, opts ...ClientOption) (*UpdateGroupMappingsCreated, error)
- type ClientOption
- type ClientService
- type CreateGroupMappingsBadRequest
- func (o *CreateGroupMappingsBadRequest) Code() int
- func (o *CreateGroupMappingsBadRequest) Error() string
- func (o *CreateGroupMappingsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *CreateGroupMappingsBadRequest) IsClientError() bool
- func (o *CreateGroupMappingsBadRequest) IsCode(code int) bool
- func (o *CreateGroupMappingsBadRequest) IsRedirect() bool
- func (o *CreateGroupMappingsBadRequest) IsServerError() bool
- func (o *CreateGroupMappingsBadRequest) IsSuccess() bool
- func (o *CreateGroupMappingsBadRequest) String() string
- type CreateGroupMappingsCreated
- func (o *CreateGroupMappingsCreated) Code() int
- func (o *CreateGroupMappingsCreated) Error() string
- func (o *CreateGroupMappingsCreated) GetPayload() *models.MessageResponse
- func (o *CreateGroupMappingsCreated) IsClientError() bool
- func (o *CreateGroupMappingsCreated) IsCode(code int) bool
- func (o *CreateGroupMappingsCreated) IsRedirect() bool
- func (o *CreateGroupMappingsCreated) IsServerError() bool
- func (o *CreateGroupMappingsCreated) IsSuccess() bool
- func (o *CreateGroupMappingsCreated) String() string
- type CreateGroupMappingsForbidden
- func (o *CreateGroupMappingsForbidden) Code() int
- func (o *CreateGroupMappingsForbidden) Error() string
- func (o *CreateGroupMappingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CreateGroupMappingsForbidden) IsClientError() bool
- func (o *CreateGroupMappingsForbidden) IsCode(code int) bool
- func (o *CreateGroupMappingsForbidden) IsRedirect() bool
- func (o *CreateGroupMappingsForbidden) IsServerError() bool
- func (o *CreateGroupMappingsForbidden) IsSuccess() bool
- func (o *CreateGroupMappingsForbidden) String() string
- type CreateGroupMappingsInternalServerError
- func (o *CreateGroupMappingsInternalServerError) Code() int
- func (o *CreateGroupMappingsInternalServerError) Error() string
- func (o *CreateGroupMappingsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CreateGroupMappingsInternalServerError) IsClientError() bool
- func (o *CreateGroupMappingsInternalServerError) IsCode(code int) bool
- func (o *CreateGroupMappingsInternalServerError) IsRedirect() bool
- func (o *CreateGroupMappingsInternalServerError) IsServerError() bool
- func (o *CreateGroupMappingsInternalServerError) IsSuccess() bool
- func (o *CreateGroupMappingsInternalServerError) String() string
- type CreateGroupMappingsParams
- func NewCreateGroupMappingsParams() *CreateGroupMappingsParams
- func NewCreateGroupMappingsParamsWithContext(ctx context.Context) *CreateGroupMappingsParams
- func NewCreateGroupMappingsParamsWithHTTPClient(client *http.Client) *CreateGroupMappingsParams
- func NewCreateGroupMappingsParamsWithTimeout(timeout time.Duration) *CreateGroupMappingsParams
- func (o *CreateGroupMappingsParams) SetBody(body *models.GroupAttributes)
- func (o *CreateGroupMappingsParams) SetContext(ctx context.Context)
- func (o *CreateGroupMappingsParams) SetDefaults()
- func (o *CreateGroupMappingsParams) SetGroupID(groupID string)
- func (o *CreateGroupMappingsParams) SetHTTPClient(client *http.Client)
- func (o *CreateGroupMappingsParams) SetTimeout(timeout time.Duration)
- func (o *CreateGroupMappingsParams) WithBody(body *models.GroupAttributes) *CreateGroupMappingsParams
- func (o *CreateGroupMappingsParams) WithContext(ctx context.Context) *CreateGroupMappingsParams
- func (o *CreateGroupMappingsParams) WithDefaults() *CreateGroupMappingsParams
- func (o *CreateGroupMappingsParams) WithGroupID(groupID string) *CreateGroupMappingsParams
- func (o *CreateGroupMappingsParams) WithHTTPClient(client *http.Client) *CreateGroupMappingsParams
- func (o *CreateGroupMappingsParams) WithTimeout(timeout time.Duration) *CreateGroupMappingsParams
- func (o *CreateGroupMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGroupMappingsReader
- type CreateGroupMappingsUnauthorized
- func (o *CreateGroupMappingsUnauthorized) Code() int
- func (o *CreateGroupMappingsUnauthorized) Error() string
- func (o *CreateGroupMappingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CreateGroupMappingsUnauthorized) IsClientError() bool
- func (o *CreateGroupMappingsUnauthorized) IsCode(code int) bool
- func (o *CreateGroupMappingsUnauthorized) IsRedirect() bool
- func (o *CreateGroupMappingsUnauthorized) IsServerError() bool
- func (o *CreateGroupMappingsUnauthorized) IsSuccess() bool
- func (o *CreateGroupMappingsUnauthorized) String() string
- type DeleteGroupMappingsBadRequest
- func (o *DeleteGroupMappingsBadRequest) Code() int
- func (o *DeleteGroupMappingsBadRequest) Error() string
- func (o *DeleteGroupMappingsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *DeleteGroupMappingsBadRequest) IsClientError() bool
- func (o *DeleteGroupMappingsBadRequest) IsCode(code int) bool
- func (o *DeleteGroupMappingsBadRequest) IsRedirect() bool
- func (o *DeleteGroupMappingsBadRequest) IsServerError() bool
- func (o *DeleteGroupMappingsBadRequest) IsSuccess() bool
- func (o *DeleteGroupMappingsBadRequest) String() string
- type DeleteGroupMappingsForbidden
- func (o *DeleteGroupMappingsForbidden) Code() int
- func (o *DeleteGroupMappingsForbidden) Error() string
- func (o *DeleteGroupMappingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteGroupMappingsForbidden) IsClientError() bool
- func (o *DeleteGroupMappingsForbidden) IsCode(code int) bool
- func (o *DeleteGroupMappingsForbidden) IsRedirect() bool
- func (o *DeleteGroupMappingsForbidden) IsServerError() bool
- func (o *DeleteGroupMappingsForbidden) IsSuccess() bool
- func (o *DeleteGroupMappingsForbidden) String() string
- type DeleteGroupMappingsInternalServerError
- func (o *DeleteGroupMappingsInternalServerError) Code() int
- func (o *DeleteGroupMappingsInternalServerError) Error() string
- func (o *DeleteGroupMappingsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteGroupMappingsInternalServerError) IsClientError() bool
- func (o *DeleteGroupMappingsInternalServerError) IsCode(code int) bool
- func (o *DeleteGroupMappingsInternalServerError) IsRedirect() bool
- func (o *DeleteGroupMappingsInternalServerError) IsServerError() bool
- func (o *DeleteGroupMappingsInternalServerError) IsSuccess() bool
- func (o *DeleteGroupMappingsInternalServerError) String() string
- type DeleteGroupMappingsNoContent
- func (o *DeleteGroupMappingsNoContent) Code() int
- func (o *DeleteGroupMappingsNoContent) Error() string
- func (o *DeleteGroupMappingsNoContent) GetPayload() *models.SuccessResponseBody
- func (o *DeleteGroupMappingsNoContent) IsClientError() bool
- func (o *DeleteGroupMappingsNoContent) IsCode(code int) bool
- func (o *DeleteGroupMappingsNoContent) IsRedirect() bool
- func (o *DeleteGroupMappingsNoContent) IsServerError() bool
- func (o *DeleteGroupMappingsNoContent) IsSuccess() bool
- func (o *DeleteGroupMappingsNoContent) String() string
- type DeleteGroupMappingsParams
- func NewDeleteGroupMappingsParams() *DeleteGroupMappingsParams
- func NewDeleteGroupMappingsParamsWithContext(ctx context.Context) *DeleteGroupMappingsParams
- func NewDeleteGroupMappingsParamsWithHTTPClient(client *http.Client) *DeleteGroupMappingsParams
- func NewDeleteGroupMappingsParamsWithTimeout(timeout time.Duration) *DeleteGroupMappingsParams
- func (o *DeleteGroupMappingsParams) SetContext(ctx context.Context)
- func (o *DeleteGroupMappingsParams) SetDefaults()
- func (o *DeleteGroupMappingsParams) SetGroupID(groupID string)
- func (o *DeleteGroupMappingsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGroupMappingsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGroupMappingsParams) WithContext(ctx context.Context) *DeleteGroupMappingsParams
- func (o *DeleteGroupMappingsParams) WithDefaults() *DeleteGroupMappingsParams
- func (o *DeleteGroupMappingsParams) WithGroupID(groupID string) *DeleteGroupMappingsParams
- func (o *DeleteGroupMappingsParams) WithHTTPClient(client *http.Client) *DeleteGroupMappingsParams
- func (o *DeleteGroupMappingsParams) WithTimeout(timeout time.Duration) *DeleteGroupMappingsParams
- func (o *DeleteGroupMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGroupMappingsReader
- type DeleteGroupMappingsUnauthorized
- func (o *DeleteGroupMappingsUnauthorized) Code() int
- func (o *DeleteGroupMappingsUnauthorized) Error() string
- func (o *DeleteGroupMappingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteGroupMappingsUnauthorized) IsClientError() bool
- func (o *DeleteGroupMappingsUnauthorized) IsCode(code int) bool
- func (o *DeleteGroupMappingsUnauthorized) IsRedirect() bool
- func (o *DeleteGroupMappingsUnauthorized) IsServerError() bool
- func (o *DeleteGroupMappingsUnauthorized) IsSuccess() bool
- func (o *DeleteGroupMappingsUnauthorized) String() string
- type GetGroupRolesBadRequest
- func (o *GetGroupRolesBadRequest) Code() int
- func (o *GetGroupRolesBadRequest) Error() string
- func (o *GetGroupRolesBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *GetGroupRolesBadRequest) IsClientError() bool
- func (o *GetGroupRolesBadRequest) IsCode(code int) bool
- func (o *GetGroupRolesBadRequest) IsRedirect() bool
- func (o *GetGroupRolesBadRequest) IsServerError() bool
- func (o *GetGroupRolesBadRequest) IsSuccess() bool
- func (o *GetGroupRolesBadRequest) String() string
- type GetGroupRolesForbidden
- func (o *GetGroupRolesForbidden) Code() int
- func (o *GetGroupRolesForbidden) Error() string
- func (o *GetGroupRolesForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetGroupRolesForbidden) IsClientError() bool
- func (o *GetGroupRolesForbidden) IsCode(code int) bool
- func (o *GetGroupRolesForbidden) IsRedirect() bool
- func (o *GetGroupRolesForbidden) IsServerError() bool
- func (o *GetGroupRolesForbidden) IsSuccess() bool
- func (o *GetGroupRolesForbidden) String() string
- type GetGroupRolesInternalServerError
- func (o *GetGroupRolesInternalServerError) Code() int
- func (o *GetGroupRolesInternalServerError) Error() string
- func (o *GetGroupRolesInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetGroupRolesInternalServerError) IsClientError() bool
- func (o *GetGroupRolesInternalServerError) IsCode(code int) bool
- func (o *GetGroupRolesInternalServerError) IsRedirect() bool
- func (o *GetGroupRolesInternalServerError) IsServerError() bool
- func (o *GetGroupRolesInternalServerError) IsSuccess() bool
- func (o *GetGroupRolesInternalServerError) String() string
- type GetGroupRolesNotFound
- func (o *GetGroupRolesNotFound) Code() int
- func (o *GetGroupRolesNotFound) Error() string
- func (o *GetGroupRolesNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetGroupRolesNotFound) IsClientError() bool
- func (o *GetGroupRolesNotFound) IsCode(code int) bool
- func (o *GetGroupRolesNotFound) IsRedirect() bool
- func (o *GetGroupRolesNotFound) IsServerError() bool
- func (o *GetGroupRolesNotFound) IsSuccess() bool
- func (o *GetGroupRolesNotFound) String() string
- type GetGroupRolesOK
- func (o *GetGroupRolesOK) Code() int
- func (o *GetGroupRolesOK) Error() string
- func (o *GetGroupRolesOK) GetPayload() []*models.RoleDTO
- func (o *GetGroupRolesOK) IsClientError() bool
- func (o *GetGroupRolesOK) IsCode(code int) bool
- func (o *GetGroupRolesOK) IsRedirect() bool
- func (o *GetGroupRolesOK) IsServerError() bool
- func (o *GetGroupRolesOK) IsSuccess() bool
- func (o *GetGroupRolesOK) String() string
- type GetGroupRolesParams
- func (o *GetGroupRolesParams) SetContext(ctx context.Context)
- func (o *GetGroupRolesParams) SetDefaults()
- func (o *GetGroupRolesParams) SetGroupID(groupID string)
- func (o *GetGroupRolesParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupRolesParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupRolesParams) WithContext(ctx context.Context) *GetGroupRolesParams
- func (o *GetGroupRolesParams) WithDefaults() *GetGroupRolesParams
- func (o *GetGroupRolesParams) WithGroupID(groupID string) *GetGroupRolesParams
- func (o *GetGroupRolesParams) WithHTTPClient(client *http.Client) *GetGroupRolesParams
- func (o *GetGroupRolesParams) WithTimeout(timeout time.Duration) *GetGroupRolesParams
- func (o *GetGroupRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupRolesReader
- type GetGroupRolesUnauthorized
- func (o *GetGroupRolesUnauthorized) Code() int
- func (o *GetGroupRolesUnauthorized) Error() string
- func (o *GetGroupRolesUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetGroupRolesUnauthorized) IsClientError() bool
- func (o *GetGroupRolesUnauthorized) IsCode(code int) bool
- func (o *GetGroupRolesUnauthorized) IsRedirect() bool
- func (o *GetGroupRolesUnauthorized) IsServerError() bool
- func (o *GetGroupRolesUnauthorized) IsSuccess() bool
- func (o *GetGroupRolesUnauthorized) String() string
- type GetMappedGroupsBadRequest
- func (o *GetMappedGroupsBadRequest) Code() int
- func (o *GetMappedGroupsBadRequest) Error() string
- func (o *GetMappedGroupsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *GetMappedGroupsBadRequest) IsClientError() bool
- func (o *GetMappedGroupsBadRequest) IsCode(code int) bool
- func (o *GetMappedGroupsBadRequest) IsRedirect() bool
- func (o *GetMappedGroupsBadRequest) IsServerError() bool
- func (o *GetMappedGroupsBadRequest) IsSuccess() bool
- func (o *GetMappedGroupsBadRequest) String() string
- type GetMappedGroupsForbidden
- func (o *GetMappedGroupsForbidden) Code() int
- func (o *GetMappedGroupsForbidden) Error() string
- func (o *GetMappedGroupsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetMappedGroupsForbidden) IsClientError() bool
- func (o *GetMappedGroupsForbidden) IsCode(code int) bool
- func (o *GetMappedGroupsForbidden) IsRedirect() bool
- func (o *GetMappedGroupsForbidden) IsServerError() bool
- func (o *GetMappedGroupsForbidden) IsSuccess() bool
- func (o *GetMappedGroupsForbidden) String() string
- type GetMappedGroupsInternalServerError
- func (o *GetMappedGroupsInternalServerError) Code() int
- func (o *GetMappedGroupsInternalServerError) Error() string
- func (o *GetMappedGroupsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetMappedGroupsInternalServerError) IsClientError() bool
- func (o *GetMappedGroupsInternalServerError) IsCode(code int) bool
- func (o *GetMappedGroupsInternalServerError) IsRedirect() bool
- func (o *GetMappedGroupsInternalServerError) IsServerError() bool
- func (o *GetMappedGroupsInternalServerError) IsSuccess() bool
- func (o *GetMappedGroupsInternalServerError) String() string
- type GetMappedGroupsOK
- func (o *GetMappedGroupsOK) Code() int
- func (o *GetMappedGroupsOK) Error() string
- func (o *GetMappedGroupsOK) GetPayload() *models.GetGroupsResponse
- func (o *GetMappedGroupsOK) IsClientError() bool
- func (o *GetMappedGroupsOK) IsCode(code int) bool
- func (o *GetMappedGroupsOK) IsRedirect() bool
- func (o *GetMappedGroupsOK) IsServerError() bool
- func (o *GetMappedGroupsOK) IsSuccess() bool
- func (o *GetMappedGroupsOK) String() string
- type GetMappedGroupsParams
- func NewGetMappedGroupsParams() *GetMappedGroupsParams
- func NewGetMappedGroupsParamsWithContext(ctx context.Context) *GetMappedGroupsParams
- func NewGetMappedGroupsParamsWithHTTPClient(client *http.Client) *GetMappedGroupsParams
- func NewGetMappedGroupsParamsWithTimeout(timeout time.Duration) *GetMappedGroupsParams
- func (o *GetMappedGroupsParams) SetContext(ctx context.Context)
- func (o *GetMappedGroupsParams) SetDefaults()
- func (o *GetMappedGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetMappedGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetMappedGroupsParams) WithContext(ctx context.Context) *GetMappedGroupsParams
- func (o *GetMappedGroupsParams) WithDefaults() *GetMappedGroupsParams
- func (o *GetMappedGroupsParams) WithHTTPClient(client *http.Client) *GetMappedGroupsParams
- func (o *GetMappedGroupsParams) WithTimeout(timeout time.Duration) *GetMappedGroupsParams
- func (o *GetMappedGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMappedGroupsReader
- type GetMappedGroupsUnauthorized
- func (o *GetMappedGroupsUnauthorized) Code() int
- func (o *GetMappedGroupsUnauthorized) Error() string
- func (o *GetMappedGroupsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetMappedGroupsUnauthorized) IsClientError() bool
- func (o *GetMappedGroupsUnauthorized) IsCode(code int) bool
- func (o *GetMappedGroupsUnauthorized) IsRedirect() bool
- func (o *GetMappedGroupsUnauthorized) IsServerError() bool
- func (o *GetMappedGroupsUnauthorized) IsSuccess() bool
- func (o *GetMappedGroupsUnauthorized) String() string
- type UpdateGroupMappingsBadRequest
- func (o *UpdateGroupMappingsBadRequest) Code() int
- func (o *UpdateGroupMappingsBadRequest) Error() string
- func (o *UpdateGroupMappingsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *UpdateGroupMappingsBadRequest) IsClientError() bool
- func (o *UpdateGroupMappingsBadRequest) IsCode(code int) bool
- func (o *UpdateGroupMappingsBadRequest) IsRedirect() bool
- func (o *UpdateGroupMappingsBadRequest) IsServerError() bool
- func (o *UpdateGroupMappingsBadRequest) IsSuccess() bool
- func (o *UpdateGroupMappingsBadRequest) String() string
- type UpdateGroupMappingsCreated
- func (o *UpdateGroupMappingsCreated) Code() int
- func (o *UpdateGroupMappingsCreated) Error() string
- func (o *UpdateGroupMappingsCreated) GetPayload() *models.MessageResponse
- func (o *UpdateGroupMappingsCreated) IsClientError() bool
- func (o *UpdateGroupMappingsCreated) IsCode(code int) bool
- func (o *UpdateGroupMappingsCreated) IsRedirect() bool
- func (o *UpdateGroupMappingsCreated) IsServerError() bool
- func (o *UpdateGroupMappingsCreated) IsSuccess() bool
- func (o *UpdateGroupMappingsCreated) String() string
- type UpdateGroupMappingsForbidden
- func (o *UpdateGroupMappingsForbidden) Code() int
- func (o *UpdateGroupMappingsForbidden) Error() string
- func (o *UpdateGroupMappingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateGroupMappingsForbidden) IsClientError() bool
- func (o *UpdateGroupMappingsForbidden) IsCode(code int) bool
- func (o *UpdateGroupMappingsForbidden) IsRedirect() bool
- func (o *UpdateGroupMappingsForbidden) IsServerError() bool
- func (o *UpdateGroupMappingsForbidden) IsSuccess() bool
- func (o *UpdateGroupMappingsForbidden) String() string
- type UpdateGroupMappingsInternalServerError
- func (o *UpdateGroupMappingsInternalServerError) Code() int
- func (o *UpdateGroupMappingsInternalServerError) Error() string
- func (o *UpdateGroupMappingsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateGroupMappingsInternalServerError) IsClientError() bool
- func (o *UpdateGroupMappingsInternalServerError) IsCode(code int) bool
- func (o *UpdateGroupMappingsInternalServerError) IsRedirect() bool
- func (o *UpdateGroupMappingsInternalServerError) IsServerError() bool
- func (o *UpdateGroupMappingsInternalServerError) IsSuccess() bool
- func (o *UpdateGroupMappingsInternalServerError) String() string
- type UpdateGroupMappingsParams
- func NewUpdateGroupMappingsParams() *UpdateGroupMappingsParams
- func NewUpdateGroupMappingsParamsWithContext(ctx context.Context) *UpdateGroupMappingsParams
- func NewUpdateGroupMappingsParamsWithHTTPClient(client *http.Client) *UpdateGroupMappingsParams
- func NewUpdateGroupMappingsParamsWithTimeout(timeout time.Duration) *UpdateGroupMappingsParams
- func (o *UpdateGroupMappingsParams) SetBody(body *models.GroupAttributes)
- func (o *UpdateGroupMappingsParams) SetContext(ctx context.Context)
- func (o *UpdateGroupMappingsParams) SetDefaults()
- func (o *UpdateGroupMappingsParams) SetGroupID(groupID string)
- func (o *UpdateGroupMappingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGroupMappingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGroupMappingsParams) WithBody(body *models.GroupAttributes) *UpdateGroupMappingsParams
- func (o *UpdateGroupMappingsParams) WithContext(ctx context.Context) *UpdateGroupMappingsParams
- func (o *UpdateGroupMappingsParams) WithDefaults() *UpdateGroupMappingsParams
- func (o *UpdateGroupMappingsParams) WithGroupID(groupID string) *UpdateGroupMappingsParams
- func (o *UpdateGroupMappingsParams) WithHTTPClient(client *http.Client) *UpdateGroupMappingsParams
- func (o *UpdateGroupMappingsParams) WithTimeout(timeout time.Duration) *UpdateGroupMappingsParams
- func (o *UpdateGroupMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGroupMappingsReader
- type UpdateGroupMappingsUnauthorized
- func (o *UpdateGroupMappingsUnauthorized) Code() int
- func (o *UpdateGroupMappingsUnauthorized) Error() string
- func (o *UpdateGroupMappingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateGroupMappingsUnauthorized) IsClientError() bool
- func (o *UpdateGroupMappingsUnauthorized) IsCode(code int) bool
- func (o *UpdateGroupMappingsUnauthorized) IsRedirect() bool
- func (o *UpdateGroupMappingsUnauthorized) IsServerError() bool
- func (o *UpdateGroupMappingsUnauthorized) IsSuccess() bool
- func (o *UpdateGroupMappingsUnauthorized) String() string
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 ¶
func (o *CreateGroupMappingsBadRequest) Code() int
Code gets the status code for the create group mappings bad request response
func (*CreateGroupMappingsBadRequest) Error ¶
func (o *CreateGroupMappingsBadRequest) Error() string
func (*CreateGroupMappingsBadRequest) GetPayload ¶
func (o *CreateGroupMappingsBadRequest) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *CreateGroupMappingsBadRequest) String() 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 (o *CreateGroupMappingsCreated) Error() string
func (*CreateGroupMappingsCreated) GetPayload ¶
func (o *CreateGroupMappingsCreated) GetPayload() *models.MessageResponse
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 ¶
func (o *CreateGroupMappingsForbidden) Code() int
Code gets the status code for the create group mappings forbidden response
func (*CreateGroupMappingsForbidden) Error ¶
func (o *CreateGroupMappingsForbidden) Error() string
func (*CreateGroupMappingsForbidden) GetPayload ¶
func (o *CreateGroupMappingsForbidden) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *CreateGroupMappingsForbidden) String() 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 ¶
func (o *CreateGroupMappingsInternalServerError) Code() int
Code gets the status code for the create group mappings internal server error response
func (*CreateGroupMappingsInternalServerError) Error ¶
func (o *CreateGroupMappingsInternalServerError) Error() string
func (*CreateGroupMappingsInternalServerError) GetPayload ¶
func (o *CreateGroupMappingsInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *CreateGroupMappingsInternalServerError) IsCode(code int) bool
IsCode returns true when this create group mappings internal server error response a status code equal to that given
func (*CreateGroupMappingsInternalServerError) IsRedirect ¶
func (o *CreateGroupMappingsInternalServerError) IsRedirect() bool
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 ¶
func (o *CreateGroupMappingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this create group mappings internal server error response has a 2xx status code
func (*CreateGroupMappingsInternalServerError) String ¶
func (o *CreateGroupMappingsInternalServerError) String() 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 ¶
func (o *CreateGroupMappingsParams) SetBody(body *models.GroupAttributes)
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 ¶
func (o *CreateGroupMappingsParams) WithBody(body *models.GroupAttributes) *CreateGroupMappingsParams
WithBody adds the body to the create group mappings params
func (*CreateGroupMappingsParams) WithContext ¶
func (o *CreateGroupMappingsParams) WithContext(ctx context.Context) *CreateGroupMappingsParams
WithContext adds the context to the create group mappings params
func (*CreateGroupMappingsParams) WithDefaults ¶
func (o *CreateGroupMappingsParams) WithDefaults() *CreateGroupMappingsParams
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 ¶
func (o *CreateGroupMappingsParams) WithGroupID(groupID string) *CreateGroupMappingsParams
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 ¶
func (o *CreateGroupMappingsParams) WithTimeout(timeout time.Duration) *CreateGroupMappingsParams
WithTimeout adds the timeout to the create group mappings params
func (*CreateGroupMappingsParams) WriteToRequest ¶
func (o *CreateGroupMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *CreateGroupMappingsUnauthorized) Code() int
Code gets the status code for the create group mappings unauthorized response
func (*CreateGroupMappingsUnauthorized) Error ¶
func (o *CreateGroupMappingsUnauthorized) Error() string
func (*CreateGroupMappingsUnauthorized) GetPayload ¶
func (o *CreateGroupMappingsUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *CreateGroupMappingsUnauthorized) String() 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 ¶
func (o *DeleteGroupMappingsBadRequest) Code() int
Code gets the status code for the delete group mappings bad request response
func (*DeleteGroupMappingsBadRequest) Error ¶
func (o *DeleteGroupMappingsBadRequest) Error() string
func (*DeleteGroupMappingsBadRequest) GetPayload ¶
func (o *DeleteGroupMappingsBadRequest) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *DeleteGroupMappingsBadRequest) String() 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 ¶
func (o *DeleteGroupMappingsForbidden) Code() int
Code gets the status code for the delete group mappings forbidden response
func (*DeleteGroupMappingsForbidden) Error ¶
func (o *DeleteGroupMappingsForbidden) Error() string
func (*DeleteGroupMappingsForbidden) GetPayload ¶
func (o *DeleteGroupMappingsForbidden) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *DeleteGroupMappingsForbidden) String() 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 ¶
func (o *DeleteGroupMappingsInternalServerError) Code() int
Code gets the status code for the delete group mappings internal server error response
func (*DeleteGroupMappingsInternalServerError) Error ¶
func (o *DeleteGroupMappingsInternalServerError) Error() string
func (*DeleteGroupMappingsInternalServerError) GetPayload ¶
func (o *DeleteGroupMappingsInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *DeleteGroupMappingsInternalServerError) IsCode(code int) bool
IsCode returns true when this delete group mappings internal server error response a status code equal to that given
func (*DeleteGroupMappingsInternalServerError) IsRedirect ¶
func (o *DeleteGroupMappingsInternalServerError) IsRedirect() bool
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 ¶
func (o *DeleteGroupMappingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete group mappings internal server error response has a 2xx status code
func (*DeleteGroupMappingsInternalServerError) String ¶
func (o *DeleteGroupMappingsInternalServerError) String() 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 ¶
func (o *DeleteGroupMappingsNoContent) Code() int
Code gets the status code for the delete group mappings no content response
func (*DeleteGroupMappingsNoContent) Error ¶
func (o *DeleteGroupMappingsNoContent) Error() string
func (*DeleteGroupMappingsNoContent) GetPayload ¶
func (o *DeleteGroupMappingsNoContent) GetPayload() *models.SuccessResponseBody
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 ¶
func (o *DeleteGroupMappingsNoContent) String() 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 ¶
func (o *DeleteGroupMappingsParams) WithContext(ctx context.Context) *DeleteGroupMappingsParams
WithContext adds the context to the delete group mappings params
func (*DeleteGroupMappingsParams) WithDefaults ¶
func (o *DeleteGroupMappingsParams) WithDefaults() *DeleteGroupMappingsParams
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 ¶
func (o *DeleteGroupMappingsParams) WithGroupID(groupID string) *DeleteGroupMappingsParams
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 ¶
func (o *DeleteGroupMappingsParams) WithTimeout(timeout time.Duration) *DeleteGroupMappingsParams
WithTimeout adds the timeout to the delete group mappings params
func (*DeleteGroupMappingsParams) WriteToRequest ¶
func (o *DeleteGroupMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *DeleteGroupMappingsUnauthorized) Code() int
Code gets the status code for the delete group mappings unauthorized response
func (*DeleteGroupMappingsUnauthorized) Error ¶
func (o *DeleteGroupMappingsUnauthorized) Error() string
func (*DeleteGroupMappingsUnauthorized) GetPayload ¶
func (o *DeleteGroupMappingsUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *DeleteGroupMappingsUnauthorized) String() 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 (o *GetGroupRolesBadRequest) GetPayload() *models.ErrorResponseBody
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 (o *GetGroupRolesForbidden) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetGroupRolesInternalServerError) Code() int
Code gets the status code for the get group roles internal server error response
func (*GetGroupRolesInternalServerError) Error ¶
func (o *GetGroupRolesInternalServerError) Error() string
func (*GetGroupRolesInternalServerError) GetPayload ¶
func (o *GetGroupRolesInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetGroupRolesInternalServerError) String() 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 (o *GetGroupRolesNotFound) GetPayload() *models.ErrorResponseBody
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 ¶
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 ¶
func (o *GetGroupRolesParams) WithContext(ctx context.Context) *GetGroupRolesParams
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 {
}
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 (o *GetGroupRolesUnauthorized) GetPayload() *models.ErrorResponseBody
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 (o *GetMappedGroupsBadRequest) GetPayload() *models.ErrorResponseBody
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 (o *GetMappedGroupsForbidden) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetMappedGroupsInternalServerError) Code() int
Code gets the status code for the get mapped groups internal server error response
func (*GetMappedGroupsInternalServerError) Error ¶
func (o *GetMappedGroupsInternalServerError) Error() string
func (*GetMappedGroupsInternalServerError) GetPayload ¶
func (o *GetMappedGroupsInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetMappedGroupsInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetMappedGroupsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get mapped groups internal server error response has a 2xx status code
func (*GetMappedGroupsInternalServerError) String ¶
func (o *GetMappedGroupsInternalServerError) String() 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 ¶
func (o *GetMappedGroupsParams) WithContext(ctx context.Context) *GetMappedGroupsParams
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 {
}
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 (o *GetMappedGroupsUnauthorized) Error() string
func (*GetMappedGroupsUnauthorized) GetPayload ¶
func (o *GetMappedGroupsUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *UpdateGroupMappingsBadRequest) Code() int
Code gets the status code for the update group mappings bad request response
func (*UpdateGroupMappingsBadRequest) Error ¶
func (o *UpdateGroupMappingsBadRequest) Error() string
func (*UpdateGroupMappingsBadRequest) GetPayload ¶
func (o *UpdateGroupMappingsBadRequest) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *UpdateGroupMappingsBadRequest) String() 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 (o *UpdateGroupMappingsCreated) Error() string
func (*UpdateGroupMappingsCreated) GetPayload ¶
func (o *UpdateGroupMappingsCreated) GetPayload() *models.MessageResponse
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 ¶
func (o *UpdateGroupMappingsForbidden) Code() int
Code gets the status code for the update group mappings forbidden response
func (*UpdateGroupMappingsForbidden) Error ¶
func (o *UpdateGroupMappingsForbidden) Error() string
func (*UpdateGroupMappingsForbidden) GetPayload ¶
func (o *UpdateGroupMappingsForbidden) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *UpdateGroupMappingsForbidden) String() 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 ¶
func (o *UpdateGroupMappingsInternalServerError) Code() int
Code gets the status code for the update group mappings internal server error response
func (*UpdateGroupMappingsInternalServerError) Error ¶
func (o *UpdateGroupMappingsInternalServerError) Error() string
func (*UpdateGroupMappingsInternalServerError) GetPayload ¶
func (o *UpdateGroupMappingsInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *UpdateGroupMappingsInternalServerError) IsCode(code int) bool
IsCode returns true when this update group mappings internal server error response a status code equal to that given
func (*UpdateGroupMappingsInternalServerError) IsRedirect ¶
func (o *UpdateGroupMappingsInternalServerError) IsRedirect() bool
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 ¶
func (o *UpdateGroupMappingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update group mappings internal server error response has a 2xx status code
func (*UpdateGroupMappingsInternalServerError) String ¶
func (o *UpdateGroupMappingsInternalServerError) String() 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 ¶
func (o *UpdateGroupMappingsParams) SetBody(body *models.GroupAttributes)
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 ¶
func (o *UpdateGroupMappingsParams) WithBody(body *models.GroupAttributes) *UpdateGroupMappingsParams
WithBody adds the body to the update group mappings params
func (*UpdateGroupMappingsParams) WithContext ¶
func (o *UpdateGroupMappingsParams) WithContext(ctx context.Context) *UpdateGroupMappingsParams
WithContext adds the context to the update group mappings params
func (*UpdateGroupMappingsParams) WithDefaults ¶
func (o *UpdateGroupMappingsParams) WithDefaults() *UpdateGroupMappingsParams
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 ¶
func (o *UpdateGroupMappingsParams) WithGroupID(groupID string) *UpdateGroupMappingsParams
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 ¶
func (o *UpdateGroupMappingsParams) WithTimeout(timeout time.Duration) *UpdateGroupMappingsParams
WithTimeout adds the timeout to the update group mappings params
func (*UpdateGroupMappingsParams) WriteToRequest ¶
func (o *UpdateGroupMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *UpdateGroupMappingsUnauthorized) Code() int
Code gets the status code for the update group mappings unauthorized response
func (*UpdateGroupMappingsUnauthorized) Error ¶
func (o *UpdateGroupMappingsUnauthorized) Error() string
func (*UpdateGroupMappingsUnauthorized) GetPayload ¶
func (o *UpdateGroupMappingsUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *UpdateGroupMappingsUnauthorized) String() string
Source Files
¶
- create_group_mappings_parameters.go
- create_group_mappings_responses.go
- delete_group_mappings_parameters.go
- delete_group_mappings_responses.go
- get_group_roles_parameters.go
- get_group_roles_responses.go
- get_mapped_groups_parameters.go
- get_mapped_groups_responses.go
- group_attribute_sync_client.go
- update_group_mappings_parameters.go
- update_group_mappings_responses.go