Documentation
¶
Index ¶
- type AllModelSetsNotFound
- type AllModelSetsOK
- type AllModelSetsParams
- func (o *AllModelSetsParams) SetContext(ctx context.Context)
- func (o *AllModelSetsParams) SetFields(fields *string)
- func (o *AllModelSetsParams) SetHTTPClient(client *http.Client)
- func (o *AllModelSetsParams) SetTimeout(timeout time.Duration)
- func (o *AllModelSetsParams) WithContext(ctx context.Context) *AllModelSetsParams
- func (o *AllModelSetsParams) WithFields(fields *string) *AllModelSetsParams
- func (o *AllModelSetsParams) WithHTTPClient(client *http.Client) *AllModelSetsParams
- func (o *AllModelSetsParams) WithTimeout(timeout time.Duration) *AllModelSetsParams
- func (o *AllModelSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllModelSetsReader
- type AllPermissionSetsBadRequest
- type AllPermissionSetsNotFound
- type AllPermissionSetsOK
- type AllPermissionSetsParams
- func NewAllPermissionSetsParams() *AllPermissionSetsParams
- func NewAllPermissionSetsParamsWithContext(ctx context.Context) *AllPermissionSetsParams
- func NewAllPermissionSetsParamsWithHTTPClient(client *http.Client) *AllPermissionSetsParams
- func NewAllPermissionSetsParamsWithTimeout(timeout time.Duration) *AllPermissionSetsParams
- func (o *AllPermissionSetsParams) SetContext(ctx context.Context)
- func (o *AllPermissionSetsParams) SetFields(fields *string)
- func (o *AllPermissionSetsParams) SetHTTPClient(client *http.Client)
- func (o *AllPermissionSetsParams) SetTimeout(timeout time.Duration)
- func (o *AllPermissionSetsParams) WithContext(ctx context.Context) *AllPermissionSetsParams
- func (o *AllPermissionSetsParams) WithFields(fields *string) *AllPermissionSetsParams
- func (o *AllPermissionSetsParams) WithHTTPClient(client *http.Client) *AllPermissionSetsParams
- func (o *AllPermissionSetsParams) WithTimeout(timeout time.Duration) *AllPermissionSetsParams
- func (o *AllPermissionSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllPermissionSetsReader
- type AllPermissionsBadRequest
- type AllPermissionsNotFound
- type AllPermissionsOK
- type AllPermissionsParams
- func NewAllPermissionsParams() *AllPermissionsParams
- func NewAllPermissionsParamsWithContext(ctx context.Context) *AllPermissionsParams
- func NewAllPermissionsParamsWithHTTPClient(client *http.Client) *AllPermissionsParams
- func NewAllPermissionsParamsWithTimeout(timeout time.Duration) *AllPermissionsParams
- func (o *AllPermissionsParams) SetContext(ctx context.Context)
- func (o *AllPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *AllPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *AllPermissionsParams) WithContext(ctx context.Context) *AllPermissionsParams
- func (o *AllPermissionsParams) WithHTTPClient(client *http.Client) *AllPermissionsParams
- func (o *AllPermissionsParams) WithTimeout(timeout time.Duration) *AllPermissionsParams
- func (o *AllPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllPermissionsReader
- type AllRolesBadRequest
- type AllRolesNotFound
- type AllRolesOK
- type AllRolesParams
- func (o *AllRolesParams) SetContext(ctx context.Context)
- func (o *AllRolesParams) SetFields(fields *string)
- func (o *AllRolesParams) SetHTTPClient(client *http.Client)
- func (o *AllRolesParams) SetIds(ids []int64)
- func (o *AllRolesParams) SetTimeout(timeout time.Duration)
- func (o *AllRolesParams) WithContext(ctx context.Context) *AllRolesParams
- func (o *AllRolesParams) WithFields(fields *string) *AllRolesParams
- func (o *AllRolesParams) WithHTTPClient(client *http.Client) *AllRolesParams
- func (o *AllRolesParams) WithIds(ids []int64) *AllRolesParams
- func (o *AllRolesParams) WithTimeout(timeout time.Duration) *AllRolesParams
- func (o *AllRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllRolesReader
- type Client
- func (a *Client) AllModelSets(params *AllModelSetsParams) (*AllModelSetsOK, error)
- func (a *Client) AllPermissionSets(params *AllPermissionSetsParams) (*AllPermissionSetsOK, error)
- func (a *Client) AllPermissions(params *AllPermissionsParams) (*AllPermissionsOK, error)
- func (a *Client) AllRoles(params *AllRolesParams) (*AllRolesOK, error)
- func (a *Client) CreateModelSet(params *CreateModelSetParams) (*CreateModelSetOK, error)
- func (a *Client) CreatePermissionSet(params *CreatePermissionSetParams) (*CreatePermissionSetOK, error)
- func (a *Client) CreateRole(params *CreateRoleParams) (*CreateRoleOK, error)
- func (a *Client) DeleteModelSet(params *DeleteModelSetParams) (*DeleteModelSetNoContent, error)
- func (a *Client) DeletePermissionSet(params *DeletePermissionSetParams) (*DeletePermissionSetNoContent, error)
- func (a *Client) DeleteRole(params *DeleteRoleParams) (*DeleteRoleNoContent, error)
- func (a *Client) ModelSet(params *ModelSetParams) (*ModelSetOK, error)
- func (a *Client) PermissionSet(params *PermissionSetParams) (*PermissionSetOK, error)
- func (a *Client) Role(params *RoleParams) (*RoleOK, error)
- func (a *Client) RoleGroups(params *RoleGroupsParams) (*RoleGroupsOK, error)
- func (a *Client) RoleUsers(params *RoleUsersParams) (*RoleUsersOK, error)
- func (a *Client) SetRoleGroups(params *SetRoleGroupsParams) (*SetRoleGroupsOK, error)
- func (a *Client) SetRoleUsers(params *SetRoleUsersParams) (*SetRoleUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateModelSet(params *UpdateModelSetParams) (*UpdateModelSetOK, error)
- func (a *Client) UpdatePermissionSet(params *UpdatePermissionSetParams) (*UpdatePermissionSetOK, error)
- func (a *Client) UpdateRole(params *UpdateRoleParams) (*UpdateRoleOK, error)
- type CreateModelSetBadRequest
- type CreateModelSetConflict
- type CreateModelSetNotFound
- type CreateModelSetOK
- type CreateModelSetParams
- func NewCreateModelSetParams() *CreateModelSetParams
- func NewCreateModelSetParamsWithContext(ctx context.Context) *CreateModelSetParams
- func NewCreateModelSetParamsWithHTTPClient(client *http.Client) *CreateModelSetParams
- func NewCreateModelSetParamsWithTimeout(timeout time.Duration) *CreateModelSetParams
- func (o *CreateModelSetParams) SetBody(body *models.ModelSet)
- func (o *CreateModelSetParams) SetContext(ctx context.Context)
- func (o *CreateModelSetParams) SetHTTPClient(client *http.Client)
- func (o *CreateModelSetParams) SetTimeout(timeout time.Duration)
- func (o *CreateModelSetParams) WithBody(body *models.ModelSet) *CreateModelSetParams
- func (o *CreateModelSetParams) WithContext(ctx context.Context) *CreateModelSetParams
- func (o *CreateModelSetParams) WithHTTPClient(client *http.Client) *CreateModelSetParams
- func (o *CreateModelSetParams) WithTimeout(timeout time.Duration) *CreateModelSetParams
- func (o *CreateModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateModelSetReader
- type CreateModelSetUnprocessableEntity
- type CreatePermissionSetBadRequest
- type CreatePermissionSetConflict
- type CreatePermissionSetNotFound
- type CreatePermissionSetOK
- type CreatePermissionSetParams
- func NewCreatePermissionSetParams() *CreatePermissionSetParams
- func NewCreatePermissionSetParamsWithContext(ctx context.Context) *CreatePermissionSetParams
- func NewCreatePermissionSetParamsWithHTTPClient(client *http.Client) *CreatePermissionSetParams
- func NewCreatePermissionSetParamsWithTimeout(timeout time.Duration) *CreatePermissionSetParams
- func (o *CreatePermissionSetParams) SetBody(body *models.PermissionSet)
- func (o *CreatePermissionSetParams) SetContext(ctx context.Context)
- func (o *CreatePermissionSetParams) SetHTTPClient(client *http.Client)
- func (o *CreatePermissionSetParams) SetTimeout(timeout time.Duration)
- func (o *CreatePermissionSetParams) WithBody(body *models.PermissionSet) *CreatePermissionSetParams
- func (o *CreatePermissionSetParams) WithContext(ctx context.Context) *CreatePermissionSetParams
- func (o *CreatePermissionSetParams) WithHTTPClient(client *http.Client) *CreatePermissionSetParams
- func (o *CreatePermissionSetParams) WithTimeout(timeout time.Duration) *CreatePermissionSetParams
- func (o *CreatePermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePermissionSetReader
- type CreatePermissionSetUnprocessableEntity
- type CreateRoleBadRequest
- type CreateRoleConflict
- type CreateRoleNotFound
- type CreateRoleOK
- type CreateRoleParams
- func (o *CreateRoleParams) SetBody(body *models.Role)
- func (o *CreateRoleParams) SetContext(ctx context.Context)
- func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRoleParams) WithBody(body *models.Role) *CreateRoleParams
- func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
- func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
- func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
- func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRoleReader
- type CreateRoleUnprocessableEntity
- type DeleteModelSetBadRequest
- type DeleteModelSetMethodNotAllowed
- type DeleteModelSetNoContent
- type DeleteModelSetNotFound
- type DeleteModelSetParams
- func NewDeleteModelSetParams() *DeleteModelSetParams
- func NewDeleteModelSetParamsWithContext(ctx context.Context) *DeleteModelSetParams
- func NewDeleteModelSetParamsWithHTTPClient(client *http.Client) *DeleteModelSetParams
- func NewDeleteModelSetParamsWithTimeout(timeout time.Duration) *DeleteModelSetParams
- func (o *DeleteModelSetParams) SetContext(ctx context.Context)
- func (o *DeleteModelSetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteModelSetParams) SetModelSetID(modelSetID int64)
- func (o *DeleteModelSetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteModelSetParams) WithContext(ctx context.Context) *DeleteModelSetParams
- func (o *DeleteModelSetParams) WithHTTPClient(client *http.Client) *DeleteModelSetParams
- func (o *DeleteModelSetParams) WithModelSetID(modelSetID int64) *DeleteModelSetParams
- func (o *DeleteModelSetParams) WithTimeout(timeout time.Duration) *DeleteModelSetParams
- func (o *DeleteModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteModelSetReader
- type DeletePermissionSetBadRequest
- type DeletePermissionSetMethodNotAllowed
- type DeletePermissionSetNoContent
- type DeletePermissionSetNotFound
- type DeletePermissionSetParams
- func NewDeletePermissionSetParams() *DeletePermissionSetParams
- func NewDeletePermissionSetParamsWithContext(ctx context.Context) *DeletePermissionSetParams
- func NewDeletePermissionSetParamsWithHTTPClient(client *http.Client) *DeletePermissionSetParams
- func NewDeletePermissionSetParamsWithTimeout(timeout time.Duration) *DeletePermissionSetParams
- func (o *DeletePermissionSetParams) SetContext(ctx context.Context)
- func (o *DeletePermissionSetParams) SetHTTPClient(client *http.Client)
- func (o *DeletePermissionSetParams) SetPermissionSetID(permissionSetID int64)
- func (o *DeletePermissionSetParams) SetTimeout(timeout time.Duration)
- func (o *DeletePermissionSetParams) WithContext(ctx context.Context) *DeletePermissionSetParams
- func (o *DeletePermissionSetParams) WithHTTPClient(client *http.Client) *DeletePermissionSetParams
- func (o *DeletePermissionSetParams) WithPermissionSetID(permissionSetID int64) *DeletePermissionSetParams
- func (o *DeletePermissionSetParams) WithTimeout(timeout time.Duration) *DeletePermissionSetParams
- func (o *DeletePermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePermissionSetReader
- type DeleteRoleBadRequest
- type DeleteRoleMethodNotAllowed
- type DeleteRoleNoContent
- type DeleteRoleNotFound
- type DeleteRoleParams
- func (o *DeleteRoleParams) SetContext(ctx context.Context)
- func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoleParams) SetRoleID(roleID int64)
- func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
- func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
- func (o *DeleteRoleParams) WithRoleID(roleID int64) *DeleteRoleParams
- func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
- func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRoleReader
- type ModelSetBadRequest
- type ModelSetNotFound
- type ModelSetOK
- type ModelSetParams
- func (o *ModelSetParams) SetContext(ctx context.Context)
- func (o *ModelSetParams) SetFields(fields *string)
- func (o *ModelSetParams) SetHTTPClient(client *http.Client)
- func (o *ModelSetParams) SetModelSetID(modelSetID int64)
- func (o *ModelSetParams) SetTimeout(timeout time.Duration)
- func (o *ModelSetParams) WithContext(ctx context.Context) *ModelSetParams
- func (o *ModelSetParams) WithFields(fields *string) *ModelSetParams
- func (o *ModelSetParams) WithHTTPClient(client *http.Client) *ModelSetParams
- func (o *ModelSetParams) WithModelSetID(modelSetID int64) *ModelSetParams
- func (o *ModelSetParams) WithTimeout(timeout time.Duration) *ModelSetParams
- func (o *ModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModelSetReader
- type PermissionSetBadRequest
- type PermissionSetNotFound
- type PermissionSetOK
- type PermissionSetParams
- func (o *PermissionSetParams) SetContext(ctx context.Context)
- func (o *PermissionSetParams) SetFields(fields *string)
- func (o *PermissionSetParams) SetHTTPClient(client *http.Client)
- func (o *PermissionSetParams) SetPermissionSetID(permissionSetID int64)
- func (o *PermissionSetParams) SetTimeout(timeout time.Duration)
- func (o *PermissionSetParams) WithContext(ctx context.Context) *PermissionSetParams
- func (o *PermissionSetParams) WithFields(fields *string) *PermissionSetParams
- func (o *PermissionSetParams) WithHTTPClient(client *http.Client) *PermissionSetParams
- func (o *PermissionSetParams) WithPermissionSetID(permissionSetID int64) *PermissionSetParams
- func (o *PermissionSetParams) WithTimeout(timeout time.Duration) *PermissionSetParams
- func (o *PermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PermissionSetReader
- type RoleBadRequest
- type RoleGroupsBadRequest
- type RoleGroupsNotFound
- type RoleGroupsOK
- type RoleGroupsParams
- func (o *RoleGroupsParams) SetContext(ctx context.Context)
- func (o *RoleGroupsParams) SetFields(fields *string)
- func (o *RoleGroupsParams) SetHTTPClient(client *http.Client)
- func (o *RoleGroupsParams) SetRoleID(roleID int64)
- func (o *RoleGroupsParams) SetTimeout(timeout time.Duration)
- func (o *RoleGroupsParams) WithContext(ctx context.Context) *RoleGroupsParams
- func (o *RoleGroupsParams) WithFields(fields *string) *RoleGroupsParams
- func (o *RoleGroupsParams) WithHTTPClient(client *http.Client) *RoleGroupsParams
- func (o *RoleGroupsParams) WithRoleID(roleID int64) *RoleGroupsParams
- func (o *RoleGroupsParams) WithTimeout(timeout time.Duration) *RoleGroupsParams
- func (o *RoleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoleGroupsReader
- type RoleNotFound
- type RoleOK
- type RoleParams
- func (o *RoleParams) SetContext(ctx context.Context)
- func (o *RoleParams) SetHTTPClient(client *http.Client)
- func (o *RoleParams) SetRoleID(roleID int64)
- func (o *RoleParams) SetTimeout(timeout time.Duration)
- func (o *RoleParams) WithContext(ctx context.Context) *RoleParams
- func (o *RoleParams) WithHTTPClient(client *http.Client) *RoleParams
- func (o *RoleParams) WithRoleID(roleID int64) *RoleParams
- func (o *RoleParams) WithTimeout(timeout time.Duration) *RoleParams
- func (o *RoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoleReader
- type RoleUsersBadRequest
- type RoleUsersNotFound
- type RoleUsersOK
- type RoleUsersParams
- func (o *RoleUsersParams) SetContext(ctx context.Context)
- func (o *RoleUsersParams) SetDirectAssociationOnly(directAssociationOnly *bool)
- func (o *RoleUsersParams) SetFields(fields *string)
- func (o *RoleUsersParams) SetHTTPClient(client *http.Client)
- func (o *RoleUsersParams) SetRoleID(roleID int64)
- func (o *RoleUsersParams) SetTimeout(timeout time.Duration)
- func (o *RoleUsersParams) WithContext(ctx context.Context) *RoleUsersParams
- func (o *RoleUsersParams) WithDirectAssociationOnly(directAssociationOnly *bool) *RoleUsersParams
- func (o *RoleUsersParams) WithFields(fields *string) *RoleUsersParams
- func (o *RoleUsersParams) WithHTTPClient(client *http.Client) *RoleUsersParams
- func (o *RoleUsersParams) WithRoleID(roleID int64) *RoleUsersParams
- func (o *RoleUsersParams) WithTimeout(timeout time.Duration) *RoleUsersParams
- func (o *RoleUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RoleUsersReader
- type SetRoleGroupsBadRequest
- type SetRoleGroupsNotFound
- type SetRoleGroupsOK
- type SetRoleGroupsParams
- func (o *SetRoleGroupsParams) SetBody(body []int64)
- func (o *SetRoleGroupsParams) SetContext(ctx context.Context)
- func (o *SetRoleGroupsParams) SetHTTPClient(client *http.Client)
- func (o *SetRoleGroupsParams) SetRoleID(roleID int64)
- func (o *SetRoleGroupsParams) SetTimeout(timeout time.Duration)
- func (o *SetRoleGroupsParams) WithBody(body []int64) *SetRoleGroupsParams
- func (o *SetRoleGroupsParams) WithContext(ctx context.Context) *SetRoleGroupsParams
- func (o *SetRoleGroupsParams) WithHTTPClient(client *http.Client) *SetRoleGroupsParams
- func (o *SetRoleGroupsParams) WithRoleID(roleID int64) *SetRoleGroupsParams
- func (o *SetRoleGroupsParams) WithTimeout(timeout time.Duration) *SetRoleGroupsParams
- func (o *SetRoleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetRoleGroupsReader
- type SetRoleGroupsUnprocessableEntity
- type SetRoleUsersBadRequest
- type SetRoleUsersForbidden
- type SetRoleUsersMethodNotAllowed
- type SetRoleUsersNotFound
- type SetRoleUsersOK
- type SetRoleUsersParams
- func (o *SetRoleUsersParams) SetBody(body []int64)
- func (o *SetRoleUsersParams) SetContext(ctx context.Context)
- func (o *SetRoleUsersParams) SetHTTPClient(client *http.Client)
- func (o *SetRoleUsersParams) SetRoleID(roleID int64)
- func (o *SetRoleUsersParams) SetTimeout(timeout time.Duration)
- func (o *SetRoleUsersParams) WithBody(body []int64) *SetRoleUsersParams
- func (o *SetRoleUsersParams) WithContext(ctx context.Context) *SetRoleUsersParams
- func (o *SetRoleUsersParams) WithHTTPClient(client *http.Client) *SetRoleUsersParams
- func (o *SetRoleUsersParams) WithRoleID(roleID int64) *SetRoleUsersParams
- func (o *SetRoleUsersParams) WithTimeout(timeout time.Duration) *SetRoleUsersParams
- func (o *SetRoleUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetRoleUsersReader
- type SetRoleUsersUnprocessableEntity
- type UpdateModelSetBadRequest
- type UpdateModelSetMethodNotAllowed
- type UpdateModelSetNotFound
- type UpdateModelSetOK
- type UpdateModelSetParams
- func NewUpdateModelSetParams() *UpdateModelSetParams
- func NewUpdateModelSetParamsWithContext(ctx context.Context) *UpdateModelSetParams
- func NewUpdateModelSetParamsWithHTTPClient(client *http.Client) *UpdateModelSetParams
- func NewUpdateModelSetParamsWithTimeout(timeout time.Duration) *UpdateModelSetParams
- func (o *UpdateModelSetParams) SetBody(body *models.ModelSet)
- func (o *UpdateModelSetParams) SetContext(ctx context.Context)
- func (o *UpdateModelSetParams) SetHTTPClient(client *http.Client)
- func (o *UpdateModelSetParams) SetModelSetID(modelSetID int64)
- func (o *UpdateModelSetParams) SetTimeout(timeout time.Duration)
- func (o *UpdateModelSetParams) WithBody(body *models.ModelSet) *UpdateModelSetParams
- func (o *UpdateModelSetParams) WithContext(ctx context.Context) *UpdateModelSetParams
- func (o *UpdateModelSetParams) WithHTTPClient(client *http.Client) *UpdateModelSetParams
- func (o *UpdateModelSetParams) WithModelSetID(modelSetID int64) *UpdateModelSetParams
- func (o *UpdateModelSetParams) WithTimeout(timeout time.Duration) *UpdateModelSetParams
- func (o *UpdateModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateModelSetReader
- type UpdateModelSetUnprocessableEntity
- type UpdatePermissionSetBadRequest
- type UpdatePermissionSetMethodNotAllowed
- type UpdatePermissionSetNotFound
- type UpdatePermissionSetOK
- type UpdatePermissionSetParams
- func NewUpdatePermissionSetParams() *UpdatePermissionSetParams
- func NewUpdatePermissionSetParamsWithContext(ctx context.Context) *UpdatePermissionSetParams
- func NewUpdatePermissionSetParamsWithHTTPClient(client *http.Client) *UpdatePermissionSetParams
- func NewUpdatePermissionSetParamsWithTimeout(timeout time.Duration) *UpdatePermissionSetParams
- func (o *UpdatePermissionSetParams) SetBody(body *models.PermissionSet)
- func (o *UpdatePermissionSetParams) SetContext(ctx context.Context)
- func (o *UpdatePermissionSetParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePermissionSetParams) SetPermissionSetID(permissionSetID int64)
- func (o *UpdatePermissionSetParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePermissionSetParams) WithBody(body *models.PermissionSet) *UpdatePermissionSetParams
- func (o *UpdatePermissionSetParams) WithContext(ctx context.Context) *UpdatePermissionSetParams
- func (o *UpdatePermissionSetParams) WithHTTPClient(client *http.Client) *UpdatePermissionSetParams
- func (o *UpdatePermissionSetParams) WithPermissionSetID(permissionSetID int64) *UpdatePermissionSetParams
- func (o *UpdatePermissionSetParams) WithTimeout(timeout time.Duration) *UpdatePermissionSetParams
- func (o *UpdatePermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePermissionSetReader
- type UpdatePermissionSetUnprocessableEntity
- type UpdateRoleBadRequest
- type UpdateRoleMethodNotAllowed
- type UpdateRoleNotFound
- type UpdateRoleOK
- type UpdateRoleParams
- func (o *UpdateRoleParams) SetBody(body *models.Role)
- func (o *UpdateRoleParams) SetContext(ctx context.Context)
- func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRoleParams) SetRoleID(roleID int64)
- func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRoleParams) WithBody(body *models.Role) *UpdateRoleParams
- func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams
- func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams
- func (o *UpdateRoleParams) WithRoleID(roleID int64) *UpdateRoleParams
- func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams
- func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRoleReader
- type UpdateRoleUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllModelSetsNotFound ¶
AllModelSetsNotFound handles this case with default header values.
Not Found
func NewAllModelSetsNotFound ¶
func NewAllModelSetsNotFound() *AllModelSetsNotFound
NewAllModelSetsNotFound creates a AllModelSetsNotFound with default headers values
func (*AllModelSetsNotFound) Error ¶
func (o *AllModelSetsNotFound) Error() string
type AllModelSetsOK ¶
AllModelSetsOK handles this case with default header values.
All model sets.
func NewAllModelSetsOK ¶
func NewAllModelSetsOK() *AllModelSetsOK
NewAllModelSetsOK creates a AllModelSetsOK with default headers values
func (*AllModelSetsOK) Error ¶
func (o *AllModelSetsOK) Error() string
type AllModelSetsParams ¶
type AllModelSetsParams struct { /*Fields Requested fields. */ Fields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllModelSetsParams contains all the parameters to send to the API endpoint for the all model sets operation typically these are written to a http.Request
func NewAllModelSetsParams ¶
func NewAllModelSetsParams() *AllModelSetsParams
NewAllModelSetsParams creates a new AllModelSetsParams object with the default values initialized.
func NewAllModelSetsParamsWithContext ¶
func NewAllModelSetsParamsWithContext(ctx context.Context) *AllModelSetsParams
NewAllModelSetsParamsWithContext creates a new AllModelSetsParams object with the default values initialized, and the ability to set a context for a request
func NewAllModelSetsParamsWithHTTPClient ¶
func NewAllModelSetsParamsWithHTTPClient(client *http.Client) *AllModelSetsParams
NewAllModelSetsParamsWithHTTPClient creates a new AllModelSetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAllModelSetsParamsWithTimeout ¶
func NewAllModelSetsParamsWithTimeout(timeout time.Duration) *AllModelSetsParams
NewAllModelSetsParamsWithTimeout creates a new AllModelSetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AllModelSetsParams) SetContext ¶
func (o *AllModelSetsParams) SetContext(ctx context.Context)
SetContext adds the context to the all model sets params
func (*AllModelSetsParams) SetFields ¶
func (o *AllModelSetsParams) SetFields(fields *string)
SetFields adds the fields to the all model sets params
func (*AllModelSetsParams) SetHTTPClient ¶
func (o *AllModelSetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the all model sets params
func (*AllModelSetsParams) SetTimeout ¶
func (o *AllModelSetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the all model sets params
func (*AllModelSetsParams) WithContext ¶
func (o *AllModelSetsParams) WithContext(ctx context.Context) *AllModelSetsParams
WithContext adds the context to the all model sets params
func (*AllModelSetsParams) WithFields ¶
func (o *AllModelSetsParams) WithFields(fields *string) *AllModelSetsParams
WithFields adds the fields to the all model sets params
func (*AllModelSetsParams) WithHTTPClient ¶
func (o *AllModelSetsParams) WithHTTPClient(client *http.Client) *AllModelSetsParams
WithHTTPClient adds the HTTPClient to the all model sets params
func (*AllModelSetsParams) WithTimeout ¶
func (o *AllModelSetsParams) WithTimeout(timeout time.Duration) *AllModelSetsParams
WithTimeout adds the timeout to the all model sets params
func (*AllModelSetsParams) WriteToRequest ¶
func (o *AllModelSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllModelSetsReader ¶
type AllModelSetsReader struct {
// contains filtered or unexported fields
}
AllModelSetsReader is a Reader for the AllModelSets structure.
func (*AllModelSetsReader) ReadResponse ¶
func (o *AllModelSetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllPermissionSetsBadRequest ¶
AllPermissionSetsBadRequest handles this case with default header values.
Bad Request
func NewAllPermissionSetsBadRequest ¶
func NewAllPermissionSetsBadRequest() *AllPermissionSetsBadRequest
NewAllPermissionSetsBadRequest creates a AllPermissionSetsBadRequest with default headers values
func (*AllPermissionSetsBadRequest) Error ¶
func (o *AllPermissionSetsBadRequest) Error() string
type AllPermissionSetsNotFound ¶
AllPermissionSetsNotFound handles this case with default header values.
Not Found
func NewAllPermissionSetsNotFound ¶
func NewAllPermissionSetsNotFound() *AllPermissionSetsNotFound
NewAllPermissionSetsNotFound creates a AllPermissionSetsNotFound with default headers values
func (*AllPermissionSetsNotFound) Error ¶
func (o *AllPermissionSetsNotFound) Error() string
type AllPermissionSetsOK ¶
type AllPermissionSetsOK struct {
Payload []*models.PermissionSet
}
AllPermissionSetsOK handles this case with default header values.
Permission Set
func NewAllPermissionSetsOK ¶
func NewAllPermissionSetsOK() *AllPermissionSetsOK
NewAllPermissionSetsOK creates a AllPermissionSetsOK with default headers values
func (*AllPermissionSetsOK) Error ¶
func (o *AllPermissionSetsOK) Error() string
type AllPermissionSetsParams ¶
type AllPermissionSetsParams struct { /*Fields Requested fields. */ Fields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllPermissionSetsParams contains all the parameters to send to the API endpoint for the all permission sets operation typically these are written to a http.Request
func NewAllPermissionSetsParams ¶
func NewAllPermissionSetsParams() *AllPermissionSetsParams
NewAllPermissionSetsParams creates a new AllPermissionSetsParams object with the default values initialized.
func NewAllPermissionSetsParamsWithContext ¶
func NewAllPermissionSetsParamsWithContext(ctx context.Context) *AllPermissionSetsParams
NewAllPermissionSetsParamsWithContext creates a new AllPermissionSetsParams object with the default values initialized, and the ability to set a context for a request
func NewAllPermissionSetsParamsWithHTTPClient ¶
func NewAllPermissionSetsParamsWithHTTPClient(client *http.Client) *AllPermissionSetsParams
NewAllPermissionSetsParamsWithHTTPClient creates a new AllPermissionSetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAllPermissionSetsParamsWithTimeout ¶
func NewAllPermissionSetsParamsWithTimeout(timeout time.Duration) *AllPermissionSetsParams
NewAllPermissionSetsParamsWithTimeout creates a new AllPermissionSetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AllPermissionSetsParams) SetContext ¶
func (o *AllPermissionSetsParams) SetContext(ctx context.Context)
SetContext adds the context to the all permission sets params
func (*AllPermissionSetsParams) SetFields ¶
func (o *AllPermissionSetsParams) SetFields(fields *string)
SetFields adds the fields to the all permission sets params
func (*AllPermissionSetsParams) SetHTTPClient ¶
func (o *AllPermissionSetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the all permission sets params
func (*AllPermissionSetsParams) SetTimeout ¶
func (o *AllPermissionSetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the all permission sets params
func (*AllPermissionSetsParams) WithContext ¶
func (o *AllPermissionSetsParams) WithContext(ctx context.Context) *AllPermissionSetsParams
WithContext adds the context to the all permission sets params
func (*AllPermissionSetsParams) WithFields ¶
func (o *AllPermissionSetsParams) WithFields(fields *string) *AllPermissionSetsParams
WithFields adds the fields to the all permission sets params
func (*AllPermissionSetsParams) WithHTTPClient ¶
func (o *AllPermissionSetsParams) WithHTTPClient(client *http.Client) *AllPermissionSetsParams
WithHTTPClient adds the HTTPClient to the all permission sets params
func (*AllPermissionSetsParams) WithTimeout ¶
func (o *AllPermissionSetsParams) WithTimeout(timeout time.Duration) *AllPermissionSetsParams
WithTimeout adds the timeout to the all permission sets params
func (*AllPermissionSetsParams) WriteToRequest ¶
func (o *AllPermissionSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllPermissionSetsReader ¶
type AllPermissionSetsReader struct {
// contains filtered or unexported fields
}
AllPermissionSetsReader is a Reader for the AllPermissionSets structure.
func (*AllPermissionSetsReader) ReadResponse ¶
func (o *AllPermissionSetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllPermissionsBadRequest ¶
AllPermissionsBadRequest handles this case with default header values.
Bad Request
func NewAllPermissionsBadRequest ¶
func NewAllPermissionsBadRequest() *AllPermissionsBadRequest
NewAllPermissionsBadRequest creates a AllPermissionsBadRequest with default headers values
func (*AllPermissionsBadRequest) Error ¶
func (o *AllPermissionsBadRequest) Error() string
type AllPermissionsNotFound ¶
AllPermissionsNotFound handles this case with default header values.
Not Found
func NewAllPermissionsNotFound ¶
func NewAllPermissionsNotFound() *AllPermissionsNotFound
NewAllPermissionsNotFound creates a AllPermissionsNotFound with default headers values
func (*AllPermissionsNotFound) Error ¶
func (o *AllPermissionsNotFound) Error() string
type AllPermissionsOK ¶
type AllPermissionsOK struct {
Payload []*models.Permission
}
AllPermissionsOK handles this case with default header values.
Permission
func NewAllPermissionsOK ¶
func NewAllPermissionsOK() *AllPermissionsOK
NewAllPermissionsOK creates a AllPermissionsOK with default headers values
func (*AllPermissionsOK) Error ¶
func (o *AllPermissionsOK) Error() string
type AllPermissionsParams ¶
type AllPermissionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllPermissionsParams contains all the parameters to send to the API endpoint for the all permissions operation typically these are written to a http.Request
func NewAllPermissionsParams ¶
func NewAllPermissionsParams() *AllPermissionsParams
NewAllPermissionsParams creates a new AllPermissionsParams object with the default values initialized.
func NewAllPermissionsParamsWithContext ¶
func NewAllPermissionsParamsWithContext(ctx context.Context) *AllPermissionsParams
NewAllPermissionsParamsWithContext creates a new AllPermissionsParams object with the default values initialized, and the ability to set a context for a request
func NewAllPermissionsParamsWithHTTPClient ¶
func NewAllPermissionsParamsWithHTTPClient(client *http.Client) *AllPermissionsParams
NewAllPermissionsParamsWithHTTPClient creates a new AllPermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAllPermissionsParamsWithTimeout ¶
func NewAllPermissionsParamsWithTimeout(timeout time.Duration) *AllPermissionsParams
NewAllPermissionsParamsWithTimeout creates a new AllPermissionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AllPermissionsParams) SetContext ¶
func (o *AllPermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the all permissions params
func (*AllPermissionsParams) SetHTTPClient ¶
func (o *AllPermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the all permissions params
func (*AllPermissionsParams) SetTimeout ¶
func (o *AllPermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the all permissions params
func (*AllPermissionsParams) WithContext ¶
func (o *AllPermissionsParams) WithContext(ctx context.Context) *AllPermissionsParams
WithContext adds the context to the all permissions params
func (*AllPermissionsParams) WithHTTPClient ¶
func (o *AllPermissionsParams) WithHTTPClient(client *http.Client) *AllPermissionsParams
WithHTTPClient adds the HTTPClient to the all permissions params
func (*AllPermissionsParams) WithTimeout ¶
func (o *AllPermissionsParams) WithTimeout(timeout time.Duration) *AllPermissionsParams
WithTimeout adds the timeout to the all permissions params
func (*AllPermissionsParams) WriteToRequest ¶
func (o *AllPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllPermissionsReader ¶
type AllPermissionsReader struct {
// contains filtered or unexported fields
}
AllPermissionsReader is a Reader for the AllPermissions structure.
func (*AllPermissionsReader) ReadResponse ¶
func (o *AllPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllRolesBadRequest ¶
AllRolesBadRequest handles this case with default header values.
Bad Request
func NewAllRolesBadRequest ¶
func NewAllRolesBadRequest() *AllRolesBadRequest
NewAllRolesBadRequest creates a AllRolesBadRequest with default headers values
func (*AllRolesBadRequest) Error ¶
func (o *AllRolesBadRequest) Error() string
type AllRolesNotFound ¶
AllRolesNotFound handles this case with default header values.
Not Found
func NewAllRolesNotFound ¶
func NewAllRolesNotFound() *AllRolesNotFound
NewAllRolesNotFound creates a AllRolesNotFound with default headers values
func (*AllRolesNotFound) Error ¶
func (o *AllRolesNotFound) Error() string
type AllRolesOK ¶
AllRolesOK handles this case with default header values.
Role
func NewAllRolesOK ¶
func NewAllRolesOK() *AllRolesOK
NewAllRolesOK creates a AllRolesOK with default headers values
func (*AllRolesOK) Error ¶
func (o *AllRolesOK) Error() string
type AllRolesParams ¶
type AllRolesParams struct { /*Fields Requested fields. */ Fields *string /*Ids Optional list of ids to get specific roles. */ Ids []int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllRolesParams contains all the parameters to send to the API endpoint for the all roles operation typically these are written to a http.Request
func NewAllRolesParams ¶
func NewAllRolesParams() *AllRolesParams
NewAllRolesParams creates a new AllRolesParams object with the default values initialized.
func NewAllRolesParamsWithContext ¶
func NewAllRolesParamsWithContext(ctx context.Context) *AllRolesParams
NewAllRolesParamsWithContext creates a new AllRolesParams object with the default values initialized, and the ability to set a context for a request
func NewAllRolesParamsWithHTTPClient ¶
func NewAllRolesParamsWithHTTPClient(client *http.Client) *AllRolesParams
NewAllRolesParamsWithHTTPClient creates a new AllRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAllRolesParamsWithTimeout ¶
func NewAllRolesParamsWithTimeout(timeout time.Duration) *AllRolesParams
NewAllRolesParamsWithTimeout creates a new AllRolesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AllRolesParams) SetContext ¶
func (o *AllRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the all roles params
func (*AllRolesParams) SetFields ¶
func (o *AllRolesParams) SetFields(fields *string)
SetFields adds the fields to the all roles params
func (*AllRolesParams) SetHTTPClient ¶
func (o *AllRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the all roles params
func (*AllRolesParams) SetIds ¶
func (o *AllRolesParams) SetIds(ids []int64)
SetIds adds the ids to the all roles params
func (*AllRolesParams) SetTimeout ¶
func (o *AllRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the all roles params
func (*AllRolesParams) WithContext ¶
func (o *AllRolesParams) WithContext(ctx context.Context) *AllRolesParams
WithContext adds the context to the all roles params
func (*AllRolesParams) WithFields ¶
func (o *AllRolesParams) WithFields(fields *string) *AllRolesParams
WithFields adds the fields to the all roles params
func (*AllRolesParams) WithHTTPClient ¶
func (o *AllRolesParams) WithHTTPClient(client *http.Client) *AllRolesParams
WithHTTPClient adds the HTTPClient to the all roles params
func (*AllRolesParams) WithIds ¶
func (o *AllRolesParams) WithIds(ids []int64) *AllRolesParams
WithIds adds the ids to the all roles params
func (*AllRolesParams) WithTimeout ¶
func (o *AllRolesParams) WithTimeout(timeout time.Duration) *AllRolesParams
WithTimeout adds the timeout to the all roles params
func (*AllRolesParams) WriteToRequest ¶
func (o *AllRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllRolesReader ¶
type AllRolesReader struct {
// contains filtered or unexported fields
}
AllRolesReader is a Reader for the AllRoles structure.
func (*AllRolesReader) ReadResponse ¶
func (o *AllRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for role API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new role API client.
func (*Client) AllModelSets ¶
func (a *Client) AllModelSets(params *AllModelSetsParams) (*AllModelSetsOK, error)
AllModelSets gets all model sets
### Get information about all model sets.
func (*Client) AllPermissionSets ¶
func (a *Client) AllPermissionSets(params *AllPermissionSetsParams) (*AllPermissionSetsOK, error)
AllPermissionSets gets all permission sets
### Get information about all permission sets.
func (*Client) AllPermissions ¶
func (a *Client) AllPermissions(params *AllPermissionsParams) (*AllPermissionsOK, error)
AllPermissions gets all permissions
### Get all supported permissions.
func (*Client) AllRoles ¶
func (a *Client) AllRoles(params *AllRolesParams) (*AllRolesOK, error)
AllRoles gets all roles
### Get information about all roles.
func (*Client) CreateModelSet ¶
func (a *Client) CreateModelSet(params *CreateModelSetParams) (*CreateModelSetOK, error)
CreateModelSet creates model set
### Create a model set with the specified information. Model sets are used by Roles.
func (*Client) CreatePermissionSet ¶
func (a *Client) CreatePermissionSet(params *CreatePermissionSetParams) (*CreatePermissionSetOK, error)
CreatePermissionSet creates permission set
### Create a permission set with the specified information. Permission sets are used by Roles.
func (*Client) CreateRole ¶
func (a *Client) CreateRole(params *CreateRoleParams) (*CreateRoleOK, error)
CreateRole creates role
### Create a role with the specified information.
func (*Client) DeleteModelSet ¶
func (a *Client) DeleteModelSet(params *DeleteModelSetParams) (*DeleteModelSetNoContent, error)
DeleteModelSet deletes model set
### Delete the model set with a specific id.
func (*Client) DeletePermissionSet ¶
func (a *Client) DeletePermissionSet(params *DeletePermissionSetParams) (*DeletePermissionSetNoContent, error)
DeletePermissionSet deletes permission set
### Delete the permission set with a specific id.
func (*Client) DeleteRole ¶
func (a *Client) DeleteRole(params *DeleteRoleParams) (*DeleteRoleNoContent, error)
DeleteRole deletes role
### Delete the role with a specific id.
func (*Client) ModelSet ¶
func (a *Client) ModelSet(params *ModelSetParams) (*ModelSetOK, error)
ModelSet gets model set
### Get information about the model set with a specific id.
func (*Client) PermissionSet ¶
func (a *Client) PermissionSet(params *PermissionSetParams) (*PermissionSetOK, error)
PermissionSet gets permission set
### Get information about the permission set with a specific id.
func (*Client) Role ¶
func (a *Client) Role(params *RoleParams) (*RoleOK, error)
Role gets role
### Get information about the role with a specific id.
func (*Client) RoleGroups ¶
func (a *Client) RoleGroups(params *RoleGroupsParams) (*RoleGroupsOK, error)
RoleGroups gets role groups
### Get information about all the groups with the role that has a specific id.
func (*Client) RoleUsers ¶
func (a *Client) RoleUsers(params *RoleUsersParams) (*RoleUsersOK, error)
RoleUsers gets role users
### Get information about all the users with the role that has a specific id.
func (*Client) SetRoleGroups ¶
func (a *Client) SetRoleGroups(params *SetRoleGroupsParams) (*SetRoleGroupsOK, error)
SetRoleGroups updates role groups
### Set all groups for a role, removing all existing group associations from that role.
func (*Client) SetRoleUsers ¶
func (a *Client) SetRoleUsers(params *SetRoleUsersParams) (*SetRoleUsersOK, error)
SetRoleUsers updates role users
### Set all the users of the role with a specific id.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateModelSet ¶
func (a *Client) UpdateModelSet(params *UpdateModelSetParams) (*UpdateModelSetOK, error)
UpdateModelSet updates model set
### Update information about the model set with a specific id.
func (*Client) UpdatePermissionSet ¶
func (a *Client) UpdatePermissionSet(params *UpdatePermissionSetParams) (*UpdatePermissionSetOK, error)
UpdatePermissionSet updates permission set
### Update information about the permission set with a specific id.
func (*Client) UpdateRole ¶
func (a *Client) UpdateRole(params *UpdateRoleParams) (*UpdateRoleOK, error)
UpdateRole updates role
### Update information about the role with a specific id.
type CreateModelSetBadRequest ¶
CreateModelSetBadRequest handles this case with default header values.
Bad Request
func NewCreateModelSetBadRequest ¶
func NewCreateModelSetBadRequest() *CreateModelSetBadRequest
NewCreateModelSetBadRequest creates a CreateModelSetBadRequest with default headers values
func (*CreateModelSetBadRequest) Error ¶
func (o *CreateModelSetBadRequest) Error() string
type CreateModelSetConflict ¶
CreateModelSetConflict handles this case with default header values.
Resource Already Exists
func NewCreateModelSetConflict ¶
func NewCreateModelSetConflict() *CreateModelSetConflict
NewCreateModelSetConflict creates a CreateModelSetConflict with default headers values
func (*CreateModelSetConflict) Error ¶
func (o *CreateModelSetConflict) Error() string
type CreateModelSetNotFound ¶
CreateModelSetNotFound handles this case with default header values.
Not Found
func NewCreateModelSetNotFound ¶
func NewCreateModelSetNotFound() *CreateModelSetNotFound
NewCreateModelSetNotFound creates a CreateModelSetNotFound with default headers values
func (*CreateModelSetNotFound) Error ¶
func (o *CreateModelSetNotFound) Error() string
type CreateModelSetOK ¶
CreateModelSetOK handles this case with default header values.
Newly created ModelSet
func NewCreateModelSetOK ¶
func NewCreateModelSetOK() *CreateModelSetOK
NewCreateModelSetOK creates a CreateModelSetOK with default headers values
func (*CreateModelSetOK) Error ¶
func (o *CreateModelSetOK) Error() string
type CreateModelSetParams ¶
type CreateModelSetParams struct { /*Body ModelSet */ Body *models.ModelSet Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateModelSetParams contains all the parameters to send to the API endpoint for the create model set operation typically these are written to a http.Request
func NewCreateModelSetParams ¶
func NewCreateModelSetParams() *CreateModelSetParams
NewCreateModelSetParams creates a new CreateModelSetParams object with the default values initialized.
func NewCreateModelSetParamsWithContext ¶
func NewCreateModelSetParamsWithContext(ctx context.Context) *CreateModelSetParams
NewCreateModelSetParamsWithContext creates a new CreateModelSetParams object with the default values initialized, and the ability to set a context for a request
func NewCreateModelSetParamsWithHTTPClient ¶
func NewCreateModelSetParamsWithHTTPClient(client *http.Client) *CreateModelSetParams
NewCreateModelSetParamsWithHTTPClient creates a new CreateModelSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateModelSetParamsWithTimeout ¶
func NewCreateModelSetParamsWithTimeout(timeout time.Duration) *CreateModelSetParams
NewCreateModelSetParamsWithTimeout creates a new CreateModelSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateModelSetParams) SetBody ¶
func (o *CreateModelSetParams) SetBody(body *models.ModelSet)
SetBody adds the body to the create model set params
func (*CreateModelSetParams) SetContext ¶
func (o *CreateModelSetParams) SetContext(ctx context.Context)
SetContext adds the context to the create model set params
func (*CreateModelSetParams) SetHTTPClient ¶
func (o *CreateModelSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create model set params
func (*CreateModelSetParams) SetTimeout ¶
func (o *CreateModelSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create model set params
func (*CreateModelSetParams) WithBody ¶
func (o *CreateModelSetParams) WithBody(body *models.ModelSet) *CreateModelSetParams
WithBody adds the body to the create model set params
func (*CreateModelSetParams) WithContext ¶
func (o *CreateModelSetParams) WithContext(ctx context.Context) *CreateModelSetParams
WithContext adds the context to the create model set params
func (*CreateModelSetParams) WithHTTPClient ¶
func (o *CreateModelSetParams) WithHTTPClient(client *http.Client) *CreateModelSetParams
WithHTTPClient adds the HTTPClient to the create model set params
func (*CreateModelSetParams) WithTimeout ¶
func (o *CreateModelSetParams) WithTimeout(timeout time.Duration) *CreateModelSetParams
WithTimeout adds the timeout to the create model set params
func (*CreateModelSetParams) WriteToRequest ¶
func (o *CreateModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateModelSetReader ¶
type CreateModelSetReader struct {
// contains filtered or unexported fields
}
CreateModelSetReader is a Reader for the CreateModelSet structure.
func (*CreateModelSetReader) ReadResponse ¶
func (o *CreateModelSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateModelSetUnprocessableEntity ¶
type CreateModelSetUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateModelSetUnprocessableEntity handles this case with default header values.
Validation Error
func NewCreateModelSetUnprocessableEntity ¶
func NewCreateModelSetUnprocessableEntity() *CreateModelSetUnprocessableEntity
NewCreateModelSetUnprocessableEntity creates a CreateModelSetUnprocessableEntity with default headers values
func (*CreateModelSetUnprocessableEntity) Error ¶
func (o *CreateModelSetUnprocessableEntity) Error() string
type CreatePermissionSetBadRequest ¶
CreatePermissionSetBadRequest handles this case with default header values.
Bad Request
func NewCreatePermissionSetBadRequest ¶
func NewCreatePermissionSetBadRequest() *CreatePermissionSetBadRequest
NewCreatePermissionSetBadRequest creates a CreatePermissionSetBadRequest with default headers values
func (*CreatePermissionSetBadRequest) Error ¶
func (o *CreatePermissionSetBadRequest) Error() string
type CreatePermissionSetConflict ¶
CreatePermissionSetConflict handles this case with default header values.
Resource Already Exists
func NewCreatePermissionSetConflict ¶
func NewCreatePermissionSetConflict() *CreatePermissionSetConflict
NewCreatePermissionSetConflict creates a CreatePermissionSetConflict with default headers values
func (*CreatePermissionSetConflict) Error ¶
func (o *CreatePermissionSetConflict) Error() string
type CreatePermissionSetNotFound ¶
CreatePermissionSetNotFound handles this case with default header values.
Not Found
func NewCreatePermissionSetNotFound ¶
func NewCreatePermissionSetNotFound() *CreatePermissionSetNotFound
NewCreatePermissionSetNotFound creates a CreatePermissionSetNotFound with default headers values
func (*CreatePermissionSetNotFound) Error ¶
func (o *CreatePermissionSetNotFound) Error() string
type CreatePermissionSetOK ¶
type CreatePermissionSetOK struct {
Payload *models.PermissionSet
}
CreatePermissionSetOK handles this case with default header values.
Permission Set
func NewCreatePermissionSetOK ¶
func NewCreatePermissionSetOK() *CreatePermissionSetOK
NewCreatePermissionSetOK creates a CreatePermissionSetOK with default headers values
func (*CreatePermissionSetOK) Error ¶
func (o *CreatePermissionSetOK) Error() string
type CreatePermissionSetParams ¶
type CreatePermissionSetParams struct { /*Body Permission Set */ Body *models.PermissionSet Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePermissionSetParams contains all the parameters to send to the API endpoint for the create permission set operation typically these are written to a http.Request
func NewCreatePermissionSetParams ¶
func NewCreatePermissionSetParams() *CreatePermissionSetParams
NewCreatePermissionSetParams creates a new CreatePermissionSetParams object with the default values initialized.
func NewCreatePermissionSetParamsWithContext ¶
func NewCreatePermissionSetParamsWithContext(ctx context.Context) *CreatePermissionSetParams
NewCreatePermissionSetParamsWithContext creates a new CreatePermissionSetParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePermissionSetParamsWithHTTPClient ¶
func NewCreatePermissionSetParamsWithHTTPClient(client *http.Client) *CreatePermissionSetParams
NewCreatePermissionSetParamsWithHTTPClient creates a new CreatePermissionSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePermissionSetParamsWithTimeout ¶
func NewCreatePermissionSetParamsWithTimeout(timeout time.Duration) *CreatePermissionSetParams
NewCreatePermissionSetParamsWithTimeout creates a new CreatePermissionSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePermissionSetParams) SetBody ¶
func (o *CreatePermissionSetParams) SetBody(body *models.PermissionSet)
SetBody adds the body to the create permission set params
func (*CreatePermissionSetParams) SetContext ¶
func (o *CreatePermissionSetParams) SetContext(ctx context.Context)
SetContext adds the context to the create permission set params
func (*CreatePermissionSetParams) SetHTTPClient ¶
func (o *CreatePermissionSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create permission set params
func (*CreatePermissionSetParams) SetTimeout ¶
func (o *CreatePermissionSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create permission set params
func (*CreatePermissionSetParams) WithBody ¶
func (o *CreatePermissionSetParams) WithBody(body *models.PermissionSet) *CreatePermissionSetParams
WithBody adds the body to the create permission set params
func (*CreatePermissionSetParams) WithContext ¶
func (o *CreatePermissionSetParams) WithContext(ctx context.Context) *CreatePermissionSetParams
WithContext adds the context to the create permission set params
func (*CreatePermissionSetParams) WithHTTPClient ¶
func (o *CreatePermissionSetParams) WithHTTPClient(client *http.Client) *CreatePermissionSetParams
WithHTTPClient adds the HTTPClient to the create permission set params
func (*CreatePermissionSetParams) WithTimeout ¶
func (o *CreatePermissionSetParams) WithTimeout(timeout time.Duration) *CreatePermissionSetParams
WithTimeout adds the timeout to the create permission set params
func (*CreatePermissionSetParams) WriteToRequest ¶
func (o *CreatePermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePermissionSetReader ¶
type CreatePermissionSetReader struct {
// contains filtered or unexported fields
}
CreatePermissionSetReader is a Reader for the CreatePermissionSet structure.
func (*CreatePermissionSetReader) ReadResponse ¶
func (o *CreatePermissionSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePermissionSetUnprocessableEntity ¶
type CreatePermissionSetUnprocessableEntity struct {
Payload *models.ValidationError
}
CreatePermissionSetUnprocessableEntity handles this case with default header values.
Validation Error
func NewCreatePermissionSetUnprocessableEntity ¶
func NewCreatePermissionSetUnprocessableEntity() *CreatePermissionSetUnprocessableEntity
NewCreatePermissionSetUnprocessableEntity creates a CreatePermissionSetUnprocessableEntity with default headers values
func (*CreatePermissionSetUnprocessableEntity) Error ¶
func (o *CreatePermissionSetUnprocessableEntity) Error() string
type CreateRoleBadRequest ¶
CreateRoleBadRequest handles this case with default header values.
Bad Request
func NewCreateRoleBadRequest ¶
func NewCreateRoleBadRequest() *CreateRoleBadRequest
NewCreateRoleBadRequest creates a CreateRoleBadRequest with default headers values
func (*CreateRoleBadRequest) Error ¶
func (o *CreateRoleBadRequest) Error() string
type CreateRoleConflict ¶
CreateRoleConflict handles this case with default header values.
Resource Already Exists
func NewCreateRoleConflict ¶
func NewCreateRoleConflict() *CreateRoleConflict
NewCreateRoleConflict creates a CreateRoleConflict with default headers values
func (*CreateRoleConflict) Error ¶
func (o *CreateRoleConflict) Error() string
type CreateRoleNotFound ¶
CreateRoleNotFound handles this case with default header values.
Not Found
func NewCreateRoleNotFound ¶
func NewCreateRoleNotFound() *CreateRoleNotFound
NewCreateRoleNotFound creates a CreateRoleNotFound with default headers values
func (*CreateRoleNotFound) Error ¶
func (o *CreateRoleNotFound) Error() string
type CreateRoleOK ¶
CreateRoleOK handles this case with default header values.
Role
func NewCreateRoleOK ¶
func NewCreateRoleOK() *CreateRoleOK
NewCreateRoleOK creates a CreateRoleOK with default headers values
func (*CreateRoleOK) Error ¶
func (o *CreateRoleOK) Error() string
type CreateRoleParams ¶
type CreateRoleParams struct { /*Body Role */ Body *models.Role Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRoleParams contains all the parameters to send to the API endpoint for the create role operation typically these are written to a http.Request
func NewCreateRoleParams ¶
func NewCreateRoleParams() *CreateRoleParams
NewCreateRoleParams creates a new CreateRoleParams object with the default values initialized.
func NewCreateRoleParamsWithContext ¶
func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams
NewCreateRoleParamsWithContext creates a new CreateRoleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRoleParamsWithHTTPClient ¶
func NewCreateRoleParamsWithHTTPClient(client *http.Client) *CreateRoleParams
NewCreateRoleParamsWithHTTPClient creates a new CreateRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRoleParamsWithTimeout ¶
func NewCreateRoleParamsWithTimeout(timeout time.Duration) *CreateRoleParams
NewCreateRoleParamsWithTimeout creates a new CreateRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRoleParams) SetBody ¶
func (o *CreateRoleParams) SetBody(body *models.Role)
SetBody adds the body to the create role params
func (*CreateRoleParams) SetContext ¶
func (o *CreateRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the create role params
func (*CreateRoleParams) SetHTTPClient ¶
func (o *CreateRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) SetTimeout ¶
func (o *CreateRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create role params
func (*CreateRoleParams) WithBody ¶
func (o *CreateRoleParams) WithBody(body *models.Role) *CreateRoleParams
WithBody adds the body to the create role params
func (*CreateRoleParams) WithContext ¶
func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams
WithContext adds the context to the create role params
func (*CreateRoleParams) WithHTTPClient ¶
func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams
WithHTTPClient adds the HTTPClient to the create role params
func (*CreateRoleParams) WithTimeout ¶
func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams
WithTimeout adds the timeout to the create role params
func (*CreateRoleParams) WriteToRequest ¶
func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRoleReader ¶
type CreateRoleReader struct {
// contains filtered or unexported fields
}
CreateRoleReader is a Reader for the CreateRole structure.
func (*CreateRoleReader) ReadResponse ¶
func (o *CreateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRoleUnprocessableEntity ¶
type CreateRoleUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateRoleUnprocessableEntity handles this case with default header values.
Validation Error
func NewCreateRoleUnprocessableEntity ¶
func NewCreateRoleUnprocessableEntity() *CreateRoleUnprocessableEntity
NewCreateRoleUnprocessableEntity creates a CreateRoleUnprocessableEntity with default headers values
func (*CreateRoleUnprocessableEntity) Error ¶
func (o *CreateRoleUnprocessableEntity) Error() string
type DeleteModelSetBadRequest ¶
DeleteModelSetBadRequest handles this case with default header values.
Bad Request
func NewDeleteModelSetBadRequest ¶
func NewDeleteModelSetBadRequest() *DeleteModelSetBadRequest
NewDeleteModelSetBadRequest creates a DeleteModelSetBadRequest with default headers values
func (*DeleteModelSetBadRequest) Error ¶
func (o *DeleteModelSetBadRequest) Error() string
type DeleteModelSetMethodNotAllowed ¶
DeleteModelSetMethodNotAllowed handles this case with default header values.
Resource Can't Be Modified
func NewDeleteModelSetMethodNotAllowed ¶
func NewDeleteModelSetMethodNotAllowed() *DeleteModelSetMethodNotAllowed
NewDeleteModelSetMethodNotAllowed creates a DeleteModelSetMethodNotAllowed with default headers values
func (*DeleteModelSetMethodNotAllowed) Error ¶
func (o *DeleteModelSetMethodNotAllowed) Error() string
type DeleteModelSetNoContent ¶
type DeleteModelSetNoContent struct {
Payload string
}
DeleteModelSetNoContent handles this case with default header values.
Model set succssfully deleted.
func NewDeleteModelSetNoContent ¶
func NewDeleteModelSetNoContent() *DeleteModelSetNoContent
NewDeleteModelSetNoContent creates a DeleteModelSetNoContent with default headers values
func (*DeleteModelSetNoContent) Error ¶
func (o *DeleteModelSetNoContent) Error() string
type DeleteModelSetNotFound ¶
DeleteModelSetNotFound handles this case with default header values.
Not Found
func NewDeleteModelSetNotFound ¶
func NewDeleteModelSetNotFound() *DeleteModelSetNotFound
NewDeleteModelSetNotFound creates a DeleteModelSetNotFound with default headers values
func (*DeleteModelSetNotFound) Error ¶
func (o *DeleteModelSetNotFound) Error() string
type DeleteModelSetParams ¶
type DeleteModelSetParams struct { /*ModelSetID id of model set */ ModelSetID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteModelSetParams contains all the parameters to send to the API endpoint for the delete model set operation typically these are written to a http.Request
func NewDeleteModelSetParams ¶
func NewDeleteModelSetParams() *DeleteModelSetParams
NewDeleteModelSetParams creates a new DeleteModelSetParams object with the default values initialized.
func NewDeleteModelSetParamsWithContext ¶
func NewDeleteModelSetParamsWithContext(ctx context.Context) *DeleteModelSetParams
NewDeleteModelSetParamsWithContext creates a new DeleteModelSetParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteModelSetParamsWithHTTPClient ¶
func NewDeleteModelSetParamsWithHTTPClient(client *http.Client) *DeleteModelSetParams
NewDeleteModelSetParamsWithHTTPClient creates a new DeleteModelSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteModelSetParamsWithTimeout ¶
func NewDeleteModelSetParamsWithTimeout(timeout time.Duration) *DeleteModelSetParams
NewDeleteModelSetParamsWithTimeout creates a new DeleteModelSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteModelSetParams) SetContext ¶
func (o *DeleteModelSetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete model set params
func (*DeleteModelSetParams) SetHTTPClient ¶
func (o *DeleteModelSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete model set params
func (*DeleteModelSetParams) SetModelSetID ¶
func (o *DeleteModelSetParams) SetModelSetID(modelSetID int64)
SetModelSetID adds the modelSetId to the delete model set params
func (*DeleteModelSetParams) SetTimeout ¶
func (o *DeleteModelSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete model set params
func (*DeleteModelSetParams) WithContext ¶
func (o *DeleteModelSetParams) WithContext(ctx context.Context) *DeleteModelSetParams
WithContext adds the context to the delete model set params
func (*DeleteModelSetParams) WithHTTPClient ¶
func (o *DeleteModelSetParams) WithHTTPClient(client *http.Client) *DeleteModelSetParams
WithHTTPClient adds the HTTPClient to the delete model set params
func (*DeleteModelSetParams) WithModelSetID ¶
func (o *DeleteModelSetParams) WithModelSetID(modelSetID int64) *DeleteModelSetParams
WithModelSetID adds the modelSetID to the delete model set params
func (*DeleteModelSetParams) WithTimeout ¶
func (o *DeleteModelSetParams) WithTimeout(timeout time.Duration) *DeleteModelSetParams
WithTimeout adds the timeout to the delete model set params
func (*DeleteModelSetParams) WriteToRequest ¶
func (o *DeleteModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteModelSetReader ¶
type DeleteModelSetReader struct {
// contains filtered or unexported fields
}
DeleteModelSetReader is a Reader for the DeleteModelSet structure.
func (*DeleteModelSetReader) ReadResponse ¶
func (o *DeleteModelSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePermissionSetBadRequest ¶
DeletePermissionSetBadRequest handles this case with default header values.
Bad Request
func NewDeletePermissionSetBadRequest ¶
func NewDeletePermissionSetBadRequest() *DeletePermissionSetBadRequest
NewDeletePermissionSetBadRequest creates a DeletePermissionSetBadRequest with default headers values
func (*DeletePermissionSetBadRequest) Error ¶
func (o *DeletePermissionSetBadRequest) Error() string
type DeletePermissionSetMethodNotAllowed ¶
DeletePermissionSetMethodNotAllowed handles this case with default header values.
Resource Can't Be Modified
func NewDeletePermissionSetMethodNotAllowed ¶
func NewDeletePermissionSetMethodNotAllowed() *DeletePermissionSetMethodNotAllowed
NewDeletePermissionSetMethodNotAllowed creates a DeletePermissionSetMethodNotAllowed with default headers values
func (*DeletePermissionSetMethodNotAllowed) Error ¶
func (o *DeletePermissionSetMethodNotAllowed) Error() string
type DeletePermissionSetNoContent ¶
type DeletePermissionSetNoContent struct {
Payload string
}
DeletePermissionSetNoContent handles this case with default header values.
Successfully deleted.
func NewDeletePermissionSetNoContent ¶
func NewDeletePermissionSetNoContent() *DeletePermissionSetNoContent
NewDeletePermissionSetNoContent creates a DeletePermissionSetNoContent with default headers values
func (*DeletePermissionSetNoContent) Error ¶
func (o *DeletePermissionSetNoContent) Error() string
type DeletePermissionSetNotFound ¶
DeletePermissionSetNotFound handles this case with default header values.
Not Found
func NewDeletePermissionSetNotFound ¶
func NewDeletePermissionSetNotFound() *DeletePermissionSetNotFound
NewDeletePermissionSetNotFound creates a DeletePermissionSetNotFound with default headers values
func (*DeletePermissionSetNotFound) Error ¶
func (o *DeletePermissionSetNotFound) Error() string
type DeletePermissionSetParams ¶
type DeletePermissionSetParams struct { /*PermissionSetID Id of permission set */ PermissionSetID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePermissionSetParams contains all the parameters to send to the API endpoint for the delete permission set operation typically these are written to a http.Request
func NewDeletePermissionSetParams ¶
func NewDeletePermissionSetParams() *DeletePermissionSetParams
NewDeletePermissionSetParams creates a new DeletePermissionSetParams object with the default values initialized.
func NewDeletePermissionSetParamsWithContext ¶
func NewDeletePermissionSetParamsWithContext(ctx context.Context) *DeletePermissionSetParams
NewDeletePermissionSetParamsWithContext creates a new DeletePermissionSetParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePermissionSetParamsWithHTTPClient ¶
func NewDeletePermissionSetParamsWithHTTPClient(client *http.Client) *DeletePermissionSetParams
NewDeletePermissionSetParamsWithHTTPClient creates a new DeletePermissionSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePermissionSetParamsWithTimeout ¶
func NewDeletePermissionSetParamsWithTimeout(timeout time.Duration) *DeletePermissionSetParams
NewDeletePermissionSetParamsWithTimeout creates a new DeletePermissionSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePermissionSetParams) SetContext ¶
func (o *DeletePermissionSetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete permission set params
func (*DeletePermissionSetParams) SetHTTPClient ¶
func (o *DeletePermissionSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete permission set params
func (*DeletePermissionSetParams) SetPermissionSetID ¶
func (o *DeletePermissionSetParams) SetPermissionSetID(permissionSetID int64)
SetPermissionSetID adds the permissionSetId to the delete permission set params
func (*DeletePermissionSetParams) SetTimeout ¶
func (o *DeletePermissionSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete permission set params
func (*DeletePermissionSetParams) WithContext ¶
func (o *DeletePermissionSetParams) WithContext(ctx context.Context) *DeletePermissionSetParams
WithContext adds the context to the delete permission set params
func (*DeletePermissionSetParams) WithHTTPClient ¶
func (o *DeletePermissionSetParams) WithHTTPClient(client *http.Client) *DeletePermissionSetParams
WithHTTPClient adds the HTTPClient to the delete permission set params
func (*DeletePermissionSetParams) WithPermissionSetID ¶
func (o *DeletePermissionSetParams) WithPermissionSetID(permissionSetID int64) *DeletePermissionSetParams
WithPermissionSetID adds the permissionSetID to the delete permission set params
func (*DeletePermissionSetParams) WithTimeout ¶
func (o *DeletePermissionSetParams) WithTimeout(timeout time.Duration) *DeletePermissionSetParams
WithTimeout adds the timeout to the delete permission set params
func (*DeletePermissionSetParams) WriteToRequest ¶
func (o *DeletePermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePermissionSetReader ¶
type DeletePermissionSetReader struct {
// contains filtered or unexported fields
}
DeletePermissionSetReader is a Reader for the DeletePermissionSet structure.
func (*DeletePermissionSetReader) ReadResponse ¶
func (o *DeletePermissionSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRoleBadRequest ¶
DeleteRoleBadRequest handles this case with default header values.
Bad Request
func NewDeleteRoleBadRequest ¶
func NewDeleteRoleBadRequest() *DeleteRoleBadRequest
NewDeleteRoleBadRequest creates a DeleteRoleBadRequest with default headers values
func (*DeleteRoleBadRequest) Error ¶
func (o *DeleteRoleBadRequest) Error() string
type DeleteRoleMethodNotAllowed ¶
DeleteRoleMethodNotAllowed handles this case with default header values.
Resource Can't Be Modified
func NewDeleteRoleMethodNotAllowed ¶
func NewDeleteRoleMethodNotAllowed() *DeleteRoleMethodNotAllowed
NewDeleteRoleMethodNotAllowed creates a DeleteRoleMethodNotAllowed with default headers values
func (*DeleteRoleMethodNotAllowed) Error ¶
func (o *DeleteRoleMethodNotAllowed) Error() string
type DeleteRoleNoContent ¶
type DeleteRoleNoContent struct {
Payload string
}
DeleteRoleNoContent handles this case with default header values.
Successfully deleted.
func NewDeleteRoleNoContent ¶
func NewDeleteRoleNoContent() *DeleteRoleNoContent
NewDeleteRoleNoContent creates a DeleteRoleNoContent with default headers values
func (*DeleteRoleNoContent) Error ¶
func (o *DeleteRoleNoContent) Error() string
type DeleteRoleNotFound ¶
DeleteRoleNotFound handles this case with default header values.
Not Found
func NewDeleteRoleNotFound ¶
func NewDeleteRoleNotFound() *DeleteRoleNotFound
NewDeleteRoleNotFound creates a DeleteRoleNotFound with default headers values
func (*DeleteRoleNotFound) Error ¶
func (o *DeleteRoleNotFound) Error() string
type DeleteRoleParams ¶
type DeleteRoleParams struct { /*RoleID id of role */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRoleParams contains all the parameters to send to the API endpoint for the delete role operation typically these are written to a http.Request
func NewDeleteRoleParams ¶
func NewDeleteRoleParams() *DeleteRoleParams
NewDeleteRoleParams creates a new DeleteRoleParams object with the default values initialized.
func NewDeleteRoleParamsWithContext ¶
func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams
NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRoleParamsWithHTTPClient ¶
func NewDeleteRoleParamsWithHTTPClient(client *http.Client) *DeleteRoleParams
NewDeleteRoleParamsWithHTTPClient creates a new DeleteRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRoleParamsWithTimeout ¶
func NewDeleteRoleParamsWithTimeout(timeout time.Duration) *DeleteRoleParams
NewDeleteRoleParamsWithTimeout creates a new DeleteRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRoleParams) SetContext ¶
func (o *DeleteRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete role params
func (*DeleteRoleParams) SetHTTPClient ¶
func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) SetRoleID ¶
func (o *DeleteRoleParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the delete role params
func (*DeleteRoleParams) SetTimeout ¶
func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WithContext ¶
func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
WithContext adds the context to the delete role params
func (*DeleteRoleParams) WithHTTPClient ¶
func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
WithHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) WithRoleID ¶
func (o *DeleteRoleParams) WithRoleID(roleID int64) *DeleteRoleParams
WithRoleID adds the roleID to the delete role params
func (*DeleteRoleParams) WithTimeout ¶
func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
WithTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WriteToRequest ¶
func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRoleReader ¶
type DeleteRoleReader struct {
// contains filtered or unexported fields
}
DeleteRoleReader is a Reader for the DeleteRole structure.
func (*DeleteRoleReader) ReadResponse ¶
func (o *DeleteRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModelSetBadRequest ¶
ModelSetBadRequest handles this case with default header values.
Bad Request
func NewModelSetBadRequest ¶
func NewModelSetBadRequest() *ModelSetBadRequest
NewModelSetBadRequest creates a ModelSetBadRequest with default headers values
func (*ModelSetBadRequest) Error ¶
func (o *ModelSetBadRequest) Error() string
type ModelSetNotFound ¶
ModelSetNotFound handles this case with default header values.
Not Found
func NewModelSetNotFound ¶
func NewModelSetNotFound() *ModelSetNotFound
NewModelSetNotFound creates a ModelSetNotFound with default headers values
func (*ModelSetNotFound) Error ¶
func (o *ModelSetNotFound) Error() string
type ModelSetOK ¶
ModelSetOK handles this case with default header values.
Specified model set.
func NewModelSetOK ¶
func NewModelSetOK() *ModelSetOK
NewModelSetOK creates a ModelSetOK with default headers values
func (*ModelSetOK) Error ¶
func (o *ModelSetOK) Error() string
type ModelSetParams ¶
type ModelSetParams struct { /*Fields Requested fields. */ Fields *string /*ModelSetID Id of model set */ ModelSetID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModelSetParams contains all the parameters to send to the API endpoint for the model set operation typically these are written to a http.Request
func NewModelSetParams ¶
func NewModelSetParams() *ModelSetParams
NewModelSetParams creates a new ModelSetParams object with the default values initialized.
func NewModelSetParamsWithContext ¶
func NewModelSetParamsWithContext(ctx context.Context) *ModelSetParams
NewModelSetParamsWithContext creates a new ModelSetParams object with the default values initialized, and the ability to set a context for a request
func NewModelSetParamsWithHTTPClient ¶
func NewModelSetParamsWithHTTPClient(client *http.Client) *ModelSetParams
NewModelSetParamsWithHTTPClient creates a new ModelSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModelSetParamsWithTimeout ¶
func NewModelSetParamsWithTimeout(timeout time.Duration) *ModelSetParams
NewModelSetParamsWithTimeout creates a new ModelSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModelSetParams) SetContext ¶
func (o *ModelSetParams) SetContext(ctx context.Context)
SetContext adds the context to the model set params
func (*ModelSetParams) SetFields ¶
func (o *ModelSetParams) SetFields(fields *string)
SetFields adds the fields to the model set params
func (*ModelSetParams) SetHTTPClient ¶
func (o *ModelSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the model set params
func (*ModelSetParams) SetModelSetID ¶
func (o *ModelSetParams) SetModelSetID(modelSetID int64)
SetModelSetID adds the modelSetId to the model set params
func (*ModelSetParams) SetTimeout ¶
func (o *ModelSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the model set params
func (*ModelSetParams) WithContext ¶
func (o *ModelSetParams) WithContext(ctx context.Context) *ModelSetParams
WithContext adds the context to the model set params
func (*ModelSetParams) WithFields ¶
func (o *ModelSetParams) WithFields(fields *string) *ModelSetParams
WithFields adds the fields to the model set params
func (*ModelSetParams) WithHTTPClient ¶
func (o *ModelSetParams) WithHTTPClient(client *http.Client) *ModelSetParams
WithHTTPClient adds the HTTPClient to the model set params
func (*ModelSetParams) WithModelSetID ¶
func (o *ModelSetParams) WithModelSetID(modelSetID int64) *ModelSetParams
WithModelSetID adds the modelSetID to the model set params
func (*ModelSetParams) WithTimeout ¶
func (o *ModelSetParams) WithTimeout(timeout time.Duration) *ModelSetParams
WithTimeout adds the timeout to the model set params
func (*ModelSetParams) WriteToRequest ¶
func (o *ModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModelSetReader ¶
type ModelSetReader struct {
// contains filtered or unexported fields
}
ModelSetReader is a Reader for the ModelSet structure.
func (*ModelSetReader) ReadResponse ¶
func (o *ModelSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PermissionSetBadRequest ¶
PermissionSetBadRequest handles this case with default header values.
Bad Request
func NewPermissionSetBadRequest ¶
func NewPermissionSetBadRequest() *PermissionSetBadRequest
NewPermissionSetBadRequest creates a PermissionSetBadRequest with default headers values
func (*PermissionSetBadRequest) Error ¶
func (o *PermissionSetBadRequest) Error() string
type PermissionSetNotFound ¶
PermissionSetNotFound handles this case with default header values.
Not Found
func NewPermissionSetNotFound ¶
func NewPermissionSetNotFound() *PermissionSetNotFound
NewPermissionSetNotFound creates a PermissionSetNotFound with default headers values
func (*PermissionSetNotFound) Error ¶
func (o *PermissionSetNotFound) Error() string
type PermissionSetOK ¶
type PermissionSetOK struct {
Payload *models.PermissionSet
}
PermissionSetOK handles this case with default header values.
Permission Set
func NewPermissionSetOK ¶
func NewPermissionSetOK() *PermissionSetOK
NewPermissionSetOK creates a PermissionSetOK with default headers values
func (*PermissionSetOK) Error ¶
func (o *PermissionSetOK) Error() string
type PermissionSetParams ¶
type PermissionSetParams struct { /*Fields Requested fields. */ Fields *string /*PermissionSetID Id of permission set */ PermissionSetID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PermissionSetParams contains all the parameters to send to the API endpoint for the permission set operation typically these are written to a http.Request
func NewPermissionSetParams ¶
func NewPermissionSetParams() *PermissionSetParams
NewPermissionSetParams creates a new PermissionSetParams object with the default values initialized.
func NewPermissionSetParamsWithContext ¶
func NewPermissionSetParamsWithContext(ctx context.Context) *PermissionSetParams
NewPermissionSetParamsWithContext creates a new PermissionSetParams object with the default values initialized, and the ability to set a context for a request
func NewPermissionSetParamsWithHTTPClient ¶
func NewPermissionSetParamsWithHTTPClient(client *http.Client) *PermissionSetParams
NewPermissionSetParamsWithHTTPClient creates a new PermissionSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPermissionSetParamsWithTimeout ¶
func NewPermissionSetParamsWithTimeout(timeout time.Duration) *PermissionSetParams
NewPermissionSetParamsWithTimeout creates a new PermissionSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PermissionSetParams) SetContext ¶
func (o *PermissionSetParams) SetContext(ctx context.Context)
SetContext adds the context to the permission set params
func (*PermissionSetParams) SetFields ¶
func (o *PermissionSetParams) SetFields(fields *string)
SetFields adds the fields to the permission set params
func (*PermissionSetParams) SetHTTPClient ¶
func (o *PermissionSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the permission set params
func (*PermissionSetParams) SetPermissionSetID ¶
func (o *PermissionSetParams) SetPermissionSetID(permissionSetID int64)
SetPermissionSetID adds the permissionSetId to the permission set params
func (*PermissionSetParams) SetTimeout ¶
func (o *PermissionSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the permission set params
func (*PermissionSetParams) WithContext ¶
func (o *PermissionSetParams) WithContext(ctx context.Context) *PermissionSetParams
WithContext adds the context to the permission set params
func (*PermissionSetParams) WithFields ¶
func (o *PermissionSetParams) WithFields(fields *string) *PermissionSetParams
WithFields adds the fields to the permission set params
func (*PermissionSetParams) WithHTTPClient ¶
func (o *PermissionSetParams) WithHTTPClient(client *http.Client) *PermissionSetParams
WithHTTPClient adds the HTTPClient to the permission set params
func (*PermissionSetParams) WithPermissionSetID ¶
func (o *PermissionSetParams) WithPermissionSetID(permissionSetID int64) *PermissionSetParams
WithPermissionSetID adds the permissionSetID to the permission set params
func (*PermissionSetParams) WithTimeout ¶
func (o *PermissionSetParams) WithTimeout(timeout time.Duration) *PermissionSetParams
WithTimeout adds the timeout to the permission set params
func (*PermissionSetParams) WriteToRequest ¶
func (o *PermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PermissionSetReader ¶
type PermissionSetReader struct {
// contains filtered or unexported fields
}
PermissionSetReader is a Reader for the PermissionSet structure.
func (*PermissionSetReader) ReadResponse ¶
func (o *PermissionSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoleBadRequest ¶
RoleBadRequest handles this case with default header values.
Bad Request
func NewRoleBadRequest ¶
func NewRoleBadRequest() *RoleBadRequest
NewRoleBadRequest creates a RoleBadRequest with default headers values
func (*RoleBadRequest) Error ¶
func (o *RoleBadRequest) Error() string
type RoleGroupsBadRequest ¶
RoleGroupsBadRequest handles this case with default header values.
Bad Request
func NewRoleGroupsBadRequest ¶
func NewRoleGroupsBadRequest() *RoleGroupsBadRequest
NewRoleGroupsBadRequest creates a RoleGroupsBadRequest with default headers values
func (*RoleGroupsBadRequest) Error ¶
func (o *RoleGroupsBadRequest) Error() string
type RoleGroupsNotFound ¶
RoleGroupsNotFound handles this case with default header values.
Not Found
func NewRoleGroupsNotFound ¶
func NewRoleGroupsNotFound() *RoleGroupsNotFound
NewRoleGroupsNotFound creates a RoleGroupsNotFound with default headers values
func (*RoleGroupsNotFound) Error ¶
func (o *RoleGroupsNotFound) Error() string
type RoleGroupsOK ¶
RoleGroupsOK handles this case with default header values.
Groups with role.
func NewRoleGroupsOK ¶
func NewRoleGroupsOK() *RoleGroupsOK
NewRoleGroupsOK creates a RoleGroupsOK with default headers values
func (*RoleGroupsOK) Error ¶
func (o *RoleGroupsOK) Error() string
type RoleGroupsParams ¶
type RoleGroupsParams struct { /*Fields Requested fields. */ Fields *string /*RoleID id of role */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoleGroupsParams contains all the parameters to send to the API endpoint for the role groups operation typically these are written to a http.Request
func NewRoleGroupsParams ¶
func NewRoleGroupsParams() *RoleGroupsParams
NewRoleGroupsParams creates a new RoleGroupsParams object with the default values initialized.
func NewRoleGroupsParamsWithContext ¶
func NewRoleGroupsParamsWithContext(ctx context.Context) *RoleGroupsParams
NewRoleGroupsParamsWithContext creates a new RoleGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewRoleGroupsParamsWithHTTPClient ¶
func NewRoleGroupsParamsWithHTTPClient(client *http.Client) *RoleGroupsParams
NewRoleGroupsParamsWithHTTPClient creates a new RoleGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRoleGroupsParamsWithTimeout ¶
func NewRoleGroupsParamsWithTimeout(timeout time.Duration) *RoleGroupsParams
NewRoleGroupsParamsWithTimeout creates a new RoleGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RoleGroupsParams) SetContext ¶
func (o *RoleGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the role groups params
func (*RoleGroupsParams) SetFields ¶
func (o *RoleGroupsParams) SetFields(fields *string)
SetFields adds the fields to the role groups params
func (*RoleGroupsParams) SetHTTPClient ¶
func (o *RoleGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the role groups params
func (*RoleGroupsParams) SetRoleID ¶
func (o *RoleGroupsParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the role groups params
func (*RoleGroupsParams) SetTimeout ¶
func (o *RoleGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the role groups params
func (*RoleGroupsParams) WithContext ¶
func (o *RoleGroupsParams) WithContext(ctx context.Context) *RoleGroupsParams
WithContext adds the context to the role groups params
func (*RoleGroupsParams) WithFields ¶
func (o *RoleGroupsParams) WithFields(fields *string) *RoleGroupsParams
WithFields adds the fields to the role groups params
func (*RoleGroupsParams) WithHTTPClient ¶
func (o *RoleGroupsParams) WithHTTPClient(client *http.Client) *RoleGroupsParams
WithHTTPClient adds the HTTPClient to the role groups params
func (*RoleGroupsParams) WithRoleID ¶
func (o *RoleGroupsParams) WithRoleID(roleID int64) *RoleGroupsParams
WithRoleID adds the roleID to the role groups params
func (*RoleGroupsParams) WithTimeout ¶
func (o *RoleGroupsParams) WithTimeout(timeout time.Duration) *RoleGroupsParams
WithTimeout adds the timeout to the role groups params
func (*RoleGroupsParams) WriteToRequest ¶
func (o *RoleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoleGroupsReader ¶
type RoleGroupsReader struct {
// contains filtered or unexported fields
}
RoleGroupsReader is a Reader for the RoleGroups structure.
func (*RoleGroupsReader) ReadResponse ¶
func (o *RoleGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoleNotFound ¶
RoleNotFound handles this case with default header values.
Not Found
func NewRoleNotFound ¶
func NewRoleNotFound() *RoleNotFound
NewRoleNotFound creates a RoleNotFound with default headers values
func (*RoleNotFound) Error ¶
func (o *RoleNotFound) Error() string
type RoleParams ¶
type RoleParams struct { /*RoleID id of role */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoleParams contains all the parameters to send to the API endpoint for the role operation typically these are written to a http.Request
func NewRoleParams ¶
func NewRoleParams() *RoleParams
NewRoleParams creates a new RoleParams object with the default values initialized.
func NewRoleParamsWithContext ¶
func NewRoleParamsWithContext(ctx context.Context) *RoleParams
NewRoleParamsWithContext creates a new RoleParams object with the default values initialized, and the ability to set a context for a request
func NewRoleParamsWithHTTPClient ¶
func NewRoleParamsWithHTTPClient(client *http.Client) *RoleParams
NewRoleParamsWithHTTPClient creates a new RoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRoleParamsWithTimeout ¶
func NewRoleParamsWithTimeout(timeout time.Duration) *RoleParams
NewRoleParamsWithTimeout creates a new RoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*RoleParams) SetContext ¶
func (o *RoleParams) SetContext(ctx context.Context)
SetContext adds the context to the role params
func (*RoleParams) SetHTTPClient ¶
func (o *RoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the role params
func (*RoleParams) SetRoleID ¶
func (o *RoleParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the role params
func (*RoleParams) SetTimeout ¶
func (o *RoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the role params
func (*RoleParams) WithContext ¶
func (o *RoleParams) WithContext(ctx context.Context) *RoleParams
WithContext adds the context to the role params
func (*RoleParams) WithHTTPClient ¶
func (o *RoleParams) WithHTTPClient(client *http.Client) *RoleParams
WithHTTPClient adds the HTTPClient to the role params
func (*RoleParams) WithRoleID ¶
func (o *RoleParams) WithRoleID(roleID int64) *RoleParams
WithRoleID adds the roleID to the role params
func (*RoleParams) WithTimeout ¶
func (o *RoleParams) WithTimeout(timeout time.Duration) *RoleParams
WithTimeout adds the timeout to the role params
func (*RoleParams) WriteToRequest ¶
func (o *RoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoleReader ¶
type RoleReader struct {
// contains filtered or unexported fields
}
RoleReader is a Reader for the Role structure.
func (*RoleReader) ReadResponse ¶
func (o *RoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RoleUsersBadRequest ¶
RoleUsersBadRequest handles this case with default header values.
Bad Request
func NewRoleUsersBadRequest ¶
func NewRoleUsersBadRequest() *RoleUsersBadRequest
NewRoleUsersBadRequest creates a RoleUsersBadRequest with default headers values
func (*RoleUsersBadRequest) Error ¶
func (o *RoleUsersBadRequest) Error() string
type RoleUsersNotFound ¶
RoleUsersNotFound handles this case with default header values.
Not Found
func NewRoleUsersNotFound ¶
func NewRoleUsersNotFound() *RoleUsersNotFound
NewRoleUsersNotFound creates a RoleUsersNotFound with default headers values
func (*RoleUsersNotFound) Error ¶
func (o *RoleUsersNotFound) Error() string
type RoleUsersOK ¶
RoleUsersOK handles this case with default header values.
Users with role.
func NewRoleUsersOK ¶
func NewRoleUsersOK() *RoleUsersOK
NewRoleUsersOK creates a RoleUsersOK with default headers values
func (*RoleUsersOK) Error ¶
func (o *RoleUsersOK) Error() string
type RoleUsersParams ¶
type RoleUsersParams struct { /*DirectAssociationOnly Get only users associated directly with the role: exclude those only associated through groups. */ DirectAssociationOnly *bool /*Fields Requested fields. */ Fields *string /*RoleID id of user */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RoleUsersParams contains all the parameters to send to the API endpoint for the role users operation typically these are written to a http.Request
func NewRoleUsersParams ¶
func NewRoleUsersParams() *RoleUsersParams
NewRoleUsersParams creates a new RoleUsersParams object with the default values initialized.
func NewRoleUsersParamsWithContext ¶
func NewRoleUsersParamsWithContext(ctx context.Context) *RoleUsersParams
NewRoleUsersParamsWithContext creates a new RoleUsersParams object with the default values initialized, and the ability to set a context for a request
func NewRoleUsersParamsWithHTTPClient ¶
func NewRoleUsersParamsWithHTTPClient(client *http.Client) *RoleUsersParams
NewRoleUsersParamsWithHTTPClient creates a new RoleUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRoleUsersParamsWithTimeout ¶
func NewRoleUsersParamsWithTimeout(timeout time.Duration) *RoleUsersParams
NewRoleUsersParamsWithTimeout creates a new RoleUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*RoleUsersParams) SetContext ¶
func (o *RoleUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the role users params
func (*RoleUsersParams) SetDirectAssociationOnly ¶
func (o *RoleUsersParams) SetDirectAssociationOnly(directAssociationOnly *bool)
SetDirectAssociationOnly adds the directAssociationOnly to the role users params
func (*RoleUsersParams) SetFields ¶
func (o *RoleUsersParams) SetFields(fields *string)
SetFields adds the fields to the role users params
func (*RoleUsersParams) SetHTTPClient ¶
func (o *RoleUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the role users params
func (*RoleUsersParams) SetRoleID ¶
func (o *RoleUsersParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the role users params
func (*RoleUsersParams) SetTimeout ¶
func (o *RoleUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the role users params
func (*RoleUsersParams) WithContext ¶
func (o *RoleUsersParams) WithContext(ctx context.Context) *RoleUsersParams
WithContext adds the context to the role users params
func (*RoleUsersParams) WithDirectAssociationOnly ¶
func (o *RoleUsersParams) WithDirectAssociationOnly(directAssociationOnly *bool) *RoleUsersParams
WithDirectAssociationOnly adds the directAssociationOnly to the role users params
func (*RoleUsersParams) WithFields ¶
func (o *RoleUsersParams) WithFields(fields *string) *RoleUsersParams
WithFields adds the fields to the role users params
func (*RoleUsersParams) WithHTTPClient ¶
func (o *RoleUsersParams) WithHTTPClient(client *http.Client) *RoleUsersParams
WithHTTPClient adds the HTTPClient to the role users params
func (*RoleUsersParams) WithRoleID ¶
func (o *RoleUsersParams) WithRoleID(roleID int64) *RoleUsersParams
WithRoleID adds the roleID to the role users params
func (*RoleUsersParams) WithTimeout ¶
func (o *RoleUsersParams) WithTimeout(timeout time.Duration) *RoleUsersParams
WithTimeout adds the timeout to the role users params
func (*RoleUsersParams) WriteToRequest ¶
func (o *RoleUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RoleUsersReader ¶
type RoleUsersReader struct {
// contains filtered or unexported fields
}
RoleUsersReader is a Reader for the RoleUsers structure.
func (*RoleUsersReader) ReadResponse ¶
func (o *RoleUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetRoleGroupsBadRequest ¶
SetRoleGroupsBadRequest handles this case with default header values.
Bad Request
func NewSetRoleGroupsBadRequest ¶
func NewSetRoleGroupsBadRequest() *SetRoleGroupsBadRequest
NewSetRoleGroupsBadRequest creates a SetRoleGroupsBadRequest with default headers values
func (*SetRoleGroupsBadRequest) Error ¶
func (o *SetRoleGroupsBadRequest) Error() string
type SetRoleGroupsNotFound ¶
SetRoleGroupsNotFound handles this case with default header values.
Not Found
func NewSetRoleGroupsNotFound ¶
func NewSetRoleGroupsNotFound() *SetRoleGroupsNotFound
NewSetRoleGroupsNotFound creates a SetRoleGroupsNotFound with default headers values
func (*SetRoleGroupsNotFound) Error ¶
func (o *SetRoleGroupsNotFound) Error() string
type SetRoleGroupsOK ¶
SetRoleGroupsOK handles this case with default header values.
Groups with role.
func NewSetRoleGroupsOK ¶
func NewSetRoleGroupsOK() *SetRoleGroupsOK
NewSetRoleGroupsOK creates a SetRoleGroupsOK with default headers values
func (*SetRoleGroupsOK) Error ¶
func (o *SetRoleGroupsOK) Error() string
type SetRoleGroupsParams ¶
type SetRoleGroupsParams struct { /*Body Array of Group Ids */ Body []int64 /*RoleID Id of Role */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetRoleGroupsParams contains all the parameters to send to the API endpoint for the set role groups operation typically these are written to a http.Request
func NewSetRoleGroupsParams ¶
func NewSetRoleGroupsParams() *SetRoleGroupsParams
NewSetRoleGroupsParams creates a new SetRoleGroupsParams object with the default values initialized.
func NewSetRoleGroupsParamsWithContext ¶
func NewSetRoleGroupsParamsWithContext(ctx context.Context) *SetRoleGroupsParams
NewSetRoleGroupsParamsWithContext creates a new SetRoleGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewSetRoleGroupsParamsWithHTTPClient ¶
func NewSetRoleGroupsParamsWithHTTPClient(client *http.Client) *SetRoleGroupsParams
NewSetRoleGroupsParamsWithHTTPClient creates a new SetRoleGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetRoleGroupsParamsWithTimeout ¶
func NewSetRoleGroupsParamsWithTimeout(timeout time.Duration) *SetRoleGroupsParams
NewSetRoleGroupsParamsWithTimeout creates a new SetRoleGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetRoleGroupsParams) SetBody ¶
func (o *SetRoleGroupsParams) SetBody(body []int64)
SetBody adds the body to the set role groups params
func (*SetRoleGroupsParams) SetContext ¶
func (o *SetRoleGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the set role groups params
func (*SetRoleGroupsParams) SetHTTPClient ¶
func (o *SetRoleGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set role groups params
func (*SetRoleGroupsParams) SetRoleID ¶
func (o *SetRoleGroupsParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the set role groups params
func (*SetRoleGroupsParams) SetTimeout ¶
func (o *SetRoleGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set role groups params
func (*SetRoleGroupsParams) WithBody ¶
func (o *SetRoleGroupsParams) WithBody(body []int64) *SetRoleGroupsParams
WithBody adds the body to the set role groups params
func (*SetRoleGroupsParams) WithContext ¶
func (o *SetRoleGroupsParams) WithContext(ctx context.Context) *SetRoleGroupsParams
WithContext adds the context to the set role groups params
func (*SetRoleGroupsParams) WithHTTPClient ¶
func (o *SetRoleGroupsParams) WithHTTPClient(client *http.Client) *SetRoleGroupsParams
WithHTTPClient adds the HTTPClient to the set role groups params
func (*SetRoleGroupsParams) WithRoleID ¶
func (o *SetRoleGroupsParams) WithRoleID(roleID int64) *SetRoleGroupsParams
WithRoleID adds the roleID to the set role groups params
func (*SetRoleGroupsParams) WithTimeout ¶
func (o *SetRoleGroupsParams) WithTimeout(timeout time.Duration) *SetRoleGroupsParams
WithTimeout adds the timeout to the set role groups params
func (*SetRoleGroupsParams) WriteToRequest ¶
func (o *SetRoleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetRoleGroupsReader ¶
type SetRoleGroupsReader struct {
// contains filtered or unexported fields
}
SetRoleGroupsReader is a Reader for the SetRoleGroups structure.
func (*SetRoleGroupsReader) ReadResponse ¶
func (o *SetRoleGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetRoleGroupsUnprocessableEntity ¶
type SetRoleGroupsUnprocessableEntity struct {
Payload *models.ValidationError
}
SetRoleGroupsUnprocessableEntity handles this case with default header values.
Validation Error
func NewSetRoleGroupsUnprocessableEntity ¶
func NewSetRoleGroupsUnprocessableEntity() *SetRoleGroupsUnprocessableEntity
NewSetRoleGroupsUnprocessableEntity creates a SetRoleGroupsUnprocessableEntity with default headers values
func (*SetRoleGroupsUnprocessableEntity) Error ¶
func (o *SetRoleGroupsUnprocessableEntity) Error() string
type SetRoleUsersBadRequest ¶
SetRoleUsersBadRequest handles this case with default header values.
Bad Request
func NewSetRoleUsersBadRequest ¶
func NewSetRoleUsersBadRequest() *SetRoleUsersBadRequest
NewSetRoleUsersBadRequest creates a SetRoleUsersBadRequest with default headers values
func (*SetRoleUsersBadRequest) Error ¶
func (o *SetRoleUsersBadRequest) Error() string
type SetRoleUsersForbidden ¶
SetRoleUsersForbidden handles this case with default header values.
Permission Denied
func NewSetRoleUsersForbidden ¶
func NewSetRoleUsersForbidden() *SetRoleUsersForbidden
NewSetRoleUsersForbidden creates a SetRoleUsersForbidden with default headers values
func (*SetRoleUsersForbidden) Error ¶
func (o *SetRoleUsersForbidden) Error() string
type SetRoleUsersMethodNotAllowed ¶
SetRoleUsersMethodNotAllowed handles this case with default header values.
Resource Can't Be Modified
func NewSetRoleUsersMethodNotAllowed ¶
func NewSetRoleUsersMethodNotAllowed() *SetRoleUsersMethodNotAllowed
NewSetRoleUsersMethodNotAllowed creates a SetRoleUsersMethodNotAllowed with default headers values
func (*SetRoleUsersMethodNotAllowed) Error ¶
func (o *SetRoleUsersMethodNotAllowed) Error() string
type SetRoleUsersNotFound ¶
SetRoleUsersNotFound handles this case with default header values.
Not Found
func NewSetRoleUsersNotFound ¶
func NewSetRoleUsersNotFound() *SetRoleUsersNotFound
NewSetRoleUsersNotFound creates a SetRoleUsersNotFound with default headers values
func (*SetRoleUsersNotFound) Error ¶
func (o *SetRoleUsersNotFound) Error() string
type SetRoleUsersOK ¶
SetRoleUsersOK handles this case with default header values.
Users with role.
func NewSetRoleUsersOK ¶
func NewSetRoleUsersOK() *SetRoleUsersOK
NewSetRoleUsersOK creates a SetRoleUsersOK with default headers values
func (*SetRoleUsersOK) Error ¶
func (o *SetRoleUsersOK) Error() string
type SetRoleUsersParams ¶
type SetRoleUsersParams struct { /*Body array of user ids for role */ Body []int64 /*RoleID id of role */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetRoleUsersParams contains all the parameters to send to the API endpoint for the set role users operation typically these are written to a http.Request
func NewSetRoleUsersParams ¶
func NewSetRoleUsersParams() *SetRoleUsersParams
NewSetRoleUsersParams creates a new SetRoleUsersParams object with the default values initialized.
func NewSetRoleUsersParamsWithContext ¶
func NewSetRoleUsersParamsWithContext(ctx context.Context) *SetRoleUsersParams
NewSetRoleUsersParamsWithContext creates a new SetRoleUsersParams object with the default values initialized, and the ability to set a context for a request
func NewSetRoleUsersParamsWithHTTPClient ¶
func NewSetRoleUsersParamsWithHTTPClient(client *http.Client) *SetRoleUsersParams
NewSetRoleUsersParamsWithHTTPClient creates a new SetRoleUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetRoleUsersParamsWithTimeout ¶
func NewSetRoleUsersParamsWithTimeout(timeout time.Duration) *SetRoleUsersParams
NewSetRoleUsersParamsWithTimeout creates a new SetRoleUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetRoleUsersParams) SetBody ¶
func (o *SetRoleUsersParams) SetBody(body []int64)
SetBody adds the body to the set role users params
func (*SetRoleUsersParams) SetContext ¶
func (o *SetRoleUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the set role users params
func (*SetRoleUsersParams) SetHTTPClient ¶
func (o *SetRoleUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set role users params
func (*SetRoleUsersParams) SetRoleID ¶
func (o *SetRoleUsersParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the set role users params
func (*SetRoleUsersParams) SetTimeout ¶
func (o *SetRoleUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set role users params
func (*SetRoleUsersParams) WithBody ¶
func (o *SetRoleUsersParams) WithBody(body []int64) *SetRoleUsersParams
WithBody adds the body to the set role users params
func (*SetRoleUsersParams) WithContext ¶
func (o *SetRoleUsersParams) WithContext(ctx context.Context) *SetRoleUsersParams
WithContext adds the context to the set role users params
func (*SetRoleUsersParams) WithHTTPClient ¶
func (o *SetRoleUsersParams) WithHTTPClient(client *http.Client) *SetRoleUsersParams
WithHTTPClient adds the HTTPClient to the set role users params
func (*SetRoleUsersParams) WithRoleID ¶
func (o *SetRoleUsersParams) WithRoleID(roleID int64) *SetRoleUsersParams
WithRoleID adds the roleID to the set role users params
func (*SetRoleUsersParams) WithTimeout ¶
func (o *SetRoleUsersParams) WithTimeout(timeout time.Duration) *SetRoleUsersParams
WithTimeout adds the timeout to the set role users params
func (*SetRoleUsersParams) WriteToRequest ¶
func (o *SetRoleUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetRoleUsersReader ¶
type SetRoleUsersReader struct {
// contains filtered or unexported fields
}
SetRoleUsersReader is a Reader for the SetRoleUsers structure.
func (*SetRoleUsersReader) ReadResponse ¶
func (o *SetRoleUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetRoleUsersUnprocessableEntity ¶
type SetRoleUsersUnprocessableEntity struct {
Payload *models.ValidationError
}
SetRoleUsersUnprocessableEntity handles this case with default header values.
Validation Error
func NewSetRoleUsersUnprocessableEntity ¶
func NewSetRoleUsersUnprocessableEntity() *SetRoleUsersUnprocessableEntity
NewSetRoleUsersUnprocessableEntity creates a SetRoleUsersUnprocessableEntity with default headers values
func (*SetRoleUsersUnprocessableEntity) Error ¶
func (o *SetRoleUsersUnprocessableEntity) Error() string
type UpdateModelSetBadRequest ¶
UpdateModelSetBadRequest handles this case with default header values.
Bad Request
func NewUpdateModelSetBadRequest ¶
func NewUpdateModelSetBadRequest() *UpdateModelSetBadRequest
NewUpdateModelSetBadRequest creates a UpdateModelSetBadRequest with default headers values
func (*UpdateModelSetBadRequest) Error ¶
func (o *UpdateModelSetBadRequest) Error() string
type UpdateModelSetMethodNotAllowed ¶
UpdateModelSetMethodNotAllowed handles this case with default header values.
Resource Can't Be Modified
func NewUpdateModelSetMethodNotAllowed ¶
func NewUpdateModelSetMethodNotAllowed() *UpdateModelSetMethodNotAllowed
NewUpdateModelSetMethodNotAllowed creates a UpdateModelSetMethodNotAllowed with default headers values
func (*UpdateModelSetMethodNotAllowed) Error ¶
func (o *UpdateModelSetMethodNotAllowed) Error() string
type UpdateModelSetNotFound ¶
UpdateModelSetNotFound handles this case with default header values.
Not Found
func NewUpdateModelSetNotFound ¶
func NewUpdateModelSetNotFound() *UpdateModelSetNotFound
NewUpdateModelSetNotFound creates a UpdateModelSetNotFound with default headers values
func (*UpdateModelSetNotFound) Error ¶
func (o *UpdateModelSetNotFound) Error() string
type UpdateModelSetOK ¶
UpdateModelSetOK handles this case with default header values.
New state for specified model set.
func NewUpdateModelSetOK ¶
func NewUpdateModelSetOK() *UpdateModelSetOK
NewUpdateModelSetOK creates a UpdateModelSetOK with default headers values
func (*UpdateModelSetOK) Error ¶
func (o *UpdateModelSetOK) Error() string
type UpdateModelSetParams ¶
type UpdateModelSetParams struct { /*Body ModelSet */ Body *models.ModelSet /*ModelSetID id of model set */ ModelSetID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateModelSetParams contains all the parameters to send to the API endpoint for the update model set operation typically these are written to a http.Request
func NewUpdateModelSetParams ¶
func NewUpdateModelSetParams() *UpdateModelSetParams
NewUpdateModelSetParams creates a new UpdateModelSetParams object with the default values initialized.
func NewUpdateModelSetParamsWithContext ¶
func NewUpdateModelSetParamsWithContext(ctx context.Context) *UpdateModelSetParams
NewUpdateModelSetParamsWithContext creates a new UpdateModelSetParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateModelSetParamsWithHTTPClient ¶
func NewUpdateModelSetParamsWithHTTPClient(client *http.Client) *UpdateModelSetParams
NewUpdateModelSetParamsWithHTTPClient creates a new UpdateModelSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateModelSetParamsWithTimeout ¶
func NewUpdateModelSetParamsWithTimeout(timeout time.Duration) *UpdateModelSetParams
NewUpdateModelSetParamsWithTimeout creates a new UpdateModelSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateModelSetParams) SetBody ¶
func (o *UpdateModelSetParams) SetBody(body *models.ModelSet)
SetBody adds the body to the update model set params
func (*UpdateModelSetParams) SetContext ¶
func (o *UpdateModelSetParams) SetContext(ctx context.Context)
SetContext adds the context to the update model set params
func (*UpdateModelSetParams) SetHTTPClient ¶
func (o *UpdateModelSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update model set params
func (*UpdateModelSetParams) SetModelSetID ¶
func (o *UpdateModelSetParams) SetModelSetID(modelSetID int64)
SetModelSetID adds the modelSetId to the update model set params
func (*UpdateModelSetParams) SetTimeout ¶
func (o *UpdateModelSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update model set params
func (*UpdateModelSetParams) WithBody ¶
func (o *UpdateModelSetParams) WithBody(body *models.ModelSet) *UpdateModelSetParams
WithBody adds the body to the update model set params
func (*UpdateModelSetParams) WithContext ¶
func (o *UpdateModelSetParams) WithContext(ctx context.Context) *UpdateModelSetParams
WithContext adds the context to the update model set params
func (*UpdateModelSetParams) WithHTTPClient ¶
func (o *UpdateModelSetParams) WithHTTPClient(client *http.Client) *UpdateModelSetParams
WithHTTPClient adds the HTTPClient to the update model set params
func (*UpdateModelSetParams) WithModelSetID ¶
func (o *UpdateModelSetParams) WithModelSetID(modelSetID int64) *UpdateModelSetParams
WithModelSetID adds the modelSetID to the update model set params
func (*UpdateModelSetParams) WithTimeout ¶
func (o *UpdateModelSetParams) WithTimeout(timeout time.Duration) *UpdateModelSetParams
WithTimeout adds the timeout to the update model set params
func (*UpdateModelSetParams) WriteToRequest ¶
func (o *UpdateModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateModelSetReader ¶
type UpdateModelSetReader struct {
// contains filtered or unexported fields
}
UpdateModelSetReader is a Reader for the UpdateModelSet structure.
func (*UpdateModelSetReader) ReadResponse ¶
func (o *UpdateModelSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateModelSetUnprocessableEntity ¶
type UpdateModelSetUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateModelSetUnprocessableEntity handles this case with default header values.
Validation Error
func NewUpdateModelSetUnprocessableEntity ¶
func NewUpdateModelSetUnprocessableEntity() *UpdateModelSetUnprocessableEntity
NewUpdateModelSetUnprocessableEntity creates a UpdateModelSetUnprocessableEntity with default headers values
func (*UpdateModelSetUnprocessableEntity) Error ¶
func (o *UpdateModelSetUnprocessableEntity) Error() string
type UpdatePermissionSetBadRequest ¶
UpdatePermissionSetBadRequest handles this case with default header values.
Bad Request
func NewUpdatePermissionSetBadRequest ¶
func NewUpdatePermissionSetBadRequest() *UpdatePermissionSetBadRequest
NewUpdatePermissionSetBadRequest creates a UpdatePermissionSetBadRequest with default headers values
func (*UpdatePermissionSetBadRequest) Error ¶
func (o *UpdatePermissionSetBadRequest) Error() string
type UpdatePermissionSetMethodNotAllowed ¶
UpdatePermissionSetMethodNotAllowed handles this case with default header values.
Resource Can't Be Modified
func NewUpdatePermissionSetMethodNotAllowed ¶
func NewUpdatePermissionSetMethodNotAllowed() *UpdatePermissionSetMethodNotAllowed
NewUpdatePermissionSetMethodNotAllowed creates a UpdatePermissionSetMethodNotAllowed with default headers values
func (*UpdatePermissionSetMethodNotAllowed) Error ¶
func (o *UpdatePermissionSetMethodNotAllowed) Error() string
type UpdatePermissionSetNotFound ¶
UpdatePermissionSetNotFound handles this case with default header values.
Not Found
func NewUpdatePermissionSetNotFound ¶
func NewUpdatePermissionSetNotFound() *UpdatePermissionSetNotFound
NewUpdatePermissionSetNotFound creates a UpdatePermissionSetNotFound with default headers values
func (*UpdatePermissionSetNotFound) Error ¶
func (o *UpdatePermissionSetNotFound) Error() string
type UpdatePermissionSetOK ¶
type UpdatePermissionSetOK struct {
Payload *models.PermissionSet
}
UpdatePermissionSetOK handles this case with default header values.
Permission Set
func NewUpdatePermissionSetOK ¶
func NewUpdatePermissionSetOK() *UpdatePermissionSetOK
NewUpdatePermissionSetOK creates a UpdatePermissionSetOK with default headers values
func (*UpdatePermissionSetOK) Error ¶
func (o *UpdatePermissionSetOK) Error() string
type UpdatePermissionSetParams ¶
type UpdatePermissionSetParams struct { /*Body Permission Set */ Body *models.PermissionSet /*PermissionSetID id of permission set */ PermissionSetID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePermissionSetParams contains all the parameters to send to the API endpoint for the update permission set operation typically these are written to a http.Request
func NewUpdatePermissionSetParams ¶
func NewUpdatePermissionSetParams() *UpdatePermissionSetParams
NewUpdatePermissionSetParams creates a new UpdatePermissionSetParams object with the default values initialized.
func NewUpdatePermissionSetParamsWithContext ¶
func NewUpdatePermissionSetParamsWithContext(ctx context.Context) *UpdatePermissionSetParams
NewUpdatePermissionSetParamsWithContext creates a new UpdatePermissionSetParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePermissionSetParamsWithHTTPClient ¶
func NewUpdatePermissionSetParamsWithHTTPClient(client *http.Client) *UpdatePermissionSetParams
NewUpdatePermissionSetParamsWithHTTPClient creates a new UpdatePermissionSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePermissionSetParamsWithTimeout ¶
func NewUpdatePermissionSetParamsWithTimeout(timeout time.Duration) *UpdatePermissionSetParams
NewUpdatePermissionSetParamsWithTimeout creates a new UpdatePermissionSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePermissionSetParams) SetBody ¶
func (o *UpdatePermissionSetParams) SetBody(body *models.PermissionSet)
SetBody adds the body to the update permission set params
func (*UpdatePermissionSetParams) SetContext ¶
func (o *UpdatePermissionSetParams) SetContext(ctx context.Context)
SetContext adds the context to the update permission set params
func (*UpdatePermissionSetParams) SetHTTPClient ¶
func (o *UpdatePermissionSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update permission set params
func (*UpdatePermissionSetParams) SetPermissionSetID ¶
func (o *UpdatePermissionSetParams) SetPermissionSetID(permissionSetID int64)
SetPermissionSetID adds the permissionSetId to the update permission set params
func (*UpdatePermissionSetParams) SetTimeout ¶
func (o *UpdatePermissionSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update permission set params
func (*UpdatePermissionSetParams) WithBody ¶
func (o *UpdatePermissionSetParams) WithBody(body *models.PermissionSet) *UpdatePermissionSetParams
WithBody adds the body to the update permission set params
func (*UpdatePermissionSetParams) WithContext ¶
func (o *UpdatePermissionSetParams) WithContext(ctx context.Context) *UpdatePermissionSetParams
WithContext adds the context to the update permission set params
func (*UpdatePermissionSetParams) WithHTTPClient ¶
func (o *UpdatePermissionSetParams) WithHTTPClient(client *http.Client) *UpdatePermissionSetParams
WithHTTPClient adds the HTTPClient to the update permission set params
func (*UpdatePermissionSetParams) WithPermissionSetID ¶
func (o *UpdatePermissionSetParams) WithPermissionSetID(permissionSetID int64) *UpdatePermissionSetParams
WithPermissionSetID adds the permissionSetID to the update permission set params
func (*UpdatePermissionSetParams) WithTimeout ¶
func (o *UpdatePermissionSetParams) WithTimeout(timeout time.Duration) *UpdatePermissionSetParams
WithTimeout adds the timeout to the update permission set params
func (*UpdatePermissionSetParams) WriteToRequest ¶
func (o *UpdatePermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePermissionSetReader ¶
type UpdatePermissionSetReader struct {
// contains filtered or unexported fields
}
UpdatePermissionSetReader is a Reader for the UpdatePermissionSet structure.
func (*UpdatePermissionSetReader) ReadResponse ¶
func (o *UpdatePermissionSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePermissionSetUnprocessableEntity ¶
type UpdatePermissionSetUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdatePermissionSetUnprocessableEntity handles this case with default header values.
Validation Error
func NewUpdatePermissionSetUnprocessableEntity ¶
func NewUpdatePermissionSetUnprocessableEntity() *UpdatePermissionSetUnprocessableEntity
NewUpdatePermissionSetUnprocessableEntity creates a UpdatePermissionSetUnprocessableEntity with default headers values
func (*UpdatePermissionSetUnprocessableEntity) Error ¶
func (o *UpdatePermissionSetUnprocessableEntity) Error() string
type UpdateRoleBadRequest ¶
UpdateRoleBadRequest handles this case with default header values.
Bad Request
func NewUpdateRoleBadRequest ¶
func NewUpdateRoleBadRequest() *UpdateRoleBadRequest
NewUpdateRoleBadRequest creates a UpdateRoleBadRequest with default headers values
func (*UpdateRoleBadRequest) Error ¶
func (o *UpdateRoleBadRequest) Error() string
type UpdateRoleMethodNotAllowed ¶
UpdateRoleMethodNotAllowed handles this case with default header values.
Resource Can't Be Modified
func NewUpdateRoleMethodNotAllowed ¶
func NewUpdateRoleMethodNotAllowed() *UpdateRoleMethodNotAllowed
NewUpdateRoleMethodNotAllowed creates a UpdateRoleMethodNotAllowed with default headers values
func (*UpdateRoleMethodNotAllowed) Error ¶
func (o *UpdateRoleMethodNotAllowed) Error() string
type UpdateRoleNotFound ¶
UpdateRoleNotFound handles this case with default header values.
Not Found
func NewUpdateRoleNotFound ¶
func NewUpdateRoleNotFound() *UpdateRoleNotFound
NewUpdateRoleNotFound creates a UpdateRoleNotFound with default headers values
func (*UpdateRoleNotFound) Error ¶
func (o *UpdateRoleNotFound) Error() string
type UpdateRoleOK ¶
UpdateRoleOK handles this case with default header values.
Role
func NewUpdateRoleOK ¶
func NewUpdateRoleOK() *UpdateRoleOK
NewUpdateRoleOK creates a UpdateRoleOK with default headers values
func (*UpdateRoleOK) Error ¶
func (o *UpdateRoleOK) Error() string
type UpdateRoleParams ¶
type UpdateRoleParams struct { /*Body Role */ Body *models.Role /*RoleID id of role */ RoleID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRoleParams contains all the parameters to send to the API endpoint for the update role operation typically these are written to a http.Request
func NewUpdateRoleParams ¶
func NewUpdateRoleParams() *UpdateRoleParams
NewUpdateRoleParams creates a new UpdateRoleParams object with the default values initialized.
func NewUpdateRoleParamsWithContext ¶
func NewUpdateRoleParamsWithContext(ctx context.Context) *UpdateRoleParams
NewUpdateRoleParamsWithContext creates a new UpdateRoleParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateRoleParamsWithHTTPClient ¶
func NewUpdateRoleParamsWithHTTPClient(client *http.Client) *UpdateRoleParams
NewUpdateRoleParamsWithHTTPClient creates a new UpdateRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateRoleParamsWithTimeout ¶
func NewUpdateRoleParamsWithTimeout(timeout time.Duration) *UpdateRoleParams
NewUpdateRoleParamsWithTimeout creates a new UpdateRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateRoleParams) SetBody ¶
func (o *UpdateRoleParams) SetBody(body *models.Role)
SetBody adds the body to the update role params
func (*UpdateRoleParams) SetContext ¶
func (o *UpdateRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the update role params
func (*UpdateRoleParams) SetHTTPClient ¶
func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update role params
func (*UpdateRoleParams) SetRoleID ¶
func (o *UpdateRoleParams) SetRoleID(roleID int64)
SetRoleID adds the roleId to the update role params
func (*UpdateRoleParams) SetTimeout ¶
func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update role params
func (*UpdateRoleParams) WithBody ¶
func (o *UpdateRoleParams) WithBody(body *models.Role) *UpdateRoleParams
WithBody adds the body to the update role params
func (*UpdateRoleParams) WithContext ¶
func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams
WithContext adds the context to the update role params
func (*UpdateRoleParams) WithHTTPClient ¶
func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams
WithHTTPClient adds the HTTPClient to the update role params
func (*UpdateRoleParams) WithRoleID ¶
func (o *UpdateRoleParams) WithRoleID(roleID int64) *UpdateRoleParams
WithRoleID adds the roleID to the update role params
func (*UpdateRoleParams) WithTimeout ¶
func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams
WithTimeout adds the timeout to the update role params
func (*UpdateRoleParams) WriteToRequest ¶
func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRoleReader ¶
type UpdateRoleReader struct {
// contains filtered or unexported fields
}
UpdateRoleReader is a Reader for the UpdateRole structure.
func (*UpdateRoleReader) ReadResponse ¶
func (o *UpdateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRoleUnprocessableEntity ¶
type UpdateRoleUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateRoleUnprocessableEntity handles this case with default header values.
Validation Error
func NewUpdateRoleUnprocessableEntity ¶
func NewUpdateRoleUnprocessableEntity() *UpdateRoleUnprocessableEntity
NewUpdateRoleUnprocessableEntity creates a UpdateRoleUnprocessableEntity with default headers values
func (*UpdateRoleUnprocessableEntity) Error ¶
func (o *UpdateRoleUnprocessableEntity) Error() string
Source Files
¶
- all_model_sets_parameters.go
- all_model_sets_responses.go
- all_permission_sets_parameters.go
- all_permission_sets_responses.go
- all_permissions_parameters.go
- all_permissions_responses.go
- all_roles_parameters.go
- all_roles_responses.go
- create_model_set_parameters.go
- create_model_set_responses.go
- create_permission_set_parameters.go
- create_permission_set_responses.go
- create_role_parameters.go
- create_role_responses.go
- delete_model_set_parameters.go
- delete_model_set_responses.go
- delete_permission_set_parameters.go
- delete_permission_set_responses.go
- delete_role_parameters.go
- delete_role_responses.go
- model_set_parameters.go
- model_set_responses.go
- permission_set_parameters.go
- permission_set_responses.go
- role_client.go
- role_groups_parameters.go
- role_groups_responses.go
- role_parameters.go
- role_responses.go
- role_users_parameters.go
- role_users_responses.go
- set_role_groups_parameters.go
- set_role_groups_responses.go
- set_role_users_parameters.go
- set_role_users_responses.go
- update_model_set_parameters.go
- update_model_set_responses.go
- update_permission_set_parameters.go
- update_permission_set_responses.go
- update_role_parameters.go
- update_role_responses.go