Documentation
¶
Index ¶
- type AllModelSetsNotFound
- type AllModelSetsOK
- type AllModelSetsParams
- func (o *AllModelSetsParams) SetContext(ctx context.Context)
- func (o *AllModelSetsParams) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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, opts ...ClientOption) (*AllModelSetsOK, error)
- func (a *Client) AllPermissionSets(params *AllPermissionSetsParams, opts ...ClientOption) (*AllPermissionSetsOK, error)
- func (a *Client) AllPermissions(params *AllPermissionsParams, opts ...ClientOption) (*AllPermissionsOK, error)
- func (a *Client) AllRoles(params *AllRolesParams, opts ...ClientOption) (*AllRolesOK, error)
- func (a *Client) CreateModelSet(params *CreateModelSetParams, opts ...ClientOption) (*CreateModelSetOK, error)
- func (a *Client) CreatePermissionSet(params *CreatePermissionSetParams, opts ...ClientOption) (*CreatePermissionSetOK, error)
- func (a *Client) CreateRole(params *CreateRoleParams, opts ...ClientOption) (*CreateRoleOK, error)
- func (a *Client) DeleteModelSet(params *DeleteModelSetParams, opts ...ClientOption) (*DeleteModelSetNoContent, error)
- func (a *Client) DeletePermissionSet(params *DeletePermissionSetParams, opts ...ClientOption) (*DeletePermissionSetNoContent, error)
- func (a *Client) DeleteRole(params *DeleteRoleParams, opts ...ClientOption) (*DeleteRoleNoContent, error)
- func (a *Client) ModelSet(params *ModelSetParams, opts ...ClientOption) (*ModelSetOK, error)
- func (a *Client) PermissionSet(params *PermissionSetParams, opts ...ClientOption) (*PermissionSetOK, error)
- func (a *Client) Role(params *RoleParams, opts ...ClientOption) (*RoleOK, error)
- func (a *Client) RoleGroups(params *RoleGroupsParams, opts ...ClientOption) (*RoleGroupsOK, error)
- func (a *Client) RoleUsers(params *RoleUsersParams, opts ...ClientOption) (*RoleUsersOK, error)
- func (a *Client) SearchModelSets(params *SearchModelSetsParams, opts ...ClientOption) (*SearchModelSetsOK, error)
- func (a *Client) SearchPermissionSets(params *SearchPermissionSetsParams, opts ...ClientOption) (*SearchPermissionSetsOK, error)
- func (a *Client) SearchRoles(params *SearchRolesParams, opts ...ClientOption) (*SearchRolesOK, error)
- func (a *Client) SetRoleGroups(params *SetRoleGroupsParams, opts ...ClientOption) (*SetRoleGroupsOK, error)
- func (a *Client) SetRoleUsers(params *SetRoleUsersParams, opts ...ClientOption) (*SetRoleUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateModelSet(params *UpdateModelSetParams, opts ...ClientOption) (*UpdateModelSetOK, error)
- func (a *Client) UpdatePermissionSet(params *UpdatePermissionSetParams, opts ...ClientOption) (*UpdatePermissionSetOK, error)
- func (a *Client) UpdateRole(params *UpdateRoleParams, opts ...ClientOption) (*UpdateRoleOK, error)
- type ClientOption
- type ClientService
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 CreatePermissionSetTooManyRequests
- 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) SetDefaults()
- 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) WithDefaults() *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 CreateRoleTooManyRequests
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 DeletePermissionSetTooManyRequests
- type DeleteRoleBadRequest
- type DeleteRoleMethodNotAllowed
- type DeleteRoleNoContent
- type DeleteRoleNotFound
- type DeleteRoleParams
- func (o *DeleteRoleParams) SetContext(ctx context.Context)
- func (o *DeleteRoleParams) SetDefaults()
- 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) WithDefaults() *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 DeleteRoleTooManyRequests
- type ModelSetBadRequest
- type ModelSetNotFound
- type ModelSetOK
- type ModelSetParams
- func (o *ModelSetParams) SetContext(ctx context.Context)
- func (o *ModelSetParams) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 SearchModelSetsBadRequest
- type SearchModelSetsNotFound
- type SearchModelSetsOK
- type SearchModelSetsParams
- func NewSearchModelSetsParams() *SearchModelSetsParams
- func NewSearchModelSetsParamsWithContext(ctx context.Context) *SearchModelSetsParams
- func NewSearchModelSetsParamsWithHTTPClient(client *http.Client) *SearchModelSetsParams
- func NewSearchModelSetsParamsWithTimeout(timeout time.Duration) *SearchModelSetsParams
- func (o *SearchModelSetsParams) SetAllAccess(allAccess *bool)
- func (o *SearchModelSetsParams) SetBuiltIn(builtIn *bool)
- func (o *SearchModelSetsParams) SetContext(ctx context.Context)
- func (o *SearchModelSetsParams) SetDefaults()
- func (o *SearchModelSetsParams) SetFields(fields *string)
- func (o *SearchModelSetsParams) SetFilterOr(filterOr *bool)
- func (o *SearchModelSetsParams) SetHTTPClient(client *http.Client)
- func (o *SearchModelSetsParams) SetID(id *int64)
- func (o *SearchModelSetsParams) SetLimit(limit *int64)
- func (o *SearchModelSetsParams) SetName(name *string)
- func (o *SearchModelSetsParams) SetOffset(offset *int64)
- func (o *SearchModelSetsParams) SetSorts(sorts *string)
- func (o *SearchModelSetsParams) SetTimeout(timeout time.Duration)
- func (o *SearchModelSetsParams) WithAllAccess(allAccess *bool) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithBuiltIn(builtIn *bool) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithContext(ctx context.Context) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithDefaults() *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithFields(fields *string) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithFilterOr(filterOr *bool) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithHTTPClient(client *http.Client) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithID(id *int64) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithLimit(limit *int64) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithName(name *string) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithOffset(offset *int64) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithSorts(sorts *string) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WithTimeout(timeout time.Duration) *SearchModelSetsParams
- func (o *SearchModelSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchModelSetsReader
- type SearchPermissionSetsBadRequest
- type SearchPermissionSetsNotFound
- type SearchPermissionSetsOK
- type SearchPermissionSetsParams
- func NewSearchPermissionSetsParams() *SearchPermissionSetsParams
- func NewSearchPermissionSetsParamsWithContext(ctx context.Context) *SearchPermissionSetsParams
- func NewSearchPermissionSetsParamsWithHTTPClient(client *http.Client) *SearchPermissionSetsParams
- func NewSearchPermissionSetsParamsWithTimeout(timeout time.Duration) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) SetAllAccess(allAccess *bool)
- func (o *SearchPermissionSetsParams) SetBuiltIn(builtIn *bool)
- func (o *SearchPermissionSetsParams) SetContext(ctx context.Context)
- func (o *SearchPermissionSetsParams) SetDefaults()
- func (o *SearchPermissionSetsParams) SetFields(fields *string)
- func (o *SearchPermissionSetsParams) SetFilterOr(filterOr *bool)
- func (o *SearchPermissionSetsParams) SetHTTPClient(client *http.Client)
- func (o *SearchPermissionSetsParams) SetID(id *int64)
- func (o *SearchPermissionSetsParams) SetLimit(limit *int64)
- func (o *SearchPermissionSetsParams) SetName(name *string)
- func (o *SearchPermissionSetsParams) SetOffset(offset *int64)
- func (o *SearchPermissionSetsParams) SetSorts(sorts *string)
- func (o *SearchPermissionSetsParams) SetTimeout(timeout time.Duration)
- func (o *SearchPermissionSetsParams) WithAllAccess(allAccess *bool) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithBuiltIn(builtIn *bool) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithContext(ctx context.Context) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithDefaults() *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithFields(fields *string) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithFilterOr(filterOr *bool) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithHTTPClient(client *http.Client) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithID(id *int64) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithLimit(limit *int64) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithName(name *string) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithOffset(offset *int64) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithSorts(sorts *string) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WithTimeout(timeout time.Duration) *SearchPermissionSetsParams
- func (o *SearchPermissionSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchPermissionSetsReader
- type SearchRolesBadRequest
- type SearchRolesNotFound
- type SearchRolesOK
- type SearchRolesParams
- func (o *SearchRolesParams) SetBuiltIn(builtIn *bool)
- func (o *SearchRolesParams) SetContext(ctx context.Context)
- func (o *SearchRolesParams) SetDefaults()
- func (o *SearchRolesParams) SetFields(fields *string)
- func (o *SearchRolesParams) SetFilterOr(filterOr *bool)
- func (o *SearchRolesParams) SetHTTPClient(client *http.Client)
- func (o *SearchRolesParams) SetID(id *int64)
- func (o *SearchRolesParams) SetLimit(limit *int64)
- func (o *SearchRolesParams) SetName(name *string)
- func (o *SearchRolesParams) SetOffset(offset *int64)
- func (o *SearchRolesParams) SetSorts(sorts *string)
- func (o *SearchRolesParams) SetTimeout(timeout time.Duration)
- func (o *SearchRolesParams) WithBuiltIn(builtIn *bool) *SearchRolesParams
- func (o *SearchRolesParams) WithContext(ctx context.Context) *SearchRolesParams
- func (o *SearchRolesParams) WithDefaults() *SearchRolesParams
- func (o *SearchRolesParams) WithFields(fields *string) *SearchRolesParams
- func (o *SearchRolesParams) WithFilterOr(filterOr *bool) *SearchRolesParams
- func (o *SearchRolesParams) WithHTTPClient(client *http.Client) *SearchRolesParams
- func (o *SearchRolesParams) WithID(id *int64) *SearchRolesParams
- func (o *SearchRolesParams) WithLimit(limit *int64) *SearchRolesParams
- func (o *SearchRolesParams) WithName(name *string) *SearchRolesParams
- func (o *SearchRolesParams) WithOffset(offset *int64) *SearchRolesParams
- func (o *SearchRolesParams) WithSorts(sorts *string) *SearchRolesParams
- func (o *SearchRolesParams) WithTimeout(timeout time.Duration) *SearchRolesParams
- func (o *SearchRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchRolesReader
- type SetRoleGroupsBadRequest
- type SetRoleGroupsNotFound
- type SetRoleGroupsOK
- type SetRoleGroupsParams
- func (o *SetRoleGroupsParams) SetBody(body []int64)
- func (o *SetRoleGroupsParams) SetContext(ctx context.Context)
- func (o *SetRoleGroupsParams) SetDefaults()
- 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) WithDefaults() *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 SetRoleGroupsTooManyRequests
- 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) SetDefaults()
- 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) WithDefaults() *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 SetRoleUsersTooManyRequests
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 UpdatePermissionSetTooManyRequests
- 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) SetDefaults()
- 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) WithDefaults() *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 UpdateRoleTooManyRequests
- type UpdateRoleUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllModelSetsNotFound ¶
AllModelSetsNotFound describes a response with status code 404, 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
func (*AllModelSetsNotFound) GetPayload ¶
func (o *AllModelSetsNotFound) GetPayload() *models.Error
type AllModelSetsOK ¶
AllModelSetsOK describes a response with status code 200, 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
func (*AllModelSetsOK) GetPayload ¶
func (o *AllModelSetsOK) GetPayload() []*models.ModelSet
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAllModelSetsParamsWithContext ¶
func NewAllModelSetsParamsWithContext(ctx context.Context) *AllModelSetsParams
NewAllModelSetsParamsWithContext creates a new AllModelSetsParams object with 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 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 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) SetDefaults ¶
func (o *AllModelSetsParams) SetDefaults()
SetDefaults hydrates default values in the all model sets params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *AllModelSetsParams) WithDefaults() *AllModelSetsParams
WithDefaults hydrates default values in the all model sets params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*AllPermissionSetsBadRequest) GetPayload ¶
func (o *AllPermissionSetsBadRequest) GetPayload() *models.Error
type AllPermissionSetsNotFound ¶
AllPermissionSetsNotFound describes a response with status code 404, 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
func (*AllPermissionSetsNotFound) GetPayload ¶
func (o *AllPermissionSetsNotFound) GetPayload() *models.Error
type AllPermissionSetsOK ¶
type AllPermissionSetsOK struct {
Payload []*models.PermissionSet
}
AllPermissionSetsOK describes a response with status code 200, 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
func (*AllPermissionSetsOK) GetPayload ¶
func (o *AllPermissionSetsOK) GetPayload() []*models.PermissionSet
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAllPermissionSetsParamsWithContext ¶
func NewAllPermissionSetsParamsWithContext(ctx context.Context) *AllPermissionSetsParams
NewAllPermissionSetsParamsWithContext creates a new AllPermissionSetsParams object with 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 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 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) SetDefaults ¶
func (o *AllPermissionSetsParams) SetDefaults()
SetDefaults hydrates default values in the all permission sets params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *AllPermissionSetsParams) WithDefaults() *AllPermissionSetsParams
WithDefaults hydrates default values in the all permission sets params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*AllPermissionsBadRequest) GetPayload ¶
func (o *AllPermissionsBadRequest) GetPayload() *models.Error
type AllPermissionsNotFound ¶
AllPermissionsNotFound describes a response with status code 404, 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
func (*AllPermissionsNotFound) GetPayload ¶
func (o *AllPermissionsNotFound) GetPayload() *models.Error
type AllPermissionsOK ¶
type AllPermissionsOK struct {
Payload []*models.Permission
}
AllPermissionsOK describes a response with status code 200, 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
func (*AllPermissionsOK) GetPayload ¶
func (o *AllPermissionsOK) GetPayload() []*models.Permission
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAllPermissionsParamsWithContext ¶
func NewAllPermissionsParamsWithContext(ctx context.Context) *AllPermissionsParams
NewAllPermissionsParamsWithContext creates a new AllPermissionsParams object with 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 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 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) SetDefaults ¶
func (o *AllPermissionsParams) SetDefaults()
SetDefaults hydrates default values in the all permissions params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *AllPermissionsParams) WithDefaults() *AllPermissionsParams
WithDefaults hydrates default values in the all permissions params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*AllRolesBadRequest) GetPayload ¶
func (o *AllRolesBadRequest) GetPayload() *models.Error
type AllRolesNotFound ¶
AllRolesNotFound describes a response with status code 404, 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
func (*AllRolesNotFound) GetPayload ¶
func (o *AllRolesNotFound) GetPayload() *models.Error
type AllRolesOK ¶
AllRolesOK describes a response with status code 200, 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
func (*AllRolesOK) GetPayload ¶
func (o *AllRolesOK) GetPayload() []*models.Role
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAllRolesParamsWithContext ¶
func NewAllRolesParamsWithContext(ctx context.Context) *AllRolesParams
NewAllRolesParamsWithContext creates a new AllRolesParams object with 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 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 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) SetDefaults ¶
func (o *AllRolesParams) SetDefaults()
SetDefaults hydrates default values in the all roles params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *AllRolesParams) WithDefaults() *AllRolesParams
WithDefaults hydrates default values in the all roles params (not the query body).
All values with no default are reset to their zero value.
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 (*Client) AllModelSets ¶
func (a *Client) AllModelSets(params *AllModelSetsParams, opts ...ClientOption) (*AllModelSetsOK, error)
AllModelSets gets all model sets
### Get information about all model sets.
func (*Client) AllPermissionSets ¶
func (a *Client) AllPermissionSets(params *AllPermissionSetsParams, opts ...ClientOption) (*AllPermissionSetsOK, error)
AllPermissionSets gets all permission sets
### Get information about all permission sets.
func (*Client) AllPermissions ¶
func (a *Client) AllPermissions(params *AllPermissionsParams, opts ...ClientOption) (*AllPermissionsOK, error)
AllPermissions gets all permissions
### Get all supported permissions.
func (*Client) AllRoles ¶
func (a *Client) AllRoles(params *AllRolesParams, opts ...ClientOption) (*AllRolesOK, error)
AllRoles gets all roles
### Get information about all roles.
func (*Client) CreateModelSet ¶
func (a *Client) CreateModelSet(params *CreateModelSetParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*CreateRoleOK, error)
CreateRole creates role
### Create a role with the specified information.
func (*Client) DeleteModelSet ¶
func (a *Client) DeleteModelSet(params *DeleteModelSetParams, opts ...ClientOption) (*DeleteModelSetNoContent, error)
DeleteModelSet deletes model set
### Delete the model set with a specific id.
func (*Client) DeletePermissionSet ¶
func (a *Client) DeletePermissionSet(params *DeletePermissionSetParams, opts ...ClientOption) (*DeletePermissionSetNoContent, error)
DeletePermissionSet deletes permission set
### Delete the permission set with a specific id.
func (*Client) DeleteRole ¶
func (a *Client) DeleteRole(params *DeleteRoleParams, opts ...ClientOption) (*DeleteRoleNoContent, error)
DeleteRole deletes role
### Delete the role with a specific id.
func (*Client) ModelSet ¶
func (a *Client) ModelSet(params *ModelSetParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*RoleOK, error)
Role gets role
### Get information about the role with a specific id.
func (*Client) RoleGroups ¶
func (a *Client) RoleGroups(params *RoleGroupsParams, opts ...ClientOption) (*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, opts ...ClientOption) (*RoleUsersOK, error)
RoleUsers gets role users
### Get information about all the users with the role that has a specific id.
func (*Client) SearchModelSets ¶
func (a *Client) SearchModelSets(params *SearchModelSetsParams, opts ...ClientOption) (*SearchModelSetsOK, error)
SearchModelSets searches model sets ### Search model sets
Returns all model set records that match the given search criteria. If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
func (*Client) SearchPermissionSets ¶
func (a *Client) SearchPermissionSets(params *SearchPermissionSetsParams, opts ...ClientOption) (*SearchPermissionSetsOK, error)
SearchPermissionSets searches permission sets ### Search permission sets
Returns all permission set records that match the given search criteria. If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
func (*Client) SearchRoles ¶
func (a *Client) SearchRoles(params *SearchRolesParams, opts ...ClientOption) (*SearchRolesOK, error)
SearchRoles searches roles ### Search roles
Returns all role records that match the given search criteria.
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
func (*Client) SetRoleGroups ¶
func (a *Client) SetRoleGroups(params *SetRoleGroupsParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*UpdateRoleOK, error)
UpdateRole updates role
### Update information about the role with a specific id.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AllModelSets(params *AllModelSetsParams, opts ...ClientOption) (*AllModelSetsOK, error) AllPermissionSets(params *AllPermissionSetsParams, opts ...ClientOption) (*AllPermissionSetsOK, error) AllPermissions(params *AllPermissionsParams, opts ...ClientOption) (*AllPermissionsOK, error) AllRoles(params *AllRolesParams, opts ...ClientOption) (*AllRolesOK, error) CreateModelSet(params *CreateModelSetParams, opts ...ClientOption) (*CreateModelSetOK, error) CreatePermissionSet(params *CreatePermissionSetParams, opts ...ClientOption) (*CreatePermissionSetOK, error) CreateRole(params *CreateRoleParams, opts ...ClientOption) (*CreateRoleOK, error) DeleteModelSet(params *DeleteModelSetParams, opts ...ClientOption) (*DeleteModelSetNoContent, error) DeletePermissionSet(params *DeletePermissionSetParams, opts ...ClientOption) (*DeletePermissionSetNoContent, error) DeleteRole(params *DeleteRoleParams, opts ...ClientOption) (*DeleteRoleNoContent, error) ModelSet(params *ModelSetParams, opts ...ClientOption) (*ModelSetOK, error) PermissionSet(params *PermissionSetParams, opts ...ClientOption) (*PermissionSetOK, error) Role(params *RoleParams, opts ...ClientOption) (*RoleOK, error) RoleGroups(params *RoleGroupsParams, opts ...ClientOption) (*RoleGroupsOK, error) RoleUsers(params *RoleUsersParams, opts ...ClientOption) (*RoleUsersOK, error) SearchModelSets(params *SearchModelSetsParams, opts ...ClientOption) (*SearchModelSetsOK, error) SearchPermissionSets(params *SearchPermissionSetsParams, opts ...ClientOption) (*SearchPermissionSetsOK, error) SearchRoles(params *SearchRolesParams, opts ...ClientOption) (*SearchRolesOK, error) SetRoleGroups(params *SetRoleGroupsParams, opts ...ClientOption) (*SetRoleGroupsOK, error) SetRoleUsers(params *SetRoleUsersParams, opts ...ClientOption) (*SetRoleUsersOK, error) UpdateModelSet(params *UpdateModelSetParams, opts ...ClientOption) (*UpdateModelSetOK, error) UpdatePermissionSet(params *UpdatePermissionSetParams, opts ...ClientOption) (*UpdatePermissionSetOK, error) UpdateRole(params *UpdateRoleParams, opts ...ClientOption) (*UpdateRoleOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new role API client.
type CreateModelSetBadRequest ¶
CreateModelSetBadRequest describes a response with status code 400, 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
func (*CreateModelSetBadRequest) GetPayload ¶
func (o *CreateModelSetBadRequest) GetPayload() *models.Error
type CreateModelSetConflict ¶
CreateModelSetConflict describes a response with status code 409, 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
func (*CreateModelSetConflict) GetPayload ¶
func (o *CreateModelSetConflict) GetPayload() *models.Error
type CreateModelSetNotFound ¶
CreateModelSetNotFound describes a response with status code 404, 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
func (*CreateModelSetNotFound) GetPayload ¶
func (o *CreateModelSetNotFound) GetPayload() *models.Error
type CreateModelSetOK ¶
CreateModelSetOK describes a response with status code 200, 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
func (*CreateModelSetOK) GetPayload ¶
func (o *CreateModelSetOK) GetPayload() *models.ModelSet
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateModelSetParamsWithContext ¶
func NewCreateModelSetParamsWithContext(ctx context.Context) *CreateModelSetParams
NewCreateModelSetParamsWithContext creates a new CreateModelSetParams object with 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 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 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) SetDefaults ¶
func (o *CreateModelSetParams) SetDefaults()
SetDefaults hydrates default values in the create model set params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *CreateModelSetParams) WithDefaults() *CreateModelSetParams
WithDefaults hydrates default values in the create model set params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 422, 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
func (*CreateModelSetUnprocessableEntity) GetPayload ¶
func (o *CreateModelSetUnprocessableEntity) GetPayload() *models.ValidationError
type CreatePermissionSetBadRequest ¶
CreatePermissionSetBadRequest describes a response with status code 400, 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
func (*CreatePermissionSetBadRequest) GetPayload ¶
func (o *CreatePermissionSetBadRequest) GetPayload() *models.Error
type CreatePermissionSetConflict ¶
CreatePermissionSetConflict describes a response with status code 409, 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
func (*CreatePermissionSetConflict) GetPayload ¶
func (o *CreatePermissionSetConflict) GetPayload() *models.Error
type CreatePermissionSetNotFound ¶
CreatePermissionSetNotFound describes a response with status code 404, 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
func (*CreatePermissionSetNotFound) GetPayload ¶
func (o *CreatePermissionSetNotFound) GetPayload() *models.Error
type CreatePermissionSetOK ¶
type CreatePermissionSetOK struct {
Payload *models.PermissionSet
}
CreatePermissionSetOK describes a response with status code 200, 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
func (*CreatePermissionSetOK) GetPayload ¶
func (o *CreatePermissionSetOK) GetPayload() *models.PermissionSet
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreatePermissionSetParamsWithContext ¶
func NewCreatePermissionSetParamsWithContext(ctx context.Context) *CreatePermissionSetParams
NewCreatePermissionSetParamsWithContext creates a new CreatePermissionSetParams object with 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 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 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) SetDefaults ¶
func (o *CreatePermissionSetParams) SetDefaults()
SetDefaults hydrates default values in the create permission set params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *CreatePermissionSetParams) WithDefaults() *CreatePermissionSetParams
WithDefaults hydrates default values in the create permission set params (not the query body).
All values with no default are reset to their zero value.
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 CreatePermissionSetTooManyRequests ¶
CreatePermissionSetTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreatePermissionSetTooManyRequests ¶
func NewCreatePermissionSetTooManyRequests() *CreatePermissionSetTooManyRequests
NewCreatePermissionSetTooManyRequests creates a CreatePermissionSetTooManyRequests with default headers values
func (*CreatePermissionSetTooManyRequests) Error ¶
func (o *CreatePermissionSetTooManyRequests) Error() string
func (*CreatePermissionSetTooManyRequests) GetPayload ¶
func (o *CreatePermissionSetTooManyRequests) GetPayload() *models.Error
type CreatePermissionSetUnprocessableEntity ¶
type CreatePermissionSetUnprocessableEntity struct {
Payload *models.ValidationError
}
CreatePermissionSetUnprocessableEntity describes a response with status code 422, 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
func (*CreatePermissionSetUnprocessableEntity) GetPayload ¶
func (o *CreatePermissionSetUnprocessableEntity) GetPayload() *models.ValidationError
type CreateRoleBadRequest ¶
CreateRoleBadRequest describes a response with status code 400, 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
func (*CreateRoleBadRequest) GetPayload ¶
func (o *CreateRoleBadRequest) GetPayload() *models.Error
type CreateRoleConflict ¶
CreateRoleConflict describes a response with status code 409, 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
func (*CreateRoleConflict) GetPayload ¶
func (o *CreateRoleConflict) GetPayload() *models.Error
type CreateRoleNotFound ¶
CreateRoleNotFound describes a response with status code 404, 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
func (*CreateRoleNotFound) GetPayload ¶
func (o *CreateRoleNotFound) GetPayload() *models.Error
type CreateRoleOK ¶
CreateRoleOK describes a response with status code 200, 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
func (*CreateRoleOK) GetPayload ¶
func (o *CreateRoleOK) GetPayload() *models.Role
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateRoleParamsWithContext ¶
func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams
NewCreateRoleParamsWithContext creates a new CreateRoleParams object with 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 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 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) SetDefaults ¶
func (o *CreateRoleParams) SetDefaults()
SetDefaults hydrates default values in the create role params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *CreateRoleParams) WithDefaults() *CreateRoleParams
WithDefaults hydrates default values in the create role params (not the query body).
All values with no default are reset to their zero value.
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 CreateRoleTooManyRequests ¶
CreateRoleTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreateRoleTooManyRequests ¶
func NewCreateRoleTooManyRequests() *CreateRoleTooManyRequests
NewCreateRoleTooManyRequests creates a CreateRoleTooManyRequests with default headers values
func (*CreateRoleTooManyRequests) Error ¶
func (o *CreateRoleTooManyRequests) Error() string
func (*CreateRoleTooManyRequests) GetPayload ¶
func (o *CreateRoleTooManyRequests) GetPayload() *models.Error
type CreateRoleUnprocessableEntity ¶
type CreateRoleUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateRoleUnprocessableEntity describes a response with status code 422, 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
func (*CreateRoleUnprocessableEntity) GetPayload ¶
func (o *CreateRoleUnprocessableEntity) GetPayload() *models.ValidationError
type DeleteModelSetBadRequest ¶
DeleteModelSetBadRequest describes a response with status code 400, 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
func (*DeleteModelSetBadRequest) GetPayload ¶
func (o *DeleteModelSetBadRequest) GetPayload() *models.Error
type DeleteModelSetMethodNotAllowed ¶
DeleteModelSetMethodNotAllowed describes a response with status code 405, 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
func (*DeleteModelSetMethodNotAllowed) GetPayload ¶
func (o *DeleteModelSetMethodNotAllowed) GetPayload() *models.Error
type DeleteModelSetNoContent ¶
type DeleteModelSetNoContent struct {
Payload string
}
DeleteModelSetNoContent describes a response with status code 204, 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
func (*DeleteModelSetNoContent) GetPayload ¶
func (o *DeleteModelSetNoContent) GetPayload() string
type DeleteModelSetNotFound ¶
DeleteModelSetNotFound describes a response with status code 404, 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
func (*DeleteModelSetNotFound) GetPayload ¶
func (o *DeleteModelSetNotFound) GetPayload() *models.Error
type DeleteModelSetParams ¶
type DeleteModelSetParams struct { /* ModelSetID. id of model set Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteModelSetParamsWithContext ¶
func NewDeleteModelSetParamsWithContext(ctx context.Context) *DeleteModelSetParams
NewDeleteModelSetParamsWithContext creates a new DeleteModelSetParams object with 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 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 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) SetDefaults ¶
func (o *DeleteModelSetParams) SetDefaults()
SetDefaults hydrates default values in the delete model set params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeleteModelSetParams) WithDefaults() *DeleteModelSetParams
WithDefaults hydrates default values in the delete model set params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*DeletePermissionSetBadRequest) GetPayload ¶
func (o *DeletePermissionSetBadRequest) GetPayload() *models.Error
type DeletePermissionSetMethodNotAllowed ¶
DeletePermissionSetMethodNotAllowed describes a response with status code 405, 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
func (*DeletePermissionSetMethodNotAllowed) GetPayload ¶
func (o *DeletePermissionSetMethodNotAllowed) GetPayload() *models.Error
type DeletePermissionSetNoContent ¶
type DeletePermissionSetNoContent struct {
Payload string
}
DeletePermissionSetNoContent describes a response with status code 204, 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
func (*DeletePermissionSetNoContent) GetPayload ¶
func (o *DeletePermissionSetNoContent) GetPayload() string
type DeletePermissionSetNotFound ¶
DeletePermissionSetNotFound describes a response with status code 404, 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
func (*DeletePermissionSetNotFound) GetPayload ¶
func (o *DeletePermissionSetNotFound) GetPayload() *models.Error
type DeletePermissionSetParams ¶
type DeletePermissionSetParams struct { /* PermissionSetID. Id of permission set Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeletePermissionSetParamsWithContext ¶
func NewDeletePermissionSetParamsWithContext(ctx context.Context) *DeletePermissionSetParams
NewDeletePermissionSetParamsWithContext creates a new DeletePermissionSetParams object with 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 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 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) SetDefaults ¶
func (o *DeletePermissionSetParams) SetDefaults()
SetDefaults hydrates default values in the delete permission set params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeletePermissionSetParams) WithDefaults() *DeletePermissionSetParams
WithDefaults hydrates default values in the delete permission set params (not the query body).
All values with no default are reset to their zero value.
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 DeletePermissionSetTooManyRequests ¶
DeletePermissionSetTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeletePermissionSetTooManyRequests ¶
func NewDeletePermissionSetTooManyRequests() *DeletePermissionSetTooManyRequests
NewDeletePermissionSetTooManyRequests creates a DeletePermissionSetTooManyRequests with default headers values
func (*DeletePermissionSetTooManyRequests) Error ¶
func (o *DeletePermissionSetTooManyRequests) Error() string
func (*DeletePermissionSetTooManyRequests) GetPayload ¶
func (o *DeletePermissionSetTooManyRequests) GetPayload() *models.Error
type DeleteRoleBadRequest ¶
DeleteRoleBadRequest describes a response with status code 400, 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
func (*DeleteRoleBadRequest) GetPayload ¶
func (o *DeleteRoleBadRequest) GetPayload() *models.Error
type DeleteRoleMethodNotAllowed ¶
DeleteRoleMethodNotAllowed describes a response with status code 405, 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
func (*DeleteRoleMethodNotAllowed) GetPayload ¶
func (o *DeleteRoleMethodNotAllowed) GetPayload() *models.Error
type DeleteRoleNoContent ¶
type DeleteRoleNoContent struct {
Payload string
}
DeleteRoleNoContent describes a response with status code 204, 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
func (*DeleteRoleNoContent) GetPayload ¶
func (o *DeleteRoleNoContent) GetPayload() string
type DeleteRoleNotFound ¶
DeleteRoleNotFound describes a response with status code 404, 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
func (*DeleteRoleNotFound) GetPayload ¶
func (o *DeleteRoleNotFound) GetPayload() *models.Error
type DeleteRoleParams ¶
type DeleteRoleParams struct { /* RoleID. id of role Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteRoleParamsWithContext ¶
func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams
NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with 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 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 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) SetDefaults ¶
func (o *DeleteRoleParams) SetDefaults()
SetDefaults hydrates default values in the delete role params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeleteRoleParams) WithDefaults() *DeleteRoleParams
WithDefaults hydrates default values in the delete role params (not the query body).
All values with no default are reset to their zero value.
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 DeleteRoleTooManyRequests ¶
DeleteRoleTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeleteRoleTooManyRequests ¶
func NewDeleteRoleTooManyRequests() *DeleteRoleTooManyRequests
NewDeleteRoleTooManyRequests creates a DeleteRoleTooManyRequests with default headers values
func (*DeleteRoleTooManyRequests) Error ¶
func (o *DeleteRoleTooManyRequests) Error() string
func (*DeleteRoleTooManyRequests) GetPayload ¶
func (o *DeleteRoleTooManyRequests) GetPayload() *models.Error
type ModelSetBadRequest ¶
ModelSetBadRequest describes a response with status code 400, 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
func (*ModelSetBadRequest) GetPayload ¶
func (o *ModelSetBadRequest) GetPayload() *models.Error
type ModelSetNotFound ¶
ModelSetNotFound describes a response with status code 404, 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
func (*ModelSetNotFound) GetPayload ¶
func (o *ModelSetNotFound) GetPayload() *models.Error
type ModelSetOK ¶
ModelSetOK describes a response with status code 200, 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
func (*ModelSetOK) GetPayload ¶
func (o *ModelSetOK) GetPayload() *models.ModelSet
type ModelSetParams ¶
type ModelSetParams struct { /* Fields. Requested fields. */ Fields *string /* ModelSetID. Id of model set Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewModelSetParamsWithContext ¶
func NewModelSetParamsWithContext(ctx context.Context) *ModelSetParams
NewModelSetParamsWithContext creates a new ModelSetParams object with 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 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 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) SetDefaults ¶
func (o *ModelSetParams) SetDefaults()
SetDefaults hydrates default values in the model set params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *ModelSetParams) WithDefaults() *ModelSetParams
WithDefaults hydrates default values in the model set params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*PermissionSetBadRequest) GetPayload ¶
func (o *PermissionSetBadRequest) GetPayload() *models.Error
type PermissionSetNotFound ¶
PermissionSetNotFound describes a response with status code 404, 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
func (*PermissionSetNotFound) GetPayload ¶
func (o *PermissionSetNotFound) GetPayload() *models.Error
type PermissionSetOK ¶
type PermissionSetOK struct {
Payload *models.PermissionSet
}
PermissionSetOK describes a response with status code 200, 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
func (*PermissionSetOK) GetPayload ¶
func (o *PermissionSetOK) GetPayload() *models.PermissionSet
type PermissionSetParams ¶
type PermissionSetParams struct { /* Fields. Requested fields. */ Fields *string /* PermissionSetID. Id of permission set Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPermissionSetParamsWithContext ¶
func NewPermissionSetParamsWithContext(ctx context.Context) *PermissionSetParams
NewPermissionSetParamsWithContext creates a new PermissionSetParams object with 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 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 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) SetDefaults ¶
func (o *PermissionSetParams) SetDefaults()
SetDefaults hydrates default values in the permission set params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *PermissionSetParams) WithDefaults() *PermissionSetParams
WithDefaults hydrates default values in the permission set params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*RoleBadRequest) GetPayload ¶
func (o *RoleBadRequest) GetPayload() *models.Error
type RoleGroupsBadRequest ¶
RoleGroupsBadRequest describes a response with status code 400, 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
func (*RoleGroupsBadRequest) GetPayload ¶
func (o *RoleGroupsBadRequest) GetPayload() *models.Error
type RoleGroupsNotFound ¶
RoleGroupsNotFound describes a response with status code 404, 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
func (*RoleGroupsNotFound) GetPayload ¶
func (o *RoleGroupsNotFound) GetPayload() *models.Error
type RoleGroupsOK ¶
RoleGroupsOK describes a response with status code 200, 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
func (*RoleGroupsOK) GetPayload ¶
func (o *RoleGroupsOK) GetPayload() []*models.Group
type RoleGroupsParams ¶
type RoleGroupsParams struct { /* Fields. Requested fields. */ Fields *string /* RoleID. id of role Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRoleGroupsParamsWithContext ¶
func NewRoleGroupsParamsWithContext(ctx context.Context) *RoleGroupsParams
NewRoleGroupsParamsWithContext creates a new RoleGroupsParams object with 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 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 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) SetDefaults ¶
func (o *RoleGroupsParams) SetDefaults()
SetDefaults hydrates default values in the role groups params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *RoleGroupsParams) WithDefaults() *RoleGroupsParams
WithDefaults hydrates default values in the role groups params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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
func (*RoleNotFound) GetPayload ¶
func (o *RoleNotFound) GetPayload() *models.Error
type RoleOK ¶
RoleOK describes a response with status code 200, with default header values.
Role
func (*RoleOK) GetPayload ¶
type RoleParams ¶
type RoleParams struct { /* RoleID. id of role Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRoleParamsWithContext ¶
func NewRoleParamsWithContext(ctx context.Context) *RoleParams
NewRoleParamsWithContext creates a new RoleParams object with 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 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 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) SetDefaults ¶
func (o *RoleParams) SetDefaults()
SetDefaults hydrates default values in the role params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *RoleParams) WithDefaults() *RoleParams
WithDefaults hydrates default values in the role params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*RoleUsersBadRequest) GetPayload ¶
func (o *RoleUsersBadRequest) GetPayload() *models.Error
type RoleUsersNotFound ¶
RoleUsersNotFound describes a response with status code 404, 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
func (*RoleUsersNotFound) GetPayload ¶
func (o *RoleUsersNotFound) GetPayload() *models.Error
type RoleUsersOK ¶
RoleUsersOK describes a response with status code 200, 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
func (*RoleUsersOK) GetPayload ¶
func (o *RoleUsersOK) GetPayload() []*models.User
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 Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRoleUsersParamsWithContext ¶
func NewRoleUsersParamsWithContext(ctx context.Context) *RoleUsersParams
NewRoleUsersParamsWithContext creates a new RoleUsersParams object with 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 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 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) SetDefaults ¶
func (o *RoleUsersParams) SetDefaults()
SetDefaults hydrates default values in the role users params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *RoleUsersParams) WithDefaults() *RoleUsersParams
WithDefaults hydrates default values in the role users params (not the query body).
All values with no default are reset to their zero value.
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 SearchModelSetsBadRequest ¶
SearchModelSetsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSearchModelSetsBadRequest ¶
func NewSearchModelSetsBadRequest() *SearchModelSetsBadRequest
NewSearchModelSetsBadRequest creates a SearchModelSetsBadRequest with default headers values
func (*SearchModelSetsBadRequest) Error ¶
func (o *SearchModelSetsBadRequest) Error() string
func (*SearchModelSetsBadRequest) GetPayload ¶
func (o *SearchModelSetsBadRequest) GetPayload() *models.Error
type SearchModelSetsNotFound ¶
SearchModelSetsNotFound describes a response with status code 404, with default header values.
Not Found
func NewSearchModelSetsNotFound ¶
func NewSearchModelSetsNotFound() *SearchModelSetsNotFound
NewSearchModelSetsNotFound creates a SearchModelSetsNotFound with default headers values
func (*SearchModelSetsNotFound) Error ¶
func (o *SearchModelSetsNotFound) Error() string
func (*SearchModelSetsNotFound) GetPayload ¶
func (o *SearchModelSetsNotFound) GetPayload() *models.Error
type SearchModelSetsOK ¶
SearchModelSetsOK describes a response with status code 200, with default header values.
Model Set
func NewSearchModelSetsOK ¶
func NewSearchModelSetsOK() *SearchModelSetsOK
NewSearchModelSetsOK creates a SearchModelSetsOK with default headers values
func (*SearchModelSetsOK) Error ¶
func (o *SearchModelSetsOK) Error() string
func (*SearchModelSetsOK) GetPayload ¶
func (o *SearchModelSetsOK) GetPayload() []*models.ModelSet
type SearchModelSetsParams ¶
type SearchModelSetsParams struct { /* AllAccess. Match model sets by all_access status. */ AllAccess *bool /* BuiltIn. Match model sets by built_in status. */ BuiltIn *bool /* Fields. Requested fields. */ Fields *string /* FilterOr. Combine given search criteria in a boolean OR expression. */ FilterOr *bool /* ID. Match model set id. Format: int64 */ ID *int64 /* Limit. Number of results to return (used with `offset`). Format: int64 */ Limit *int64 /* Name. Match model set name. */ Name *string /* Offset. Number of results to skip before returning any (used with `limit`). Format: int64 */ Offset *int64 /* Sorts. Fields to sort by. */ Sorts *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchModelSetsParams contains all the parameters to send to the API endpoint
for the search model sets operation. Typically these are written to a http.Request.
func NewSearchModelSetsParams ¶
func NewSearchModelSetsParams() *SearchModelSetsParams
NewSearchModelSetsParams creates a new SearchModelSetsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchModelSetsParamsWithContext ¶
func NewSearchModelSetsParamsWithContext(ctx context.Context) *SearchModelSetsParams
NewSearchModelSetsParamsWithContext creates a new SearchModelSetsParams object with the ability to set a context for a request.
func NewSearchModelSetsParamsWithHTTPClient ¶
func NewSearchModelSetsParamsWithHTTPClient(client *http.Client) *SearchModelSetsParams
NewSearchModelSetsParamsWithHTTPClient creates a new SearchModelSetsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchModelSetsParamsWithTimeout ¶
func NewSearchModelSetsParamsWithTimeout(timeout time.Duration) *SearchModelSetsParams
NewSearchModelSetsParamsWithTimeout creates a new SearchModelSetsParams object with the ability to set a timeout on a request.
func (*SearchModelSetsParams) SetAllAccess ¶
func (o *SearchModelSetsParams) SetAllAccess(allAccess *bool)
SetAllAccess adds the allAccess to the search model sets params
func (*SearchModelSetsParams) SetBuiltIn ¶
func (o *SearchModelSetsParams) SetBuiltIn(builtIn *bool)
SetBuiltIn adds the builtIn to the search model sets params
func (*SearchModelSetsParams) SetContext ¶
func (o *SearchModelSetsParams) SetContext(ctx context.Context)
SetContext adds the context to the search model sets params
func (*SearchModelSetsParams) SetDefaults ¶
func (o *SearchModelSetsParams) SetDefaults()
SetDefaults hydrates default values in the search model sets params (not the query body).
All values with no default are reset to their zero value.
func (*SearchModelSetsParams) SetFields ¶
func (o *SearchModelSetsParams) SetFields(fields *string)
SetFields adds the fields to the search model sets params
func (*SearchModelSetsParams) SetFilterOr ¶
func (o *SearchModelSetsParams) SetFilterOr(filterOr *bool)
SetFilterOr adds the filterOr to the search model sets params
func (*SearchModelSetsParams) SetHTTPClient ¶
func (o *SearchModelSetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search model sets params
func (*SearchModelSetsParams) SetID ¶
func (o *SearchModelSetsParams) SetID(id *int64)
SetID adds the id to the search model sets params
func (*SearchModelSetsParams) SetLimit ¶
func (o *SearchModelSetsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search model sets params
func (*SearchModelSetsParams) SetName ¶
func (o *SearchModelSetsParams) SetName(name *string)
SetName adds the name to the search model sets params
func (*SearchModelSetsParams) SetOffset ¶
func (o *SearchModelSetsParams) SetOffset(offset *int64)
SetOffset adds the offset to the search model sets params
func (*SearchModelSetsParams) SetSorts ¶
func (o *SearchModelSetsParams) SetSorts(sorts *string)
SetSorts adds the sorts to the search model sets params
func (*SearchModelSetsParams) SetTimeout ¶
func (o *SearchModelSetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search model sets params
func (*SearchModelSetsParams) WithAllAccess ¶
func (o *SearchModelSetsParams) WithAllAccess(allAccess *bool) *SearchModelSetsParams
WithAllAccess adds the allAccess to the search model sets params
func (*SearchModelSetsParams) WithBuiltIn ¶
func (o *SearchModelSetsParams) WithBuiltIn(builtIn *bool) *SearchModelSetsParams
WithBuiltIn adds the builtIn to the search model sets params
func (*SearchModelSetsParams) WithContext ¶
func (o *SearchModelSetsParams) WithContext(ctx context.Context) *SearchModelSetsParams
WithContext adds the context to the search model sets params
func (*SearchModelSetsParams) WithDefaults ¶
func (o *SearchModelSetsParams) WithDefaults() *SearchModelSetsParams
WithDefaults hydrates default values in the search model sets params (not the query body).
All values with no default are reset to their zero value.
func (*SearchModelSetsParams) WithFields ¶
func (o *SearchModelSetsParams) WithFields(fields *string) *SearchModelSetsParams
WithFields adds the fields to the search model sets params
func (*SearchModelSetsParams) WithFilterOr ¶
func (o *SearchModelSetsParams) WithFilterOr(filterOr *bool) *SearchModelSetsParams
WithFilterOr adds the filterOr to the search model sets params
func (*SearchModelSetsParams) WithHTTPClient ¶
func (o *SearchModelSetsParams) WithHTTPClient(client *http.Client) *SearchModelSetsParams
WithHTTPClient adds the HTTPClient to the search model sets params
func (*SearchModelSetsParams) WithID ¶
func (o *SearchModelSetsParams) WithID(id *int64) *SearchModelSetsParams
WithID adds the id to the search model sets params
func (*SearchModelSetsParams) WithLimit ¶
func (o *SearchModelSetsParams) WithLimit(limit *int64) *SearchModelSetsParams
WithLimit adds the limit to the search model sets params
func (*SearchModelSetsParams) WithName ¶
func (o *SearchModelSetsParams) WithName(name *string) *SearchModelSetsParams
WithName adds the name to the search model sets params
func (*SearchModelSetsParams) WithOffset ¶
func (o *SearchModelSetsParams) WithOffset(offset *int64) *SearchModelSetsParams
WithOffset adds the offset to the search model sets params
func (*SearchModelSetsParams) WithSorts ¶
func (o *SearchModelSetsParams) WithSorts(sorts *string) *SearchModelSetsParams
WithSorts adds the sorts to the search model sets params
func (*SearchModelSetsParams) WithTimeout ¶
func (o *SearchModelSetsParams) WithTimeout(timeout time.Duration) *SearchModelSetsParams
WithTimeout adds the timeout to the search model sets params
func (*SearchModelSetsParams) WriteToRequest ¶
func (o *SearchModelSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchModelSetsReader ¶
type SearchModelSetsReader struct {
// contains filtered or unexported fields
}
SearchModelSetsReader is a Reader for the SearchModelSets structure.
func (*SearchModelSetsReader) ReadResponse ¶
func (o *SearchModelSetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchPermissionSetsBadRequest ¶
SearchPermissionSetsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSearchPermissionSetsBadRequest ¶
func NewSearchPermissionSetsBadRequest() *SearchPermissionSetsBadRequest
NewSearchPermissionSetsBadRequest creates a SearchPermissionSetsBadRequest with default headers values
func (*SearchPermissionSetsBadRequest) Error ¶
func (o *SearchPermissionSetsBadRequest) Error() string
func (*SearchPermissionSetsBadRequest) GetPayload ¶
func (o *SearchPermissionSetsBadRequest) GetPayload() *models.Error
type SearchPermissionSetsNotFound ¶
SearchPermissionSetsNotFound describes a response with status code 404, with default header values.
Not Found
func NewSearchPermissionSetsNotFound ¶
func NewSearchPermissionSetsNotFound() *SearchPermissionSetsNotFound
NewSearchPermissionSetsNotFound creates a SearchPermissionSetsNotFound with default headers values
func (*SearchPermissionSetsNotFound) Error ¶
func (o *SearchPermissionSetsNotFound) Error() string
func (*SearchPermissionSetsNotFound) GetPayload ¶
func (o *SearchPermissionSetsNotFound) GetPayload() *models.Error
type SearchPermissionSetsOK ¶
type SearchPermissionSetsOK struct {
Payload []*models.PermissionSet
}
SearchPermissionSetsOK describes a response with status code 200, with default header values.
Permission Set
func NewSearchPermissionSetsOK ¶
func NewSearchPermissionSetsOK() *SearchPermissionSetsOK
NewSearchPermissionSetsOK creates a SearchPermissionSetsOK with default headers values
func (*SearchPermissionSetsOK) Error ¶
func (o *SearchPermissionSetsOK) Error() string
func (*SearchPermissionSetsOK) GetPayload ¶
func (o *SearchPermissionSetsOK) GetPayload() []*models.PermissionSet
type SearchPermissionSetsParams ¶
type SearchPermissionSetsParams struct { /* AllAccess. Match permission sets by all_access status. */ AllAccess *bool /* BuiltIn. Match permission sets by built_in status. */ BuiltIn *bool /* Fields. Requested fields. */ Fields *string /* FilterOr. Combine given search criteria in a boolean OR expression. */ FilterOr *bool /* ID. Match permission set id. Format: int64 */ ID *int64 /* Limit. Number of results to return (used with `offset`). Format: int64 */ Limit *int64 /* Name. Match permission set name. */ Name *string /* Offset. Number of results to skip before returning any (used with `limit`). Format: int64 */ Offset *int64 /* Sorts. Fields to sort by. */ Sorts *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchPermissionSetsParams contains all the parameters to send to the API endpoint
for the search permission sets operation. Typically these are written to a http.Request.
func NewSearchPermissionSetsParams ¶
func NewSearchPermissionSetsParams() *SearchPermissionSetsParams
NewSearchPermissionSetsParams creates a new SearchPermissionSetsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchPermissionSetsParamsWithContext ¶
func NewSearchPermissionSetsParamsWithContext(ctx context.Context) *SearchPermissionSetsParams
NewSearchPermissionSetsParamsWithContext creates a new SearchPermissionSetsParams object with the ability to set a context for a request.
func NewSearchPermissionSetsParamsWithHTTPClient ¶
func NewSearchPermissionSetsParamsWithHTTPClient(client *http.Client) *SearchPermissionSetsParams
NewSearchPermissionSetsParamsWithHTTPClient creates a new SearchPermissionSetsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchPermissionSetsParamsWithTimeout ¶
func NewSearchPermissionSetsParamsWithTimeout(timeout time.Duration) *SearchPermissionSetsParams
NewSearchPermissionSetsParamsWithTimeout creates a new SearchPermissionSetsParams object with the ability to set a timeout on a request.
func (*SearchPermissionSetsParams) SetAllAccess ¶
func (o *SearchPermissionSetsParams) SetAllAccess(allAccess *bool)
SetAllAccess adds the allAccess to the search permission sets params
func (*SearchPermissionSetsParams) SetBuiltIn ¶
func (o *SearchPermissionSetsParams) SetBuiltIn(builtIn *bool)
SetBuiltIn adds the builtIn to the search permission sets params
func (*SearchPermissionSetsParams) SetContext ¶
func (o *SearchPermissionSetsParams) SetContext(ctx context.Context)
SetContext adds the context to the search permission sets params
func (*SearchPermissionSetsParams) SetDefaults ¶
func (o *SearchPermissionSetsParams) SetDefaults()
SetDefaults hydrates default values in the search permission sets params (not the query body).
All values with no default are reset to their zero value.
func (*SearchPermissionSetsParams) SetFields ¶
func (o *SearchPermissionSetsParams) SetFields(fields *string)
SetFields adds the fields to the search permission sets params
func (*SearchPermissionSetsParams) SetFilterOr ¶
func (o *SearchPermissionSetsParams) SetFilterOr(filterOr *bool)
SetFilterOr adds the filterOr to the search permission sets params
func (*SearchPermissionSetsParams) SetHTTPClient ¶
func (o *SearchPermissionSetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search permission sets params
func (*SearchPermissionSetsParams) SetID ¶
func (o *SearchPermissionSetsParams) SetID(id *int64)
SetID adds the id to the search permission sets params
func (*SearchPermissionSetsParams) SetLimit ¶
func (o *SearchPermissionSetsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search permission sets params
func (*SearchPermissionSetsParams) SetName ¶
func (o *SearchPermissionSetsParams) SetName(name *string)
SetName adds the name to the search permission sets params
func (*SearchPermissionSetsParams) SetOffset ¶
func (o *SearchPermissionSetsParams) SetOffset(offset *int64)
SetOffset adds the offset to the search permission sets params
func (*SearchPermissionSetsParams) SetSorts ¶
func (o *SearchPermissionSetsParams) SetSorts(sorts *string)
SetSorts adds the sorts to the search permission sets params
func (*SearchPermissionSetsParams) SetTimeout ¶
func (o *SearchPermissionSetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search permission sets params
func (*SearchPermissionSetsParams) WithAllAccess ¶
func (o *SearchPermissionSetsParams) WithAllAccess(allAccess *bool) *SearchPermissionSetsParams
WithAllAccess adds the allAccess to the search permission sets params
func (*SearchPermissionSetsParams) WithBuiltIn ¶
func (o *SearchPermissionSetsParams) WithBuiltIn(builtIn *bool) *SearchPermissionSetsParams
WithBuiltIn adds the builtIn to the search permission sets params
func (*SearchPermissionSetsParams) WithContext ¶
func (o *SearchPermissionSetsParams) WithContext(ctx context.Context) *SearchPermissionSetsParams
WithContext adds the context to the search permission sets params
func (*SearchPermissionSetsParams) WithDefaults ¶
func (o *SearchPermissionSetsParams) WithDefaults() *SearchPermissionSetsParams
WithDefaults hydrates default values in the search permission sets params (not the query body).
All values with no default are reset to their zero value.
func (*SearchPermissionSetsParams) WithFields ¶
func (o *SearchPermissionSetsParams) WithFields(fields *string) *SearchPermissionSetsParams
WithFields adds the fields to the search permission sets params
func (*SearchPermissionSetsParams) WithFilterOr ¶
func (o *SearchPermissionSetsParams) WithFilterOr(filterOr *bool) *SearchPermissionSetsParams
WithFilterOr adds the filterOr to the search permission sets params
func (*SearchPermissionSetsParams) WithHTTPClient ¶
func (o *SearchPermissionSetsParams) WithHTTPClient(client *http.Client) *SearchPermissionSetsParams
WithHTTPClient adds the HTTPClient to the search permission sets params
func (*SearchPermissionSetsParams) WithID ¶
func (o *SearchPermissionSetsParams) WithID(id *int64) *SearchPermissionSetsParams
WithID adds the id to the search permission sets params
func (*SearchPermissionSetsParams) WithLimit ¶
func (o *SearchPermissionSetsParams) WithLimit(limit *int64) *SearchPermissionSetsParams
WithLimit adds the limit to the search permission sets params
func (*SearchPermissionSetsParams) WithName ¶
func (o *SearchPermissionSetsParams) WithName(name *string) *SearchPermissionSetsParams
WithName adds the name to the search permission sets params
func (*SearchPermissionSetsParams) WithOffset ¶
func (o *SearchPermissionSetsParams) WithOffset(offset *int64) *SearchPermissionSetsParams
WithOffset adds the offset to the search permission sets params
func (*SearchPermissionSetsParams) WithSorts ¶
func (o *SearchPermissionSetsParams) WithSorts(sorts *string) *SearchPermissionSetsParams
WithSorts adds the sorts to the search permission sets params
func (*SearchPermissionSetsParams) WithTimeout ¶
func (o *SearchPermissionSetsParams) WithTimeout(timeout time.Duration) *SearchPermissionSetsParams
WithTimeout adds the timeout to the search permission sets params
func (*SearchPermissionSetsParams) WriteToRequest ¶
func (o *SearchPermissionSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchPermissionSetsReader ¶
type SearchPermissionSetsReader struct {
// contains filtered or unexported fields
}
SearchPermissionSetsReader is a Reader for the SearchPermissionSets structure.
func (*SearchPermissionSetsReader) ReadResponse ¶
func (o *SearchPermissionSetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchRolesBadRequest ¶
SearchRolesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSearchRolesBadRequest ¶
func NewSearchRolesBadRequest() *SearchRolesBadRequest
NewSearchRolesBadRequest creates a SearchRolesBadRequest with default headers values
func (*SearchRolesBadRequest) Error ¶
func (o *SearchRolesBadRequest) Error() string
func (*SearchRolesBadRequest) GetPayload ¶
func (o *SearchRolesBadRequest) GetPayload() *models.Error
type SearchRolesNotFound ¶
SearchRolesNotFound describes a response with status code 404, with default header values.
Not Found
func NewSearchRolesNotFound ¶
func NewSearchRolesNotFound() *SearchRolesNotFound
NewSearchRolesNotFound creates a SearchRolesNotFound with default headers values
func (*SearchRolesNotFound) Error ¶
func (o *SearchRolesNotFound) Error() string
func (*SearchRolesNotFound) GetPayload ¶
func (o *SearchRolesNotFound) GetPayload() *models.Error
type SearchRolesOK ¶
SearchRolesOK describes a response with status code 200, with default header values.
Role
func NewSearchRolesOK ¶
func NewSearchRolesOK() *SearchRolesOK
NewSearchRolesOK creates a SearchRolesOK with default headers values
func (*SearchRolesOK) Error ¶
func (o *SearchRolesOK) Error() string
func (*SearchRolesOK) GetPayload ¶
func (o *SearchRolesOK) GetPayload() []*models.Role
type SearchRolesParams ¶
type SearchRolesParams struct { /* BuiltIn. Match roles by built_in status. */ BuiltIn *bool /* Fields. Requested fields. */ Fields *string /* FilterOr. Combine given search criteria in a boolean OR expression. */ FilterOr *bool /* ID. Match role id. Format: int64 */ ID *int64 /* Limit. Number of results to return (used with `offset`). Format: int64 */ Limit *int64 /* Name. Match role name. */ Name *string /* Offset. Number of results to skip before returning any (used with `limit`). Format: int64 */ Offset *int64 /* Sorts. Fields to sort by. */ Sorts *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchRolesParams contains all the parameters to send to the API endpoint
for the search roles operation. Typically these are written to a http.Request.
func NewSearchRolesParams ¶
func NewSearchRolesParams() *SearchRolesParams
NewSearchRolesParams creates a new SearchRolesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSearchRolesParamsWithContext ¶
func NewSearchRolesParamsWithContext(ctx context.Context) *SearchRolesParams
NewSearchRolesParamsWithContext creates a new SearchRolesParams object with the ability to set a context for a request.
func NewSearchRolesParamsWithHTTPClient ¶
func NewSearchRolesParamsWithHTTPClient(client *http.Client) *SearchRolesParams
NewSearchRolesParamsWithHTTPClient creates a new SearchRolesParams object with the ability to set a custom HTTPClient for a request.
func NewSearchRolesParamsWithTimeout ¶
func NewSearchRolesParamsWithTimeout(timeout time.Duration) *SearchRolesParams
NewSearchRolesParamsWithTimeout creates a new SearchRolesParams object with the ability to set a timeout on a request.
func (*SearchRolesParams) SetBuiltIn ¶
func (o *SearchRolesParams) SetBuiltIn(builtIn *bool)
SetBuiltIn adds the builtIn to the search roles params
func (*SearchRolesParams) SetContext ¶
func (o *SearchRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the search roles params
func (*SearchRolesParams) SetDefaults ¶
func (o *SearchRolesParams) SetDefaults()
SetDefaults hydrates default values in the search roles params (not the query body).
All values with no default are reset to their zero value.
func (*SearchRolesParams) SetFields ¶
func (o *SearchRolesParams) SetFields(fields *string)
SetFields adds the fields to the search roles params
func (*SearchRolesParams) SetFilterOr ¶
func (o *SearchRolesParams) SetFilterOr(filterOr *bool)
SetFilterOr adds the filterOr to the search roles params
func (*SearchRolesParams) SetHTTPClient ¶
func (o *SearchRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search roles params
func (*SearchRolesParams) SetID ¶
func (o *SearchRolesParams) SetID(id *int64)
SetID adds the id to the search roles params
func (*SearchRolesParams) SetLimit ¶
func (o *SearchRolesParams) SetLimit(limit *int64)
SetLimit adds the limit to the search roles params
func (*SearchRolesParams) SetName ¶
func (o *SearchRolesParams) SetName(name *string)
SetName adds the name to the search roles params
func (*SearchRolesParams) SetOffset ¶
func (o *SearchRolesParams) SetOffset(offset *int64)
SetOffset adds the offset to the search roles params
func (*SearchRolesParams) SetSorts ¶
func (o *SearchRolesParams) SetSorts(sorts *string)
SetSorts adds the sorts to the search roles params
func (*SearchRolesParams) SetTimeout ¶
func (o *SearchRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search roles params
func (*SearchRolesParams) WithBuiltIn ¶
func (o *SearchRolesParams) WithBuiltIn(builtIn *bool) *SearchRolesParams
WithBuiltIn adds the builtIn to the search roles params
func (*SearchRolesParams) WithContext ¶
func (o *SearchRolesParams) WithContext(ctx context.Context) *SearchRolesParams
WithContext adds the context to the search roles params
func (*SearchRolesParams) WithDefaults ¶
func (o *SearchRolesParams) WithDefaults() *SearchRolesParams
WithDefaults hydrates default values in the search roles params (not the query body).
All values with no default are reset to their zero value.
func (*SearchRolesParams) WithFields ¶
func (o *SearchRolesParams) WithFields(fields *string) *SearchRolesParams
WithFields adds the fields to the search roles params
func (*SearchRolesParams) WithFilterOr ¶
func (o *SearchRolesParams) WithFilterOr(filterOr *bool) *SearchRolesParams
WithFilterOr adds the filterOr to the search roles params
func (*SearchRolesParams) WithHTTPClient ¶
func (o *SearchRolesParams) WithHTTPClient(client *http.Client) *SearchRolesParams
WithHTTPClient adds the HTTPClient to the search roles params
func (*SearchRolesParams) WithID ¶
func (o *SearchRolesParams) WithID(id *int64) *SearchRolesParams
WithID adds the id to the search roles params
func (*SearchRolesParams) WithLimit ¶
func (o *SearchRolesParams) WithLimit(limit *int64) *SearchRolesParams
WithLimit adds the limit to the search roles params
func (*SearchRolesParams) WithName ¶
func (o *SearchRolesParams) WithName(name *string) *SearchRolesParams
WithName adds the name to the search roles params
func (*SearchRolesParams) WithOffset ¶
func (o *SearchRolesParams) WithOffset(offset *int64) *SearchRolesParams
WithOffset adds the offset to the search roles params
func (*SearchRolesParams) WithSorts ¶
func (o *SearchRolesParams) WithSorts(sorts *string) *SearchRolesParams
WithSorts adds the sorts to the search roles params
func (*SearchRolesParams) WithTimeout ¶
func (o *SearchRolesParams) WithTimeout(timeout time.Duration) *SearchRolesParams
WithTimeout adds the timeout to the search roles params
func (*SearchRolesParams) WriteToRequest ¶
func (o *SearchRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchRolesReader ¶
type SearchRolesReader struct {
// contains filtered or unexported fields
}
SearchRolesReader is a Reader for the SearchRoles structure.
func (*SearchRolesReader) ReadResponse ¶
func (o *SearchRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetRoleGroupsBadRequest ¶
SetRoleGroupsBadRequest describes a response with status code 400, 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
func (*SetRoleGroupsBadRequest) GetPayload ¶
func (o *SetRoleGroupsBadRequest) GetPayload() *models.Error
type SetRoleGroupsNotFound ¶
SetRoleGroupsNotFound describes a response with status code 404, 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
func (*SetRoleGroupsNotFound) GetPayload ¶
func (o *SetRoleGroupsNotFound) GetPayload() *models.Error
type SetRoleGroupsOK ¶
SetRoleGroupsOK describes a response with status code 200, 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
func (*SetRoleGroupsOK) GetPayload ¶
func (o *SetRoleGroupsOK) GetPayload() []*models.Group
type SetRoleGroupsParams ¶
type SetRoleGroupsParams struct { /* Body. Array of Group Ids */ Body []int64 /* RoleID. Id of Role Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSetRoleGroupsParamsWithContext ¶
func NewSetRoleGroupsParamsWithContext(ctx context.Context) *SetRoleGroupsParams
NewSetRoleGroupsParamsWithContext creates a new SetRoleGroupsParams object with 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 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 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) SetDefaults ¶
func (o *SetRoleGroupsParams) SetDefaults()
SetDefaults hydrates default values in the set role groups params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *SetRoleGroupsParams) WithDefaults() *SetRoleGroupsParams
WithDefaults hydrates default values in the set role groups params (not the query body).
All values with no default are reset to their zero value.
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 SetRoleGroupsTooManyRequests ¶
SetRoleGroupsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewSetRoleGroupsTooManyRequests ¶
func NewSetRoleGroupsTooManyRequests() *SetRoleGroupsTooManyRequests
NewSetRoleGroupsTooManyRequests creates a SetRoleGroupsTooManyRequests with default headers values
func (*SetRoleGroupsTooManyRequests) Error ¶
func (o *SetRoleGroupsTooManyRequests) Error() string
func (*SetRoleGroupsTooManyRequests) GetPayload ¶
func (o *SetRoleGroupsTooManyRequests) GetPayload() *models.Error
type SetRoleGroupsUnprocessableEntity ¶
type SetRoleGroupsUnprocessableEntity struct {
Payload *models.ValidationError
}
SetRoleGroupsUnprocessableEntity describes a response with status code 422, 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
func (*SetRoleGroupsUnprocessableEntity) GetPayload ¶
func (o *SetRoleGroupsUnprocessableEntity) GetPayload() *models.ValidationError
type SetRoleUsersBadRequest ¶
SetRoleUsersBadRequest describes a response with status code 400, 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
func (*SetRoleUsersBadRequest) GetPayload ¶
func (o *SetRoleUsersBadRequest) GetPayload() *models.Error
type SetRoleUsersForbidden ¶
SetRoleUsersForbidden describes a response with status code 403, 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
func (*SetRoleUsersForbidden) GetPayload ¶
func (o *SetRoleUsersForbidden) GetPayload() *models.Error
type SetRoleUsersMethodNotAllowed ¶
SetRoleUsersMethodNotAllowed describes a response with status code 405, 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
func (*SetRoleUsersMethodNotAllowed) GetPayload ¶
func (o *SetRoleUsersMethodNotAllowed) GetPayload() *models.Error
type SetRoleUsersNotFound ¶
SetRoleUsersNotFound describes a response with status code 404, 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
func (*SetRoleUsersNotFound) GetPayload ¶
func (o *SetRoleUsersNotFound) GetPayload() *models.Error
type SetRoleUsersOK ¶
SetRoleUsersOK describes a response with status code 200, 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
func (*SetRoleUsersOK) GetPayload ¶
func (o *SetRoleUsersOK) GetPayload() []*models.User
type SetRoleUsersParams ¶
type SetRoleUsersParams struct { /* Body. array of user ids for role */ Body []int64 /* RoleID. id of role Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSetRoleUsersParamsWithContext ¶
func NewSetRoleUsersParamsWithContext(ctx context.Context) *SetRoleUsersParams
NewSetRoleUsersParamsWithContext creates a new SetRoleUsersParams object with 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 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 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) SetDefaults ¶
func (o *SetRoleUsersParams) SetDefaults()
SetDefaults hydrates default values in the set role users params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *SetRoleUsersParams) WithDefaults() *SetRoleUsersParams
WithDefaults hydrates default values in the set role users params (not the query body).
All values with no default are reset to their zero value.
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 SetRoleUsersTooManyRequests ¶
SetRoleUsersTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewSetRoleUsersTooManyRequests ¶
func NewSetRoleUsersTooManyRequests() *SetRoleUsersTooManyRequests
NewSetRoleUsersTooManyRequests creates a SetRoleUsersTooManyRequests with default headers values
func (*SetRoleUsersTooManyRequests) Error ¶
func (o *SetRoleUsersTooManyRequests) Error() string
func (*SetRoleUsersTooManyRequests) GetPayload ¶
func (o *SetRoleUsersTooManyRequests) GetPayload() *models.Error
type SetRoleUsersUnprocessableEntity ¶
type SetRoleUsersUnprocessableEntity struct {
Payload *models.ValidationError
}
SetRoleUsersUnprocessableEntity describes a response with status code 422, 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
func (*SetRoleUsersUnprocessableEntity) GetPayload ¶
func (o *SetRoleUsersUnprocessableEntity) GetPayload() *models.ValidationError
type UpdateModelSetBadRequest ¶
UpdateModelSetBadRequest describes a response with status code 400, 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
func (*UpdateModelSetBadRequest) GetPayload ¶
func (o *UpdateModelSetBadRequest) GetPayload() *models.Error
type UpdateModelSetMethodNotAllowed ¶
UpdateModelSetMethodNotAllowed describes a response with status code 405, 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
func (*UpdateModelSetMethodNotAllowed) GetPayload ¶
func (o *UpdateModelSetMethodNotAllowed) GetPayload() *models.Error
type UpdateModelSetNotFound ¶
UpdateModelSetNotFound describes a response with status code 404, 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
func (*UpdateModelSetNotFound) GetPayload ¶
func (o *UpdateModelSetNotFound) GetPayload() *models.Error
type UpdateModelSetOK ¶
UpdateModelSetOK describes a response with status code 200, 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
func (*UpdateModelSetOK) GetPayload ¶
func (o *UpdateModelSetOK) GetPayload() *models.ModelSet
type UpdateModelSetParams ¶
type UpdateModelSetParams struct { /* Body. ModelSet */ Body *models.ModelSet /* ModelSetID. id of model set Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateModelSetParamsWithContext ¶
func NewUpdateModelSetParamsWithContext(ctx context.Context) *UpdateModelSetParams
NewUpdateModelSetParamsWithContext creates a new UpdateModelSetParams object with 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 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 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) SetDefaults ¶
func (o *UpdateModelSetParams) SetDefaults()
SetDefaults hydrates default values in the update model set params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *UpdateModelSetParams) WithDefaults() *UpdateModelSetParams
WithDefaults hydrates default values in the update model set params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 422, 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
func (*UpdateModelSetUnprocessableEntity) GetPayload ¶
func (o *UpdateModelSetUnprocessableEntity) GetPayload() *models.ValidationError
type UpdatePermissionSetBadRequest ¶
UpdatePermissionSetBadRequest describes a response with status code 400, 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
func (*UpdatePermissionSetBadRequest) GetPayload ¶
func (o *UpdatePermissionSetBadRequest) GetPayload() *models.Error
type UpdatePermissionSetMethodNotAllowed ¶
UpdatePermissionSetMethodNotAllowed describes a response with status code 405, 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
func (*UpdatePermissionSetMethodNotAllowed) GetPayload ¶
func (o *UpdatePermissionSetMethodNotAllowed) GetPayload() *models.Error
type UpdatePermissionSetNotFound ¶
UpdatePermissionSetNotFound describes a response with status code 404, 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
func (*UpdatePermissionSetNotFound) GetPayload ¶
func (o *UpdatePermissionSetNotFound) GetPayload() *models.Error
type UpdatePermissionSetOK ¶
type UpdatePermissionSetOK struct {
Payload *models.PermissionSet
}
UpdatePermissionSetOK describes a response with status code 200, 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
func (*UpdatePermissionSetOK) GetPayload ¶
func (o *UpdatePermissionSetOK) GetPayload() *models.PermissionSet
type UpdatePermissionSetParams ¶
type UpdatePermissionSetParams struct { /* Body. Permission Set */ Body *models.PermissionSet /* PermissionSetID. id of permission set Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdatePermissionSetParamsWithContext ¶
func NewUpdatePermissionSetParamsWithContext(ctx context.Context) *UpdatePermissionSetParams
NewUpdatePermissionSetParamsWithContext creates a new UpdatePermissionSetParams object with 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 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 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) SetDefaults ¶
func (o *UpdatePermissionSetParams) SetDefaults()
SetDefaults hydrates default values in the update permission set params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *UpdatePermissionSetParams) WithDefaults() *UpdatePermissionSetParams
WithDefaults hydrates default values in the update permission set params (not the query body).
All values with no default are reset to their zero value.
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 UpdatePermissionSetTooManyRequests ¶
UpdatePermissionSetTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdatePermissionSetTooManyRequests ¶
func NewUpdatePermissionSetTooManyRequests() *UpdatePermissionSetTooManyRequests
NewUpdatePermissionSetTooManyRequests creates a UpdatePermissionSetTooManyRequests with default headers values
func (*UpdatePermissionSetTooManyRequests) Error ¶
func (o *UpdatePermissionSetTooManyRequests) Error() string
func (*UpdatePermissionSetTooManyRequests) GetPayload ¶
func (o *UpdatePermissionSetTooManyRequests) GetPayload() *models.Error
type UpdatePermissionSetUnprocessableEntity ¶
type UpdatePermissionSetUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdatePermissionSetUnprocessableEntity describes a response with status code 422, 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
func (*UpdatePermissionSetUnprocessableEntity) GetPayload ¶
func (o *UpdatePermissionSetUnprocessableEntity) GetPayload() *models.ValidationError
type UpdateRoleBadRequest ¶
UpdateRoleBadRequest describes a response with status code 400, 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
func (*UpdateRoleBadRequest) GetPayload ¶
func (o *UpdateRoleBadRequest) GetPayload() *models.Error
type UpdateRoleMethodNotAllowed ¶
UpdateRoleMethodNotAllowed describes a response with status code 405, 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
func (*UpdateRoleMethodNotAllowed) GetPayload ¶
func (o *UpdateRoleMethodNotAllowed) GetPayload() *models.Error
type UpdateRoleNotFound ¶
UpdateRoleNotFound describes a response with status code 404, 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
func (*UpdateRoleNotFound) GetPayload ¶
func (o *UpdateRoleNotFound) GetPayload() *models.Error
type UpdateRoleOK ¶
UpdateRoleOK describes a response with status code 200, 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
func (*UpdateRoleOK) GetPayload ¶
func (o *UpdateRoleOK) GetPayload() *models.Role
type UpdateRoleParams ¶
type UpdateRoleParams struct { /* Body. Role */ Body *models.Role /* RoleID. id of role Format: int64 */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateRoleParamsWithContext ¶
func NewUpdateRoleParamsWithContext(ctx context.Context) *UpdateRoleParams
NewUpdateRoleParamsWithContext creates a new UpdateRoleParams object with 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 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 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) SetDefaults ¶
func (o *UpdateRoleParams) SetDefaults()
SetDefaults hydrates default values in the update role params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *UpdateRoleParams) WithDefaults() *UpdateRoleParams
WithDefaults hydrates default values in the update role params (not the query body).
All values with no default are reset to their zero value.
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 UpdateRoleTooManyRequests ¶
UpdateRoleTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdateRoleTooManyRequests ¶
func NewUpdateRoleTooManyRequests() *UpdateRoleTooManyRequests
NewUpdateRoleTooManyRequests creates a UpdateRoleTooManyRequests with default headers values
func (*UpdateRoleTooManyRequests) Error ¶
func (o *UpdateRoleTooManyRequests) Error() string
func (*UpdateRoleTooManyRequests) GetPayload ¶
func (o *UpdateRoleTooManyRequests) GetPayload() *models.Error
type UpdateRoleUnprocessableEntity ¶
type UpdateRoleUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateRoleUnprocessableEntity describes a response with status code 422, 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
func (*UpdateRoleUnprocessableEntity) GetPayload ¶
func (o *UpdateRoleUnprocessableEntity) GetPayload() *models.ValidationError
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
- search_model_sets_parameters.go
- search_model_sets_responses.go
- search_permission_sets_parameters.go
- search_permission_sets_responses.go
- search_roles_parameters.go
- search_roles_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