Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteRolesRoleIDAcesAceID(params *DeleteRolesRoleIDAcesAceIDParams) (*DeleteRolesRoleIDAcesAceIDNoContent, error)
- func (a *Client) GetRolesRoleIDAces(params *GetRolesRoleIDAcesParams) (*GetRolesRoleIDAcesOK, error)
- func (a *Client) GetRolesRoleIDAcesAceID(params *GetRolesRoleIDAcesAceIDParams) (*GetRolesRoleIDAcesAceIDOK, error)
- func (a *Client) PostRolesRoleIDAces(params *PostRolesRoleIDAcesParams) (*PostRolesRoleIDAcesCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteRolesRoleIDAcesAceIDNoContent
- type DeleteRolesRoleIDAcesAceIDParams
- func NewDeleteRolesRoleIDAcesAceIDParams() *DeleteRolesRoleIDAcesAceIDParams
- func NewDeleteRolesRoleIDAcesAceIDParamsWithContext(ctx context.Context) *DeleteRolesRoleIDAcesAceIDParams
- func NewDeleteRolesRoleIDAcesAceIDParamsWithHTTPClient(client *http.Client) *DeleteRolesRoleIDAcesAceIDParams
- func NewDeleteRolesRoleIDAcesAceIDParamsWithTimeout(timeout time.Duration) *DeleteRolesRoleIDAcesAceIDParams
- func (o *DeleteRolesRoleIDAcesAceIDParams) SetAceID(aceID strfmt.UUID)
- func (o *DeleteRolesRoleIDAcesAceIDParams) SetContext(ctx context.Context)
- func (o *DeleteRolesRoleIDAcesAceIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRolesRoleIDAcesAceIDParams) SetRoleID(roleID strfmt.UUID)
- func (o *DeleteRolesRoleIDAcesAceIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRolesRoleIDAcesAceIDParams) WithAceID(aceID strfmt.UUID) *DeleteRolesRoleIDAcesAceIDParams
- func (o *DeleteRolesRoleIDAcesAceIDParams) WithContext(ctx context.Context) *DeleteRolesRoleIDAcesAceIDParams
- func (o *DeleteRolesRoleIDAcesAceIDParams) WithHTTPClient(client *http.Client) *DeleteRolesRoleIDAcesAceIDParams
- func (o *DeleteRolesRoleIDAcesAceIDParams) WithRoleID(roleID strfmt.UUID) *DeleteRolesRoleIDAcesAceIDParams
- func (o *DeleteRolesRoleIDAcesAceIDParams) WithTimeout(timeout time.Duration) *DeleteRolesRoleIDAcesAceIDParams
- func (o *DeleteRolesRoleIDAcesAceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRolesRoleIDAcesAceIDReader
- type GetRolesRoleIDAcesAceIDOK
- type GetRolesRoleIDAcesAceIDParams
- func NewGetRolesRoleIDAcesAceIDParams() *GetRolesRoleIDAcesAceIDParams
- func NewGetRolesRoleIDAcesAceIDParamsWithContext(ctx context.Context) *GetRolesRoleIDAcesAceIDParams
- func NewGetRolesRoleIDAcesAceIDParamsWithHTTPClient(client *http.Client) *GetRolesRoleIDAcesAceIDParams
- func NewGetRolesRoleIDAcesAceIDParamsWithTimeout(timeout time.Duration) *GetRolesRoleIDAcesAceIDParams
- func (o *GetRolesRoleIDAcesAceIDParams) SetAceID(aceID strfmt.UUID)
- func (o *GetRolesRoleIDAcesAceIDParams) SetContext(ctx context.Context)
- func (o *GetRolesRoleIDAcesAceIDParams) SetHTTPClient(client *http.Client)
- func (o *GetRolesRoleIDAcesAceIDParams) SetRoleID(roleID strfmt.UUID)
- func (o *GetRolesRoleIDAcesAceIDParams) SetTimeout(timeout time.Duration)
- func (o *GetRolesRoleIDAcesAceIDParams) WithAceID(aceID strfmt.UUID) *GetRolesRoleIDAcesAceIDParams
- func (o *GetRolesRoleIDAcesAceIDParams) WithContext(ctx context.Context) *GetRolesRoleIDAcesAceIDParams
- func (o *GetRolesRoleIDAcesAceIDParams) WithHTTPClient(client *http.Client) *GetRolesRoleIDAcesAceIDParams
- func (o *GetRolesRoleIDAcesAceIDParams) WithRoleID(roleID strfmt.UUID) *GetRolesRoleIDAcesAceIDParams
- func (o *GetRolesRoleIDAcesAceIDParams) WithTimeout(timeout time.Duration) *GetRolesRoleIDAcesAceIDParams
- func (o *GetRolesRoleIDAcesAceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRolesRoleIDAcesAceIDReader
- type GetRolesRoleIDAcesOK
- type GetRolesRoleIDAcesParams
- func NewGetRolesRoleIDAcesParams() *GetRolesRoleIDAcesParams
- func NewGetRolesRoleIDAcesParamsWithContext(ctx context.Context) *GetRolesRoleIDAcesParams
- func NewGetRolesRoleIDAcesParamsWithHTTPClient(client *http.Client) *GetRolesRoleIDAcesParams
- func NewGetRolesRoleIDAcesParamsWithTimeout(timeout time.Duration) *GetRolesRoleIDAcesParams
- func (o *GetRolesRoleIDAcesParams) SetContext(ctx context.Context)
- func (o *GetRolesRoleIDAcesParams) SetHTTPClient(client *http.Client)
- func (o *GetRolesRoleIDAcesParams) SetRoleID(roleID strfmt.UUID)
- func (o *GetRolesRoleIDAcesParams) SetTimeout(timeout time.Duration)
- func (o *GetRolesRoleIDAcesParams) WithContext(ctx context.Context) *GetRolesRoleIDAcesParams
- func (o *GetRolesRoleIDAcesParams) WithHTTPClient(client *http.Client) *GetRolesRoleIDAcesParams
- func (o *GetRolesRoleIDAcesParams) WithRoleID(roleID strfmt.UUID) *GetRolesRoleIDAcesParams
- func (o *GetRolesRoleIDAcesParams) WithTimeout(timeout time.Duration) *GetRolesRoleIDAcesParams
- func (o *GetRolesRoleIDAcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRolesRoleIDAcesReader
- type PostRolesRoleIDAcesCreated
- type PostRolesRoleIDAcesParams
- func NewPostRolesRoleIDAcesParams() *PostRolesRoleIDAcesParams
- func NewPostRolesRoleIDAcesParamsWithContext(ctx context.Context) *PostRolesRoleIDAcesParams
- func NewPostRolesRoleIDAcesParamsWithHTTPClient(client *http.Client) *PostRolesRoleIDAcesParams
- func NewPostRolesRoleIDAcesParamsWithTimeout(timeout time.Duration) *PostRolesRoleIDAcesParams
- func (o *PostRolesRoleIDAcesParams) SetAceCreationRequest(aceCreationRequest *models.AceCreation)
- func (o *PostRolesRoleIDAcesParams) SetContext(ctx context.Context)
- func (o *PostRolesRoleIDAcesParams) SetHTTPClient(client *http.Client)
- func (o *PostRolesRoleIDAcesParams) SetRoleID(roleID strfmt.UUID)
- func (o *PostRolesRoleIDAcesParams) SetTimeout(timeout time.Duration)
- func (o *PostRolesRoleIDAcesParams) WithAceCreationRequest(aceCreationRequest *models.AceCreation) *PostRolesRoleIDAcesParams
- func (o *PostRolesRoleIDAcesParams) WithContext(ctx context.Context) *PostRolesRoleIDAcesParams
- func (o *PostRolesRoleIDAcesParams) WithHTTPClient(client *http.Client) *PostRolesRoleIDAcesParams
- func (o *PostRolesRoleIDAcesParams) WithRoleID(roleID strfmt.UUID) *PostRolesRoleIDAcesParams
- func (o *PostRolesRoleIDAcesParams) WithTimeout(timeout time.Duration) *PostRolesRoleIDAcesParams
- func (o *PostRolesRoleIDAcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRolesRoleIDAcesReader
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new ace API client.
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 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 ¶
func (o *DeleteRolesRoleIDAcesAceIDNoContent) Error() string
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 ¶
func (o *DeleteRolesRoleIDAcesAceIDParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteRolesRoleIDAcesAceIDParams) WithAceID(aceID strfmt.UUID) *DeleteRolesRoleIDAcesAceIDParams
WithAceID adds the aceID to the delete roles role ID aces ace ID params
func (*DeleteRolesRoleIDAcesAceIDParams) WithContext ¶
func (o *DeleteRolesRoleIDAcesAceIDParams) WithContext(ctx context.Context) *DeleteRolesRoleIDAcesAceIDParams
WithContext adds the context to the delete roles role ID aces ace ID params
func (*DeleteRolesRoleIDAcesAceIDParams) WithHTTPClient ¶
func (o *DeleteRolesRoleIDAcesAceIDParams) WithHTTPClient(client *http.Client) *DeleteRolesRoleIDAcesAceIDParams
WithHTTPClient adds the HTTPClient to the delete roles role ID aces ace ID params
func (*DeleteRolesRoleIDAcesAceIDParams) WithRoleID ¶
func (o *DeleteRolesRoleIDAcesAceIDParams) WithRoleID(roleID strfmt.UUID) *DeleteRolesRoleIDAcesAceIDParams
WithRoleID adds the roleID to the delete roles role ID aces ace ID params
func (*DeleteRolesRoleIDAcesAceIDParams) WithTimeout ¶
func (o *DeleteRolesRoleIDAcesAceIDParams) WithTimeout(timeout time.Duration) *DeleteRolesRoleIDAcesAceIDParams
WithTimeout adds the timeout to the delete roles role ID aces ace ID params
func (*DeleteRolesRoleIDAcesAceIDParams) WriteToRequest ¶
func (o *DeleteRolesRoleIDAcesAceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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
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 ¶
func (o *GetRolesRoleIDAcesAceIDParams) WithAceID(aceID strfmt.UUID) *GetRolesRoleIDAcesAceIDParams
WithAceID adds the aceID to the get roles role ID aces ace ID params
func (*GetRolesRoleIDAcesAceIDParams) WithContext ¶
func (o *GetRolesRoleIDAcesAceIDParams) WithContext(ctx context.Context) *GetRolesRoleIDAcesAceIDParams
WithContext adds the context to the get roles role ID aces ace ID params
func (*GetRolesRoleIDAcesAceIDParams) WithHTTPClient ¶
func (o *GetRolesRoleIDAcesAceIDParams) WithHTTPClient(client *http.Client) *GetRolesRoleIDAcesAceIDParams
WithHTTPClient adds the HTTPClient to the get roles role ID aces ace ID params
func (*GetRolesRoleIDAcesAceIDParams) WithRoleID ¶
func (o *GetRolesRoleIDAcesAceIDParams) WithRoleID(roleID strfmt.UUID) *GetRolesRoleIDAcesAceIDParams
WithRoleID adds the roleID to the get roles role ID aces ace ID params
func (*GetRolesRoleIDAcesAceIDParams) WithTimeout ¶
func (o *GetRolesRoleIDAcesAceIDParams) WithTimeout(timeout time.Duration) *GetRolesRoleIDAcesAceIDParams
WithTimeout adds the timeout to the get roles role ID aces ace ID params
func (*GetRolesRoleIDAcesAceIDParams) WriteToRequest ¶
func (o *GetRolesRoleIDAcesAceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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
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 ¶
func (o *GetRolesRoleIDAcesParams) WithContext(ctx context.Context) *GetRolesRoleIDAcesParams
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 ¶
func (o *GetRolesRoleIDAcesParams) WithRoleID(roleID strfmt.UUID) *GetRolesRoleIDAcesParams
WithRoleID adds the roleID to the get roles role ID aces params
func (*GetRolesRoleIDAcesParams) WithTimeout ¶
func (o *GetRolesRoleIDAcesParams) WithTimeout(timeout time.Duration) *GetRolesRoleIDAcesParams
WithTimeout adds the timeout to the get roles role ID aces params
func (*GetRolesRoleIDAcesParams) WriteToRequest ¶
func (o *GetRolesRoleIDAcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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 (o *PostRolesRoleIDAcesCreated) Error() string
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 ¶
func (o *PostRolesRoleIDAcesParams) WithContext(ctx context.Context) *PostRolesRoleIDAcesParams
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 ¶
func (o *PostRolesRoleIDAcesParams) WithRoleID(roleID strfmt.UUID) *PostRolesRoleIDAcesParams
WithRoleID adds the roleID to the post roles role ID aces params
func (*PostRolesRoleIDAcesParams) WithTimeout ¶
func (o *PostRolesRoleIDAcesParams) WithTimeout(timeout time.Duration) *PostRolesRoleIDAcesParams
WithTimeout adds the timeout to the post roles role ID aces params
func (*PostRolesRoleIDAcesParams) WriteToRequest ¶
func (o *PostRolesRoleIDAcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- ace_client.go
- delete_roles_role_id_aces_ace_id_parameters.go
- delete_roles_role_id_aces_ace_id_responses.go
- get_roles_role_id_aces_ace_id_parameters.go
- get_roles_role_id_aces_ace_id_responses.go
- get_roles_role_id_aces_parameters.go
- get_roles_role_id_aces_responses.go
- post_roles_role_id_aces_parameters.go
- post_roles_role_id_aces_responses.go