role

package
v0.0.0-...-162d0cd Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 11 Imported by: 1

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 handles this case with default header values.

Not Found

func NewAllModelSetsNotFound

func NewAllModelSetsNotFound() *AllModelSetsNotFound

NewAllModelSetsNotFound creates a AllModelSetsNotFound with default headers values

func (*AllModelSetsNotFound) Error

func (o *AllModelSetsNotFound) Error() string

type AllModelSetsOK

type AllModelSetsOK struct {
	Payload []*models.ModelSet
}

AllModelSetsOK handles this case with default header values.

All model sets.

func NewAllModelSetsOK

func NewAllModelSetsOK() *AllModelSetsOK

NewAllModelSetsOK creates a AllModelSetsOK with default headers values

func (*AllModelSetsOK) Error

func (o *AllModelSetsOK) Error() string

type AllModelSetsParams

type AllModelSetsParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllModelSetsParams contains all the parameters to send to the API endpoint for the all model sets operation typically these are written to a http.Request

func NewAllModelSetsParams

func NewAllModelSetsParams() *AllModelSetsParams

NewAllModelSetsParams creates a new AllModelSetsParams object with the default values initialized.

func NewAllModelSetsParamsWithContext

func NewAllModelSetsParamsWithContext(ctx context.Context) *AllModelSetsParams

NewAllModelSetsParamsWithContext creates a new AllModelSetsParams object with the default values initialized, and the ability to set a context for a request

func NewAllModelSetsParamsWithHTTPClient

func NewAllModelSetsParamsWithHTTPClient(client *http.Client) *AllModelSetsParams

NewAllModelSetsParamsWithHTTPClient creates a new AllModelSetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllModelSetsParamsWithTimeout

func NewAllModelSetsParamsWithTimeout(timeout time.Duration) *AllModelSetsParams

NewAllModelSetsParamsWithTimeout creates a new AllModelSetsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllModelSetsParams) SetContext

func (o *AllModelSetsParams) SetContext(ctx context.Context)

SetContext adds the context to the all model sets params

func (*AllModelSetsParams) SetFields

func (o *AllModelSetsParams) SetFields(fields *string)

SetFields adds the fields to the all model sets params

func (*AllModelSetsParams) SetHTTPClient

func (o *AllModelSetsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all model sets params

func (*AllModelSetsParams) SetTimeout

func (o *AllModelSetsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all model sets params

func (*AllModelSetsParams) WithContext

WithContext adds the context to the all model sets params

func (*AllModelSetsParams) WithFields

func (o *AllModelSetsParams) WithFields(fields *string) *AllModelSetsParams

WithFields adds the fields to the all model sets params

func (*AllModelSetsParams) WithHTTPClient

func (o *AllModelSetsParams) WithHTTPClient(client *http.Client) *AllModelSetsParams

WithHTTPClient adds the HTTPClient to the all model sets params

func (*AllModelSetsParams) WithTimeout

func (o *AllModelSetsParams) WithTimeout(timeout time.Duration) *AllModelSetsParams

WithTimeout adds the timeout to the all model sets params

func (*AllModelSetsParams) WriteToRequest

func (o *AllModelSetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AllModelSetsReader

type AllModelSetsReader struct {
	// contains filtered or unexported fields
}

AllModelSetsReader is a Reader for the AllModelSets structure.

func (*AllModelSetsReader) ReadResponse

func (o *AllModelSetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AllPermissionSetsBadRequest

type AllPermissionSetsBadRequest struct {
	Payload *models.Error
}

AllPermissionSetsBadRequest handles this case with default header values.

Bad Request

func NewAllPermissionSetsBadRequest

func NewAllPermissionSetsBadRequest() *AllPermissionSetsBadRequest

NewAllPermissionSetsBadRequest creates a AllPermissionSetsBadRequest with default headers values

func (*AllPermissionSetsBadRequest) Error

type AllPermissionSetsNotFound

type AllPermissionSetsNotFound struct {
	Payload *models.Error
}

AllPermissionSetsNotFound handles this case with default header values.

Not Found

func NewAllPermissionSetsNotFound

func NewAllPermissionSetsNotFound() *AllPermissionSetsNotFound

NewAllPermissionSetsNotFound creates a AllPermissionSetsNotFound with default headers values

func (*AllPermissionSetsNotFound) Error

func (o *AllPermissionSetsNotFound) Error() string

type AllPermissionSetsOK

type AllPermissionSetsOK struct {
	Payload []*models.PermissionSet
}

AllPermissionSetsOK handles this case with default header values.

Permission Set

func NewAllPermissionSetsOK

func NewAllPermissionSetsOK() *AllPermissionSetsOK

NewAllPermissionSetsOK creates a AllPermissionSetsOK with default headers values

func (*AllPermissionSetsOK) Error

func (o *AllPermissionSetsOK) Error() string

type AllPermissionSetsParams

type AllPermissionSetsParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllPermissionSetsParams contains all the parameters to send to the API endpoint for the all permission sets operation typically these are written to a http.Request

func NewAllPermissionSetsParams

func NewAllPermissionSetsParams() *AllPermissionSetsParams

NewAllPermissionSetsParams creates a new AllPermissionSetsParams object with the default values initialized.

func NewAllPermissionSetsParamsWithContext

func NewAllPermissionSetsParamsWithContext(ctx context.Context) *AllPermissionSetsParams

NewAllPermissionSetsParamsWithContext creates a new AllPermissionSetsParams object with the default values initialized, and the ability to set a context for a request

func NewAllPermissionSetsParamsWithHTTPClient

func NewAllPermissionSetsParamsWithHTTPClient(client *http.Client) *AllPermissionSetsParams

NewAllPermissionSetsParamsWithHTTPClient creates a new AllPermissionSetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllPermissionSetsParamsWithTimeout

func NewAllPermissionSetsParamsWithTimeout(timeout time.Duration) *AllPermissionSetsParams

NewAllPermissionSetsParamsWithTimeout creates a new AllPermissionSetsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllPermissionSetsParams) SetContext

func (o *AllPermissionSetsParams) SetContext(ctx context.Context)

SetContext adds the context to the all permission sets params

func (*AllPermissionSetsParams) SetFields

func (o *AllPermissionSetsParams) SetFields(fields *string)

SetFields adds the fields to the all permission sets params

func (*AllPermissionSetsParams) SetHTTPClient

func (o *AllPermissionSetsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all permission sets params

func (*AllPermissionSetsParams) SetTimeout

func (o *AllPermissionSetsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all permission sets params

func (*AllPermissionSetsParams) WithContext

WithContext adds the context to the all permission sets params

func (*AllPermissionSetsParams) WithFields

func (o *AllPermissionSetsParams) WithFields(fields *string) *AllPermissionSetsParams

WithFields adds the fields to the all permission sets params

func (*AllPermissionSetsParams) WithHTTPClient

func (o *AllPermissionSetsParams) WithHTTPClient(client *http.Client) *AllPermissionSetsParams

WithHTTPClient adds the HTTPClient to the all permission sets params

func (*AllPermissionSetsParams) WithTimeout

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 handles this case with default header values.

Bad Request

func NewAllPermissionsBadRequest

func NewAllPermissionsBadRequest() *AllPermissionsBadRequest

NewAllPermissionsBadRequest creates a AllPermissionsBadRequest with default headers values

func (*AllPermissionsBadRequest) Error

func (o *AllPermissionsBadRequest) Error() string

type AllPermissionsNotFound

type AllPermissionsNotFound struct {
	Payload *models.Error
}

AllPermissionsNotFound handles this case with default header values.

Not Found

func NewAllPermissionsNotFound

func NewAllPermissionsNotFound() *AllPermissionsNotFound

NewAllPermissionsNotFound creates a AllPermissionsNotFound with default headers values

func (*AllPermissionsNotFound) Error

func (o *AllPermissionsNotFound) Error() string

type AllPermissionsOK

type AllPermissionsOK struct {
	Payload []*models.Permission
}

AllPermissionsOK handles this case with default header values.

Permission

func NewAllPermissionsOK

func NewAllPermissionsOK() *AllPermissionsOK

NewAllPermissionsOK creates a AllPermissionsOK with default headers values

func (*AllPermissionsOK) Error

func (o *AllPermissionsOK) Error() string

type AllPermissionsParams

type AllPermissionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllPermissionsParams contains all the parameters to send to the API endpoint for the all permissions operation typically these are written to a http.Request

func NewAllPermissionsParams

func NewAllPermissionsParams() *AllPermissionsParams

NewAllPermissionsParams creates a new AllPermissionsParams object with the default values initialized.

func NewAllPermissionsParamsWithContext

func NewAllPermissionsParamsWithContext(ctx context.Context) *AllPermissionsParams

NewAllPermissionsParamsWithContext creates a new AllPermissionsParams object with the default values initialized, and the ability to set a context for a request

func NewAllPermissionsParamsWithHTTPClient

func NewAllPermissionsParamsWithHTTPClient(client *http.Client) *AllPermissionsParams

NewAllPermissionsParamsWithHTTPClient creates a new AllPermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllPermissionsParamsWithTimeout

func NewAllPermissionsParamsWithTimeout(timeout time.Duration) *AllPermissionsParams

NewAllPermissionsParamsWithTimeout creates a new AllPermissionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllPermissionsParams) SetContext

func (o *AllPermissionsParams) SetContext(ctx context.Context)

SetContext adds the context to the all permissions params

func (*AllPermissionsParams) SetHTTPClient

func (o *AllPermissionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all permissions params

func (*AllPermissionsParams) SetTimeout

func (o *AllPermissionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all permissions params

func (*AllPermissionsParams) WithContext

WithContext adds the context to the all permissions params

func (*AllPermissionsParams) WithHTTPClient

func (o *AllPermissionsParams) WithHTTPClient(client *http.Client) *AllPermissionsParams

WithHTTPClient adds the HTTPClient to the all permissions params

func (*AllPermissionsParams) WithTimeout

func (o *AllPermissionsParams) WithTimeout(timeout time.Duration) *AllPermissionsParams

WithTimeout adds the timeout to the all permissions params

func (*AllPermissionsParams) WriteToRequest

func (o *AllPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AllPermissionsReader

type AllPermissionsReader struct {
	// contains filtered or unexported fields
}

AllPermissionsReader is a Reader for the AllPermissions structure.

func (*AllPermissionsReader) ReadResponse

func (o *AllPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AllRolesBadRequest

type AllRolesBadRequest struct {
	Payload *models.Error
}

AllRolesBadRequest handles this case with default header values.

Bad Request

func NewAllRolesBadRequest

func NewAllRolesBadRequest() *AllRolesBadRequest

NewAllRolesBadRequest creates a AllRolesBadRequest with default headers values

func (*AllRolesBadRequest) Error

func (o *AllRolesBadRequest) Error() string

type AllRolesNotFound

type AllRolesNotFound struct {
	Payload *models.Error
}

AllRolesNotFound handles this case with default header values.

Not Found

func NewAllRolesNotFound

func NewAllRolesNotFound() *AllRolesNotFound

NewAllRolesNotFound creates a AllRolesNotFound with default headers values

func (*AllRolesNotFound) Error

func (o *AllRolesNotFound) Error() string

type AllRolesOK

type AllRolesOK struct {
	Payload []*models.Role
}

AllRolesOK handles this case with default header values.

Role

func NewAllRolesOK

func NewAllRolesOK() *AllRolesOK

NewAllRolesOK creates a AllRolesOK with default headers values

func (*AllRolesOK) Error

func (o *AllRolesOK) Error() string

type AllRolesParams

type AllRolesParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*Ids
	  Optional list of ids to get specific roles.

	*/
	Ids []int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllRolesParams contains all the parameters to send to the API endpoint for the all roles operation typically these are written to a http.Request

func NewAllRolesParams

func NewAllRolesParams() *AllRolesParams

NewAllRolesParams creates a new AllRolesParams object with the default values initialized.

func NewAllRolesParamsWithContext

func NewAllRolesParamsWithContext(ctx context.Context) *AllRolesParams

NewAllRolesParamsWithContext creates a new AllRolesParams object with the default values initialized, and the ability to set a context for a request

func NewAllRolesParamsWithHTTPClient

func NewAllRolesParamsWithHTTPClient(client *http.Client) *AllRolesParams

NewAllRolesParamsWithHTTPClient creates a new AllRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllRolesParamsWithTimeout

func NewAllRolesParamsWithTimeout(timeout time.Duration) *AllRolesParams

NewAllRolesParamsWithTimeout creates a new AllRolesParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllRolesParams) SetContext

func (o *AllRolesParams) SetContext(ctx context.Context)

SetContext adds the context to the all roles params

func (*AllRolesParams) SetFields

func (o *AllRolesParams) SetFields(fields *string)

SetFields adds the fields to the all roles params

func (*AllRolesParams) SetHTTPClient

func (o *AllRolesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all roles params

func (*AllRolesParams) SetIds

func (o *AllRolesParams) SetIds(ids []int64)

SetIds adds the ids to the all roles params

func (*AllRolesParams) SetTimeout

func (o *AllRolesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all roles params

func (*AllRolesParams) WithContext

func (o *AllRolesParams) WithContext(ctx context.Context) *AllRolesParams

WithContext adds the context to the all roles params

func (*AllRolesParams) WithFields

func (o *AllRolesParams) WithFields(fields *string) *AllRolesParams

WithFields adds the fields to the all roles params

func (*AllRolesParams) WithHTTPClient

func (o *AllRolesParams) WithHTTPClient(client *http.Client) *AllRolesParams

WithHTTPClient adds the HTTPClient to the all roles params

func (*AllRolesParams) WithIds

func (o *AllRolesParams) WithIds(ids []int64) *AllRolesParams

WithIds adds the ids to the all roles params

func (*AllRolesParams) WithTimeout

func (o *AllRolesParams) WithTimeout(timeout time.Duration) *AllRolesParams

WithTimeout adds the timeout to the all roles params

func (*AllRolesParams) WriteToRequest

func (o *AllRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AllRolesReader

type AllRolesReader struct {
	// contains filtered or unexported fields
}

AllRolesReader is a Reader for the AllRoles structure.

func (*AllRolesReader) ReadResponse

func (o *AllRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for role API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new role API client.

func (*Client) AllModelSets

func (a *Client) AllModelSets(params *AllModelSetsParams) (*AllModelSetsOK, error)

AllModelSets gets all model sets

### Get information about all model sets.

func (*Client) AllPermissionSets

func (a *Client) AllPermissionSets(params *AllPermissionSetsParams) (*AllPermissionSetsOK, error)

AllPermissionSets gets all permission sets

### Get information about all permission sets.

func (*Client) AllPermissions

func (a *Client) AllPermissions(params *AllPermissionsParams) (*AllPermissionsOK, error)

AllPermissions gets all permissions

### Get all supported permissions.

func (*Client) AllRoles

func (a *Client) AllRoles(params *AllRolesParams) (*AllRolesOK, error)

AllRoles gets all roles

### Get information about all roles.

func (*Client) CreateModelSet

func (a *Client) CreateModelSet(params *CreateModelSetParams) (*CreateModelSetOK, error)

CreateModelSet creates model set

### Create a model set with the specified information. Model sets are used by Roles.

func (*Client) CreatePermissionSet

func (a *Client) CreatePermissionSet(params *CreatePermissionSetParams) (*CreatePermissionSetOK, error)

CreatePermissionSet creates permission set

### Create a permission set with the specified information. Permission sets are used by Roles.

func (*Client) CreateRole

func (a *Client) CreateRole(params *CreateRoleParams) (*CreateRoleOK, error)

CreateRole creates role

### Create a role with the specified information.

func (*Client) DeleteModelSet

func (a *Client) DeleteModelSet(params *DeleteModelSetParams) (*DeleteModelSetNoContent, error)

DeleteModelSet deletes model set

### Delete the model set with a specific id.

func (*Client) DeletePermissionSet

func (a *Client) DeletePermissionSet(params *DeletePermissionSetParams) (*DeletePermissionSetNoContent, error)

DeletePermissionSet deletes permission set

### Delete the permission set with a specific id.

func (*Client) DeleteRole

func (a *Client) DeleteRole(params *DeleteRoleParams) (*DeleteRoleNoContent, error)

DeleteRole deletes role

### Delete the role with a specific id.

func (*Client) ModelSet

func (a *Client) ModelSet(params *ModelSetParams) (*ModelSetOK, error)

ModelSet gets model set

### Get information about the model set with a specific id.

func (*Client) PermissionSet

func (a *Client) PermissionSet(params *PermissionSetParams) (*PermissionSetOK, error)

PermissionSet gets permission set

### Get information about the permission set with a specific id.

func (*Client) Role

func (a *Client) Role(params *RoleParams) (*RoleOK, error)

Role gets role

### Get information about the role with a specific id.

func (*Client) RoleGroups

func (a *Client) RoleGroups(params *RoleGroupsParams) (*RoleGroupsOK, error)

RoleGroups gets role groups

### Get information about all the groups with the role that has a specific id.

func (*Client) RoleUsers

func (a *Client) RoleUsers(params *RoleUsersParams) (*RoleUsersOK, error)

RoleUsers gets role users

### Get information about all the users with the role that has a specific id.

func (*Client) SetRoleGroups

func (a *Client) SetRoleGroups(params *SetRoleGroupsParams) (*SetRoleGroupsOK, error)

SetRoleGroups updates role groups

### Set all groups for a role, removing all existing group associations from that role.

func (*Client) SetRoleUsers

func (a *Client) SetRoleUsers(params *SetRoleUsersParams) (*SetRoleUsersOK, error)

SetRoleUsers updates role users

### Set all the users of the role with a specific id.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateModelSet

func (a *Client) UpdateModelSet(params *UpdateModelSetParams) (*UpdateModelSetOK, error)

UpdateModelSet updates model set

### Update information about the model set with a specific id.

func (*Client) UpdatePermissionSet

func (a *Client) UpdatePermissionSet(params *UpdatePermissionSetParams) (*UpdatePermissionSetOK, error)

UpdatePermissionSet updates permission set

### Update information about the permission set with a specific id.

func (*Client) UpdateRole

func (a *Client) UpdateRole(params *UpdateRoleParams) (*UpdateRoleOK, error)

UpdateRole updates role

### Update information about the role with a specific id.

type CreateModelSetBadRequest

type CreateModelSetBadRequest struct {
	Payload *models.Error
}

CreateModelSetBadRequest handles this case with default header values.

Bad Request

func NewCreateModelSetBadRequest

func NewCreateModelSetBadRequest() *CreateModelSetBadRequest

NewCreateModelSetBadRequest creates a CreateModelSetBadRequest with default headers values

func (*CreateModelSetBadRequest) Error

func (o *CreateModelSetBadRequest) Error() string

type CreateModelSetConflict

type CreateModelSetConflict struct {
	Payload *models.Error
}

CreateModelSetConflict handles this case with default header values.

Resource Already Exists

func NewCreateModelSetConflict

func NewCreateModelSetConflict() *CreateModelSetConflict

NewCreateModelSetConflict creates a CreateModelSetConflict with default headers values

func (*CreateModelSetConflict) Error

func (o *CreateModelSetConflict) Error() string

type CreateModelSetNotFound

type CreateModelSetNotFound struct {
	Payload *models.Error
}

CreateModelSetNotFound handles this case with default header values.

Not Found

func NewCreateModelSetNotFound

func NewCreateModelSetNotFound() *CreateModelSetNotFound

NewCreateModelSetNotFound creates a CreateModelSetNotFound with default headers values

func (*CreateModelSetNotFound) Error

func (o *CreateModelSetNotFound) Error() string

type CreateModelSetOK

type CreateModelSetOK struct {
	Payload *models.ModelSet
}

CreateModelSetOK handles this case with default header values.

Newly created ModelSet

func NewCreateModelSetOK

func NewCreateModelSetOK() *CreateModelSetOK

NewCreateModelSetOK creates a CreateModelSetOK with default headers values

func (*CreateModelSetOK) Error

func (o *CreateModelSetOK) Error() string

type CreateModelSetParams

type CreateModelSetParams struct {

	/*Body
	  ModelSet

	*/
	Body *models.ModelSet

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateModelSetParams contains all the parameters to send to the API endpoint for the create model set operation typically these are written to a http.Request

func NewCreateModelSetParams

func NewCreateModelSetParams() *CreateModelSetParams

NewCreateModelSetParams creates a new CreateModelSetParams object with the default values initialized.

func NewCreateModelSetParamsWithContext

func NewCreateModelSetParamsWithContext(ctx context.Context) *CreateModelSetParams

NewCreateModelSetParamsWithContext creates a new CreateModelSetParams object with the default values initialized, and the ability to set a context for a request

func NewCreateModelSetParamsWithHTTPClient

func NewCreateModelSetParamsWithHTTPClient(client *http.Client) *CreateModelSetParams

NewCreateModelSetParamsWithHTTPClient creates a new CreateModelSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateModelSetParamsWithTimeout

func NewCreateModelSetParamsWithTimeout(timeout time.Duration) *CreateModelSetParams

NewCreateModelSetParamsWithTimeout creates a new CreateModelSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateModelSetParams) SetBody

func (o *CreateModelSetParams) SetBody(body *models.ModelSet)

SetBody adds the body to the create model set params

func (*CreateModelSetParams) SetContext

func (o *CreateModelSetParams) SetContext(ctx context.Context)

SetContext adds the context to the create model set params

func (*CreateModelSetParams) SetHTTPClient

func (o *CreateModelSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create model set params

func (*CreateModelSetParams) SetTimeout

func (o *CreateModelSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create model set params

func (*CreateModelSetParams) WithBody

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) WithHTTPClient

func (o *CreateModelSetParams) WithHTTPClient(client *http.Client) *CreateModelSetParams

WithHTTPClient adds the HTTPClient to the create model set params

func (*CreateModelSetParams) WithTimeout

func (o *CreateModelSetParams) WithTimeout(timeout time.Duration) *CreateModelSetParams

WithTimeout adds the timeout to the create model set params

func (*CreateModelSetParams) WriteToRequest

func (o *CreateModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateModelSetReader

type CreateModelSetReader struct {
	// contains filtered or unexported fields
}

CreateModelSetReader is a Reader for the CreateModelSet structure.

func (*CreateModelSetReader) ReadResponse

func (o *CreateModelSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateModelSetUnprocessableEntity

type CreateModelSetUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateModelSetUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateModelSetUnprocessableEntity

func NewCreateModelSetUnprocessableEntity() *CreateModelSetUnprocessableEntity

NewCreateModelSetUnprocessableEntity creates a CreateModelSetUnprocessableEntity with default headers values

func (*CreateModelSetUnprocessableEntity) Error

type CreatePermissionSetBadRequest

type CreatePermissionSetBadRequest struct {
	Payload *models.Error
}

CreatePermissionSetBadRequest handles this case with default header values.

Bad Request

func NewCreatePermissionSetBadRequest

func NewCreatePermissionSetBadRequest() *CreatePermissionSetBadRequest

NewCreatePermissionSetBadRequest creates a CreatePermissionSetBadRequest with default headers values

func (*CreatePermissionSetBadRequest) Error

type CreatePermissionSetConflict

type CreatePermissionSetConflict struct {
	Payload *models.Error
}

CreatePermissionSetConflict handles this case with default header values.

Resource Already Exists

func NewCreatePermissionSetConflict

func NewCreatePermissionSetConflict() *CreatePermissionSetConflict

NewCreatePermissionSetConflict creates a CreatePermissionSetConflict with default headers values

func (*CreatePermissionSetConflict) Error

type CreatePermissionSetNotFound

type CreatePermissionSetNotFound struct {
	Payload *models.Error
}

CreatePermissionSetNotFound handles this case with default header values.

Not Found

func NewCreatePermissionSetNotFound

func NewCreatePermissionSetNotFound() *CreatePermissionSetNotFound

NewCreatePermissionSetNotFound creates a CreatePermissionSetNotFound with default headers values

func (*CreatePermissionSetNotFound) Error

type CreatePermissionSetOK

type CreatePermissionSetOK struct {
	Payload *models.PermissionSet
}

CreatePermissionSetOK handles this case with default header values.

Permission Set

func NewCreatePermissionSetOK

func NewCreatePermissionSetOK() *CreatePermissionSetOK

NewCreatePermissionSetOK creates a CreatePermissionSetOK with default headers values

func (*CreatePermissionSetOK) Error

func (o *CreatePermissionSetOK) Error() string

type CreatePermissionSetParams

type CreatePermissionSetParams struct {

	/*Body
	  Permission Set

	*/
	Body *models.PermissionSet

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreatePermissionSetParams contains all the parameters to send to the API endpoint for the create permission set operation typically these are written to a http.Request

func NewCreatePermissionSetParams

func NewCreatePermissionSetParams() *CreatePermissionSetParams

NewCreatePermissionSetParams creates a new CreatePermissionSetParams object with the default values initialized.

func NewCreatePermissionSetParamsWithContext

func NewCreatePermissionSetParamsWithContext(ctx context.Context) *CreatePermissionSetParams

NewCreatePermissionSetParamsWithContext creates a new CreatePermissionSetParams object with the default values initialized, and the ability to set a context for a request

func NewCreatePermissionSetParamsWithHTTPClient

func NewCreatePermissionSetParamsWithHTTPClient(client *http.Client) *CreatePermissionSetParams

NewCreatePermissionSetParamsWithHTTPClient creates a new CreatePermissionSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreatePermissionSetParamsWithTimeout

func NewCreatePermissionSetParamsWithTimeout(timeout time.Duration) *CreatePermissionSetParams

NewCreatePermissionSetParamsWithTimeout creates a new CreatePermissionSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreatePermissionSetParams) SetBody

SetBody adds the body to the create permission set params

func (*CreatePermissionSetParams) SetContext

func (o *CreatePermissionSetParams) SetContext(ctx context.Context)

SetContext adds the context to the create permission set params

func (*CreatePermissionSetParams) SetHTTPClient

func (o *CreatePermissionSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create permission set params

func (*CreatePermissionSetParams) SetTimeout

func (o *CreatePermissionSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create permission set params

func (*CreatePermissionSetParams) WithBody

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) 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 CreatePermissionSetUnprocessableEntity

type CreatePermissionSetUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreatePermissionSetUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreatePermissionSetUnprocessableEntity

func NewCreatePermissionSetUnprocessableEntity() *CreatePermissionSetUnprocessableEntity

NewCreatePermissionSetUnprocessableEntity creates a CreatePermissionSetUnprocessableEntity with default headers values

func (*CreatePermissionSetUnprocessableEntity) Error

type CreateRoleBadRequest

type CreateRoleBadRequest struct {
	Payload *models.Error
}

CreateRoleBadRequest handles this case with default header values.

Bad Request

func NewCreateRoleBadRequest

func NewCreateRoleBadRequest() *CreateRoleBadRequest

NewCreateRoleBadRequest creates a CreateRoleBadRequest with default headers values

func (*CreateRoleBadRequest) Error

func (o *CreateRoleBadRequest) Error() string

type CreateRoleConflict

type CreateRoleConflict struct {
	Payload *models.Error
}

CreateRoleConflict handles this case with default header values.

Resource Already Exists

func NewCreateRoleConflict

func NewCreateRoleConflict() *CreateRoleConflict

NewCreateRoleConflict creates a CreateRoleConflict with default headers values

func (*CreateRoleConflict) Error

func (o *CreateRoleConflict) Error() string

type CreateRoleNotFound

type CreateRoleNotFound struct {
	Payload *models.Error
}

CreateRoleNotFound handles this case with default header values.

Not Found

func NewCreateRoleNotFound

func NewCreateRoleNotFound() *CreateRoleNotFound

NewCreateRoleNotFound creates a CreateRoleNotFound with default headers values

func (*CreateRoleNotFound) Error

func (o *CreateRoleNotFound) Error() string

type CreateRoleOK

type CreateRoleOK struct {
	Payload *models.Role
}

CreateRoleOK handles this case with default header values.

Role

func NewCreateRoleOK

func NewCreateRoleOK() *CreateRoleOK

NewCreateRoleOK creates a CreateRoleOK with default headers values

func (*CreateRoleOK) Error

func (o *CreateRoleOK) Error() string

type CreateRoleParams

type CreateRoleParams struct {

	/*Body
	  Role

	*/
	Body *models.Role

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateRoleParams contains all the parameters to send to the API endpoint for the create role operation typically these are written to a http.Request

func NewCreateRoleParams

func NewCreateRoleParams() *CreateRoleParams

NewCreateRoleParams creates a new CreateRoleParams object with the default values initialized.

func NewCreateRoleParamsWithContext

func NewCreateRoleParamsWithContext(ctx context.Context) *CreateRoleParams

NewCreateRoleParamsWithContext creates a new CreateRoleParams object with the default values initialized, and the ability to set a context for a request

func NewCreateRoleParamsWithHTTPClient

func NewCreateRoleParamsWithHTTPClient(client *http.Client) *CreateRoleParams

NewCreateRoleParamsWithHTTPClient creates a new CreateRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateRoleParamsWithTimeout

func NewCreateRoleParamsWithTimeout(timeout time.Duration) *CreateRoleParams

NewCreateRoleParamsWithTimeout creates a new CreateRoleParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateRoleParams) SetBody

func (o *CreateRoleParams) SetBody(body *models.Role)

SetBody adds the body to the create role params

func (*CreateRoleParams) SetContext

func (o *CreateRoleParams) SetContext(ctx context.Context)

SetContext adds the context to the create role params

func (*CreateRoleParams) SetHTTPClient

func (o *CreateRoleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create role params

func (*CreateRoleParams) SetTimeout

func (o *CreateRoleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create role params

func (*CreateRoleParams) WithBody

func (o *CreateRoleParams) WithBody(body *models.Role) *CreateRoleParams

WithBody adds the body to the create role params

func (*CreateRoleParams) WithContext

func (o *CreateRoleParams) WithContext(ctx context.Context) *CreateRoleParams

WithContext adds the context to the create role params

func (*CreateRoleParams) WithHTTPClient

func (o *CreateRoleParams) WithHTTPClient(client *http.Client) *CreateRoleParams

WithHTTPClient adds the HTTPClient to the create role params

func (*CreateRoleParams) WithTimeout

func (o *CreateRoleParams) WithTimeout(timeout time.Duration) *CreateRoleParams

WithTimeout adds the timeout to the create role params

func (*CreateRoleParams) WriteToRequest

func (o *CreateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateRoleReader

type CreateRoleReader struct {
	// contains filtered or unexported fields
}

CreateRoleReader is a Reader for the CreateRole structure.

func (*CreateRoleReader) ReadResponse

func (o *CreateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateRoleUnprocessableEntity

type CreateRoleUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateRoleUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateRoleUnprocessableEntity

func NewCreateRoleUnprocessableEntity() *CreateRoleUnprocessableEntity

NewCreateRoleUnprocessableEntity creates a CreateRoleUnprocessableEntity with default headers values

func (*CreateRoleUnprocessableEntity) Error

type DeleteModelSetBadRequest

type DeleteModelSetBadRequest struct {
	Payload *models.Error
}

DeleteModelSetBadRequest handles this case with default header values.

Bad Request

func NewDeleteModelSetBadRequest

func NewDeleteModelSetBadRequest() *DeleteModelSetBadRequest

NewDeleteModelSetBadRequest creates a DeleteModelSetBadRequest with default headers values

func (*DeleteModelSetBadRequest) Error

func (o *DeleteModelSetBadRequest) Error() string

type DeleteModelSetMethodNotAllowed

type DeleteModelSetMethodNotAllowed struct {
	Payload *models.Error
}

DeleteModelSetMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewDeleteModelSetMethodNotAllowed

func NewDeleteModelSetMethodNotAllowed() *DeleteModelSetMethodNotAllowed

NewDeleteModelSetMethodNotAllowed creates a DeleteModelSetMethodNotAllowed with default headers values

func (*DeleteModelSetMethodNotAllowed) Error

type DeleteModelSetNoContent

type DeleteModelSetNoContent struct {
	Payload string
}

DeleteModelSetNoContent handles this case with default header values.

Model set succssfully deleted.

func NewDeleteModelSetNoContent

func NewDeleteModelSetNoContent() *DeleteModelSetNoContent

NewDeleteModelSetNoContent creates a DeleteModelSetNoContent with default headers values

func (*DeleteModelSetNoContent) Error

func (o *DeleteModelSetNoContent) Error() string

type DeleteModelSetNotFound

type DeleteModelSetNotFound struct {
	Payload *models.Error
}

DeleteModelSetNotFound handles this case with default header values.

Not Found

func NewDeleteModelSetNotFound

func NewDeleteModelSetNotFound() *DeleteModelSetNotFound

NewDeleteModelSetNotFound creates a DeleteModelSetNotFound with default headers values

func (*DeleteModelSetNotFound) Error

func (o *DeleteModelSetNotFound) Error() string

type DeleteModelSetParams

type DeleteModelSetParams struct {

	/*ModelSetID
	  id of model set

	*/
	ModelSetID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteModelSetParams contains all the parameters to send to the API endpoint for the delete model set operation typically these are written to a http.Request

func NewDeleteModelSetParams

func NewDeleteModelSetParams() *DeleteModelSetParams

NewDeleteModelSetParams creates a new DeleteModelSetParams object with the default values initialized.

func NewDeleteModelSetParamsWithContext

func NewDeleteModelSetParamsWithContext(ctx context.Context) *DeleteModelSetParams

NewDeleteModelSetParamsWithContext creates a new DeleteModelSetParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteModelSetParamsWithHTTPClient

func NewDeleteModelSetParamsWithHTTPClient(client *http.Client) *DeleteModelSetParams

NewDeleteModelSetParamsWithHTTPClient creates a new DeleteModelSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteModelSetParamsWithTimeout

func NewDeleteModelSetParamsWithTimeout(timeout time.Duration) *DeleteModelSetParams

NewDeleteModelSetParamsWithTimeout creates a new DeleteModelSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteModelSetParams) SetContext

func (o *DeleteModelSetParams) SetContext(ctx context.Context)

SetContext adds the context to the delete model set params

func (*DeleteModelSetParams) SetHTTPClient

func (o *DeleteModelSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete model set params

func (*DeleteModelSetParams) SetModelSetID

func (o *DeleteModelSetParams) SetModelSetID(modelSetID int64)

SetModelSetID adds the modelSetId to the delete model set params

func (*DeleteModelSetParams) SetTimeout

func (o *DeleteModelSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete model set params

func (*DeleteModelSetParams) WithContext

WithContext adds the context to the delete model set params

func (*DeleteModelSetParams) WithHTTPClient

func (o *DeleteModelSetParams) WithHTTPClient(client *http.Client) *DeleteModelSetParams

WithHTTPClient adds the HTTPClient to the delete model set params

func (*DeleteModelSetParams) WithModelSetID

func (o *DeleteModelSetParams) WithModelSetID(modelSetID int64) *DeleteModelSetParams

WithModelSetID adds the modelSetID to the delete model set params

func (*DeleteModelSetParams) WithTimeout

func (o *DeleteModelSetParams) WithTimeout(timeout time.Duration) *DeleteModelSetParams

WithTimeout adds the timeout to the delete model set params

func (*DeleteModelSetParams) WriteToRequest

func (o *DeleteModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteModelSetReader

type DeleteModelSetReader struct {
	// contains filtered or unexported fields
}

DeleteModelSetReader is a Reader for the DeleteModelSet structure.

func (*DeleteModelSetReader) ReadResponse

func (o *DeleteModelSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeletePermissionSetBadRequest

type DeletePermissionSetBadRequest struct {
	Payload *models.Error
}

DeletePermissionSetBadRequest handles this case with default header values.

Bad Request

func NewDeletePermissionSetBadRequest

func NewDeletePermissionSetBadRequest() *DeletePermissionSetBadRequest

NewDeletePermissionSetBadRequest creates a DeletePermissionSetBadRequest with default headers values

func (*DeletePermissionSetBadRequest) Error

type DeletePermissionSetMethodNotAllowed

type DeletePermissionSetMethodNotAllowed struct {
	Payload *models.Error
}

DeletePermissionSetMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewDeletePermissionSetMethodNotAllowed

func NewDeletePermissionSetMethodNotAllowed() *DeletePermissionSetMethodNotAllowed

NewDeletePermissionSetMethodNotAllowed creates a DeletePermissionSetMethodNotAllowed with default headers values

func (*DeletePermissionSetMethodNotAllowed) Error

type DeletePermissionSetNoContent

type DeletePermissionSetNoContent struct {
	Payload string
}

DeletePermissionSetNoContent handles this case with default header values.

Successfully deleted.

func NewDeletePermissionSetNoContent

func NewDeletePermissionSetNoContent() *DeletePermissionSetNoContent

NewDeletePermissionSetNoContent creates a DeletePermissionSetNoContent with default headers values

func (*DeletePermissionSetNoContent) Error

type DeletePermissionSetNotFound

type DeletePermissionSetNotFound struct {
	Payload *models.Error
}

DeletePermissionSetNotFound handles this case with default header values.

Not Found

func NewDeletePermissionSetNotFound

func NewDeletePermissionSetNotFound() *DeletePermissionSetNotFound

NewDeletePermissionSetNotFound creates a DeletePermissionSetNotFound with default headers values

func (*DeletePermissionSetNotFound) Error

type DeletePermissionSetParams

type DeletePermissionSetParams struct {

	/*PermissionSetID
	  Id of permission set

	*/
	PermissionSetID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePermissionSetParams contains all the parameters to send to the API endpoint for the delete permission set operation typically these are written to a http.Request

func NewDeletePermissionSetParams

func NewDeletePermissionSetParams() *DeletePermissionSetParams

NewDeletePermissionSetParams creates a new DeletePermissionSetParams object with the default values initialized.

func NewDeletePermissionSetParamsWithContext

func NewDeletePermissionSetParamsWithContext(ctx context.Context) *DeletePermissionSetParams

NewDeletePermissionSetParamsWithContext creates a new DeletePermissionSetParams object with the default values initialized, and the ability to set a context for a request

func NewDeletePermissionSetParamsWithHTTPClient

func NewDeletePermissionSetParamsWithHTTPClient(client *http.Client) *DeletePermissionSetParams

NewDeletePermissionSetParamsWithHTTPClient creates a new DeletePermissionSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletePermissionSetParamsWithTimeout

func NewDeletePermissionSetParamsWithTimeout(timeout time.Duration) *DeletePermissionSetParams

NewDeletePermissionSetParamsWithTimeout creates a new DeletePermissionSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeletePermissionSetParams) SetContext

func (o *DeletePermissionSetParams) SetContext(ctx context.Context)

SetContext adds the context to the delete permission set params

func (*DeletePermissionSetParams) SetHTTPClient

func (o *DeletePermissionSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete permission set params

func (*DeletePermissionSetParams) SetPermissionSetID

func (o *DeletePermissionSetParams) SetPermissionSetID(permissionSetID int64)

SetPermissionSetID adds the permissionSetId to the delete permission set params

func (*DeletePermissionSetParams) SetTimeout

func (o *DeletePermissionSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete permission set params

func (*DeletePermissionSetParams) WithContext

WithContext adds the context to the delete permission set params

func (*DeletePermissionSetParams) WithHTTPClient

func (o *DeletePermissionSetParams) WithHTTPClient(client *http.Client) *DeletePermissionSetParams

WithHTTPClient adds the HTTPClient to the delete permission set params

func (*DeletePermissionSetParams) WithPermissionSetID

func (o *DeletePermissionSetParams) WithPermissionSetID(permissionSetID int64) *DeletePermissionSetParams

WithPermissionSetID adds the permissionSetID to the delete permission set params

func (*DeletePermissionSetParams) WithTimeout

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 DeleteRoleBadRequest

type DeleteRoleBadRequest struct {
	Payload *models.Error
}

DeleteRoleBadRequest handles this case with default header values.

Bad Request

func NewDeleteRoleBadRequest

func NewDeleteRoleBadRequest() *DeleteRoleBadRequest

NewDeleteRoleBadRequest creates a DeleteRoleBadRequest with default headers values

func (*DeleteRoleBadRequest) Error

func (o *DeleteRoleBadRequest) Error() string

type DeleteRoleMethodNotAllowed

type DeleteRoleMethodNotAllowed struct {
	Payload *models.Error
}

DeleteRoleMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewDeleteRoleMethodNotAllowed

func NewDeleteRoleMethodNotAllowed() *DeleteRoleMethodNotAllowed

NewDeleteRoleMethodNotAllowed creates a DeleteRoleMethodNotAllowed with default headers values

func (*DeleteRoleMethodNotAllowed) Error

type DeleteRoleNoContent

type DeleteRoleNoContent struct {
	Payload string
}

DeleteRoleNoContent handles this case with default header values.

Successfully deleted.

func NewDeleteRoleNoContent

func NewDeleteRoleNoContent() *DeleteRoleNoContent

NewDeleteRoleNoContent creates a DeleteRoleNoContent with default headers values

func (*DeleteRoleNoContent) Error

func (o *DeleteRoleNoContent) Error() string

type DeleteRoleNotFound

type DeleteRoleNotFound struct {
	Payload *models.Error
}

DeleteRoleNotFound handles this case with default header values.

Not Found

func NewDeleteRoleNotFound

func NewDeleteRoleNotFound() *DeleteRoleNotFound

NewDeleteRoleNotFound creates a DeleteRoleNotFound with default headers values

func (*DeleteRoleNotFound) Error

func (o *DeleteRoleNotFound) Error() string

type DeleteRoleParams

type DeleteRoleParams struct {

	/*RoleID
	  id of role

	*/
	RoleID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteRoleParams contains all the parameters to send to the API endpoint for the delete role operation typically these are written to a http.Request

func NewDeleteRoleParams

func NewDeleteRoleParams() *DeleteRoleParams

NewDeleteRoleParams creates a new DeleteRoleParams object with the default values initialized.

func NewDeleteRoleParamsWithContext

func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams

NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRoleParamsWithHTTPClient

func NewDeleteRoleParamsWithHTTPClient(client *http.Client) *DeleteRoleParams

NewDeleteRoleParamsWithHTTPClient creates a new DeleteRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRoleParamsWithTimeout

func NewDeleteRoleParamsWithTimeout(timeout time.Duration) *DeleteRoleParams

NewDeleteRoleParamsWithTimeout creates a new DeleteRoleParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRoleParams) SetContext

func (o *DeleteRoleParams) SetContext(ctx context.Context)

SetContext adds the context to the delete role params

func (*DeleteRoleParams) SetHTTPClient

func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete role params

func (*DeleteRoleParams) SetRoleID

func (o *DeleteRoleParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the delete role params

func (*DeleteRoleParams) SetTimeout

func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete role params

func (*DeleteRoleParams) WithContext

func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams

WithContext adds the context to the delete role params

func (*DeleteRoleParams) WithHTTPClient

func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams

WithHTTPClient adds the HTTPClient to the delete role params

func (*DeleteRoleParams) WithRoleID

func (o *DeleteRoleParams) WithRoleID(roleID int64) *DeleteRoleParams

WithRoleID adds the roleID to the delete role params

func (*DeleteRoleParams) WithTimeout

func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams

WithTimeout adds the timeout to the delete role params

func (*DeleteRoleParams) WriteToRequest

func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteRoleReader

type DeleteRoleReader struct {
	// contains filtered or unexported fields
}

DeleteRoleReader is a Reader for the DeleteRole structure.

func (*DeleteRoleReader) ReadResponse

func (o *DeleteRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModelSetBadRequest

type ModelSetBadRequest struct {
	Payload *models.Error
}

ModelSetBadRequest handles this case with default header values.

Bad Request

func NewModelSetBadRequest

func NewModelSetBadRequest() *ModelSetBadRequest

NewModelSetBadRequest creates a ModelSetBadRequest with default headers values

func (*ModelSetBadRequest) Error

func (o *ModelSetBadRequest) Error() string

type ModelSetNotFound

type ModelSetNotFound struct {
	Payload *models.Error
}

ModelSetNotFound handles this case with default header values.

Not Found

func NewModelSetNotFound

func NewModelSetNotFound() *ModelSetNotFound

NewModelSetNotFound creates a ModelSetNotFound with default headers values

func (*ModelSetNotFound) Error

func (o *ModelSetNotFound) Error() string

type ModelSetOK

type ModelSetOK struct {
	Payload *models.ModelSet
}

ModelSetOK handles this case with default header values.

Specified model set.

func NewModelSetOK

func NewModelSetOK() *ModelSetOK

NewModelSetOK creates a ModelSetOK with default headers values

func (*ModelSetOK) Error

func (o *ModelSetOK) Error() string

type ModelSetParams

type ModelSetParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*ModelSetID
	  Id of model set

	*/
	ModelSetID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModelSetParams contains all the parameters to send to the API endpoint for the model set operation typically these are written to a http.Request

func NewModelSetParams

func NewModelSetParams() *ModelSetParams

NewModelSetParams creates a new ModelSetParams object with the default values initialized.

func NewModelSetParamsWithContext

func NewModelSetParamsWithContext(ctx context.Context) *ModelSetParams

NewModelSetParamsWithContext creates a new ModelSetParams object with the default values initialized, and the ability to set a context for a request

func NewModelSetParamsWithHTTPClient

func NewModelSetParamsWithHTTPClient(client *http.Client) *ModelSetParams

NewModelSetParamsWithHTTPClient creates a new ModelSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewModelSetParamsWithTimeout

func NewModelSetParamsWithTimeout(timeout time.Duration) *ModelSetParams

NewModelSetParamsWithTimeout creates a new ModelSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ModelSetParams) SetContext

func (o *ModelSetParams) SetContext(ctx context.Context)

SetContext adds the context to the model set params

func (*ModelSetParams) SetFields

func (o *ModelSetParams) SetFields(fields *string)

SetFields adds the fields to the model set params

func (*ModelSetParams) SetHTTPClient

func (o *ModelSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the model set params

func (*ModelSetParams) SetModelSetID

func (o *ModelSetParams) SetModelSetID(modelSetID int64)

SetModelSetID adds the modelSetId to the model set params

func (*ModelSetParams) SetTimeout

func (o *ModelSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the model set params

func (*ModelSetParams) WithContext

func (o *ModelSetParams) WithContext(ctx context.Context) *ModelSetParams

WithContext adds the context to the model set params

func (*ModelSetParams) WithFields

func (o *ModelSetParams) WithFields(fields *string) *ModelSetParams

WithFields adds the fields to the model set params

func (*ModelSetParams) WithHTTPClient

func (o *ModelSetParams) WithHTTPClient(client *http.Client) *ModelSetParams

WithHTTPClient adds the HTTPClient to the model set params

func (*ModelSetParams) WithModelSetID

func (o *ModelSetParams) WithModelSetID(modelSetID int64) *ModelSetParams

WithModelSetID adds the modelSetID to the model set params

func (*ModelSetParams) WithTimeout

func (o *ModelSetParams) WithTimeout(timeout time.Duration) *ModelSetParams

WithTimeout adds the timeout to the model set params

func (*ModelSetParams) WriteToRequest

func (o *ModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ModelSetReader

type ModelSetReader struct {
	// contains filtered or unexported fields
}

ModelSetReader is a Reader for the ModelSet structure.

func (*ModelSetReader) ReadResponse

func (o *ModelSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PermissionSetBadRequest

type PermissionSetBadRequest struct {
	Payload *models.Error
}

PermissionSetBadRequest handles this case with default header values.

Bad Request

func NewPermissionSetBadRequest

func NewPermissionSetBadRequest() *PermissionSetBadRequest

NewPermissionSetBadRequest creates a PermissionSetBadRequest with default headers values

func (*PermissionSetBadRequest) Error

func (o *PermissionSetBadRequest) Error() string

type PermissionSetNotFound

type PermissionSetNotFound struct {
	Payload *models.Error
}

PermissionSetNotFound handles this case with default header values.

Not Found

func NewPermissionSetNotFound

func NewPermissionSetNotFound() *PermissionSetNotFound

NewPermissionSetNotFound creates a PermissionSetNotFound with default headers values

func (*PermissionSetNotFound) Error

func (o *PermissionSetNotFound) Error() string

type PermissionSetOK

type PermissionSetOK struct {
	Payload *models.PermissionSet
}

PermissionSetOK handles this case with default header values.

Permission Set

func NewPermissionSetOK

func NewPermissionSetOK() *PermissionSetOK

NewPermissionSetOK creates a PermissionSetOK with default headers values

func (*PermissionSetOK) Error

func (o *PermissionSetOK) Error() string

type PermissionSetParams

type PermissionSetParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*PermissionSetID
	  Id of permission set

	*/
	PermissionSetID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PermissionSetParams contains all the parameters to send to the API endpoint for the permission set operation typically these are written to a http.Request

func NewPermissionSetParams

func NewPermissionSetParams() *PermissionSetParams

NewPermissionSetParams creates a new PermissionSetParams object with the default values initialized.

func NewPermissionSetParamsWithContext

func NewPermissionSetParamsWithContext(ctx context.Context) *PermissionSetParams

NewPermissionSetParamsWithContext creates a new PermissionSetParams object with the default values initialized, and the ability to set a context for a request

func NewPermissionSetParamsWithHTTPClient

func NewPermissionSetParamsWithHTTPClient(client *http.Client) *PermissionSetParams

NewPermissionSetParamsWithHTTPClient creates a new PermissionSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPermissionSetParamsWithTimeout

func NewPermissionSetParamsWithTimeout(timeout time.Duration) *PermissionSetParams

NewPermissionSetParamsWithTimeout creates a new PermissionSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PermissionSetParams) SetContext

func (o *PermissionSetParams) SetContext(ctx context.Context)

SetContext adds the context to the permission set params

func (*PermissionSetParams) SetFields

func (o *PermissionSetParams) SetFields(fields *string)

SetFields adds the fields to the permission set params

func (*PermissionSetParams) SetHTTPClient

func (o *PermissionSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the permission set params

func (*PermissionSetParams) SetPermissionSetID

func (o *PermissionSetParams) SetPermissionSetID(permissionSetID int64)

SetPermissionSetID adds the permissionSetId to the permission set params

func (*PermissionSetParams) SetTimeout

func (o *PermissionSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the permission set params

func (*PermissionSetParams) WithContext

WithContext adds the context to the permission set params

func (*PermissionSetParams) WithFields

func (o *PermissionSetParams) WithFields(fields *string) *PermissionSetParams

WithFields adds the fields to the permission set params

func (*PermissionSetParams) WithHTTPClient

func (o *PermissionSetParams) WithHTTPClient(client *http.Client) *PermissionSetParams

WithHTTPClient adds the HTTPClient to the permission set params

func (*PermissionSetParams) WithPermissionSetID

func (o *PermissionSetParams) WithPermissionSetID(permissionSetID int64) *PermissionSetParams

WithPermissionSetID adds the permissionSetID to the permission set params

func (*PermissionSetParams) WithTimeout

func (o *PermissionSetParams) WithTimeout(timeout time.Duration) *PermissionSetParams

WithTimeout adds the timeout to the permission set params

func (*PermissionSetParams) WriteToRequest

func (o *PermissionSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PermissionSetReader

type PermissionSetReader struct {
	// contains filtered or unexported fields
}

PermissionSetReader is a Reader for the PermissionSet structure.

func (*PermissionSetReader) ReadResponse

func (o *PermissionSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RoleBadRequest

type RoleBadRequest struct {
	Payload *models.Error
}

RoleBadRequest handles this case with default header values.

Bad Request

func NewRoleBadRequest

func NewRoleBadRequest() *RoleBadRequest

NewRoleBadRequest creates a RoleBadRequest with default headers values

func (*RoleBadRequest) Error

func (o *RoleBadRequest) Error() string

type RoleGroupsBadRequest

type RoleGroupsBadRequest struct {
	Payload *models.Error
}

RoleGroupsBadRequest handles this case with default header values.

Bad Request

func NewRoleGroupsBadRequest

func NewRoleGroupsBadRequest() *RoleGroupsBadRequest

NewRoleGroupsBadRequest creates a RoleGroupsBadRequest with default headers values

func (*RoleGroupsBadRequest) Error

func (o *RoleGroupsBadRequest) Error() string

type RoleGroupsNotFound

type RoleGroupsNotFound struct {
	Payload *models.Error
}

RoleGroupsNotFound handles this case with default header values.

Not Found

func NewRoleGroupsNotFound

func NewRoleGroupsNotFound() *RoleGroupsNotFound

NewRoleGroupsNotFound creates a RoleGroupsNotFound with default headers values

func (*RoleGroupsNotFound) Error

func (o *RoleGroupsNotFound) Error() string

type RoleGroupsOK

type RoleGroupsOK struct {
	Payload []*models.Group
}

RoleGroupsOK handles this case with default header values.

Groups with role.

func NewRoleGroupsOK

func NewRoleGroupsOK() *RoleGroupsOK

NewRoleGroupsOK creates a RoleGroupsOK with default headers values

func (*RoleGroupsOK) Error

func (o *RoleGroupsOK) Error() string

type RoleGroupsParams

type RoleGroupsParams struct {

	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*RoleID
	  id of role

	*/
	RoleID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RoleGroupsParams contains all the parameters to send to the API endpoint for the role groups operation typically these are written to a http.Request

func NewRoleGroupsParams

func NewRoleGroupsParams() *RoleGroupsParams

NewRoleGroupsParams creates a new RoleGroupsParams object with the default values initialized.

func NewRoleGroupsParamsWithContext

func NewRoleGroupsParamsWithContext(ctx context.Context) *RoleGroupsParams

NewRoleGroupsParamsWithContext creates a new RoleGroupsParams object with the default values initialized, and the ability to set a context for a request

func NewRoleGroupsParamsWithHTTPClient

func NewRoleGroupsParamsWithHTTPClient(client *http.Client) *RoleGroupsParams

NewRoleGroupsParamsWithHTTPClient creates a new RoleGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRoleGroupsParamsWithTimeout

func NewRoleGroupsParamsWithTimeout(timeout time.Duration) *RoleGroupsParams

NewRoleGroupsParamsWithTimeout creates a new RoleGroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*RoleGroupsParams) SetContext

func (o *RoleGroupsParams) SetContext(ctx context.Context)

SetContext adds the context to the role groups params

func (*RoleGroupsParams) SetFields

func (o *RoleGroupsParams) SetFields(fields *string)

SetFields adds the fields to the role groups params

func (*RoleGroupsParams) SetHTTPClient

func (o *RoleGroupsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the role groups params

func (*RoleGroupsParams) SetRoleID

func (o *RoleGroupsParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the role groups params

func (*RoleGroupsParams) SetTimeout

func (o *RoleGroupsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the role groups params

func (*RoleGroupsParams) WithContext

func (o *RoleGroupsParams) WithContext(ctx context.Context) *RoleGroupsParams

WithContext adds the context to the role groups params

func (*RoleGroupsParams) WithFields

func (o *RoleGroupsParams) WithFields(fields *string) *RoleGroupsParams

WithFields adds the fields to the role groups params

func (*RoleGroupsParams) WithHTTPClient

func (o *RoleGroupsParams) WithHTTPClient(client *http.Client) *RoleGroupsParams

WithHTTPClient adds the HTTPClient to the role groups params

func (*RoleGroupsParams) WithRoleID

func (o *RoleGroupsParams) WithRoleID(roleID int64) *RoleGroupsParams

WithRoleID adds the roleID to the role groups params

func (*RoleGroupsParams) WithTimeout

func (o *RoleGroupsParams) WithTimeout(timeout time.Duration) *RoleGroupsParams

WithTimeout adds the timeout to the role groups params

func (*RoleGroupsParams) WriteToRequest

func (o *RoleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RoleGroupsReader

type RoleGroupsReader struct {
	// contains filtered or unexported fields
}

RoleGroupsReader is a Reader for the RoleGroups structure.

func (*RoleGroupsReader) ReadResponse

func (o *RoleGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RoleNotFound

type RoleNotFound struct {
	Payload *models.Error
}

RoleNotFound handles this case with default header values.

Not Found

func NewRoleNotFound

func NewRoleNotFound() *RoleNotFound

NewRoleNotFound creates a RoleNotFound with default headers values

func (*RoleNotFound) Error

func (o *RoleNotFound) Error() string

type RoleOK

type RoleOK struct {
	Payload *models.Role
}

RoleOK handles this case 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

type RoleParams

type RoleParams struct {

	/*RoleID
	  id of role

	*/
	RoleID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RoleParams contains all the parameters to send to the API endpoint for the role operation typically these are written to a http.Request

func NewRoleParams

func NewRoleParams() *RoleParams

NewRoleParams creates a new RoleParams object with the default values initialized.

func NewRoleParamsWithContext

func NewRoleParamsWithContext(ctx context.Context) *RoleParams

NewRoleParamsWithContext creates a new RoleParams object with the default values initialized, and the ability to set a context for a request

func NewRoleParamsWithHTTPClient

func NewRoleParamsWithHTTPClient(client *http.Client) *RoleParams

NewRoleParamsWithHTTPClient creates a new RoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRoleParamsWithTimeout

func NewRoleParamsWithTimeout(timeout time.Duration) *RoleParams

NewRoleParamsWithTimeout creates a new RoleParams object with the default values initialized, and the ability to set a timeout on a request

func (*RoleParams) SetContext

func (o *RoleParams) SetContext(ctx context.Context)

SetContext adds the context to the role params

func (*RoleParams) SetHTTPClient

func (o *RoleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the role params

func (*RoleParams) SetRoleID

func (o *RoleParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the role params

func (*RoleParams) SetTimeout

func (o *RoleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the role params

func (*RoleParams) WithContext

func (o *RoleParams) WithContext(ctx context.Context) *RoleParams

WithContext adds the context to the role params

func (*RoleParams) WithHTTPClient

func (o *RoleParams) WithHTTPClient(client *http.Client) *RoleParams

WithHTTPClient adds the HTTPClient to the role params

func (*RoleParams) WithRoleID

func (o *RoleParams) WithRoleID(roleID int64) *RoleParams

WithRoleID adds the roleID to the role params

func (*RoleParams) WithTimeout

func (o *RoleParams) WithTimeout(timeout time.Duration) *RoleParams

WithTimeout adds the timeout to the role params

func (*RoleParams) WriteToRequest

func (o *RoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RoleReader

type RoleReader struct {
	// contains filtered or unexported fields
}

RoleReader is a Reader for the Role structure.

func (*RoleReader) ReadResponse

func (o *RoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RoleUsersBadRequest

type RoleUsersBadRequest struct {
	Payload *models.Error
}

RoleUsersBadRequest handles this case with default header values.

Bad Request

func NewRoleUsersBadRequest

func NewRoleUsersBadRequest() *RoleUsersBadRequest

NewRoleUsersBadRequest creates a RoleUsersBadRequest with default headers values

func (*RoleUsersBadRequest) Error

func (o *RoleUsersBadRequest) Error() string

type RoleUsersNotFound

type RoleUsersNotFound struct {
	Payload *models.Error
}

RoleUsersNotFound handles this case with default header values.

Not Found

func NewRoleUsersNotFound

func NewRoleUsersNotFound() *RoleUsersNotFound

NewRoleUsersNotFound creates a RoleUsersNotFound with default headers values

func (*RoleUsersNotFound) Error

func (o *RoleUsersNotFound) Error() string

type RoleUsersOK

type RoleUsersOK struct {
	Payload []*models.User
}

RoleUsersOK handles this case with default header values.

Users with role.

func NewRoleUsersOK

func NewRoleUsersOK() *RoleUsersOK

NewRoleUsersOK creates a RoleUsersOK with default headers values

func (*RoleUsersOK) Error

func (o *RoleUsersOK) Error() string

type RoleUsersParams

type RoleUsersParams struct {

	/*DirectAssociationOnly
	  Get only users associated directly with the role: exclude those only associated through groups.

	*/
	DirectAssociationOnly *bool
	/*Fields
	  Requested fields.

	*/
	Fields *string
	/*RoleID
	  id of user

	*/
	RoleID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RoleUsersParams contains all the parameters to send to the API endpoint for the role users operation typically these are written to a http.Request

func NewRoleUsersParams

func NewRoleUsersParams() *RoleUsersParams

NewRoleUsersParams creates a new RoleUsersParams object with the default values initialized.

func NewRoleUsersParamsWithContext

func NewRoleUsersParamsWithContext(ctx context.Context) *RoleUsersParams

NewRoleUsersParamsWithContext creates a new RoleUsersParams object with the default values initialized, and the ability to set a context for a request

func NewRoleUsersParamsWithHTTPClient

func NewRoleUsersParamsWithHTTPClient(client *http.Client) *RoleUsersParams

NewRoleUsersParamsWithHTTPClient creates a new RoleUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRoleUsersParamsWithTimeout

func NewRoleUsersParamsWithTimeout(timeout time.Duration) *RoleUsersParams

NewRoleUsersParamsWithTimeout creates a new RoleUsersParams object with the default values initialized, and the ability to set a timeout on a request

func (*RoleUsersParams) SetContext

func (o *RoleUsersParams) SetContext(ctx context.Context)

SetContext adds the context to the role users params

func (*RoleUsersParams) SetDirectAssociationOnly

func (o *RoleUsersParams) SetDirectAssociationOnly(directAssociationOnly *bool)

SetDirectAssociationOnly adds the directAssociationOnly to the role users params

func (*RoleUsersParams) SetFields

func (o *RoleUsersParams) SetFields(fields *string)

SetFields adds the fields to the role users params

func (*RoleUsersParams) SetHTTPClient

func (o *RoleUsersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the role users params

func (*RoleUsersParams) SetRoleID

func (o *RoleUsersParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the role users params

func (*RoleUsersParams) SetTimeout

func (o *RoleUsersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the role users params

func (*RoleUsersParams) WithContext

func (o *RoleUsersParams) WithContext(ctx context.Context) *RoleUsersParams

WithContext adds the context to the role users params

func (*RoleUsersParams) WithDirectAssociationOnly

func (o *RoleUsersParams) WithDirectAssociationOnly(directAssociationOnly *bool) *RoleUsersParams

WithDirectAssociationOnly adds the directAssociationOnly to the role users params

func (*RoleUsersParams) WithFields

func (o *RoleUsersParams) WithFields(fields *string) *RoleUsersParams

WithFields adds the fields to the role users params

func (*RoleUsersParams) WithHTTPClient

func (o *RoleUsersParams) WithHTTPClient(client *http.Client) *RoleUsersParams

WithHTTPClient adds the HTTPClient to the role users params

func (*RoleUsersParams) WithRoleID

func (o *RoleUsersParams) WithRoleID(roleID int64) *RoleUsersParams

WithRoleID adds the roleID to the role users params

func (*RoleUsersParams) WithTimeout

func (o *RoleUsersParams) WithTimeout(timeout time.Duration) *RoleUsersParams

WithTimeout adds the timeout to the role users params

func (*RoleUsersParams) WriteToRequest

func (o *RoleUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RoleUsersReader

type RoleUsersReader struct {
	// contains filtered or unexported fields
}

RoleUsersReader is a Reader for the RoleUsers structure.

func (*RoleUsersReader) ReadResponse

func (o *RoleUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetRoleGroupsBadRequest

type SetRoleGroupsBadRequest struct {
	Payload *models.Error
}

SetRoleGroupsBadRequest handles this case with default header values.

Bad Request

func NewSetRoleGroupsBadRequest

func NewSetRoleGroupsBadRequest() *SetRoleGroupsBadRequest

NewSetRoleGroupsBadRequest creates a SetRoleGroupsBadRequest with default headers values

func (*SetRoleGroupsBadRequest) Error

func (o *SetRoleGroupsBadRequest) Error() string

type SetRoleGroupsNotFound

type SetRoleGroupsNotFound struct {
	Payload *models.Error
}

SetRoleGroupsNotFound handles this case with default header values.

Not Found

func NewSetRoleGroupsNotFound

func NewSetRoleGroupsNotFound() *SetRoleGroupsNotFound

NewSetRoleGroupsNotFound creates a SetRoleGroupsNotFound with default headers values

func (*SetRoleGroupsNotFound) Error

func (o *SetRoleGroupsNotFound) Error() string

type SetRoleGroupsOK

type SetRoleGroupsOK struct {
	Payload []*models.Group
}

SetRoleGroupsOK handles this case with default header values.

Groups with role.

func NewSetRoleGroupsOK

func NewSetRoleGroupsOK() *SetRoleGroupsOK

NewSetRoleGroupsOK creates a SetRoleGroupsOK with default headers values

func (*SetRoleGroupsOK) Error

func (o *SetRoleGroupsOK) Error() string

type SetRoleGroupsParams

type SetRoleGroupsParams struct {

	/*Body
	  Array of Group Ids

	*/
	Body []int64
	/*RoleID
	  Id of Role

	*/
	RoleID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetRoleGroupsParams contains all the parameters to send to the API endpoint for the set role groups operation typically these are written to a http.Request

func NewSetRoleGroupsParams

func NewSetRoleGroupsParams() *SetRoleGroupsParams

NewSetRoleGroupsParams creates a new SetRoleGroupsParams object with the default values initialized.

func NewSetRoleGroupsParamsWithContext

func NewSetRoleGroupsParamsWithContext(ctx context.Context) *SetRoleGroupsParams

NewSetRoleGroupsParamsWithContext creates a new SetRoleGroupsParams object with the default values initialized, and the ability to set a context for a request

func NewSetRoleGroupsParamsWithHTTPClient

func NewSetRoleGroupsParamsWithHTTPClient(client *http.Client) *SetRoleGroupsParams

NewSetRoleGroupsParamsWithHTTPClient creates a new SetRoleGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSetRoleGroupsParamsWithTimeout

func NewSetRoleGroupsParamsWithTimeout(timeout time.Duration) *SetRoleGroupsParams

NewSetRoleGroupsParamsWithTimeout creates a new SetRoleGroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*SetRoleGroupsParams) SetBody

func (o *SetRoleGroupsParams) SetBody(body []int64)

SetBody adds the body to the set role groups params

func (*SetRoleGroupsParams) SetContext

func (o *SetRoleGroupsParams) SetContext(ctx context.Context)

SetContext adds the context to the set role groups params

func (*SetRoleGroupsParams) SetHTTPClient

func (o *SetRoleGroupsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set role groups params

func (*SetRoleGroupsParams) SetRoleID

func (o *SetRoleGroupsParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the set role groups params

func (*SetRoleGroupsParams) SetTimeout

func (o *SetRoleGroupsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set role groups params

func (*SetRoleGroupsParams) WithBody

func (o *SetRoleGroupsParams) WithBody(body []int64) *SetRoleGroupsParams

WithBody adds the body to the set role groups params

func (*SetRoleGroupsParams) WithContext

WithContext adds the context to the set role groups params

func (*SetRoleGroupsParams) WithHTTPClient

func (o *SetRoleGroupsParams) WithHTTPClient(client *http.Client) *SetRoleGroupsParams

WithHTTPClient adds the HTTPClient to the set role groups params

func (*SetRoleGroupsParams) WithRoleID

func (o *SetRoleGroupsParams) WithRoleID(roleID int64) *SetRoleGroupsParams

WithRoleID adds the roleID to the set role groups params

func (*SetRoleGroupsParams) WithTimeout

func (o *SetRoleGroupsParams) WithTimeout(timeout time.Duration) *SetRoleGroupsParams

WithTimeout adds the timeout to the set role groups params

func (*SetRoleGroupsParams) WriteToRequest

func (o *SetRoleGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SetRoleGroupsReader

type SetRoleGroupsReader struct {
	// contains filtered or unexported fields
}

SetRoleGroupsReader is a Reader for the SetRoleGroups structure.

func (*SetRoleGroupsReader) ReadResponse

func (o *SetRoleGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetRoleGroupsUnprocessableEntity

type SetRoleGroupsUnprocessableEntity struct {
	Payload *models.ValidationError
}

SetRoleGroupsUnprocessableEntity handles this case with default header values.

Validation Error

func NewSetRoleGroupsUnprocessableEntity

func NewSetRoleGroupsUnprocessableEntity() *SetRoleGroupsUnprocessableEntity

NewSetRoleGroupsUnprocessableEntity creates a SetRoleGroupsUnprocessableEntity with default headers values

func (*SetRoleGroupsUnprocessableEntity) Error

type SetRoleUsersBadRequest

type SetRoleUsersBadRequest struct {
	Payload *models.Error
}

SetRoleUsersBadRequest handles this case with default header values.

Bad Request

func NewSetRoleUsersBadRequest

func NewSetRoleUsersBadRequest() *SetRoleUsersBadRequest

NewSetRoleUsersBadRequest creates a SetRoleUsersBadRequest with default headers values

func (*SetRoleUsersBadRequest) Error

func (o *SetRoleUsersBadRequest) Error() string

type SetRoleUsersForbidden

type SetRoleUsersForbidden struct {
	Payload *models.Error
}

SetRoleUsersForbidden handles this case with default header values.

Permission Denied

func NewSetRoleUsersForbidden

func NewSetRoleUsersForbidden() *SetRoleUsersForbidden

NewSetRoleUsersForbidden creates a SetRoleUsersForbidden with default headers values

func (*SetRoleUsersForbidden) Error

func (o *SetRoleUsersForbidden) Error() string

type SetRoleUsersMethodNotAllowed

type SetRoleUsersMethodNotAllowed struct {
	Payload *models.Error
}

SetRoleUsersMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewSetRoleUsersMethodNotAllowed

func NewSetRoleUsersMethodNotAllowed() *SetRoleUsersMethodNotAllowed

NewSetRoleUsersMethodNotAllowed creates a SetRoleUsersMethodNotAllowed with default headers values

func (*SetRoleUsersMethodNotAllowed) Error

type SetRoleUsersNotFound

type SetRoleUsersNotFound struct {
	Payload *models.Error
}

SetRoleUsersNotFound handles this case with default header values.

Not Found

func NewSetRoleUsersNotFound

func NewSetRoleUsersNotFound() *SetRoleUsersNotFound

NewSetRoleUsersNotFound creates a SetRoleUsersNotFound with default headers values

func (*SetRoleUsersNotFound) Error

func (o *SetRoleUsersNotFound) Error() string

type SetRoleUsersOK

type SetRoleUsersOK struct {
	Payload []*models.User
}

SetRoleUsersOK handles this case with default header values.

Users with role.

func NewSetRoleUsersOK

func NewSetRoleUsersOK() *SetRoleUsersOK

NewSetRoleUsersOK creates a SetRoleUsersOK with default headers values

func (*SetRoleUsersOK) Error

func (o *SetRoleUsersOK) Error() string

type SetRoleUsersParams

type SetRoleUsersParams struct {

	/*Body
	  array of user ids for role

	*/
	Body []int64
	/*RoleID
	  id of role

	*/
	RoleID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetRoleUsersParams contains all the parameters to send to the API endpoint for the set role users operation typically these are written to a http.Request

func NewSetRoleUsersParams

func NewSetRoleUsersParams() *SetRoleUsersParams

NewSetRoleUsersParams creates a new SetRoleUsersParams object with the default values initialized.

func NewSetRoleUsersParamsWithContext

func NewSetRoleUsersParamsWithContext(ctx context.Context) *SetRoleUsersParams

NewSetRoleUsersParamsWithContext creates a new SetRoleUsersParams object with the default values initialized, and the ability to set a context for a request

func NewSetRoleUsersParamsWithHTTPClient

func NewSetRoleUsersParamsWithHTTPClient(client *http.Client) *SetRoleUsersParams

NewSetRoleUsersParamsWithHTTPClient creates a new SetRoleUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSetRoleUsersParamsWithTimeout

func NewSetRoleUsersParamsWithTimeout(timeout time.Duration) *SetRoleUsersParams

NewSetRoleUsersParamsWithTimeout creates a new SetRoleUsersParams object with the default values initialized, and the ability to set a timeout on a request

func (*SetRoleUsersParams) SetBody

func (o *SetRoleUsersParams) SetBody(body []int64)

SetBody adds the body to the set role users params

func (*SetRoleUsersParams) SetContext

func (o *SetRoleUsersParams) SetContext(ctx context.Context)

SetContext adds the context to the set role users params

func (*SetRoleUsersParams) SetHTTPClient

func (o *SetRoleUsersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set role users params

func (*SetRoleUsersParams) SetRoleID

func (o *SetRoleUsersParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the set role users params

func (*SetRoleUsersParams) SetTimeout

func (o *SetRoleUsersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set role users params

func (*SetRoleUsersParams) WithBody

func (o *SetRoleUsersParams) WithBody(body []int64) *SetRoleUsersParams

WithBody adds the body to the set role users params

func (*SetRoleUsersParams) WithContext

WithContext adds the context to the set role users params

func (*SetRoleUsersParams) WithHTTPClient

func (o *SetRoleUsersParams) WithHTTPClient(client *http.Client) *SetRoleUsersParams

WithHTTPClient adds the HTTPClient to the set role users params

func (*SetRoleUsersParams) WithRoleID

func (o *SetRoleUsersParams) WithRoleID(roleID int64) *SetRoleUsersParams

WithRoleID adds the roleID to the set role users params

func (*SetRoleUsersParams) WithTimeout

func (o *SetRoleUsersParams) WithTimeout(timeout time.Duration) *SetRoleUsersParams

WithTimeout adds the timeout to the set role users params

func (*SetRoleUsersParams) WriteToRequest

func (o *SetRoleUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SetRoleUsersReader

type SetRoleUsersReader struct {
	// contains filtered or unexported fields
}

SetRoleUsersReader is a Reader for the SetRoleUsers structure.

func (*SetRoleUsersReader) ReadResponse

func (o *SetRoleUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetRoleUsersUnprocessableEntity

type SetRoleUsersUnprocessableEntity struct {
	Payload *models.ValidationError
}

SetRoleUsersUnprocessableEntity handles this case with default header values.

Validation Error

func NewSetRoleUsersUnprocessableEntity

func NewSetRoleUsersUnprocessableEntity() *SetRoleUsersUnprocessableEntity

NewSetRoleUsersUnprocessableEntity creates a SetRoleUsersUnprocessableEntity with default headers values

func (*SetRoleUsersUnprocessableEntity) Error

type UpdateModelSetBadRequest

type UpdateModelSetBadRequest struct {
	Payload *models.Error
}

UpdateModelSetBadRequest handles this case with default header values.

Bad Request

func NewUpdateModelSetBadRequest

func NewUpdateModelSetBadRequest() *UpdateModelSetBadRequest

NewUpdateModelSetBadRequest creates a UpdateModelSetBadRequest with default headers values

func (*UpdateModelSetBadRequest) Error

func (o *UpdateModelSetBadRequest) Error() string

type UpdateModelSetMethodNotAllowed

type UpdateModelSetMethodNotAllowed struct {
	Payload *models.Error
}

UpdateModelSetMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewUpdateModelSetMethodNotAllowed

func NewUpdateModelSetMethodNotAllowed() *UpdateModelSetMethodNotAllowed

NewUpdateModelSetMethodNotAllowed creates a UpdateModelSetMethodNotAllowed with default headers values

func (*UpdateModelSetMethodNotAllowed) Error

type UpdateModelSetNotFound

type UpdateModelSetNotFound struct {
	Payload *models.Error
}

UpdateModelSetNotFound handles this case with default header values.

Not Found

func NewUpdateModelSetNotFound

func NewUpdateModelSetNotFound() *UpdateModelSetNotFound

NewUpdateModelSetNotFound creates a UpdateModelSetNotFound with default headers values

func (*UpdateModelSetNotFound) Error

func (o *UpdateModelSetNotFound) Error() string

type UpdateModelSetOK

type UpdateModelSetOK struct {
	Payload *models.ModelSet
}

UpdateModelSetOK handles this case with default header values.

New state for specified model set.

func NewUpdateModelSetOK

func NewUpdateModelSetOK() *UpdateModelSetOK

NewUpdateModelSetOK creates a UpdateModelSetOK with default headers values

func (*UpdateModelSetOK) Error

func (o *UpdateModelSetOK) Error() string

type UpdateModelSetParams

type UpdateModelSetParams struct {

	/*Body
	  ModelSet

	*/
	Body *models.ModelSet
	/*ModelSetID
	  id of model set

	*/
	ModelSetID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateModelSetParams contains all the parameters to send to the API endpoint for the update model set operation typically these are written to a http.Request

func NewUpdateModelSetParams

func NewUpdateModelSetParams() *UpdateModelSetParams

NewUpdateModelSetParams creates a new UpdateModelSetParams object with the default values initialized.

func NewUpdateModelSetParamsWithContext

func NewUpdateModelSetParamsWithContext(ctx context.Context) *UpdateModelSetParams

NewUpdateModelSetParamsWithContext creates a new UpdateModelSetParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateModelSetParamsWithHTTPClient

func NewUpdateModelSetParamsWithHTTPClient(client *http.Client) *UpdateModelSetParams

NewUpdateModelSetParamsWithHTTPClient creates a new UpdateModelSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateModelSetParamsWithTimeout

func NewUpdateModelSetParamsWithTimeout(timeout time.Duration) *UpdateModelSetParams

NewUpdateModelSetParamsWithTimeout creates a new UpdateModelSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateModelSetParams) SetBody

func (o *UpdateModelSetParams) SetBody(body *models.ModelSet)

SetBody adds the body to the update model set params

func (*UpdateModelSetParams) SetContext

func (o *UpdateModelSetParams) SetContext(ctx context.Context)

SetContext adds the context to the update model set params

func (*UpdateModelSetParams) SetHTTPClient

func (o *UpdateModelSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update model set params

func (*UpdateModelSetParams) SetModelSetID

func (o *UpdateModelSetParams) SetModelSetID(modelSetID int64)

SetModelSetID adds the modelSetId to the update model set params

func (*UpdateModelSetParams) SetTimeout

func (o *UpdateModelSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update model set params

func (*UpdateModelSetParams) WithBody

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) WithHTTPClient

func (o *UpdateModelSetParams) WithHTTPClient(client *http.Client) *UpdateModelSetParams

WithHTTPClient adds the HTTPClient to the update model set params

func (*UpdateModelSetParams) WithModelSetID

func (o *UpdateModelSetParams) WithModelSetID(modelSetID int64) *UpdateModelSetParams

WithModelSetID adds the modelSetID to the update model set params

func (*UpdateModelSetParams) WithTimeout

func (o *UpdateModelSetParams) WithTimeout(timeout time.Duration) *UpdateModelSetParams

WithTimeout adds the timeout to the update model set params

func (*UpdateModelSetParams) WriteToRequest

func (o *UpdateModelSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateModelSetReader

type UpdateModelSetReader struct {
	// contains filtered or unexported fields
}

UpdateModelSetReader is a Reader for the UpdateModelSet structure.

func (*UpdateModelSetReader) ReadResponse

func (o *UpdateModelSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateModelSetUnprocessableEntity

type UpdateModelSetUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateModelSetUnprocessableEntity handles this case with default header values.

Validation Error

func NewUpdateModelSetUnprocessableEntity

func NewUpdateModelSetUnprocessableEntity() *UpdateModelSetUnprocessableEntity

NewUpdateModelSetUnprocessableEntity creates a UpdateModelSetUnprocessableEntity with default headers values

func (*UpdateModelSetUnprocessableEntity) Error

type UpdatePermissionSetBadRequest

type UpdatePermissionSetBadRequest struct {
	Payload *models.Error
}

UpdatePermissionSetBadRequest handles this case with default header values.

Bad Request

func NewUpdatePermissionSetBadRequest

func NewUpdatePermissionSetBadRequest() *UpdatePermissionSetBadRequest

NewUpdatePermissionSetBadRequest creates a UpdatePermissionSetBadRequest with default headers values

func (*UpdatePermissionSetBadRequest) Error

type UpdatePermissionSetMethodNotAllowed

type UpdatePermissionSetMethodNotAllowed struct {
	Payload *models.Error
}

UpdatePermissionSetMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewUpdatePermissionSetMethodNotAllowed

func NewUpdatePermissionSetMethodNotAllowed() *UpdatePermissionSetMethodNotAllowed

NewUpdatePermissionSetMethodNotAllowed creates a UpdatePermissionSetMethodNotAllowed with default headers values

func (*UpdatePermissionSetMethodNotAllowed) Error

type UpdatePermissionSetNotFound

type UpdatePermissionSetNotFound struct {
	Payload *models.Error
}

UpdatePermissionSetNotFound handles this case with default header values.

Not Found

func NewUpdatePermissionSetNotFound

func NewUpdatePermissionSetNotFound() *UpdatePermissionSetNotFound

NewUpdatePermissionSetNotFound creates a UpdatePermissionSetNotFound with default headers values

func (*UpdatePermissionSetNotFound) Error

type UpdatePermissionSetOK

type UpdatePermissionSetOK struct {
	Payload *models.PermissionSet
}

UpdatePermissionSetOK handles this case with default header values.

Permission Set

func NewUpdatePermissionSetOK

func NewUpdatePermissionSetOK() *UpdatePermissionSetOK

NewUpdatePermissionSetOK creates a UpdatePermissionSetOK with default headers values

func (*UpdatePermissionSetOK) Error

func (o *UpdatePermissionSetOK) Error() string

type UpdatePermissionSetParams

type UpdatePermissionSetParams struct {

	/*Body
	  Permission Set

	*/
	Body *models.PermissionSet
	/*PermissionSetID
	  id of permission set

	*/
	PermissionSetID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdatePermissionSetParams contains all the parameters to send to the API endpoint for the update permission set operation typically these are written to a http.Request

func NewUpdatePermissionSetParams

func NewUpdatePermissionSetParams() *UpdatePermissionSetParams

NewUpdatePermissionSetParams creates a new UpdatePermissionSetParams object with the default values initialized.

func NewUpdatePermissionSetParamsWithContext

func NewUpdatePermissionSetParamsWithContext(ctx context.Context) *UpdatePermissionSetParams

NewUpdatePermissionSetParamsWithContext creates a new UpdatePermissionSetParams object with the default values initialized, and the ability to set a context for a request

func NewUpdatePermissionSetParamsWithHTTPClient

func NewUpdatePermissionSetParamsWithHTTPClient(client *http.Client) *UpdatePermissionSetParams

NewUpdatePermissionSetParamsWithHTTPClient creates a new UpdatePermissionSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdatePermissionSetParamsWithTimeout

func NewUpdatePermissionSetParamsWithTimeout(timeout time.Duration) *UpdatePermissionSetParams

NewUpdatePermissionSetParamsWithTimeout creates a new UpdatePermissionSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdatePermissionSetParams) SetBody

SetBody adds the body to the update permission set params

func (*UpdatePermissionSetParams) SetContext

func (o *UpdatePermissionSetParams) SetContext(ctx context.Context)

SetContext adds the context to the update permission set params

func (*UpdatePermissionSetParams) SetHTTPClient

func (o *UpdatePermissionSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update permission set params

func (*UpdatePermissionSetParams) SetPermissionSetID

func (o *UpdatePermissionSetParams) SetPermissionSetID(permissionSetID int64)

SetPermissionSetID adds the permissionSetId to the update permission set params

func (*UpdatePermissionSetParams) SetTimeout

func (o *UpdatePermissionSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update permission set params

func (*UpdatePermissionSetParams) WithBody

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) 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 UpdatePermissionSetUnprocessableEntity

type UpdatePermissionSetUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdatePermissionSetUnprocessableEntity handles this case with default header values.

Validation Error

func NewUpdatePermissionSetUnprocessableEntity

func NewUpdatePermissionSetUnprocessableEntity() *UpdatePermissionSetUnprocessableEntity

NewUpdatePermissionSetUnprocessableEntity creates a UpdatePermissionSetUnprocessableEntity with default headers values

func (*UpdatePermissionSetUnprocessableEntity) Error

type UpdateRoleBadRequest

type UpdateRoleBadRequest struct {
	Payload *models.Error
}

UpdateRoleBadRequest handles this case with default header values.

Bad Request

func NewUpdateRoleBadRequest

func NewUpdateRoleBadRequest() *UpdateRoleBadRequest

NewUpdateRoleBadRequest creates a UpdateRoleBadRequest with default headers values

func (*UpdateRoleBadRequest) Error

func (o *UpdateRoleBadRequest) Error() string

type UpdateRoleMethodNotAllowed

type UpdateRoleMethodNotAllowed struct {
	Payload *models.Error
}

UpdateRoleMethodNotAllowed handles this case with default header values.

Resource Can't Be Modified

func NewUpdateRoleMethodNotAllowed

func NewUpdateRoleMethodNotAllowed() *UpdateRoleMethodNotAllowed

NewUpdateRoleMethodNotAllowed creates a UpdateRoleMethodNotAllowed with default headers values

func (*UpdateRoleMethodNotAllowed) Error

type UpdateRoleNotFound

type UpdateRoleNotFound struct {
	Payload *models.Error
}

UpdateRoleNotFound handles this case with default header values.

Not Found

func NewUpdateRoleNotFound

func NewUpdateRoleNotFound() *UpdateRoleNotFound

NewUpdateRoleNotFound creates a UpdateRoleNotFound with default headers values

func (*UpdateRoleNotFound) Error

func (o *UpdateRoleNotFound) Error() string

type UpdateRoleOK

type UpdateRoleOK struct {
	Payload *models.Role
}

UpdateRoleOK handles this case with default header values.

Role

func NewUpdateRoleOK

func NewUpdateRoleOK() *UpdateRoleOK

NewUpdateRoleOK creates a UpdateRoleOK with default headers values

func (*UpdateRoleOK) Error

func (o *UpdateRoleOK) Error() string

type UpdateRoleParams

type UpdateRoleParams struct {

	/*Body
	  Role

	*/
	Body *models.Role
	/*RoleID
	  id of role

	*/
	RoleID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateRoleParams contains all the parameters to send to the API endpoint for the update role operation typically these are written to a http.Request

func NewUpdateRoleParams

func NewUpdateRoleParams() *UpdateRoleParams

NewUpdateRoleParams creates a new UpdateRoleParams object with the default values initialized.

func NewUpdateRoleParamsWithContext

func NewUpdateRoleParamsWithContext(ctx context.Context) *UpdateRoleParams

NewUpdateRoleParamsWithContext creates a new UpdateRoleParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateRoleParamsWithHTTPClient

func NewUpdateRoleParamsWithHTTPClient(client *http.Client) *UpdateRoleParams

NewUpdateRoleParamsWithHTTPClient creates a new UpdateRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateRoleParamsWithTimeout

func NewUpdateRoleParamsWithTimeout(timeout time.Duration) *UpdateRoleParams

NewUpdateRoleParamsWithTimeout creates a new UpdateRoleParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateRoleParams) SetBody

func (o *UpdateRoleParams) SetBody(body *models.Role)

SetBody adds the body to the update role params

func (*UpdateRoleParams) SetContext

func (o *UpdateRoleParams) SetContext(ctx context.Context)

SetContext adds the context to the update role params

func (*UpdateRoleParams) SetHTTPClient

func (o *UpdateRoleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update role params

func (*UpdateRoleParams) SetRoleID

func (o *UpdateRoleParams) SetRoleID(roleID int64)

SetRoleID adds the roleId to the update role params

func (*UpdateRoleParams) SetTimeout

func (o *UpdateRoleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update role params

func (*UpdateRoleParams) WithBody

func (o *UpdateRoleParams) WithBody(body *models.Role) *UpdateRoleParams

WithBody adds the body to the update role params

func (*UpdateRoleParams) WithContext

func (o *UpdateRoleParams) WithContext(ctx context.Context) *UpdateRoleParams

WithContext adds the context to the update role params

func (*UpdateRoleParams) WithHTTPClient

func (o *UpdateRoleParams) WithHTTPClient(client *http.Client) *UpdateRoleParams

WithHTTPClient adds the HTTPClient to the update role params

func (*UpdateRoleParams) WithRoleID

func (o *UpdateRoleParams) WithRoleID(roleID int64) *UpdateRoleParams

WithRoleID adds the roleID to the update role params

func (*UpdateRoleParams) WithTimeout

func (o *UpdateRoleParams) WithTimeout(timeout time.Duration) *UpdateRoleParams

WithTimeout adds the timeout to the update role params

func (*UpdateRoleParams) WriteToRequest

func (o *UpdateRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateRoleReader

type UpdateRoleReader struct {
	// contains filtered or unexported fields
}

UpdateRoleReader is a Reader for the UpdateRole structure.

func (*UpdateRoleReader) ReadResponse

func (o *UpdateRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateRoleUnprocessableEntity

type UpdateRoleUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateRoleUnprocessableEntity handles this case with default header values.

Validation Error

func NewUpdateRoleUnprocessableEntity

func NewUpdateRoleUnprocessableEntity() *UpdateRoleUnprocessableEntity

NewUpdateRoleUnprocessableEntity creates a UpdateRoleUnprocessableEntity with default headers values

func (*UpdateRoleUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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