role

package
v0.0.0-...-09f9b81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllModelSetsNotFound

type AllModelSetsNotFound struct {
	Payload *models.Error
}
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

type AllModelSetsOK struct {
	Payload []*models.ModelSet
}
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

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

type AllPermissionSetsBadRequest struct {
	Payload *models.Error
}
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 (*AllPermissionSetsBadRequest) GetPayload

func (o *AllPermissionSetsBadRequest) GetPayload() *models.Error

type AllPermissionSetsNotFound

type AllPermissionSetsNotFound struct {
	Payload *models.Error
}
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

WithContext adds the context to the all permission sets params

func (*AllPermissionSetsParams) WithDefaults

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

WithTimeout adds the timeout to the all permission sets params

func (*AllPermissionSetsParams) WriteToRequest

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

type AllPermissionsBadRequest struct {
	Payload *models.Error
}
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

type AllPermissionsNotFound struct {
	Payload *models.Error
}
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

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

type AllRolesBadRequest struct {
	Payload *models.Error
}
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

type AllRolesNotFound struct {
	Payload *models.Error
}
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

type AllRolesOK struct {
	Payload []*models.Role
}
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

type CreateModelSetBadRequest struct {
	Payload *models.Error
}
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

type CreateModelSetConflict struct {
	Payload *models.Error
}
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

type CreateModelSetNotFound struct {
	Payload *models.Error
}
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

type CreateModelSetOK struct {
	Payload *models.ModelSet
}
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

WithBody adds the body to the create model set params

func (*CreateModelSetParams) WithContext

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 (*CreateModelSetUnprocessableEntity) GetPayload

type CreatePermissionSetBadRequest

type CreatePermissionSetBadRequest struct {
	Payload *models.Error
}
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 (*CreatePermissionSetBadRequest) GetPayload

func (o *CreatePermissionSetBadRequest) GetPayload() *models.Error

type CreatePermissionSetConflict

type CreatePermissionSetConflict struct {
	Payload *models.Error
}
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 (*CreatePermissionSetConflict) GetPayload

func (o *CreatePermissionSetConflict) GetPayload() *models.Error

type CreatePermissionSetNotFound

type CreatePermissionSetNotFound struct {
	Payload *models.Error
}
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 (*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

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

WithBody adds the body to the create permission set params

func (*CreatePermissionSetParams) WithContext

WithContext adds the context to the create permission set params

func (*CreatePermissionSetParams) WithDefaults

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

WithTimeout adds the timeout to the create permission set params

func (*CreatePermissionSetParams) WriteToRequest

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

type CreatePermissionSetTooManyRequests struct {
	Payload *models.Error
}
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 (*CreatePermissionSetTooManyRequests) GetPayload

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 (*CreatePermissionSetUnprocessableEntity) GetPayload

type CreateRoleBadRequest

type CreateRoleBadRequest struct {
	Payload *models.Error
}
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

type CreateRoleConflict struct {
	Payload *models.Error
}
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

type CreateRoleNotFound struct {
	Payload *models.Error
}
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

type CreateRoleOK struct {
	Payload *models.Role
}
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

type CreateRoleTooManyRequests struct {
	Payload *models.Error
}
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 (*CreateRoleUnprocessableEntity) GetPayload

type DeleteModelSetBadRequest

type DeleteModelSetBadRequest struct {
	Payload *models.Error
}
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

type DeleteModelSetMethodNotAllowed struct {
	Payload *models.Error
}
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 (*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

type DeleteModelSetNotFound struct {
	Payload *models.Error
}
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

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

type DeletePermissionSetBadRequest struct {
	Payload *models.Error
}
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 (*DeletePermissionSetBadRequest) GetPayload

func (o *DeletePermissionSetBadRequest) GetPayload() *models.Error

type DeletePermissionSetMethodNotAllowed

type DeletePermissionSetMethodNotAllowed struct {
	Payload *models.Error
}
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 (*DeletePermissionSetMethodNotAllowed) GetPayload

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 (*DeletePermissionSetNoContent) GetPayload

func (o *DeletePermissionSetNoContent) GetPayload() string

type DeletePermissionSetNotFound

type DeletePermissionSetNotFound struct {
	Payload *models.Error
}
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 (*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

WithContext adds the context to the delete permission set params

func (*DeletePermissionSetParams) WithDefaults

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

WithTimeout adds the timeout to the delete permission set params

func (*DeletePermissionSetParams) WriteToRequest

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

type DeletePermissionSetTooManyRequests struct {
	Payload *models.Error
}
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 (*DeletePermissionSetTooManyRequests) GetPayload

type DeleteRoleBadRequest

type DeleteRoleBadRequest struct {
	Payload *models.Error
}
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

type DeleteRoleMethodNotAllowed struct {
	Payload *models.Error
}
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 (*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

type DeleteRoleNotFound struct {
	Payload *models.Error
}
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

type DeleteRoleTooManyRequests struct {
	Payload *models.Error
}
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

type ModelSetBadRequest struct {
	Payload *models.Error
}
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

type ModelSetNotFound struct {
	Payload *models.Error
}
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

type ModelSetOK struct {
	Payload *models.ModelSet
}
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

type PermissionSetBadRequest struct {
	Payload *models.Error
}
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

type PermissionSetNotFound struct {
	Payload *models.Error
}
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

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

type RoleBadRequest struct {
	Payload *models.Error
}
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

type RoleGroupsBadRequest struct {
	Payload *models.Error
}
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

type RoleGroupsNotFound struct {
	Payload *models.Error
}
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

type RoleGroupsOK struct {
	Payload []*models.Group
}
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

type RoleNotFound struct {
	Payload *models.Error
}
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

type RoleOK struct {
	Payload *models.Role
}
RoleOK describes a response with status code 200, with default header values.

Role

func NewRoleOK

func NewRoleOK() *RoleOK

NewRoleOK creates a RoleOK with default headers values

func (*RoleOK) Error

func (o *RoleOK) Error() string

func (*RoleOK) GetPayload

func (o *RoleOK) GetPayload() *models.Role

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

type RoleUsersBadRequest struct {
	Payload *models.Error
}
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

type RoleUsersNotFound struct {
	Payload *models.Error
}
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

type RoleUsersOK struct {
	Payload []*models.User
}
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

type SearchModelSetsBadRequest struct {
	Payload *models.Error
}
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

type SearchModelSetsNotFound struct {
	Payload *models.Error
}
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

type SearchModelSetsOK struct {
	Payload []*models.ModelSet
}
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

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

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

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

type SearchPermissionSetsBadRequest struct {
	Payload *models.Error
}
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 (*SearchPermissionSetsBadRequest) GetPayload

func (o *SearchPermissionSetsBadRequest) GetPayload() *models.Error

type SearchPermissionSetsNotFound

type SearchPermissionSetsNotFound struct {
	Payload *models.Error
}
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 (*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

WithBuiltIn adds the builtIn to the search permission sets params

func (*SearchPermissionSetsParams) WithContext

WithContext adds the context to the search permission sets params

func (*SearchPermissionSetsParams) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the search permission sets params

func (*SearchPermissionSetsParams) WithID

WithID adds the id to the search permission sets params

func (*SearchPermissionSetsParams) WithLimit

WithLimit adds the limit to the search permission sets params

func (*SearchPermissionSetsParams) WithName

WithName adds the name to the search permission sets params

func (*SearchPermissionSetsParams) WithOffset

WithOffset adds the offset to the search permission sets params

func (*SearchPermissionSetsParams) WithSorts

WithSorts adds the sorts to the search permission sets params

func (*SearchPermissionSetsParams) WithTimeout

WithTimeout adds the timeout to the search permission sets params

func (*SearchPermissionSetsParams) WriteToRequest

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

type SearchRolesBadRequest struct {
	Payload *models.Error
}
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

type SearchRolesNotFound struct {
	Payload *models.Error
}
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

type SearchRolesOK struct {
	Payload []*models.Role
}
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

type SetRoleGroupsBadRequest struct {
	Payload *models.Error
}
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

type SetRoleGroupsNotFound struct {
	Payload *models.Error
}
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

type SetRoleGroupsOK struct {
	Payload []*models.Group
}
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

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

type SetRoleGroupsTooManyRequests struct {
	Payload *models.Error
}
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 (*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 (*SetRoleGroupsUnprocessableEntity) GetPayload

type SetRoleUsersBadRequest

type SetRoleUsersBadRequest struct {
	Payload *models.Error
}
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

type SetRoleUsersForbidden struct {
	Payload *models.Error
}
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

type SetRoleUsersMethodNotAllowed struct {
	Payload *models.Error
}
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 (*SetRoleUsersMethodNotAllowed) GetPayload

func (o *SetRoleUsersMethodNotAllowed) GetPayload() *models.Error

type SetRoleUsersNotFound

type SetRoleUsersNotFound struct {
	Payload *models.Error
}
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

type SetRoleUsersOK struct {
	Payload []*models.User
}
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

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

type SetRoleUsersTooManyRequests struct {
	Payload *models.Error
}
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 (*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 (*SetRoleUsersUnprocessableEntity) GetPayload

type UpdateModelSetBadRequest

type UpdateModelSetBadRequest struct {
	Payload *models.Error
}
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

type UpdateModelSetMethodNotAllowed struct {
	Payload *models.Error
}
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 (*UpdateModelSetMethodNotAllowed) GetPayload

func (o *UpdateModelSetMethodNotAllowed) GetPayload() *models.Error

type UpdateModelSetNotFound

type UpdateModelSetNotFound struct {
	Payload *models.Error
}
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

type UpdateModelSetOK struct {
	Payload *models.ModelSet
}
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

WithBody adds the body to the update model set params

func (*UpdateModelSetParams) WithContext

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 (*UpdateModelSetUnprocessableEntity) GetPayload

type UpdatePermissionSetBadRequest

type UpdatePermissionSetBadRequest struct {
	Payload *models.Error
}
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 (*UpdatePermissionSetBadRequest) GetPayload

func (o *UpdatePermissionSetBadRequest) GetPayload() *models.Error

type UpdatePermissionSetMethodNotAllowed

type UpdatePermissionSetMethodNotAllowed struct {
	Payload *models.Error
}
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 (*UpdatePermissionSetMethodNotAllowed) GetPayload

type UpdatePermissionSetNotFound

type UpdatePermissionSetNotFound struct {
	Payload *models.Error
}
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 (*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

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

WithBody adds the body to the update permission set params

func (*UpdatePermissionSetParams) WithContext

WithContext adds the context to the update permission set params

func (*UpdatePermissionSetParams) WithDefaults

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

WithTimeout adds the timeout to the update permission set params

func (*UpdatePermissionSetParams) WriteToRequest

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

type UpdatePermissionSetTooManyRequests struct {
	Payload *models.Error
}
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 (*UpdatePermissionSetTooManyRequests) GetPayload

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 (*UpdatePermissionSetUnprocessableEntity) GetPayload

type UpdateRoleBadRequest

type UpdateRoleBadRequest struct {
	Payload *models.Error
}
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

type UpdateRoleMethodNotAllowed struct {
	Payload *models.Error
}
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 (*UpdateRoleMethodNotAllowed) GetPayload

func (o *UpdateRoleMethodNotAllowed) GetPayload() *models.Error

type UpdateRoleNotFound

type UpdateRoleNotFound struct {
	Payload *models.Error
}
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

type UpdateRoleOK struct {
	Payload *models.Role
}
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

type UpdateRoleTooManyRequests struct {
	Payload *models.Error
}
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 (*UpdateRoleUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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