Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateOrgRole(params *CreateOrgRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOrgRoleOK, error)
- func (a *Client) DeleteOrgRole(params *DeleteOrgRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrgRoleNoContent, error)
- func (a *Client) GetOrgRole(params *GetOrgRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRoleOK, error)
- func (a *Client) GetOrgRoles(params *GetOrgRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRolesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrgRole(params *UpdateOrgRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrgRoleOK, error)
- type CreateOrgRoleDefault
- type CreateOrgRoleForbidden
- type CreateOrgRoleNotFound
- type CreateOrgRoleOK
- type CreateOrgRoleOKBody
- type CreateOrgRoleParams
- func (o *CreateOrgRoleParams) SetBody(body *models.NewRole)
- func (o *CreateOrgRoleParams) SetContext(ctx context.Context)
- func (o *CreateOrgRoleParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrgRoleParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateOrgRoleParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrgRoleParams) WithBody(body *models.NewRole) *CreateOrgRoleParams
- func (o *CreateOrgRoleParams) WithContext(ctx context.Context) *CreateOrgRoleParams
- func (o *CreateOrgRoleParams) WithHTTPClient(client *http.Client) *CreateOrgRoleParams
- func (o *CreateOrgRoleParams) WithOrganizationCanonical(organizationCanonical string) *CreateOrgRoleParams
- func (o *CreateOrgRoleParams) WithTimeout(timeout time.Duration) *CreateOrgRoleParams
- func (o *CreateOrgRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrgRoleReader
- type CreateOrgRoleUnprocessableEntity
- type DeleteOrgRoleDefault
- type DeleteOrgRoleForbidden
- type DeleteOrgRoleNoContent
- type DeleteOrgRoleNotFound
- type DeleteOrgRoleParams
- func (o *DeleteOrgRoleParams) SetContext(ctx context.Context)
- func (o *DeleteOrgRoleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrgRoleParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteOrgRoleParams) SetRoleCanonical(roleCanonical string)
- func (o *DeleteOrgRoleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrgRoleParams) WithContext(ctx context.Context) *DeleteOrgRoleParams
- func (o *DeleteOrgRoleParams) WithHTTPClient(client *http.Client) *DeleteOrgRoleParams
- func (o *DeleteOrgRoleParams) WithOrganizationCanonical(organizationCanonical string) *DeleteOrgRoleParams
- func (o *DeleteOrgRoleParams) WithRoleCanonical(roleCanonical string) *DeleteOrgRoleParams
- func (o *DeleteOrgRoleParams) WithTimeout(timeout time.Duration) *DeleteOrgRoleParams
- func (o *DeleteOrgRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrgRoleReader
- type GetOrgRoleDefault
- type GetOrgRoleForbidden
- type GetOrgRoleNotFound
- type GetOrgRoleOK
- type GetOrgRoleOKBody
- type GetOrgRoleParams
- func (o *GetOrgRoleParams) SetContext(ctx context.Context)
- func (o *GetOrgRoleParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgRoleParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetOrgRoleParams) SetRoleCanonical(roleCanonical string)
- func (o *GetOrgRoleParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgRoleParams) WithContext(ctx context.Context) *GetOrgRoleParams
- func (o *GetOrgRoleParams) WithHTTPClient(client *http.Client) *GetOrgRoleParams
- func (o *GetOrgRoleParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgRoleParams
- func (o *GetOrgRoleParams) WithRoleCanonical(roleCanonical string) *GetOrgRoleParams
- func (o *GetOrgRoleParams) WithTimeout(timeout time.Duration) *GetOrgRoleParams
- func (o *GetOrgRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgRoleReader
- type GetOrgRolesDefault
- type GetOrgRolesForbidden
- type GetOrgRolesNotFound
- type GetOrgRolesOK
- type GetOrgRolesOKBody
- type GetOrgRolesParams
- func (o *GetOrgRolesParams) SetContext(ctx context.Context)
- func (o *GetOrgRolesParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgRolesParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetOrgRolesParams) SetPageIndex(pageIndex *uint32)
- func (o *GetOrgRolesParams) SetPageSize(pageSize *uint32)
- func (o *GetOrgRolesParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgRolesParams) WithContext(ctx context.Context) *GetOrgRolesParams
- func (o *GetOrgRolesParams) WithHTTPClient(client *http.Client) *GetOrgRolesParams
- func (o *GetOrgRolesParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgRolesParams
- func (o *GetOrgRolesParams) WithPageIndex(pageIndex *uint32) *GetOrgRolesParams
- func (o *GetOrgRolesParams) WithPageSize(pageSize *uint32) *GetOrgRolesParams
- func (o *GetOrgRolesParams) WithTimeout(timeout time.Duration) *GetOrgRolesParams
- func (o *GetOrgRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgRolesReader
- type UpdateOrgRoleDefault
- type UpdateOrgRoleForbidden
- type UpdateOrgRoleNotFound
- type UpdateOrgRoleOK
- type UpdateOrgRoleOKBody
- type UpdateOrgRoleParams
- func (o *UpdateOrgRoleParams) SetBody(body *models.NewRole)
- func (o *UpdateOrgRoleParams) SetContext(ctx context.Context)
- func (o *UpdateOrgRoleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgRoleParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateOrgRoleParams) SetRoleCanonical(roleCanonical string)
- func (o *UpdateOrgRoleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgRoleParams) WithBody(body *models.NewRole) *UpdateOrgRoleParams
- func (o *UpdateOrgRoleParams) WithContext(ctx context.Context) *UpdateOrgRoleParams
- func (o *UpdateOrgRoleParams) WithHTTPClient(client *http.Client) *UpdateOrgRoleParams
- func (o *UpdateOrgRoleParams) WithOrganizationCanonical(organizationCanonical string) *UpdateOrgRoleParams
- func (o *UpdateOrgRoleParams) WithRoleCanonical(roleCanonical string) *UpdateOrgRoleParams
- func (o *UpdateOrgRoleParams) WithTimeout(timeout time.Duration) *UpdateOrgRoleParams
- func (o *UpdateOrgRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgRoleReader
- type UpdateOrgRoleUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for organization roles API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new organization roles API client.
func (*Client) CreateOrgRole ¶
func (a *Client) CreateOrgRole(params *CreateOrgRoleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOrgRoleOK, error)
CreateOrgRole Create a new role available in the organization.
func (*Client) DeleteOrgRole ¶
func (a *Client) DeleteOrgRole(params *DeleteOrgRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrgRoleNoContent, error)
DeleteOrgRole Delete an existing role in the organization.
func (*Client) GetOrgRole ¶
func (a *Client) GetOrgRole(params *GetOrgRoleParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRoleOK, error)
GetOrgRole Get the role available in the organization with an canonical
func (*Client) GetOrgRoles ¶
func (a *Client) GetOrgRoles(params *GetOrgRolesParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRolesOK, error)
GetOrgRoles Get the list of roles available in the organization.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOrgRole ¶
func (a *Client) UpdateOrgRole(params *UpdateOrgRoleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateOrgRoleOK, error)
UpdateOrgRole Update an existing role in the organization.
type CreateOrgRoleDefault ¶
type CreateOrgRoleDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload // contains filtered or unexported fields }
CreateOrgRoleDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateOrgRoleDefault ¶
func NewCreateOrgRoleDefault(code int) *CreateOrgRoleDefault
NewCreateOrgRoleDefault creates a CreateOrgRoleDefault with default headers values
func (*CreateOrgRoleDefault) Code ¶
func (o *CreateOrgRoleDefault) Code() int
Code gets the status code for the create org role default response
func (*CreateOrgRoleDefault) Error ¶
func (o *CreateOrgRoleDefault) Error() string
func (*CreateOrgRoleDefault) GetPayload ¶
func (o *CreateOrgRoleDefault) GetPayload() *models.ErrorPayload
type CreateOrgRoleForbidden ¶
type CreateOrgRoleForbidden struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
CreateOrgRoleForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewCreateOrgRoleForbidden ¶
func NewCreateOrgRoleForbidden() *CreateOrgRoleForbidden
NewCreateOrgRoleForbidden creates a CreateOrgRoleForbidden with default headers values
func (*CreateOrgRoleForbidden) Error ¶
func (o *CreateOrgRoleForbidden) Error() string
func (*CreateOrgRoleForbidden) GetPayload ¶
func (o *CreateOrgRoleForbidden) GetPayload() *models.ErrorPayload
type CreateOrgRoleNotFound ¶
type CreateOrgRoleNotFound struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
CreateOrgRoleNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewCreateOrgRoleNotFound ¶
func NewCreateOrgRoleNotFound() *CreateOrgRoleNotFound
NewCreateOrgRoleNotFound creates a CreateOrgRoleNotFound with default headers values
func (*CreateOrgRoleNotFound) Error ¶
func (o *CreateOrgRoleNotFound) Error() string
func (*CreateOrgRoleNotFound) GetPayload ¶
func (o *CreateOrgRoleNotFound) GetPayload() *models.ErrorPayload
type CreateOrgRoleOK ¶
type CreateOrgRoleOK struct {
Payload *CreateOrgRoleOKBody
}
CreateOrgRoleOK handles this case with default header values.
New role created in the organization.
func NewCreateOrgRoleOK ¶
func NewCreateOrgRoleOK() *CreateOrgRoleOK
NewCreateOrgRoleOK creates a CreateOrgRoleOK with default headers values
func (*CreateOrgRoleOK) Error ¶
func (o *CreateOrgRoleOK) Error() string
func (*CreateOrgRoleOK) GetPayload ¶
func (o *CreateOrgRoleOK) GetPayload() *CreateOrgRoleOKBody
type CreateOrgRoleOKBody ¶
CreateOrgRoleOKBody create org role o k body swagger:model CreateOrgRoleOKBody
func (*CreateOrgRoleOKBody) MarshalBinary ¶
func (o *CreateOrgRoleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrgRoleOKBody) UnmarshalBinary ¶
func (o *CreateOrgRoleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrgRoleParams ¶
type CreateOrgRoleParams struct { /*Body The information of the organization's role to create. */ Body *models.NewRole /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOrgRoleParams contains all the parameters to send to the API endpoint for the create org role operation typically these are written to a http.Request
func NewCreateOrgRoleParams ¶
func NewCreateOrgRoleParams() *CreateOrgRoleParams
NewCreateOrgRoleParams creates a new CreateOrgRoleParams object with the default values initialized.
func NewCreateOrgRoleParamsWithContext ¶
func NewCreateOrgRoleParamsWithContext(ctx context.Context) *CreateOrgRoleParams
NewCreateOrgRoleParamsWithContext creates a new CreateOrgRoleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateOrgRoleParamsWithHTTPClient ¶
func NewCreateOrgRoleParamsWithHTTPClient(client *http.Client) *CreateOrgRoleParams
NewCreateOrgRoleParamsWithHTTPClient creates a new CreateOrgRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateOrgRoleParamsWithTimeout ¶
func NewCreateOrgRoleParamsWithTimeout(timeout time.Duration) *CreateOrgRoleParams
NewCreateOrgRoleParamsWithTimeout creates a new CreateOrgRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateOrgRoleParams) SetBody ¶
func (o *CreateOrgRoleParams) SetBody(body *models.NewRole)
SetBody adds the body to the create org role params
func (*CreateOrgRoleParams) SetContext ¶
func (o *CreateOrgRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the create org role params
func (*CreateOrgRoleParams) SetHTTPClient ¶
func (o *CreateOrgRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create org role params
func (*CreateOrgRoleParams) SetOrganizationCanonical ¶
func (o *CreateOrgRoleParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the create org role params
func (*CreateOrgRoleParams) SetTimeout ¶
func (o *CreateOrgRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create org role params
func (*CreateOrgRoleParams) WithBody ¶
func (o *CreateOrgRoleParams) WithBody(body *models.NewRole) *CreateOrgRoleParams
WithBody adds the body to the create org role params
func (*CreateOrgRoleParams) WithContext ¶
func (o *CreateOrgRoleParams) WithContext(ctx context.Context) *CreateOrgRoleParams
WithContext adds the context to the create org role params
func (*CreateOrgRoleParams) WithHTTPClient ¶
func (o *CreateOrgRoleParams) WithHTTPClient(client *http.Client) *CreateOrgRoleParams
WithHTTPClient adds the HTTPClient to the create org role params
func (*CreateOrgRoleParams) WithOrganizationCanonical ¶
func (o *CreateOrgRoleParams) WithOrganizationCanonical(organizationCanonical string) *CreateOrgRoleParams
WithOrganizationCanonical adds the organizationCanonical to the create org role params
func (*CreateOrgRoleParams) WithTimeout ¶
func (o *CreateOrgRoleParams) WithTimeout(timeout time.Duration) *CreateOrgRoleParams
WithTimeout adds the timeout to the create org role params
func (*CreateOrgRoleParams) WriteToRequest ¶
func (o *CreateOrgRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOrgRoleReader ¶
type CreateOrgRoleReader struct {
// contains filtered or unexported fields
}
CreateOrgRoleReader is a Reader for the CreateOrgRole structure.
func (*CreateOrgRoleReader) ReadResponse ¶
func (o *CreateOrgRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOrgRoleUnprocessableEntity ¶
type CreateOrgRoleUnprocessableEntity struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
CreateOrgRoleUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewCreateOrgRoleUnprocessableEntity ¶
func NewCreateOrgRoleUnprocessableEntity() *CreateOrgRoleUnprocessableEntity
NewCreateOrgRoleUnprocessableEntity creates a CreateOrgRoleUnprocessableEntity with default headers values
func (*CreateOrgRoleUnprocessableEntity) Error ¶
func (o *CreateOrgRoleUnprocessableEntity) Error() string
func (*CreateOrgRoleUnprocessableEntity) GetPayload ¶
func (o *CreateOrgRoleUnprocessableEntity) GetPayload() *models.ErrorPayload
type DeleteOrgRoleDefault ¶
type DeleteOrgRoleDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload // contains filtered or unexported fields }
DeleteOrgRoleDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteOrgRoleDefault ¶
func NewDeleteOrgRoleDefault(code int) *DeleteOrgRoleDefault
NewDeleteOrgRoleDefault creates a DeleteOrgRoleDefault with default headers values
func (*DeleteOrgRoleDefault) Code ¶
func (o *DeleteOrgRoleDefault) Code() int
Code gets the status code for the delete org role default response
func (*DeleteOrgRoleDefault) Error ¶
func (o *DeleteOrgRoleDefault) Error() string
func (*DeleteOrgRoleDefault) GetPayload ¶
func (o *DeleteOrgRoleDefault) GetPayload() *models.ErrorPayload
type DeleteOrgRoleForbidden ¶
type DeleteOrgRoleForbidden struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
DeleteOrgRoleForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewDeleteOrgRoleForbidden ¶
func NewDeleteOrgRoleForbidden() *DeleteOrgRoleForbidden
NewDeleteOrgRoleForbidden creates a DeleteOrgRoleForbidden with default headers values
func (*DeleteOrgRoleForbidden) Error ¶
func (o *DeleteOrgRoleForbidden) Error() string
func (*DeleteOrgRoleForbidden) GetPayload ¶
func (o *DeleteOrgRoleForbidden) GetPayload() *models.ErrorPayload
type DeleteOrgRoleNoContent ¶
type DeleteOrgRoleNoContent struct { }
DeleteOrgRoleNoContent handles this case with default header values.
Organization role has been deleted.
func NewDeleteOrgRoleNoContent ¶
func NewDeleteOrgRoleNoContent() *DeleteOrgRoleNoContent
NewDeleteOrgRoleNoContent creates a DeleteOrgRoleNoContent with default headers values
func (*DeleteOrgRoleNoContent) Error ¶
func (o *DeleteOrgRoleNoContent) Error() string
type DeleteOrgRoleNotFound ¶
type DeleteOrgRoleNotFound struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
DeleteOrgRoleNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewDeleteOrgRoleNotFound ¶
func NewDeleteOrgRoleNotFound() *DeleteOrgRoleNotFound
NewDeleteOrgRoleNotFound creates a DeleteOrgRoleNotFound with default headers values
func (*DeleteOrgRoleNotFound) Error ¶
func (o *DeleteOrgRoleNotFound) Error() string
func (*DeleteOrgRoleNotFound) GetPayload ¶
func (o *DeleteOrgRoleNotFound) GetPayload() *models.ErrorPayload
type DeleteOrgRoleParams ¶
type DeleteOrgRoleParams struct { /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*RoleCanonical Organization Role canonical */ RoleCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOrgRoleParams contains all the parameters to send to the API endpoint for the delete org role operation typically these are written to a http.Request
func NewDeleteOrgRoleParams ¶
func NewDeleteOrgRoleParams() *DeleteOrgRoleParams
NewDeleteOrgRoleParams creates a new DeleteOrgRoleParams object with the default values initialized.
func NewDeleteOrgRoleParamsWithContext ¶
func NewDeleteOrgRoleParamsWithContext(ctx context.Context) *DeleteOrgRoleParams
NewDeleteOrgRoleParamsWithContext creates a new DeleteOrgRoleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteOrgRoleParamsWithHTTPClient ¶
func NewDeleteOrgRoleParamsWithHTTPClient(client *http.Client) *DeleteOrgRoleParams
NewDeleteOrgRoleParamsWithHTTPClient creates a new DeleteOrgRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteOrgRoleParamsWithTimeout ¶
func NewDeleteOrgRoleParamsWithTimeout(timeout time.Duration) *DeleteOrgRoleParams
NewDeleteOrgRoleParamsWithTimeout creates a new DeleteOrgRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteOrgRoleParams) SetContext ¶
func (o *DeleteOrgRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete org role params
func (*DeleteOrgRoleParams) SetHTTPClient ¶
func (o *DeleteOrgRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete org role params
func (*DeleteOrgRoleParams) SetOrganizationCanonical ¶
func (o *DeleteOrgRoleParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the delete org role params
func (*DeleteOrgRoleParams) SetRoleCanonical ¶ added in v1.0.58
func (o *DeleteOrgRoleParams) SetRoleCanonical(roleCanonical string)
SetRoleCanonical adds the roleCanonical to the delete org role params
func (*DeleteOrgRoleParams) SetTimeout ¶
func (o *DeleteOrgRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete org role params
func (*DeleteOrgRoleParams) WithContext ¶
func (o *DeleteOrgRoleParams) WithContext(ctx context.Context) *DeleteOrgRoleParams
WithContext adds the context to the delete org role params
func (*DeleteOrgRoleParams) WithHTTPClient ¶
func (o *DeleteOrgRoleParams) WithHTTPClient(client *http.Client) *DeleteOrgRoleParams
WithHTTPClient adds the HTTPClient to the delete org role params
func (*DeleteOrgRoleParams) WithOrganizationCanonical ¶
func (o *DeleteOrgRoleParams) WithOrganizationCanonical(organizationCanonical string) *DeleteOrgRoleParams
WithOrganizationCanonical adds the organizationCanonical to the delete org role params
func (*DeleteOrgRoleParams) WithRoleCanonical ¶ added in v1.0.58
func (o *DeleteOrgRoleParams) WithRoleCanonical(roleCanonical string) *DeleteOrgRoleParams
WithRoleCanonical adds the roleCanonical to the delete org role params
func (*DeleteOrgRoleParams) WithTimeout ¶
func (o *DeleteOrgRoleParams) WithTimeout(timeout time.Duration) *DeleteOrgRoleParams
WithTimeout adds the timeout to the delete org role params
func (*DeleteOrgRoleParams) WriteToRequest ¶
func (o *DeleteOrgRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOrgRoleReader ¶
type DeleteOrgRoleReader struct {
// contains filtered or unexported fields
}
DeleteOrgRoleReader is a Reader for the DeleteOrgRole structure.
func (*DeleteOrgRoleReader) ReadResponse ¶
func (o *DeleteOrgRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgRoleDefault ¶
type GetOrgRoleDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload // contains filtered or unexported fields }
GetOrgRoleDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetOrgRoleDefault ¶
func NewGetOrgRoleDefault(code int) *GetOrgRoleDefault
NewGetOrgRoleDefault creates a GetOrgRoleDefault with default headers values
func (*GetOrgRoleDefault) Code ¶
func (o *GetOrgRoleDefault) Code() int
Code gets the status code for the get org role default response
func (*GetOrgRoleDefault) Error ¶
func (o *GetOrgRoleDefault) Error() string
func (*GetOrgRoleDefault) GetPayload ¶
func (o *GetOrgRoleDefault) GetPayload() *models.ErrorPayload
type GetOrgRoleForbidden ¶
type GetOrgRoleForbidden struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
GetOrgRoleForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetOrgRoleForbidden ¶
func NewGetOrgRoleForbidden() *GetOrgRoleForbidden
NewGetOrgRoleForbidden creates a GetOrgRoleForbidden with default headers values
func (*GetOrgRoleForbidden) Error ¶
func (o *GetOrgRoleForbidden) Error() string
func (*GetOrgRoleForbidden) GetPayload ¶
func (o *GetOrgRoleForbidden) GetPayload() *models.ErrorPayload
type GetOrgRoleNotFound ¶
type GetOrgRoleNotFound struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
GetOrgRoleNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetOrgRoleNotFound ¶
func NewGetOrgRoleNotFound() *GetOrgRoleNotFound
NewGetOrgRoleNotFound creates a GetOrgRoleNotFound with default headers values
func (*GetOrgRoleNotFound) Error ¶
func (o *GetOrgRoleNotFound) Error() string
func (*GetOrgRoleNotFound) GetPayload ¶
func (o *GetOrgRoleNotFound) GetPayload() *models.ErrorPayload
type GetOrgRoleOK ¶
type GetOrgRoleOK struct {
Payload *GetOrgRoleOKBody
}
GetOrgRoleOK handles this case with default header values.
Role available in the organization with such canonical.
func NewGetOrgRoleOK ¶
func NewGetOrgRoleOK() *GetOrgRoleOK
NewGetOrgRoleOK creates a GetOrgRoleOK with default headers values
func (*GetOrgRoleOK) Error ¶
func (o *GetOrgRoleOK) Error() string
func (*GetOrgRoleOK) GetPayload ¶
func (o *GetOrgRoleOK) GetPayload() *GetOrgRoleOKBody
type GetOrgRoleOKBody ¶
GetOrgRoleOKBody get org role o k body swagger:model GetOrgRoleOKBody
func (*GetOrgRoleOKBody) MarshalBinary ¶
func (o *GetOrgRoleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgRoleOKBody) UnmarshalBinary ¶
func (o *GetOrgRoleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgRoleParams ¶
type GetOrgRoleParams struct { /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*RoleCanonical Organization Role canonical */ RoleCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgRoleParams contains all the parameters to send to the API endpoint for the get org role operation typically these are written to a http.Request
func NewGetOrgRoleParams ¶
func NewGetOrgRoleParams() *GetOrgRoleParams
NewGetOrgRoleParams creates a new GetOrgRoleParams object with the default values initialized.
func NewGetOrgRoleParamsWithContext ¶
func NewGetOrgRoleParamsWithContext(ctx context.Context) *GetOrgRoleParams
NewGetOrgRoleParamsWithContext creates a new GetOrgRoleParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgRoleParamsWithHTTPClient ¶
func NewGetOrgRoleParamsWithHTTPClient(client *http.Client) *GetOrgRoleParams
NewGetOrgRoleParamsWithHTTPClient creates a new GetOrgRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgRoleParamsWithTimeout ¶
func NewGetOrgRoleParamsWithTimeout(timeout time.Duration) *GetOrgRoleParams
NewGetOrgRoleParamsWithTimeout creates a new GetOrgRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgRoleParams) SetContext ¶
func (o *GetOrgRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the get org role params
func (*GetOrgRoleParams) SetHTTPClient ¶
func (o *GetOrgRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org role params
func (*GetOrgRoleParams) SetOrganizationCanonical ¶
func (o *GetOrgRoleParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get org role params
func (*GetOrgRoleParams) SetRoleCanonical ¶ added in v1.0.58
func (o *GetOrgRoleParams) SetRoleCanonical(roleCanonical string)
SetRoleCanonical adds the roleCanonical to the get org role params
func (*GetOrgRoleParams) SetTimeout ¶
func (o *GetOrgRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org role params
func (*GetOrgRoleParams) WithContext ¶
func (o *GetOrgRoleParams) WithContext(ctx context.Context) *GetOrgRoleParams
WithContext adds the context to the get org role params
func (*GetOrgRoleParams) WithHTTPClient ¶
func (o *GetOrgRoleParams) WithHTTPClient(client *http.Client) *GetOrgRoleParams
WithHTTPClient adds the HTTPClient to the get org role params
func (*GetOrgRoleParams) WithOrganizationCanonical ¶
func (o *GetOrgRoleParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgRoleParams
WithOrganizationCanonical adds the organizationCanonical to the get org role params
func (*GetOrgRoleParams) WithRoleCanonical ¶ added in v1.0.58
func (o *GetOrgRoleParams) WithRoleCanonical(roleCanonical string) *GetOrgRoleParams
WithRoleCanonical adds the roleCanonical to the get org role params
func (*GetOrgRoleParams) WithTimeout ¶
func (o *GetOrgRoleParams) WithTimeout(timeout time.Duration) *GetOrgRoleParams
WithTimeout adds the timeout to the get org role params
func (*GetOrgRoleParams) WriteToRequest ¶
func (o *GetOrgRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgRoleReader ¶
type GetOrgRoleReader struct {
// contains filtered or unexported fields
}
GetOrgRoleReader is a Reader for the GetOrgRole structure.
func (*GetOrgRoleReader) ReadResponse ¶
func (o *GetOrgRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgRolesDefault ¶
type GetOrgRolesDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload // contains filtered or unexported fields }
GetOrgRolesDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetOrgRolesDefault ¶
func NewGetOrgRolesDefault(code int) *GetOrgRolesDefault
NewGetOrgRolesDefault creates a GetOrgRolesDefault with default headers values
func (*GetOrgRolesDefault) Code ¶
func (o *GetOrgRolesDefault) Code() int
Code gets the status code for the get org roles default response
func (*GetOrgRolesDefault) Error ¶
func (o *GetOrgRolesDefault) Error() string
func (*GetOrgRolesDefault) GetPayload ¶
func (o *GetOrgRolesDefault) GetPayload() *models.ErrorPayload
type GetOrgRolesForbidden ¶
type GetOrgRolesForbidden struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
GetOrgRolesForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetOrgRolesForbidden ¶
func NewGetOrgRolesForbidden() *GetOrgRolesForbidden
NewGetOrgRolesForbidden creates a GetOrgRolesForbidden with default headers values
func (*GetOrgRolesForbidden) Error ¶
func (o *GetOrgRolesForbidden) Error() string
func (*GetOrgRolesForbidden) GetPayload ¶
func (o *GetOrgRolesForbidden) GetPayload() *models.ErrorPayload
type GetOrgRolesNotFound ¶
type GetOrgRolesNotFound struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
GetOrgRolesNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetOrgRolesNotFound ¶
func NewGetOrgRolesNotFound() *GetOrgRolesNotFound
NewGetOrgRolesNotFound creates a GetOrgRolesNotFound with default headers values
func (*GetOrgRolesNotFound) Error ¶
func (o *GetOrgRolesNotFound) Error() string
func (*GetOrgRolesNotFound) GetPayload ¶
func (o *GetOrgRolesNotFound) GetPayload() *models.ErrorPayload
type GetOrgRolesOK ¶
type GetOrgRolesOK struct {
Payload *GetOrgRolesOKBody
}
GetOrgRolesOK handles this case with default header values.
List of roles which are available in the organization.
func NewGetOrgRolesOK ¶
func NewGetOrgRolesOK() *GetOrgRolesOK
NewGetOrgRolesOK creates a GetOrgRolesOK with default headers values
func (*GetOrgRolesOK) Error ¶
func (o *GetOrgRolesOK) Error() string
func (*GetOrgRolesOK) GetPayload ¶
func (o *GetOrgRolesOK) GetPayload() *GetOrgRolesOKBody
type GetOrgRolesOKBody ¶
type GetOrgRolesOKBody struct { // data // Required: true Data []*models.Role `json:"data"` // pagination // Required: true Pagination *models.Pagination `json:"pagination"` }
GetOrgRolesOKBody get org roles o k body swagger:model GetOrgRolesOKBody
func (*GetOrgRolesOKBody) MarshalBinary ¶
func (o *GetOrgRolesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgRolesOKBody) UnmarshalBinary ¶
func (o *GetOrgRolesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgRolesParams ¶
type GetOrgRolesParams struct { /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*PageIndex The page number to request. The first page is 1. */ PageIndex *uint32 /*PageSize The number of items at most which the response can have. */ PageSize *uint32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgRolesParams contains all the parameters to send to the API endpoint for the get org roles operation typically these are written to a http.Request
func NewGetOrgRolesParams ¶
func NewGetOrgRolesParams() *GetOrgRolesParams
NewGetOrgRolesParams creates a new GetOrgRolesParams object with the default values initialized.
func NewGetOrgRolesParamsWithContext ¶
func NewGetOrgRolesParamsWithContext(ctx context.Context) *GetOrgRolesParams
NewGetOrgRolesParamsWithContext creates a new GetOrgRolesParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgRolesParamsWithHTTPClient ¶
func NewGetOrgRolesParamsWithHTTPClient(client *http.Client) *GetOrgRolesParams
NewGetOrgRolesParamsWithHTTPClient creates a new GetOrgRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgRolesParamsWithTimeout ¶
func NewGetOrgRolesParamsWithTimeout(timeout time.Duration) *GetOrgRolesParams
NewGetOrgRolesParamsWithTimeout creates a new GetOrgRolesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgRolesParams) SetContext ¶
func (o *GetOrgRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the get org roles params
func (*GetOrgRolesParams) SetHTTPClient ¶
func (o *GetOrgRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org roles params
func (*GetOrgRolesParams) SetOrganizationCanonical ¶
func (o *GetOrgRolesParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get org roles params
func (*GetOrgRolesParams) SetPageIndex ¶
func (o *GetOrgRolesParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the get org roles params
func (*GetOrgRolesParams) SetPageSize ¶
func (o *GetOrgRolesParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the get org roles params
func (*GetOrgRolesParams) SetTimeout ¶
func (o *GetOrgRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org roles params
func (*GetOrgRolesParams) WithContext ¶
func (o *GetOrgRolesParams) WithContext(ctx context.Context) *GetOrgRolesParams
WithContext adds the context to the get org roles params
func (*GetOrgRolesParams) WithHTTPClient ¶
func (o *GetOrgRolesParams) WithHTTPClient(client *http.Client) *GetOrgRolesParams
WithHTTPClient adds the HTTPClient to the get org roles params
func (*GetOrgRolesParams) WithOrganizationCanonical ¶
func (o *GetOrgRolesParams) WithOrganizationCanonical(organizationCanonical string) *GetOrgRolesParams
WithOrganizationCanonical adds the organizationCanonical to the get org roles params
func (*GetOrgRolesParams) WithPageIndex ¶
func (o *GetOrgRolesParams) WithPageIndex(pageIndex *uint32) *GetOrgRolesParams
WithPageIndex adds the pageIndex to the get org roles params
func (*GetOrgRolesParams) WithPageSize ¶
func (o *GetOrgRolesParams) WithPageSize(pageSize *uint32) *GetOrgRolesParams
WithPageSize adds the pageSize to the get org roles params
func (*GetOrgRolesParams) WithTimeout ¶
func (o *GetOrgRolesParams) WithTimeout(timeout time.Duration) *GetOrgRolesParams
WithTimeout adds the timeout to the get org roles params
func (*GetOrgRolesParams) WriteToRequest ¶
func (o *GetOrgRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgRolesReader ¶
type GetOrgRolesReader struct {
// contains filtered or unexported fields
}
GetOrgRolesReader is a Reader for the GetOrgRoles structure.
func (*GetOrgRolesReader) ReadResponse ¶
func (o *GetOrgRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgRoleDefault ¶
type UpdateOrgRoleDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload // contains filtered or unexported fields }
UpdateOrgRoleDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateOrgRoleDefault ¶
func NewUpdateOrgRoleDefault(code int) *UpdateOrgRoleDefault
NewUpdateOrgRoleDefault creates a UpdateOrgRoleDefault with default headers values
func (*UpdateOrgRoleDefault) Code ¶
func (o *UpdateOrgRoleDefault) Code() int
Code gets the status code for the update org role default response
func (*UpdateOrgRoleDefault) Error ¶
func (o *UpdateOrgRoleDefault) Error() string
func (*UpdateOrgRoleDefault) GetPayload ¶
func (o *UpdateOrgRoleDefault) GetPayload() *models.ErrorPayload
type UpdateOrgRoleForbidden ¶
type UpdateOrgRoleForbidden struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
UpdateOrgRoleForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewUpdateOrgRoleForbidden ¶
func NewUpdateOrgRoleForbidden() *UpdateOrgRoleForbidden
NewUpdateOrgRoleForbidden creates a UpdateOrgRoleForbidden with default headers values
func (*UpdateOrgRoleForbidden) Error ¶
func (o *UpdateOrgRoleForbidden) Error() string
func (*UpdateOrgRoleForbidden) GetPayload ¶
func (o *UpdateOrgRoleForbidden) GetPayload() *models.ErrorPayload
type UpdateOrgRoleNotFound ¶
type UpdateOrgRoleNotFound struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
UpdateOrgRoleNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewUpdateOrgRoleNotFound ¶
func NewUpdateOrgRoleNotFound() *UpdateOrgRoleNotFound
NewUpdateOrgRoleNotFound creates a UpdateOrgRoleNotFound with default headers values
func (*UpdateOrgRoleNotFound) Error ¶
func (o *UpdateOrgRoleNotFound) Error() string
func (*UpdateOrgRoleNotFound) GetPayload ¶
func (o *UpdateOrgRoleNotFound) GetPayload() *models.ErrorPayload
type UpdateOrgRoleOK ¶
type UpdateOrgRoleOK struct {
Payload *UpdateOrgRoleOKBody
}
UpdateOrgRoleOK handles this case with default header values.
Updated role belonging to the organization.
func NewUpdateOrgRoleOK ¶
func NewUpdateOrgRoleOK() *UpdateOrgRoleOK
NewUpdateOrgRoleOK creates a UpdateOrgRoleOK with default headers values
func (*UpdateOrgRoleOK) Error ¶
func (o *UpdateOrgRoleOK) Error() string
func (*UpdateOrgRoleOK) GetPayload ¶
func (o *UpdateOrgRoleOK) GetPayload() *UpdateOrgRoleOKBody
type UpdateOrgRoleOKBody ¶
UpdateOrgRoleOKBody update org role o k body swagger:model UpdateOrgRoleOKBody
func (*UpdateOrgRoleOKBody) MarshalBinary ¶
func (o *UpdateOrgRoleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgRoleOKBody) UnmarshalBinary ¶
func (o *UpdateOrgRoleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgRoleParams ¶
type UpdateOrgRoleParams struct { /*Body The information of the organization's role to update. */ Body *models.NewRole /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*RoleCanonical Organization Role canonical */ RoleCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrgRoleParams contains all the parameters to send to the API endpoint for the update org role operation typically these are written to a http.Request
func NewUpdateOrgRoleParams ¶
func NewUpdateOrgRoleParams() *UpdateOrgRoleParams
NewUpdateOrgRoleParams creates a new UpdateOrgRoleParams object with the default values initialized.
func NewUpdateOrgRoleParamsWithContext ¶
func NewUpdateOrgRoleParamsWithContext(ctx context.Context) *UpdateOrgRoleParams
NewUpdateOrgRoleParamsWithContext creates a new UpdateOrgRoleParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateOrgRoleParamsWithHTTPClient ¶
func NewUpdateOrgRoleParamsWithHTTPClient(client *http.Client) *UpdateOrgRoleParams
NewUpdateOrgRoleParamsWithHTTPClient creates a new UpdateOrgRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateOrgRoleParamsWithTimeout ¶
func NewUpdateOrgRoleParamsWithTimeout(timeout time.Duration) *UpdateOrgRoleParams
NewUpdateOrgRoleParamsWithTimeout creates a new UpdateOrgRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateOrgRoleParams) SetBody ¶
func (o *UpdateOrgRoleParams) SetBody(body *models.NewRole)
SetBody adds the body to the update org role params
func (*UpdateOrgRoleParams) SetContext ¶
func (o *UpdateOrgRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the update org role params
func (*UpdateOrgRoleParams) SetHTTPClient ¶
func (o *UpdateOrgRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org role params
func (*UpdateOrgRoleParams) SetOrganizationCanonical ¶
func (o *UpdateOrgRoleParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the update org role params
func (*UpdateOrgRoleParams) SetRoleCanonical ¶ added in v1.0.58
func (o *UpdateOrgRoleParams) SetRoleCanonical(roleCanonical string)
SetRoleCanonical adds the roleCanonical to the update org role params
func (*UpdateOrgRoleParams) SetTimeout ¶
func (o *UpdateOrgRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org role params
func (*UpdateOrgRoleParams) WithBody ¶
func (o *UpdateOrgRoleParams) WithBody(body *models.NewRole) *UpdateOrgRoleParams
WithBody adds the body to the update org role params
func (*UpdateOrgRoleParams) WithContext ¶
func (o *UpdateOrgRoleParams) WithContext(ctx context.Context) *UpdateOrgRoleParams
WithContext adds the context to the update org role params
func (*UpdateOrgRoleParams) WithHTTPClient ¶
func (o *UpdateOrgRoleParams) WithHTTPClient(client *http.Client) *UpdateOrgRoleParams
WithHTTPClient adds the HTTPClient to the update org role params
func (*UpdateOrgRoleParams) WithOrganizationCanonical ¶
func (o *UpdateOrgRoleParams) WithOrganizationCanonical(organizationCanonical string) *UpdateOrgRoleParams
WithOrganizationCanonical adds the organizationCanonical to the update org role params
func (*UpdateOrgRoleParams) WithRoleCanonical ¶ added in v1.0.58
func (o *UpdateOrgRoleParams) WithRoleCanonical(roleCanonical string) *UpdateOrgRoleParams
WithRoleCanonical adds the roleCanonical to the update org role params
func (*UpdateOrgRoleParams) WithTimeout ¶
func (o *UpdateOrgRoleParams) WithTimeout(timeout time.Duration) *UpdateOrgRoleParams
WithTimeout adds the timeout to the update org role params
func (*UpdateOrgRoleParams) WriteToRequest ¶
func (o *UpdateOrgRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgRoleReader ¶
type UpdateOrgRoleReader struct {
// contains filtered or unexported fields
}
UpdateOrgRoleReader is a Reader for the UpdateOrgRole structure.
func (*UpdateOrgRoleReader) ReadResponse ¶
func (o *UpdateOrgRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgRoleUnprocessableEntity ¶
type UpdateOrgRoleUnprocessableEntity struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
UpdateOrgRoleUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateOrgRoleUnprocessableEntity ¶
func NewUpdateOrgRoleUnprocessableEntity() *UpdateOrgRoleUnprocessableEntity
NewUpdateOrgRoleUnprocessableEntity creates a UpdateOrgRoleUnprocessableEntity with default headers values
func (*UpdateOrgRoleUnprocessableEntity) Error ¶
func (o *UpdateOrgRoleUnprocessableEntity) Error() string
func (*UpdateOrgRoleUnprocessableEntity) GetPayload ¶
func (o *UpdateOrgRoleUnprocessableEntity) GetPayload() *models.ErrorPayload
Source Files ¶
- create_org_role_parameters.go
- create_org_role_responses.go
- delete_org_role_parameters.go
- delete_org_role_responses.go
- get_org_role_parameters.go
- get_org_role_responses.go
- get_org_roles_parameters.go
- get_org_roles_responses.go
- organization_roles_client.go
- update_org_role_parameters.go
- update_org_role_responses.go