Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateUserGroup(params *CreateUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserGroupCreated, error)
- func (a *Client) DeleteUserGroup(params *DeleteUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserGroupOK, error)
- func (a *Client) GetUserGroup(params *GetUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserGroupOK, error)
- func (a *Client) ListUserGroups(params *ListUserGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserGroupsOK, error)
- func (a *Client) SearchUserGroups(params *SearchUserGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*SearchUserGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUserGroup(params *UpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserGroupOK, error)
- type ClientService
- type CreateUserGroupBadRequest
- type CreateUserGroupConflict
- type CreateUserGroupCreated
- type CreateUserGroupForbidden
- type CreateUserGroupInternalServerError
- type CreateUserGroupParams
- func NewCreateUserGroupParams() *CreateUserGroupParams
- func NewCreateUserGroupParamsWithContext(ctx context.Context) *CreateUserGroupParams
- func NewCreateUserGroupParamsWithHTTPClient(client *http.Client) *CreateUserGroupParams
- func NewCreateUserGroupParamsWithTimeout(timeout time.Duration) *CreateUserGroupParams
- func (o *CreateUserGroupParams) SetContext(ctx context.Context)
- func (o *CreateUserGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserGroupParams) SetUsergroup(usergroup *model.UserGroup)
- func (o *CreateUserGroupParams) SetXRequestID(xRequestID *string)
- func (o *CreateUserGroupParams) WithContext(ctx context.Context) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WithHTTPClient(client *http.Client) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WithTimeout(timeout time.Duration) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WithUsergroup(usergroup *model.UserGroup) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WithXRequestID(xRequestID *string) *CreateUserGroupParams
- func (o *CreateUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserGroupReader
- type CreateUserGroupUnauthorized
- type DeleteUserGroupBadRequest
- type DeleteUserGroupForbidden
- type DeleteUserGroupInternalServerError
- type DeleteUserGroupOK
- type DeleteUserGroupParams
- func NewDeleteUserGroupParams() *DeleteUserGroupParams
- func NewDeleteUserGroupParamsWithContext(ctx context.Context) *DeleteUserGroupParams
- func NewDeleteUserGroupParamsWithHTTPClient(client *http.Client) *DeleteUserGroupParams
- func NewDeleteUserGroupParamsWithTimeout(timeout time.Duration) *DeleteUserGroupParams
- func (o *DeleteUserGroupParams) SetContext(ctx context.Context)
- func (o *DeleteUserGroupParams) SetGroupID(groupID int64)
- func (o *DeleteUserGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserGroupParams) SetXRequestID(xRequestID *string)
- func (o *DeleteUserGroupParams) WithContext(ctx context.Context) *DeleteUserGroupParams
- func (o *DeleteUserGroupParams) WithGroupID(groupID int64) *DeleteUserGroupParams
- func (o *DeleteUserGroupParams) WithHTTPClient(client *http.Client) *DeleteUserGroupParams
- func (o *DeleteUserGroupParams) WithTimeout(timeout time.Duration) *DeleteUserGroupParams
- func (o *DeleteUserGroupParams) WithXRequestID(xRequestID *string) *DeleteUserGroupParams
- func (o *DeleteUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserGroupReader
- type DeleteUserGroupUnauthorized
- type GetUserGroupBadRequest
- type GetUserGroupForbidden
- type GetUserGroupInternalServerError
- type GetUserGroupNotFound
- type GetUserGroupOK
- type GetUserGroupParams
- func (o *GetUserGroupParams) SetContext(ctx context.Context)
- func (o *GetUserGroupParams) SetGroupID(groupID int64)
- func (o *GetUserGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetUserGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetUserGroupParams) SetXRequestID(xRequestID *string)
- func (o *GetUserGroupParams) WithContext(ctx context.Context) *GetUserGroupParams
- func (o *GetUserGroupParams) WithGroupID(groupID int64) *GetUserGroupParams
- func (o *GetUserGroupParams) WithHTTPClient(client *http.Client) *GetUserGroupParams
- func (o *GetUserGroupParams) WithTimeout(timeout time.Duration) *GetUserGroupParams
- func (o *GetUserGroupParams) WithXRequestID(xRequestID *string) *GetUserGroupParams
- func (o *GetUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserGroupReader
- type GetUserGroupUnauthorized
- type ListUserGroupsForbidden
- type ListUserGroupsInternalServerError
- type ListUserGroupsOK
- type ListUserGroupsParams
- func NewListUserGroupsParams() *ListUserGroupsParams
- func NewListUserGroupsParamsWithContext(ctx context.Context) *ListUserGroupsParams
- func NewListUserGroupsParamsWithHTTPClient(client *http.Client) *ListUserGroupsParams
- func NewListUserGroupsParamsWithTimeout(timeout time.Duration) *ListUserGroupsParams
- func (o *ListUserGroupsParams) SetContext(ctx context.Context)
- func (o *ListUserGroupsParams) SetGroupName(groupName *string)
- func (o *ListUserGroupsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserGroupsParams) SetLdapGroupDn(ldapGroupDn *string)
- func (o *ListUserGroupsParams) SetPage(page *int64)
- func (o *ListUserGroupsParams) SetPageSize(pageSize *int64)
- func (o *ListUserGroupsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserGroupsParams) SetXRequestID(xRequestID *string)
- func (o *ListUserGroupsParams) WithContext(ctx context.Context) *ListUserGroupsParams
- func (o *ListUserGroupsParams) WithGroupName(groupName *string) *ListUserGroupsParams
- func (o *ListUserGroupsParams) WithHTTPClient(client *http.Client) *ListUserGroupsParams
- func (o *ListUserGroupsParams) WithLdapGroupDn(ldapGroupDn *string) *ListUserGroupsParams
- func (o *ListUserGroupsParams) WithPage(page *int64) *ListUserGroupsParams
- func (o *ListUserGroupsParams) WithPageSize(pageSize *int64) *ListUserGroupsParams
- func (o *ListUserGroupsParams) WithTimeout(timeout time.Duration) *ListUserGroupsParams
- func (o *ListUserGroupsParams) WithXRequestID(xRequestID *string) *ListUserGroupsParams
- func (o *ListUserGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserGroupsReader
- type ListUserGroupsUnauthorized
- type SearchUserGroupsInternalServerError
- type SearchUserGroupsOK
- type SearchUserGroupsParams
- func NewSearchUserGroupsParams() *SearchUserGroupsParams
- func NewSearchUserGroupsParamsWithContext(ctx context.Context) *SearchUserGroupsParams
- func NewSearchUserGroupsParamsWithHTTPClient(client *http.Client) *SearchUserGroupsParams
- func NewSearchUserGroupsParamsWithTimeout(timeout time.Duration) *SearchUserGroupsParams
- func (o *SearchUserGroupsParams) SetContext(ctx context.Context)
- func (o *SearchUserGroupsParams) SetGroupname(groupname string)
- func (o *SearchUserGroupsParams) SetHTTPClient(client *http.Client)
- func (o *SearchUserGroupsParams) SetPage(page *int64)
- func (o *SearchUserGroupsParams) SetPageSize(pageSize *int64)
- func (o *SearchUserGroupsParams) SetTimeout(timeout time.Duration)
- func (o *SearchUserGroupsParams) SetXRequestID(xRequestID *string)
- func (o *SearchUserGroupsParams) WithContext(ctx context.Context) *SearchUserGroupsParams
- func (o *SearchUserGroupsParams) WithGroupname(groupname string) *SearchUserGroupsParams
- func (o *SearchUserGroupsParams) WithHTTPClient(client *http.Client) *SearchUserGroupsParams
- func (o *SearchUserGroupsParams) WithPage(page *int64) *SearchUserGroupsParams
- func (o *SearchUserGroupsParams) WithPageSize(pageSize *int64) *SearchUserGroupsParams
- func (o *SearchUserGroupsParams) WithTimeout(timeout time.Duration) *SearchUserGroupsParams
- func (o *SearchUserGroupsParams) WithXRequestID(xRequestID *string) *SearchUserGroupsParams
- func (o *SearchUserGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchUserGroupsReader
- type SearchUserGroupsUnauthorized
- type UpdateUserGroupBadRequest
- type UpdateUserGroupForbidden
- type UpdateUserGroupInternalServerError
- type UpdateUserGroupNotFound
- type UpdateUserGroupOK
- type UpdateUserGroupParams
- func NewUpdateUserGroupParams() *UpdateUserGroupParams
- func NewUpdateUserGroupParamsWithContext(ctx context.Context) *UpdateUserGroupParams
- func NewUpdateUserGroupParamsWithHTTPClient(client *http.Client) *UpdateUserGroupParams
- func NewUpdateUserGroupParamsWithTimeout(timeout time.Duration) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) SetContext(ctx context.Context)
- func (o *UpdateUserGroupParams) SetGroupID(groupID int64)
- func (o *UpdateUserGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserGroupParams) SetUsergroup(usergroup *model.UserGroup)
- func (o *UpdateUserGroupParams) SetXRequestID(xRequestID *string)
- func (o *UpdateUserGroupParams) WithContext(ctx context.Context) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithGroupID(groupID int64) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithHTTPClient(client *http.Client) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithTimeout(timeout time.Duration) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithUsergroup(usergroup *model.UserGroup) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WithXRequestID(xRequestID *string) *UpdateUserGroupParams
- func (o *UpdateUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserGroupReader
- type UpdateUserGroupUnauthorized
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 usergroup API
func (*Client) CreateUserGroup ¶
func (a *Client) CreateUserGroup(params *CreateUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserGroupCreated, error)
CreateUserGroup creates user group
Create user group information
func (*Client) DeleteUserGroup ¶
func (a *Client) DeleteUserGroup(params *DeleteUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserGroupOK, error)
DeleteUserGroup deletes user group
Delete user group
func (*Client) GetUserGroup ¶
func (a *Client) GetUserGroup(params *GetUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserGroupOK, error)
GetUserGroup gets user group information
Get user group information
func (*Client) ListUserGroups ¶
func (a *Client) ListUserGroups(params *ListUserGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserGroupsOK, error)
ListUserGroups gets all user groups information
Get all user groups information, it is open for system admin
func (*Client) SearchUserGroups ¶
func (a *Client) SearchUserGroups(params *SearchUserGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*SearchUserGroupsOK, error)
SearchUserGroups searches groups by groupname
This endpoint is to search groups by group name. It's open for all authenticated requests.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUserGroup ¶
func (a *Client) UpdateUserGroup(params *UpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserGroupOK, error)
UpdateUserGroup updates group information
Update user group information
type ClientService ¶
type ClientService interface { CreateUserGroup(params *CreateUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserGroupCreated, error) DeleteUserGroup(params *DeleteUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserGroupOK, error) GetUserGroup(params *GetUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserGroupOK, error) ListUserGroups(params *ListUserGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserGroupsOK, error) SearchUserGroups(params *SearchUserGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*SearchUserGroupsOK, error) UpdateUserGroup(params *UpdateUserGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserGroupOK, 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 usergroup API client.
type CreateUserGroupBadRequest ¶
type CreateUserGroupBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateUserGroupBadRequest handles this case with default header values.
Bad request
func NewCreateUserGroupBadRequest ¶
func NewCreateUserGroupBadRequest() *CreateUserGroupBadRequest
NewCreateUserGroupBadRequest creates a CreateUserGroupBadRequest with default headers values
func (*CreateUserGroupBadRequest) Error ¶
func (o *CreateUserGroupBadRequest) Error() string
func (*CreateUserGroupBadRequest) GetPayload ¶
func (o *CreateUserGroupBadRequest) GetPayload() *model.Errors
type CreateUserGroupConflict ¶
type CreateUserGroupConflict struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateUserGroupConflict handles this case with default header values.
Conflict
func NewCreateUserGroupConflict ¶
func NewCreateUserGroupConflict() *CreateUserGroupConflict
NewCreateUserGroupConflict creates a CreateUserGroupConflict with default headers values
func (*CreateUserGroupConflict) Error ¶
func (o *CreateUserGroupConflict) Error() string
func (*CreateUserGroupConflict) GetPayload ¶
func (o *CreateUserGroupConflict) GetPayload() *model.Errors
type CreateUserGroupCreated ¶
type CreateUserGroupCreated struct { /*The URL of the created resource */ Location string }
CreateUserGroupCreated handles this case with default header values.
User group created successfully.
func NewCreateUserGroupCreated ¶
func NewCreateUserGroupCreated() *CreateUserGroupCreated
NewCreateUserGroupCreated creates a CreateUserGroupCreated with default headers values
func (*CreateUserGroupCreated) Error ¶
func (o *CreateUserGroupCreated) Error() string
type CreateUserGroupForbidden ¶
type CreateUserGroupForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateUserGroupForbidden handles this case with default header values.
Forbidden
func NewCreateUserGroupForbidden ¶
func NewCreateUserGroupForbidden() *CreateUserGroupForbidden
NewCreateUserGroupForbidden creates a CreateUserGroupForbidden with default headers values
func (*CreateUserGroupForbidden) Error ¶
func (o *CreateUserGroupForbidden) Error() string
func (*CreateUserGroupForbidden) GetPayload ¶
func (o *CreateUserGroupForbidden) GetPayload() *model.Errors
type CreateUserGroupInternalServerError ¶
type CreateUserGroupInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateUserGroupInternalServerError handles this case with default header values.
Internal server error
func NewCreateUserGroupInternalServerError ¶
func NewCreateUserGroupInternalServerError() *CreateUserGroupInternalServerError
NewCreateUserGroupInternalServerError creates a CreateUserGroupInternalServerError with default headers values
func (*CreateUserGroupInternalServerError) Error ¶
func (o *CreateUserGroupInternalServerError) Error() string
func (*CreateUserGroupInternalServerError) GetPayload ¶
func (o *CreateUserGroupInternalServerError) GetPayload() *model.Errors
type CreateUserGroupParams ¶
type CreateUserGroupParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Usergroup*/ Usergroup *model.UserGroup Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserGroupParams contains all the parameters to send to the API endpoint for the create user group operation typically these are written to a http.Request
func NewCreateUserGroupParams ¶
func NewCreateUserGroupParams() *CreateUserGroupParams
NewCreateUserGroupParams creates a new CreateUserGroupParams object with the default values initialized.
func NewCreateUserGroupParamsWithContext ¶
func NewCreateUserGroupParamsWithContext(ctx context.Context) *CreateUserGroupParams
NewCreateUserGroupParamsWithContext creates a new CreateUserGroupParams object with the default values initialized, and the ability to set a context for a request
func NewCreateUserGroupParamsWithHTTPClient ¶
func NewCreateUserGroupParamsWithHTTPClient(client *http.Client) *CreateUserGroupParams
NewCreateUserGroupParamsWithHTTPClient creates a new CreateUserGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateUserGroupParamsWithTimeout ¶
func NewCreateUserGroupParamsWithTimeout(timeout time.Duration) *CreateUserGroupParams
NewCreateUserGroupParamsWithTimeout creates a new CreateUserGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateUserGroupParams) SetContext ¶
func (o *CreateUserGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create user group params
func (*CreateUserGroupParams) SetHTTPClient ¶
func (o *CreateUserGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user group params
func (*CreateUserGroupParams) SetTimeout ¶
func (o *CreateUserGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user group params
func (*CreateUserGroupParams) SetUsergroup ¶
func (o *CreateUserGroupParams) SetUsergroup(usergroup *model.UserGroup)
SetUsergroup adds the usergroup to the create user group params
func (*CreateUserGroupParams) SetXRequestID ¶
func (o *CreateUserGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create user group params
func (*CreateUserGroupParams) WithContext ¶
func (o *CreateUserGroupParams) WithContext(ctx context.Context) *CreateUserGroupParams
WithContext adds the context to the create user group params
func (*CreateUserGroupParams) WithHTTPClient ¶
func (o *CreateUserGroupParams) WithHTTPClient(client *http.Client) *CreateUserGroupParams
WithHTTPClient adds the HTTPClient to the create user group params
func (*CreateUserGroupParams) WithTimeout ¶
func (o *CreateUserGroupParams) WithTimeout(timeout time.Duration) *CreateUserGroupParams
WithTimeout adds the timeout to the create user group params
func (*CreateUserGroupParams) WithUsergroup ¶
func (o *CreateUserGroupParams) WithUsergroup(usergroup *model.UserGroup) *CreateUserGroupParams
WithUsergroup adds the usergroup to the create user group params
func (*CreateUserGroupParams) WithXRequestID ¶
func (o *CreateUserGroupParams) WithXRequestID(xRequestID *string) *CreateUserGroupParams
WithXRequestID adds the xRequestID to the create user group params
func (*CreateUserGroupParams) WriteToRequest ¶
func (o *CreateUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserGroupReader ¶
type CreateUserGroupReader struct {
// contains filtered or unexported fields
}
CreateUserGroupReader is a Reader for the CreateUserGroup structure.
func (*CreateUserGroupReader) ReadResponse ¶
func (o *CreateUserGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserGroupUnauthorized ¶
type CreateUserGroupUnauthorized struct { string }XRequestID
CreateUserGroupUnauthorized handles this case with default header values.
Unauthorized
func NewCreateUserGroupUnauthorized ¶
func NewCreateUserGroupUnauthorized() *CreateUserGroupUnauthorized
NewCreateUserGroupUnauthorized creates a CreateUserGroupUnauthorized with default headers values
func (*CreateUserGroupUnauthorized) Error ¶
func (o *CreateUserGroupUnauthorized) Error() string
func (*CreateUserGroupUnauthorized) GetPayload ¶
func (o *CreateUserGroupUnauthorized) GetPayload() *model.Errors
type DeleteUserGroupBadRequest ¶
type DeleteUserGroupBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteUserGroupBadRequest handles this case with default header values.
Bad request
func NewDeleteUserGroupBadRequest ¶
func NewDeleteUserGroupBadRequest() *DeleteUserGroupBadRequest
NewDeleteUserGroupBadRequest creates a DeleteUserGroupBadRequest with default headers values
func (*DeleteUserGroupBadRequest) Error ¶
func (o *DeleteUserGroupBadRequest) Error() string
func (*DeleteUserGroupBadRequest) GetPayload ¶
func (o *DeleteUserGroupBadRequest) GetPayload() *model.Errors
type DeleteUserGroupForbidden ¶
type DeleteUserGroupForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteUserGroupForbidden handles this case with default header values.
Forbidden
func NewDeleteUserGroupForbidden ¶
func NewDeleteUserGroupForbidden() *DeleteUserGroupForbidden
NewDeleteUserGroupForbidden creates a DeleteUserGroupForbidden with default headers values
func (*DeleteUserGroupForbidden) Error ¶
func (o *DeleteUserGroupForbidden) Error() string
func (*DeleteUserGroupForbidden) GetPayload ¶
func (o *DeleteUserGroupForbidden) GetPayload() *model.Errors
type DeleteUserGroupInternalServerError ¶
type DeleteUserGroupInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteUserGroupInternalServerError handles this case with default header values.
Internal server error
func NewDeleteUserGroupInternalServerError ¶
func NewDeleteUserGroupInternalServerError() *DeleteUserGroupInternalServerError
NewDeleteUserGroupInternalServerError creates a DeleteUserGroupInternalServerError with default headers values
func (*DeleteUserGroupInternalServerError) Error ¶
func (o *DeleteUserGroupInternalServerError) Error() string
func (*DeleteUserGroupInternalServerError) GetPayload ¶
func (o *DeleteUserGroupInternalServerError) GetPayload() *model.Errors
type DeleteUserGroupOK ¶
type DeleteUserGroupOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
DeleteUserGroupOK handles this case with default header values.
Success
func NewDeleteUserGroupOK ¶
func NewDeleteUserGroupOK() *DeleteUserGroupOK
NewDeleteUserGroupOK creates a DeleteUserGroupOK with default headers values
func (*DeleteUserGroupOK) Error ¶
func (o *DeleteUserGroupOK) Error() string
type DeleteUserGroupParams ¶
type DeleteUserGroupParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*GroupID*/ GroupID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserGroupParams contains all the parameters to send to the API endpoint for the delete user group operation typically these are written to a http.Request
func NewDeleteUserGroupParams ¶
func NewDeleteUserGroupParams() *DeleteUserGroupParams
NewDeleteUserGroupParams creates a new DeleteUserGroupParams object with the default values initialized.
func NewDeleteUserGroupParamsWithContext ¶
func NewDeleteUserGroupParamsWithContext(ctx context.Context) *DeleteUserGroupParams
NewDeleteUserGroupParamsWithContext creates a new DeleteUserGroupParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUserGroupParamsWithHTTPClient ¶
func NewDeleteUserGroupParamsWithHTTPClient(client *http.Client) *DeleteUserGroupParams
NewDeleteUserGroupParamsWithHTTPClient creates a new DeleteUserGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUserGroupParamsWithTimeout ¶
func NewDeleteUserGroupParamsWithTimeout(timeout time.Duration) *DeleteUserGroupParams
NewDeleteUserGroupParamsWithTimeout creates a new DeleteUserGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUserGroupParams) SetContext ¶
func (o *DeleteUserGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user group params
func (*DeleteUserGroupParams) SetGroupID ¶
func (o *DeleteUserGroupParams) SetGroupID(groupID int64)
SetGroupID adds the groupId to the delete user group params
func (*DeleteUserGroupParams) SetHTTPClient ¶
func (o *DeleteUserGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user group params
func (*DeleteUserGroupParams) SetTimeout ¶
func (o *DeleteUserGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user group params
func (*DeleteUserGroupParams) SetXRequestID ¶
func (o *DeleteUserGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete user group params
func (*DeleteUserGroupParams) WithContext ¶
func (o *DeleteUserGroupParams) WithContext(ctx context.Context) *DeleteUserGroupParams
WithContext adds the context to the delete user group params
func (*DeleteUserGroupParams) WithGroupID ¶
func (o *DeleteUserGroupParams) WithGroupID(groupID int64) *DeleteUserGroupParams
WithGroupID adds the groupID to the delete user group params
func (*DeleteUserGroupParams) WithHTTPClient ¶
func (o *DeleteUserGroupParams) WithHTTPClient(client *http.Client) *DeleteUserGroupParams
WithHTTPClient adds the HTTPClient to the delete user group params
func (*DeleteUserGroupParams) WithTimeout ¶
func (o *DeleteUserGroupParams) WithTimeout(timeout time.Duration) *DeleteUserGroupParams
WithTimeout adds the timeout to the delete user group params
func (*DeleteUserGroupParams) WithXRequestID ¶
func (o *DeleteUserGroupParams) WithXRequestID(xRequestID *string) *DeleteUserGroupParams
WithXRequestID adds the xRequestID to the delete user group params
func (*DeleteUserGroupParams) WriteToRequest ¶
func (o *DeleteUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserGroupReader ¶
type DeleteUserGroupReader struct {
// contains filtered or unexported fields
}
DeleteUserGroupReader is a Reader for the DeleteUserGroup structure.
func (*DeleteUserGroupReader) ReadResponse ¶
func (o *DeleteUserGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserGroupUnauthorized ¶
type DeleteUserGroupUnauthorized struct { string }XRequestID
DeleteUserGroupUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteUserGroupUnauthorized ¶
func NewDeleteUserGroupUnauthorized() *DeleteUserGroupUnauthorized
NewDeleteUserGroupUnauthorized creates a DeleteUserGroupUnauthorized with default headers values
func (*DeleteUserGroupUnauthorized) Error ¶
func (o *DeleteUserGroupUnauthorized) Error() string
func (*DeleteUserGroupUnauthorized) GetPayload ¶
func (o *DeleteUserGroupUnauthorized) GetPayload() *model.Errors
type GetUserGroupBadRequest ¶
type GetUserGroupBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetUserGroupBadRequest handles this case with default header values.
Bad request
func NewGetUserGroupBadRequest ¶
func NewGetUserGroupBadRequest() *GetUserGroupBadRequest
NewGetUserGroupBadRequest creates a GetUserGroupBadRequest with default headers values
func (*GetUserGroupBadRequest) Error ¶
func (o *GetUserGroupBadRequest) Error() string
func (*GetUserGroupBadRequest) GetPayload ¶
func (o *GetUserGroupBadRequest) GetPayload() *model.Errors
type GetUserGroupForbidden ¶
type GetUserGroupForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetUserGroupForbidden handles this case with default header values.
Forbidden
func NewGetUserGroupForbidden ¶
func NewGetUserGroupForbidden() *GetUserGroupForbidden
NewGetUserGroupForbidden creates a GetUserGroupForbidden with default headers values
func (*GetUserGroupForbidden) Error ¶
func (o *GetUserGroupForbidden) Error() string
func (*GetUserGroupForbidden) GetPayload ¶
func (o *GetUserGroupForbidden) GetPayload() *model.Errors
type GetUserGroupInternalServerError ¶
type GetUserGroupInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetUserGroupInternalServerError handles this case with default header values.
Internal server error
func NewGetUserGroupInternalServerError ¶
func NewGetUserGroupInternalServerError() *GetUserGroupInternalServerError
NewGetUserGroupInternalServerError creates a GetUserGroupInternalServerError with default headers values
func (*GetUserGroupInternalServerError) Error ¶
func (o *GetUserGroupInternalServerError) Error() string
func (*GetUserGroupInternalServerError) GetPayload ¶
func (o *GetUserGroupInternalServerError) GetPayload() *model.Errors
type GetUserGroupNotFound ¶
type GetUserGroupNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetUserGroupNotFound handles this case with default header values.
Not found
func NewGetUserGroupNotFound ¶
func NewGetUserGroupNotFound() *GetUserGroupNotFound
NewGetUserGroupNotFound creates a GetUserGroupNotFound with default headers values
func (*GetUserGroupNotFound) Error ¶
func (o *GetUserGroupNotFound) Error() string
func (*GetUserGroupNotFound) GetPayload ¶
func (o *GetUserGroupNotFound) GetPayload() *model.Errors
type GetUserGroupOK ¶
GetUserGroupOK handles this case with default header values.
User group get successfully.
func NewGetUserGroupOK ¶
func NewGetUserGroupOK() *GetUserGroupOK
NewGetUserGroupOK creates a GetUserGroupOK with default headers values
func (*GetUserGroupOK) Error ¶
func (o *GetUserGroupOK) Error() string
func (*GetUserGroupOK) GetPayload ¶
func (o *GetUserGroupOK) GetPayload() *model.UserGroup
type GetUserGroupParams ¶
type GetUserGroupParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*GroupID Group ID */ GroupID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserGroupParams contains all the parameters to send to the API endpoint for the get user group operation typically these are written to a http.Request
func NewGetUserGroupParams ¶
func NewGetUserGroupParams() *GetUserGroupParams
NewGetUserGroupParams creates a new GetUserGroupParams object with the default values initialized.
func NewGetUserGroupParamsWithContext ¶
func NewGetUserGroupParamsWithContext(ctx context.Context) *GetUserGroupParams
NewGetUserGroupParamsWithContext creates a new GetUserGroupParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserGroupParamsWithHTTPClient ¶
func NewGetUserGroupParamsWithHTTPClient(client *http.Client) *GetUserGroupParams
NewGetUserGroupParamsWithHTTPClient creates a new GetUserGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserGroupParamsWithTimeout ¶
func NewGetUserGroupParamsWithTimeout(timeout time.Duration) *GetUserGroupParams
NewGetUserGroupParamsWithTimeout creates a new GetUserGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserGroupParams) SetContext ¶
func (o *GetUserGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get user group params
func (*GetUserGroupParams) SetGroupID ¶
func (o *GetUserGroupParams) SetGroupID(groupID int64)
SetGroupID adds the groupId to the get user group params
func (*GetUserGroupParams) SetHTTPClient ¶
func (o *GetUserGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user group params
func (*GetUserGroupParams) SetTimeout ¶
func (o *GetUserGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user group params
func (*GetUserGroupParams) SetXRequestID ¶
func (o *GetUserGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get user group params
func (*GetUserGroupParams) WithContext ¶
func (o *GetUserGroupParams) WithContext(ctx context.Context) *GetUserGroupParams
WithContext adds the context to the get user group params
func (*GetUserGroupParams) WithGroupID ¶
func (o *GetUserGroupParams) WithGroupID(groupID int64) *GetUserGroupParams
WithGroupID adds the groupID to the get user group params
func (*GetUserGroupParams) WithHTTPClient ¶
func (o *GetUserGroupParams) WithHTTPClient(client *http.Client) *GetUserGroupParams
WithHTTPClient adds the HTTPClient to the get user group params
func (*GetUserGroupParams) WithTimeout ¶
func (o *GetUserGroupParams) WithTimeout(timeout time.Duration) *GetUserGroupParams
WithTimeout adds the timeout to the get user group params
func (*GetUserGroupParams) WithXRequestID ¶
func (o *GetUserGroupParams) WithXRequestID(xRequestID *string) *GetUserGroupParams
WithXRequestID adds the xRequestID to the get user group params
func (*GetUserGroupParams) WriteToRequest ¶
func (o *GetUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserGroupReader ¶
type GetUserGroupReader struct {
// contains filtered or unexported fields
}
GetUserGroupReader is a Reader for the GetUserGroup structure.
func (*GetUserGroupReader) ReadResponse ¶
func (o *GetUserGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserGroupUnauthorized ¶
type GetUserGroupUnauthorized struct { string }XRequestID
GetUserGroupUnauthorized handles this case with default header values.
Unauthorized
func NewGetUserGroupUnauthorized ¶
func NewGetUserGroupUnauthorized() *GetUserGroupUnauthorized
NewGetUserGroupUnauthorized creates a GetUserGroupUnauthorized with default headers values
func (*GetUserGroupUnauthorized) Error ¶
func (o *GetUserGroupUnauthorized) Error() string
func (*GetUserGroupUnauthorized) GetPayload ¶
func (o *GetUserGroupUnauthorized) GetPayload() *model.Errors
type ListUserGroupsForbidden ¶
type ListUserGroupsForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListUserGroupsForbidden handles this case with default header values.
Forbidden
func NewListUserGroupsForbidden ¶
func NewListUserGroupsForbidden() *ListUserGroupsForbidden
NewListUserGroupsForbidden creates a ListUserGroupsForbidden with default headers values
func (*ListUserGroupsForbidden) Error ¶
func (o *ListUserGroupsForbidden) Error() string
func (*ListUserGroupsForbidden) GetPayload ¶
func (o *ListUserGroupsForbidden) GetPayload() *model.Errors
type ListUserGroupsInternalServerError ¶
type ListUserGroupsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListUserGroupsInternalServerError handles this case with default header values.
Internal server error
func NewListUserGroupsInternalServerError ¶
func NewListUserGroupsInternalServerError() *ListUserGroupsInternalServerError
NewListUserGroupsInternalServerError creates a ListUserGroupsInternalServerError with default headers values
func (*ListUserGroupsInternalServerError) Error ¶
func (o *ListUserGroupsInternalServerError) Error() string
func (*ListUserGroupsInternalServerError) GetPayload ¶
func (o *ListUserGroupsInternalServerError) GetPayload() *model.Errors
type ListUserGroupsOK ¶
type ListUserGroupsOK struct { /*Link to previous page and next page */ Link string /*The total count of available items */ XTotalCount int64 Payload []*model.UserGroup }
ListUserGroupsOK handles this case with default header values.
Get user group successfully.
func NewListUserGroupsOK ¶
func NewListUserGroupsOK() *ListUserGroupsOK
NewListUserGroupsOK creates a ListUserGroupsOK with default headers values
func (*ListUserGroupsOK) Error ¶
func (o *ListUserGroupsOK) Error() string
func (*ListUserGroupsOK) GetPayload ¶
func (o *ListUserGroupsOK) GetPayload() []*model.UserGroup
type ListUserGroupsParams ¶
type ListUserGroupsParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*GroupName group name need to search, fuzzy matches */ GroupName *string /*LdapGroupDn search with ldap group DN */ LdapGroupDn *string /*Page The page number */ Page *int64 /*PageSize The size of per page */ PageSize *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserGroupsParams contains all the parameters to send to the API endpoint for the list user groups operation typically these are written to a http.Request
func NewListUserGroupsParams ¶
func NewListUserGroupsParams() *ListUserGroupsParams
NewListUserGroupsParams creates a new ListUserGroupsParams object with the default values initialized.
func NewListUserGroupsParamsWithContext ¶
func NewListUserGroupsParamsWithContext(ctx context.Context) *ListUserGroupsParams
NewListUserGroupsParamsWithContext creates a new ListUserGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewListUserGroupsParamsWithHTTPClient ¶
func NewListUserGroupsParamsWithHTTPClient(client *http.Client) *ListUserGroupsParams
NewListUserGroupsParamsWithHTTPClient creates a new ListUserGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListUserGroupsParamsWithTimeout ¶
func NewListUserGroupsParamsWithTimeout(timeout time.Duration) *ListUserGroupsParams
NewListUserGroupsParamsWithTimeout creates a new ListUserGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListUserGroupsParams) SetContext ¶
func (o *ListUserGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the list user groups params
func (*ListUserGroupsParams) SetGroupName ¶
func (o *ListUserGroupsParams) SetGroupName(groupName *string)
SetGroupName adds the groupName to the list user groups params
func (*ListUserGroupsParams) SetHTTPClient ¶
func (o *ListUserGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user groups params
func (*ListUserGroupsParams) SetLdapGroupDn ¶
func (o *ListUserGroupsParams) SetLdapGroupDn(ldapGroupDn *string)
SetLdapGroupDn adds the ldapGroupDn to the list user groups params
func (*ListUserGroupsParams) SetPage ¶
func (o *ListUserGroupsParams) SetPage(page *int64)
SetPage adds the page to the list user groups params
func (*ListUserGroupsParams) SetPageSize ¶
func (o *ListUserGroupsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list user groups params
func (*ListUserGroupsParams) SetTimeout ¶
func (o *ListUserGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user groups params
func (*ListUserGroupsParams) SetXRequestID ¶
func (o *ListUserGroupsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list user groups params
func (*ListUserGroupsParams) WithContext ¶
func (o *ListUserGroupsParams) WithContext(ctx context.Context) *ListUserGroupsParams
WithContext adds the context to the list user groups params
func (*ListUserGroupsParams) WithGroupName ¶
func (o *ListUserGroupsParams) WithGroupName(groupName *string) *ListUserGroupsParams
WithGroupName adds the groupName to the list user groups params
func (*ListUserGroupsParams) WithHTTPClient ¶
func (o *ListUserGroupsParams) WithHTTPClient(client *http.Client) *ListUserGroupsParams
WithHTTPClient adds the HTTPClient to the list user groups params
func (*ListUserGroupsParams) WithLdapGroupDn ¶
func (o *ListUserGroupsParams) WithLdapGroupDn(ldapGroupDn *string) *ListUserGroupsParams
WithLdapGroupDn adds the ldapGroupDn to the list user groups params
func (*ListUserGroupsParams) WithPage ¶
func (o *ListUserGroupsParams) WithPage(page *int64) *ListUserGroupsParams
WithPage adds the page to the list user groups params
func (*ListUserGroupsParams) WithPageSize ¶
func (o *ListUserGroupsParams) WithPageSize(pageSize *int64) *ListUserGroupsParams
WithPageSize adds the pageSize to the list user groups params
func (*ListUserGroupsParams) WithTimeout ¶
func (o *ListUserGroupsParams) WithTimeout(timeout time.Duration) *ListUserGroupsParams
WithTimeout adds the timeout to the list user groups params
func (*ListUserGroupsParams) WithXRequestID ¶
func (o *ListUserGroupsParams) WithXRequestID(xRequestID *string) *ListUserGroupsParams
WithXRequestID adds the xRequestID to the list user groups params
func (*ListUserGroupsParams) WriteToRequest ¶
func (o *ListUserGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserGroupsReader ¶
type ListUserGroupsReader struct {
// contains filtered or unexported fields
}
ListUserGroupsReader is a Reader for the ListUserGroups structure.
func (*ListUserGroupsReader) ReadResponse ¶
func (o *ListUserGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserGroupsUnauthorized ¶
type ListUserGroupsUnauthorized struct { string }XRequestID
ListUserGroupsUnauthorized handles this case with default header values.
Unauthorized
func NewListUserGroupsUnauthorized ¶
func NewListUserGroupsUnauthorized() *ListUserGroupsUnauthorized
NewListUserGroupsUnauthorized creates a ListUserGroupsUnauthorized with default headers values
func (*ListUserGroupsUnauthorized) Error ¶
func (o *ListUserGroupsUnauthorized) Error() string
func (*ListUserGroupsUnauthorized) GetPayload ¶
func (o *ListUserGroupsUnauthorized) GetPayload() *model.Errors
type SearchUserGroupsInternalServerError ¶
type SearchUserGroupsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
SearchUserGroupsInternalServerError handles this case with default header values.
Internal server error
func NewSearchUserGroupsInternalServerError ¶
func NewSearchUserGroupsInternalServerError() *SearchUserGroupsInternalServerError
NewSearchUserGroupsInternalServerError creates a SearchUserGroupsInternalServerError with default headers values
func (*SearchUserGroupsInternalServerError) Error ¶
func (o *SearchUserGroupsInternalServerError) Error() string
func (*SearchUserGroupsInternalServerError) GetPayload ¶
func (o *SearchUserGroupsInternalServerError) GetPayload() *model.Errors
type SearchUserGroupsOK ¶
type SearchUserGroupsOK struct { /*Link to previous page and next page */ Link string /*The total count of available items */ XTotalCount int64 Payload []*model.UserGroupSearchItem }
SearchUserGroupsOK handles this case with default header values.
Search groups successfully.
func NewSearchUserGroupsOK ¶
func NewSearchUserGroupsOK() *SearchUserGroupsOK
NewSearchUserGroupsOK creates a SearchUserGroupsOK with default headers values
func (*SearchUserGroupsOK) Error ¶
func (o *SearchUserGroupsOK) Error() string
func (*SearchUserGroupsOK) GetPayload ¶
func (o *SearchUserGroupsOK) GetPayload() []*model.UserGroupSearchItem
type SearchUserGroupsParams ¶
type SearchUserGroupsParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Groupname Group name for filtering results. */ Groupname string /*Page The page number */ Page *int64 /*PageSize The size of per page */ PageSize *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchUserGroupsParams contains all the parameters to send to the API endpoint for the search user groups operation typically these are written to a http.Request
func NewSearchUserGroupsParams ¶
func NewSearchUserGroupsParams() *SearchUserGroupsParams
NewSearchUserGroupsParams creates a new SearchUserGroupsParams object with the default values initialized.
func NewSearchUserGroupsParamsWithContext ¶
func NewSearchUserGroupsParamsWithContext(ctx context.Context) *SearchUserGroupsParams
NewSearchUserGroupsParamsWithContext creates a new SearchUserGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewSearchUserGroupsParamsWithHTTPClient ¶
func NewSearchUserGroupsParamsWithHTTPClient(client *http.Client) *SearchUserGroupsParams
NewSearchUserGroupsParamsWithHTTPClient creates a new SearchUserGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchUserGroupsParamsWithTimeout ¶
func NewSearchUserGroupsParamsWithTimeout(timeout time.Duration) *SearchUserGroupsParams
NewSearchUserGroupsParamsWithTimeout creates a new SearchUserGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchUserGroupsParams) SetContext ¶
func (o *SearchUserGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the search user groups params
func (*SearchUserGroupsParams) SetGroupname ¶
func (o *SearchUserGroupsParams) SetGroupname(groupname string)
SetGroupname adds the groupname to the search user groups params
func (*SearchUserGroupsParams) SetHTTPClient ¶
func (o *SearchUserGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search user groups params
func (*SearchUserGroupsParams) SetPage ¶
func (o *SearchUserGroupsParams) SetPage(page *int64)
SetPage adds the page to the search user groups params
func (*SearchUserGroupsParams) SetPageSize ¶
func (o *SearchUserGroupsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the search user groups params
func (*SearchUserGroupsParams) SetTimeout ¶
func (o *SearchUserGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search user groups params
func (*SearchUserGroupsParams) SetXRequestID ¶
func (o *SearchUserGroupsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the search user groups params
func (*SearchUserGroupsParams) WithContext ¶
func (o *SearchUserGroupsParams) WithContext(ctx context.Context) *SearchUserGroupsParams
WithContext adds the context to the search user groups params
func (*SearchUserGroupsParams) WithGroupname ¶
func (o *SearchUserGroupsParams) WithGroupname(groupname string) *SearchUserGroupsParams
WithGroupname adds the groupname to the search user groups params
func (*SearchUserGroupsParams) WithHTTPClient ¶
func (o *SearchUserGroupsParams) WithHTTPClient(client *http.Client) *SearchUserGroupsParams
WithHTTPClient adds the HTTPClient to the search user groups params
func (*SearchUserGroupsParams) WithPage ¶
func (o *SearchUserGroupsParams) WithPage(page *int64) *SearchUserGroupsParams
WithPage adds the page to the search user groups params
func (*SearchUserGroupsParams) WithPageSize ¶
func (o *SearchUserGroupsParams) WithPageSize(pageSize *int64) *SearchUserGroupsParams
WithPageSize adds the pageSize to the search user groups params
func (*SearchUserGroupsParams) WithTimeout ¶
func (o *SearchUserGroupsParams) WithTimeout(timeout time.Duration) *SearchUserGroupsParams
WithTimeout adds the timeout to the search user groups params
func (*SearchUserGroupsParams) WithXRequestID ¶
func (o *SearchUserGroupsParams) WithXRequestID(xRequestID *string) *SearchUserGroupsParams
WithXRequestID adds the xRequestID to the search user groups params
func (*SearchUserGroupsParams) WriteToRequest ¶
func (o *SearchUserGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchUserGroupsReader ¶
type SearchUserGroupsReader struct {
// contains filtered or unexported fields
}
SearchUserGroupsReader is a Reader for the SearchUserGroups structure.
func (*SearchUserGroupsReader) ReadResponse ¶
func (o *SearchUserGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchUserGroupsUnauthorized ¶
type SearchUserGroupsUnauthorized struct { string }XRequestID
SearchUserGroupsUnauthorized handles this case with default header values.
Unauthorized
func NewSearchUserGroupsUnauthorized ¶
func NewSearchUserGroupsUnauthorized() *SearchUserGroupsUnauthorized
NewSearchUserGroupsUnauthorized creates a SearchUserGroupsUnauthorized with default headers values
func (*SearchUserGroupsUnauthorized) Error ¶
func (o *SearchUserGroupsUnauthorized) Error() string
func (*SearchUserGroupsUnauthorized) GetPayload ¶
func (o *SearchUserGroupsUnauthorized) GetPayload() *model.Errors
type UpdateUserGroupBadRequest ¶
type UpdateUserGroupBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateUserGroupBadRequest handles this case with default header values.
Bad request
func NewUpdateUserGroupBadRequest ¶
func NewUpdateUserGroupBadRequest() *UpdateUserGroupBadRequest
NewUpdateUserGroupBadRequest creates a UpdateUserGroupBadRequest with default headers values
func (*UpdateUserGroupBadRequest) Error ¶
func (o *UpdateUserGroupBadRequest) Error() string
func (*UpdateUserGroupBadRequest) GetPayload ¶
func (o *UpdateUserGroupBadRequest) GetPayload() *model.Errors
type UpdateUserGroupForbidden ¶
type UpdateUserGroupForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateUserGroupForbidden handles this case with default header values.
Forbidden
func NewUpdateUserGroupForbidden ¶
func NewUpdateUserGroupForbidden() *UpdateUserGroupForbidden
NewUpdateUserGroupForbidden creates a UpdateUserGroupForbidden with default headers values
func (*UpdateUserGroupForbidden) Error ¶
func (o *UpdateUserGroupForbidden) Error() string
func (*UpdateUserGroupForbidden) GetPayload ¶
func (o *UpdateUserGroupForbidden) GetPayload() *model.Errors
type UpdateUserGroupInternalServerError ¶
type UpdateUserGroupInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateUserGroupInternalServerError handles this case with default header values.
Internal server error
func NewUpdateUserGroupInternalServerError ¶
func NewUpdateUserGroupInternalServerError() *UpdateUserGroupInternalServerError
NewUpdateUserGroupInternalServerError creates a UpdateUserGroupInternalServerError with default headers values
func (*UpdateUserGroupInternalServerError) Error ¶
func (o *UpdateUserGroupInternalServerError) Error() string
func (*UpdateUserGroupInternalServerError) GetPayload ¶
func (o *UpdateUserGroupInternalServerError) GetPayload() *model.Errors
type UpdateUserGroupNotFound ¶
type UpdateUserGroupNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateUserGroupNotFound handles this case with default header values.
Not found
func NewUpdateUserGroupNotFound ¶
func NewUpdateUserGroupNotFound() *UpdateUserGroupNotFound
NewUpdateUserGroupNotFound creates a UpdateUserGroupNotFound with default headers values
func (*UpdateUserGroupNotFound) Error ¶
func (o *UpdateUserGroupNotFound) Error() string
func (*UpdateUserGroupNotFound) GetPayload ¶
func (o *UpdateUserGroupNotFound) GetPayload() *model.Errors
type UpdateUserGroupOK ¶
type UpdateUserGroupOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
UpdateUserGroupOK handles this case with default header values.
Success
func NewUpdateUserGroupOK ¶
func NewUpdateUserGroupOK() *UpdateUserGroupOK
NewUpdateUserGroupOK creates a UpdateUserGroupOK with default headers values
func (*UpdateUserGroupOK) Error ¶
func (o *UpdateUserGroupOK) Error() string
type UpdateUserGroupParams ¶
type UpdateUserGroupParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*GroupID Group ID */ GroupID int64 /*Usergroup*/ Usergroup *model.UserGroup Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserGroupParams contains all the parameters to send to the API endpoint for the update user group operation typically these are written to a http.Request
func NewUpdateUserGroupParams ¶
func NewUpdateUserGroupParams() *UpdateUserGroupParams
NewUpdateUserGroupParams creates a new UpdateUserGroupParams object with the default values initialized.
func NewUpdateUserGroupParamsWithContext ¶
func NewUpdateUserGroupParamsWithContext(ctx context.Context) *UpdateUserGroupParams
NewUpdateUserGroupParamsWithContext creates a new UpdateUserGroupParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserGroupParamsWithHTTPClient ¶
func NewUpdateUserGroupParamsWithHTTPClient(client *http.Client) *UpdateUserGroupParams
NewUpdateUserGroupParamsWithHTTPClient creates a new UpdateUserGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserGroupParamsWithTimeout ¶
func NewUpdateUserGroupParamsWithTimeout(timeout time.Duration) *UpdateUserGroupParams
NewUpdateUserGroupParamsWithTimeout creates a new UpdateUserGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserGroupParams) SetContext ¶
func (o *UpdateUserGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update user group params
func (*UpdateUserGroupParams) SetGroupID ¶
func (o *UpdateUserGroupParams) SetGroupID(groupID int64)
SetGroupID adds the groupId to the update user group params
func (*UpdateUserGroupParams) SetHTTPClient ¶
func (o *UpdateUserGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user group params
func (*UpdateUserGroupParams) SetTimeout ¶
func (o *UpdateUserGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user group params
func (*UpdateUserGroupParams) SetUsergroup ¶
func (o *UpdateUserGroupParams) SetUsergroup(usergroup *model.UserGroup)
SetUsergroup adds the usergroup to the update user group params
func (*UpdateUserGroupParams) SetXRequestID ¶
func (o *UpdateUserGroupParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update user group params
func (*UpdateUserGroupParams) WithContext ¶
func (o *UpdateUserGroupParams) WithContext(ctx context.Context) *UpdateUserGroupParams
WithContext adds the context to the update user group params
func (*UpdateUserGroupParams) WithGroupID ¶
func (o *UpdateUserGroupParams) WithGroupID(groupID int64) *UpdateUserGroupParams
WithGroupID adds the groupID to the update user group params
func (*UpdateUserGroupParams) WithHTTPClient ¶
func (o *UpdateUserGroupParams) WithHTTPClient(client *http.Client) *UpdateUserGroupParams
WithHTTPClient adds the HTTPClient to the update user group params
func (*UpdateUserGroupParams) WithTimeout ¶
func (o *UpdateUserGroupParams) WithTimeout(timeout time.Duration) *UpdateUserGroupParams
WithTimeout adds the timeout to the update user group params
func (*UpdateUserGroupParams) WithUsergroup ¶
func (o *UpdateUserGroupParams) WithUsergroup(usergroup *model.UserGroup) *UpdateUserGroupParams
WithUsergroup adds the usergroup to the update user group params
func (*UpdateUserGroupParams) WithXRequestID ¶
func (o *UpdateUserGroupParams) WithXRequestID(xRequestID *string) *UpdateUserGroupParams
WithXRequestID adds the xRequestID to the update user group params
func (*UpdateUserGroupParams) WriteToRequest ¶
func (o *UpdateUserGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserGroupReader ¶
type UpdateUserGroupReader struct {
// contains filtered or unexported fields
}
UpdateUserGroupReader is a Reader for the UpdateUserGroup structure.
func (*UpdateUserGroupReader) ReadResponse ¶
func (o *UpdateUserGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserGroupUnauthorized ¶
type UpdateUserGroupUnauthorized struct { string }XRequestID
UpdateUserGroupUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateUserGroupUnauthorized ¶
func NewUpdateUserGroupUnauthorized() *UpdateUserGroupUnauthorized
NewUpdateUserGroupUnauthorized creates a UpdateUserGroupUnauthorized with default headers values
func (*UpdateUserGroupUnauthorized) Error ¶
func (o *UpdateUserGroupUnauthorized) Error() string
func (*UpdateUserGroupUnauthorized) GetPayload ¶
func (o *UpdateUserGroupUnauthorized) GetPayload() *model.Errors
Source Files ¶
- create_user_group_parameters.go
- create_user_group_responses.go
- delete_user_group_parameters.go
- delete_user_group_responses.go
- get_user_group_parameters.go
- get_user_group_responses.go
- list_user_groups_parameters.go
- list_user_groups_responses.go
- search_user_groups_parameters.go
- search_user_groups_responses.go
- update_user_group_parameters.go
- update_user_group_responses.go
- usergroup_client.go