ace

package
v0.44.36 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 ace API

func (*Client) DeleteRolesRoleIDAcesAceID

func (a *Client) DeleteRolesRoleIDAcesAceID(params *DeleteRolesRoleIDAcesAceIDParams) (*DeleteRolesRoleIDAcesAceIDNoContent, error)

DeleteRolesRoleIDAcesAceID deletes access control entry

func (*Client) GetRolesRoleIDAces

func (a *Client) GetRolesRoleIDAces(params *GetRolesRoleIDAcesParams) (*GetRolesRoleIDAcesOK, error)

GetRolesRoleIDAces lists all access controls for role

func (*Client) GetRolesRoleIDAcesAceID

func (a *Client) GetRolesRoleIDAcesAceID(params *GetRolesRoleIDAcesAceIDParams) (*GetRolesRoleIDAcesAceIDOK, error)

GetRolesRoleIDAcesAceID fetches access control entry

func (*Client) PostRolesRoleIDAces

func (a *Client) PostRolesRoleIDAces(params *PostRolesRoleIDAcesParams) (*PostRolesRoleIDAcesCreated, error)

PostRolesRoleIDAces creates access control entry

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService added in v0.43.0

type ClientService interface {
	DeleteRolesRoleIDAcesAceID(params *DeleteRolesRoleIDAcesAceIDParams) (*DeleteRolesRoleIDAcesAceIDNoContent, error)

	GetRolesRoleIDAces(params *GetRolesRoleIDAcesParams) (*GetRolesRoleIDAcesOK, error)

	GetRolesRoleIDAcesAceID(params *GetRolesRoleIDAcesAceIDParams) (*GetRolesRoleIDAcesAceIDOK, error)

	PostRolesRoleIDAces(params *PostRolesRoleIDAcesParams) (*PostRolesRoleIDAcesCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new ace API client.

type DeleteRolesRoleIDAcesAceIDNoContent

type DeleteRolesRoleIDAcesAceIDNoContent struct {
}

DeleteRolesRoleIDAcesAceIDNoContent handles this case with default header values.

Ace deleted OK

func NewDeleteRolesRoleIDAcesAceIDNoContent

func NewDeleteRolesRoleIDAcesAceIDNoContent() *DeleteRolesRoleIDAcesAceIDNoContent

NewDeleteRolesRoleIDAcesAceIDNoContent creates a DeleteRolesRoleIDAcesAceIDNoContent with default headers values

func (*DeleteRolesRoleIDAcesAceIDNoContent) Error

type DeleteRolesRoleIDAcesAceIDParams

type DeleteRolesRoleIDAcesAceIDParams struct {

	/*AceID
	  Ace Id

	*/
	AceID strfmt.UUID
	/*RoleID
	  Role Id

	*/
	RoleID strfmt.UUID

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

DeleteRolesRoleIDAcesAceIDParams contains all the parameters to send to the API endpoint for the delete roles role ID aces ace ID operation typically these are written to a http.Request

func NewDeleteRolesRoleIDAcesAceIDParams

func NewDeleteRolesRoleIDAcesAceIDParams() *DeleteRolesRoleIDAcesAceIDParams

NewDeleteRolesRoleIDAcesAceIDParams creates a new DeleteRolesRoleIDAcesAceIDParams object with the default values initialized.

func NewDeleteRolesRoleIDAcesAceIDParamsWithContext

func NewDeleteRolesRoleIDAcesAceIDParamsWithContext(ctx context.Context) *DeleteRolesRoleIDAcesAceIDParams

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

func NewDeleteRolesRoleIDAcesAceIDParamsWithHTTPClient

func NewDeleteRolesRoleIDAcesAceIDParamsWithHTTPClient(client *http.Client) *DeleteRolesRoleIDAcesAceIDParams

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

func NewDeleteRolesRoleIDAcesAceIDParamsWithTimeout

func NewDeleteRolesRoleIDAcesAceIDParamsWithTimeout(timeout time.Duration) *DeleteRolesRoleIDAcesAceIDParams

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

func (*DeleteRolesRoleIDAcesAceIDParams) SetAceID

func (o *DeleteRolesRoleIDAcesAceIDParams) SetAceID(aceID strfmt.UUID)

SetAceID adds the aceId to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) SetContext

SetContext adds the context to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) SetRoleID

func (o *DeleteRolesRoleIDAcesAceIDParams) SetRoleID(roleID strfmt.UUID)

SetRoleID adds the roleId to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithAceID

WithAceID adds the aceID to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithContext

WithContext adds the context to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithRoleID

WithRoleID adds the roleID to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WithTimeout

WithTimeout adds the timeout to the delete roles role ID aces ace ID params

func (*DeleteRolesRoleIDAcesAceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRolesRoleIDAcesAceIDReader

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

DeleteRolesRoleIDAcesAceIDReader is a Reader for the DeleteRolesRoleIDAcesAceID structure.

func (*DeleteRolesRoleIDAcesAceIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRolesRoleIDAcesAceIDBadRequest added in v0.43.0

type GetRolesRoleIDAcesAceIDBadRequest struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesAceIDBadRequest handles this case with default header values.

Bad Request

func NewGetRolesRoleIDAcesAceIDBadRequest added in v0.43.0

func NewGetRolesRoleIDAcesAceIDBadRequest() *GetRolesRoleIDAcesAceIDBadRequest

NewGetRolesRoleIDAcesAceIDBadRequest creates a GetRolesRoleIDAcesAceIDBadRequest with default headers values

func (*GetRolesRoleIDAcesAceIDBadRequest) Error added in v0.43.0

func (*GetRolesRoleIDAcesAceIDBadRequest) GetPayload added in v0.43.0

type GetRolesRoleIDAcesAceIDConflict added in v0.43.0

type GetRolesRoleIDAcesAceIDConflict struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesAceIDConflict handles this case with default header values.

Conflict

func NewGetRolesRoleIDAcesAceIDConflict added in v0.43.0

func NewGetRolesRoleIDAcesAceIDConflict() *GetRolesRoleIDAcesAceIDConflict

NewGetRolesRoleIDAcesAceIDConflict creates a GetRolesRoleIDAcesAceIDConflict with default headers values

func (*GetRolesRoleIDAcesAceIDConflict) Error added in v0.43.0

func (*GetRolesRoleIDAcesAceIDConflict) GetPayload added in v0.43.0

type GetRolesRoleIDAcesAceIDForbidden added in v0.43.0

type GetRolesRoleIDAcesAceIDForbidden struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesAceIDForbidden handles this case with default header values.

Forbidden

func NewGetRolesRoleIDAcesAceIDForbidden added in v0.43.0

func NewGetRolesRoleIDAcesAceIDForbidden() *GetRolesRoleIDAcesAceIDForbidden

NewGetRolesRoleIDAcesAceIDForbidden creates a GetRolesRoleIDAcesAceIDForbidden with default headers values

func (*GetRolesRoleIDAcesAceIDForbidden) Error added in v0.43.0

func (*GetRolesRoleIDAcesAceIDForbidden) GetPayload added in v0.43.0

type GetRolesRoleIDAcesAceIDInternalServerError added in v0.43.0

type GetRolesRoleIDAcesAceIDInternalServerError struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesAceIDInternalServerError handles this case with default header values.

Internal Server Error

func NewGetRolesRoleIDAcesAceIDInternalServerError added in v0.43.0

func NewGetRolesRoleIDAcesAceIDInternalServerError() *GetRolesRoleIDAcesAceIDInternalServerError

NewGetRolesRoleIDAcesAceIDInternalServerError creates a GetRolesRoleIDAcesAceIDInternalServerError with default headers values

func (*GetRolesRoleIDAcesAceIDInternalServerError) Error added in v0.43.0

func (*GetRolesRoleIDAcesAceIDInternalServerError) GetPayload added in v0.43.0

type GetRolesRoleIDAcesAceIDNotFound added in v0.43.0

type GetRolesRoleIDAcesAceIDNotFound struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesAceIDNotFound handles this case with default header values.

Record not found

func NewGetRolesRoleIDAcesAceIDNotFound added in v0.43.0

func NewGetRolesRoleIDAcesAceIDNotFound() *GetRolesRoleIDAcesAceIDNotFound

NewGetRolesRoleIDAcesAceIDNotFound creates a GetRolesRoleIDAcesAceIDNotFound with default headers values

func (*GetRolesRoleIDAcesAceIDNotFound) Error added in v0.43.0

func (*GetRolesRoleIDAcesAceIDNotFound) GetPayload added in v0.43.0

type GetRolesRoleIDAcesAceIDOK

type GetRolesRoleIDAcesAceIDOK struct {
	Payload *models.AceDetailsResponse
}

GetRolesRoleIDAcesAceIDOK handles this case with default header values.

Ace details

func NewGetRolesRoleIDAcesAceIDOK

func NewGetRolesRoleIDAcesAceIDOK() *GetRolesRoleIDAcesAceIDOK

NewGetRolesRoleIDAcesAceIDOK creates a GetRolesRoleIDAcesAceIDOK with default headers values

func (*GetRolesRoleIDAcesAceIDOK) Error

func (o *GetRolesRoleIDAcesAceIDOK) Error() string

func (*GetRolesRoleIDAcesAceIDOK) GetPayload added in v0.43.0

type GetRolesRoleIDAcesAceIDParams

type GetRolesRoleIDAcesAceIDParams struct {

	/*AceID
	  Ace Id

	*/
	AceID strfmt.UUID
	/*RoleID
	  Role Id

	*/
	RoleID strfmt.UUID

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

GetRolesRoleIDAcesAceIDParams contains all the parameters to send to the API endpoint for the get roles role ID aces ace ID operation typically these are written to a http.Request

func NewGetRolesRoleIDAcesAceIDParams

func NewGetRolesRoleIDAcesAceIDParams() *GetRolesRoleIDAcesAceIDParams

NewGetRolesRoleIDAcesAceIDParams creates a new GetRolesRoleIDAcesAceIDParams object with the default values initialized.

func NewGetRolesRoleIDAcesAceIDParamsWithContext

func NewGetRolesRoleIDAcesAceIDParamsWithContext(ctx context.Context) *GetRolesRoleIDAcesAceIDParams

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

func NewGetRolesRoleIDAcesAceIDParamsWithHTTPClient

func NewGetRolesRoleIDAcesAceIDParamsWithHTTPClient(client *http.Client) *GetRolesRoleIDAcesAceIDParams

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

func NewGetRolesRoleIDAcesAceIDParamsWithTimeout

func NewGetRolesRoleIDAcesAceIDParamsWithTimeout(timeout time.Duration) *GetRolesRoleIDAcesAceIDParams

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

func (*GetRolesRoleIDAcesAceIDParams) SetAceID

func (o *GetRolesRoleIDAcesAceIDParams) SetAceID(aceID strfmt.UUID)

SetAceID adds the aceId to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) SetContext

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

SetContext adds the context to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) SetRoleID

func (o *GetRolesRoleIDAcesAceIDParams) SetRoleID(roleID strfmt.UUID)

SetRoleID adds the roleId to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) SetTimeout

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

SetTimeout adds the timeout to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithAceID

WithAceID adds the aceID to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithContext

WithContext adds the context to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithRoleID

WithRoleID adds the roleID to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WithTimeout

WithTimeout adds the timeout to the get roles role ID aces ace ID params

func (*GetRolesRoleIDAcesAceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRolesRoleIDAcesAceIDReader

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

GetRolesRoleIDAcesAceIDReader is a Reader for the GetRolesRoleIDAcesAceID structure.

func (*GetRolesRoleIDAcesAceIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRolesRoleIDAcesAceIDServiceUnavailable added in v0.43.0

type GetRolesRoleIDAcesAceIDServiceUnavailable struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesAceIDServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewGetRolesRoleIDAcesAceIDServiceUnavailable added in v0.43.0

func NewGetRolesRoleIDAcesAceIDServiceUnavailable() *GetRolesRoleIDAcesAceIDServiceUnavailable

NewGetRolesRoleIDAcesAceIDServiceUnavailable creates a GetRolesRoleIDAcesAceIDServiceUnavailable with default headers values

func (*GetRolesRoleIDAcesAceIDServiceUnavailable) Error added in v0.43.0

func (*GetRolesRoleIDAcesAceIDServiceUnavailable) GetPayload added in v0.43.0

type GetRolesRoleIDAcesAceIDTooManyRequests added in v0.43.0

type GetRolesRoleIDAcesAceIDTooManyRequests struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesAceIDTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewGetRolesRoleIDAcesAceIDTooManyRequests added in v0.43.0

func NewGetRolesRoleIDAcesAceIDTooManyRequests() *GetRolesRoleIDAcesAceIDTooManyRequests

NewGetRolesRoleIDAcesAceIDTooManyRequests creates a GetRolesRoleIDAcesAceIDTooManyRequests with default headers values

func (*GetRolesRoleIDAcesAceIDTooManyRequests) Error added in v0.43.0

func (*GetRolesRoleIDAcesAceIDTooManyRequests) GetPayload added in v0.43.0

type GetRolesRoleIDAcesAceIDUnauthorized added in v0.43.0

type GetRolesRoleIDAcesAceIDUnauthorized struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesAceIDUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewGetRolesRoleIDAcesAceIDUnauthorized added in v0.43.0

func NewGetRolesRoleIDAcesAceIDUnauthorized() *GetRolesRoleIDAcesAceIDUnauthorized

NewGetRolesRoleIDAcesAceIDUnauthorized creates a GetRolesRoleIDAcesAceIDUnauthorized with default headers values

func (*GetRolesRoleIDAcesAceIDUnauthorized) Error added in v0.43.0

func (*GetRolesRoleIDAcesAceIDUnauthorized) GetPayload added in v0.43.0

type GetRolesRoleIDAcesBadRequest added in v0.43.0

type GetRolesRoleIDAcesBadRequest struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesBadRequest handles this case with default header values.

Bad Request

func NewGetRolesRoleIDAcesBadRequest added in v0.43.0

func NewGetRolesRoleIDAcesBadRequest() *GetRolesRoleIDAcesBadRequest

NewGetRolesRoleIDAcesBadRequest creates a GetRolesRoleIDAcesBadRequest with default headers values

func (*GetRolesRoleIDAcesBadRequest) Error added in v0.43.0

func (*GetRolesRoleIDAcesBadRequest) GetPayload added in v0.43.0

func (o *GetRolesRoleIDAcesBadRequest) GetPayload() *models.APIError

type GetRolesRoleIDAcesConflict added in v0.43.0

type GetRolesRoleIDAcesConflict struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesConflict handles this case with default header values.

Conflict

func NewGetRolesRoleIDAcesConflict added in v0.43.0

func NewGetRolesRoleIDAcesConflict() *GetRolesRoleIDAcesConflict

NewGetRolesRoleIDAcesConflict creates a GetRolesRoleIDAcesConflict with default headers values

func (*GetRolesRoleIDAcesConflict) Error added in v0.43.0

func (*GetRolesRoleIDAcesConflict) GetPayload added in v0.43.0

func (o *GetRolesRoleIDAcesConflict) GetPayload() *models.APIError

type GetRolesRoleIDAcesForbidden added in v0.43.0

type GetRolesRoleIDAcesForbidden struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesForbidden handles this case with default header values.

Forbidden

func NewGetRolesRoleIDAcesForbidden added in v0.43.0

func NewGetRolesRoleIDAcesForbidden() *GetRolesRoleIDAcesForbidden

NewGetRolesRoleIDAcesForbidden creates a GetRolesRoleIDAcesForbidden with default headers values

func (*GetRolesRoleIDAcesForbidden) Error added in v0.43.0

func (*GetRolesRoleIDAcesForbidden) GetPayload added in v0.43.0

func (o *GetRolesRoleIDAcesForbidden) GetPayload() *models.APIError

type GetRolesRoleIDAcesInternalServerError added in v0.43.0

type GetRolesRoleIDAcesInternalServerError struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesInternalServerError handles this case with default header values.

Internal Server Error

func NewGetRolesRoleIDAcesInternalServerError added in v0.43.0

func NewGetRolesRoleIDAcesInternalServerError() *GetRolesRoleIDAcesInternalServerError

NewGetRolesRoleIDAcesInternalServerError creates a GetRolesRoleIDAcesInternalServerError with default headers values

func (*GetRolesRoleIDAcesInternalServerError) Error added in v0.43.0

func (*GetRolesRoleIDAcesInternalServerError) GetPayload added in v0.43.0

type GetRolesRoleIDAcesNotFound added in v0.43.0

type GetRolesRoleIDAcesNotFound struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesNotFound handles this case with default header values.

Record not found

func NewGetRolesRoleIDAcesNotFound added in v0.43.0

func NewGetRolesRoleIDAcesNotFound() *GetRolesRoleIDAcesNotFound

NewGetRolesRoleIDAcesNotFound creates a GetRolesRoleIDAcesNotFound with default headers values

func (*GetRolesRoleIDAcesNotFound) Error added in v0.43.0

func (*GetRolesRoleIDAcesNotFound) GetPayload added in v0.43.0

func (o *GetRolesRoleIDAcesNotFound) GetPayload() *models.APIError

type GetRolesRoleIDAcesOK

type GetRolesRoleIDAcesOK struct {
	Payload *models.AceDetailsListResponse
}

GetRolesRoleIDAcesOK handles this case with default header values.

List of Ace details

func NewGetRolesRoleIDAcesOK

func NewGetRolesRoleIDAcesOK() *GetRolesRoleIDAcesOK

NewGetRolesRoleIDAcesOK creates a GetRolesRoleIDAcesOK with default headers values

func (*GetRolesRoleIDAcesOK) Error

func (o *GetRolesRoleIDAcesOK) Error() string

func (*GetRolesRoleIDAcesOK) GetPayload added in v0.43.0

type GetRolesRoleIDAcesParams

type GetRolesRoleIDAcesParams struct {

	/*RoleID
	  Role Id

	*/
	RoleID strfmt.UUID

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

GetRolesRoleIDAcesParams contains all the parameters to send to the API endpoint for the get roles role ID aces operation typically these are written to a http.Request

func NewGetRolesRoleIDAcesParams

func NewGetRolesRoleIDAcesParams() *GetRolesRoleIDAcesParams

NewGetRolesRoleIDAcesParams creates a new GetRolesRoleIDAcesParams object with the default values initialized.

func NewGetRolesRoleIDAcesParamsWithContext

func NewGetRolesRoleIDAcesParamsWithContext(ctx context.Context) *GetRolesRoleIDAcesParams

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

func NewGetRolesRoleIDAcesParamsWithHTTPClient

func NewGetRolesRoleIDAcesParamsWithHTTPClient(client *http.Client) *GetRolesRoleIDAcesParams

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

func NewGetRolesRoleIDAcesParamsWithTimeout

func NewGetRolesRoleIDAcesParamsWithTimeout(timeout time.Duration) *GetRolesRoleIDAcesParams

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

func (*GetRolesRoleIDAcesParams) SetContext

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

SetContext adds the context to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) SetRoleID

func (o *GetRolesRoleIDAcesParams) SetRoleID(roleID strfmt.UUID)

SetRoleID adds the roleId to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) SetTimeout

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

SetTimeout adds the timeout to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WithContext

WithContext adds the context to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WithRoleID

WithRoleID adds the roleID to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WithTimeout

WithTimeout adds the timeout to the get roles role ID aces params

func (*GetRolesRoleIDAcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRolesRoleIDAcesReader

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

GetRolesRoleIDAcesReader is a Reader for the GetRolesRoleIDAces structure.

func (*GetRolesRoleIDAcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRolesRoleIDAcesServiceUnavailable added in v0.43.0

type GetRolesRoleIDAcesServiceUnavailable struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewGetRolesRoleIDAcesServiceUnavailable added in v0.43.0

func NewGetRolesRoleIDAcesServiceUnavailable() *GetRolesRoleIDAcesServiceUnavailable

NewGetRolesRoleIDAcesServiceUnavailable creates a GetRolesRoleIDAcesServiceUnavailable with default headers values

func (*GetRolesRoleIDAcesServiceUnavailable) Error added in v0.43.0

func (*GetRolesRoleIDAcesServiceUnavailable) GetPayload added in v0.43.0

type GetRolesRoleIDAcesTooManyRequests added in v0.43.0

type GetRolesRoleIDAcesTooManyRequests struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewGetRolesRoleIDAcesTooManyRequests added in v0.43.0

func NewGetRolesRoleIDAcesTooManyRequests() *GetRolesRoleIDAcesTooManyRequests

NewGetRolesRoleIDAcesTooManyRequests creates a GetRolesRoleIDAcesTooManyRequests with default headers values

func (*GetRolesRoleIDAcesTooManyRequests) Error added in v0.43.0

func (*GetRolesRoleIDAcesTooManyRequests) GetPayload added in v0.43.0

type GetRolesRoleIDAcesUnauthorized added in v0.43.0

type GetRolesRoleIDAcesUnauthorized struct {
	Payload *models.APIError
}

GetRolesRoleIDAcesUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewGetRolesRoleIDAcesUnauthorized added in v0.43.0

func NewGetRolesRoleIDAcesUnauthorized() *GetRolesRoleIDAcesUnauthorized

NewGetRolesRoleIDAcesUnauthorized creates a GetRolesRoleIDAcesUnauthorized with default headers values

func (*GetRolesRoleIDAcesUnauthorized) Error added in v0.43.0

func (*GetRolesRoleIDAcesUnauthorized) GetPayload added in v0.43.0

type PostRolesRoleIDAcesBadRequest added in v0.43.0

type PostRolesRoleIDAcesBadRequest struct {
	Payload *models.APIError
}

PostRolesRoleIDAcesBadRequest handles this case with default header values.

Bad Request

func NewPostRolesRoleIDAcesBadRequest added in v0.43.0

func NewPostRolesRoleIDAcesBadRequest() *PostRolesRoleIDAcesBadRequest

NewPostRolesRoleIDAcesBadRequest creates a PostRolesRoleIDAcesBadRequest with default headers values

func (*PostRolesRoleIDAcesBadRequest) Error added in v0.43.0

func (*PostRolesRoleIDAcesBadRequest) GetPayload added in v0.43.0

type PostRolesRoleIDAcesConflict added in v0.43.0

type PostRolesRoleIDAcesConflict struct {
	Payload *models.APIError
}

PostRolesRoleIDAcesConflict handles this case with default header values.

Conflict

func NewPostRolesRoleIDAcesConflict added in v0.43.0

func NewPostRolesRoleIDAcesConflict() *PostRolesRoleIDAcesConflict

NewPostRolesRoleIDAcesConflict creates a PostRolesRoleIDAcesConflict with default headers values

func (*PostRolesRoleIDAcesConflict) Error added in v0.43.0

func (*PostRolesRoleIDAcesConflict) GetPayload added in v0.43.0

func (o *PostRolesRoleIDAcesConflict) GetPayload() *models.APIError

type PostRolesRoleIDAcesCreated

type PostRolesRoleIDAcesCreated struct {
	Payload *models.AceCreationResponse
}

PostRolesRoleIDAcesCreated handles this case with default header values.

Ace creation response

func NewPostRolesRoleIDAcesCreated

func NewPostRolesRoleIDAcesCreated() *PostRolesRoleIDAcesCreated

NewPostRolesRoleIDAcesCreated creates a PostRolesRoleIDAcesCreated with default headers values

func (*PostRolesRoleIDAcesCreated) Error

func (*PostRolesRoleIDAcesCreated) GetPayload added in v0.43.0

type PostRolesRoleIDAcesForbidden added in v0.43.0

type PostRolesRoleIDAcesForbidden struct {
	Payload *models.APIError
}

PostRolesRoleIDAcesForbidden handles this case with default header values.

Forbidden

func NewPostRolesRoleIDAcesForbidden added in v0.43.0

func NewPostRolesRoleIDAcesForbidden() *PostRolesRoleIDAcesForbidden

NewPostRolesRoleIDAcesForbidden creates a PostRolesRoleIDAcesForbidden with default headers values

func (*PostRolesRoleIDAcesForbidden) Error added in v0.43.0

func (*PostRolesRoleIDAcesForbidden) GetPayload added in v0.43.0

func (o *PostRolesRoleIDAcesForbidden) GetPayload() *models.APIError

type PostRolesRoleIDAcesInternalServerError added in v0.43.0

type PostRolesRoleIDAcesInternalServerError struct {
	Payload *models.APIError
}

PostRolesRoleIDAcesInternalServerError handles this case with default header values.

Internal Server Error

func NewPostRolesRoleIDAcesInternalServerError added in v0.43.0

func NewPostRolesRoleIDAcesInternalServerError() *PostRolesRoleIDAcesInternalServerError

NewPostRolesRoleIDAcesInternalServerError creates a PostRolesRoleIDAcesInternalServerError with default headers values

func (*PostRolesRoleIDAcesInternalServerError) Error added in v0.43.0

func (*PostRolesRoleIDAcesInternalServerError) GetPayload added in v0.43.0

type PostRolesRoleIDAcesNotFound added in v0.43.0

type PostRolesRoleIDAcesNotFound struct {
	Payload *models.APIError
}

PostRolesRoleIDAcesNotFound handles this case with default header values.

Record not found

func NewPostRolesRoleIDAcesNotFound added in v0.43.0

func NewPostRolesRoleIDAcesNotFound() *PostRolesRoleIDAcesNotFound

NewPostRolesRoleIDAcesNotFound creates a PostRolesRoleIDAcesNotFound with default headers values

func (*PostRolesRoleIDAcesNotFound) Error added in v0.43.0

func (*PostRolesRoleIDAcesNotFound) GetPayload added in v0.43.0

func (o *PostRolesRoleIDAcesNotFound) GetPayload() *models.APIError

type PostRolesRoleIDAcesParams

type PostRolesRoleIDAcesParams struct {

	/*AceCreationRequest*/
	AceCreationRequest *models.AceCreation
	/*RoleID
	  Role Id

	*/
	RoleID strfmt.UUID

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

PostRolesRoleIDAcesParams contains all the parameters to send to the API endpoint for the post roles role ID aces operation typically these are written to a http.Request

func NewPostRolesRoleIDAcesParams

func NewPostRolesRoleIDAcesParams() *PostRolesRoleIDAcesParams

NewPostRolesRoleIDAcesParams creates a new PostRolesRoleIDAcesParams object with the default values initialized.

func NewPostRolesRoleIDAcesParamsWithContext

func NewPostRolesRoleIDAcesParamsWithContext(ctx context.Context) *PostRolesRoleIDAcesParams

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

func NewPostRolesRoleIDAcesParamsWithHTTPClient

func NewPostRolesRoleIDAcesParamsWithHTTPClient(client *http.Client) *PostRolesRoleIDAcesParams

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

func NewPostRolesRoleIDAcesParamsWithTimeout

func NewPostRolesRoleIDAcesParamsWithTimeout(timeout time.Duration) *PostRolesRoleIDAcesParams

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

func (*PostRolesRoleIDAcesParams) SetAceCreationRequest

func (o *PostRolesRoleIDAcesParams) SetAceCreationRequest(aceCreationRequest *models.AceCreation)

SetAceCreationRequest adds the aceCreationRequest to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) SetContext

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

SetContext adds the context to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) SetRoleID

func (o *PostRolesRoleIDAcesParams) SetRoleID(roleID strfmt.UUID)

SetRoleID adds the roleId to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) SetTimeout

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

SetTimeout adds the timeout to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithAceCreationRequest

func (o *PostRolesRoleIDAcesParams) WithAceCreationRequest(aceCreationRequest *models.AceCreation) *PostRolesRoleIDAcesParams

WithAceCreationRequest adds the aceCreationRequest to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithContext

WithContext adds the context to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithRoleID

WithRoleID adds the roleID to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WithTimeout

WithTimeout adds the timeout to the post roles role ID aces params

func (*PostRolesRoleIDAcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRolesRoleIDAcesReader

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

PostRolesRoleIDAcesReader is a Reader for the PostRolesRoleIDAces structure.

func (*PostRolesRoleIDAcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostRolesRoleIDAcesServiceUnavailable added in v0.43.0

type PostRolesRoleIDAcesServiceUnavailable struct {
	Payload *models.APIError
}

PostRolesRoleIDAcesServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewPostRolesRoleIDAcesServiceUnavailable added in v0.43.0

func NewPostRolesRoleIDAcesServiceUnavailable() *PostRolesRoleIDAcesServiceUnavailable

NewPostRolesRoleIDAcesServiceUnavailable creates a PostRolesRoleIDAcesServiceUnavailable with default headers values

func (*PostRolesRoleIDAcesServiceUnavailable) Error added in v0.43.0

func (*PostRolesRoleIDAcesServiceUnavailable) GetPayload added in v0.43.0

type PostRolesRoleIDAcesTooManyRequests added in v0.43.0

type PostRolesRoleIDAcesTooManyRequests struct {
	Payload *models.APIError
}

PostRolesRoleIDAcesTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewPostRolesRoleIDAcesTooManyRequests added in v0.43.0

func NewPostRolesRoleIDAcesTooManyRequests() *PostRolesRoleIDAcesTooManyRequests

NewPostRolesRoleIDAcesTooManyRequests creates a PostRolesRoleIDAcesTooManyRequests with default headers values

func (*PostRolesRoleIDAcesTooManyRequests) Error added in v0.43.0

func (*PostRolesRoleIDAcesTooManyRequests) GetPayload added in v0.43.0

type PostRolesRoleIDAcesUnauthorized added in v0.43.0

type PostRolesRoleIDAcesUnauthorized struct {
	Payload *models.APIError
}

PostRolesRoleIDAcesUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewPostRolesRoleIDAcesUnauthorized added in v0.43.0

func NewPostRolesRoleIDAcesUnauthorized() *PostRolesRoleIDAcesUnauthorized

NewPostRolesRoleIDAcesUnauthorized creates a PostRolesRoleIDAcesUnauthorized with default headers values

func (*PostRolesRoleIDAcesUnauthorized) Error added in v0.43.0

func (*PostRolesRoleIDAcesUnauthorized) GetPayload added in v0.43.0

Jump to

Keyboard shortcuts

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