Documentation
¶
Index ¶
- type Client
- type DeleteRoleDefault
- type DeleteRoleOK
- type DeleteRoleParams
- func (o *DeleteRoleParams) SetContext(ctx context.Context)
- func (o *DeleteRoleParams) SetExampleID(exampleID string)
- func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
- func (o *DeleteRoleParams) WithExampleID(exampleID string) *DeleteRoleParams
- func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
- func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
- func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRoleReader
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 example API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new example API client.
func (*Client) DeleteRole ¶
func (a *Client) DeleteRole(params *DeleteRoleParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRoleOK, error)
DeleteRole deletes example
delete example
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteRoleDefault ¶
type DeleteRoleDefault struct {
// contains filtered or unexported fields
}
DeleteRoleDefault handles this case with default header values.
successful operation
func NewDeleteRoleDefault ¶
func NewDeleteRoleDefault(code int) *DeleteRoleDefault
NewDeleteRoleDefault creates a DeleteRoleDefault with default headers values
func (*DeleteRoleDefault) Code ¶
func (o *DeleteRoleDefault) Code() int
Code gets the status code for the delete role default response
func (*DeleteRoleDefault) Error ¶
func (o *DeleteRoleDefault) Error() string
type DeleteRoleOK ¶
type DeleteRoleOK struct {
}
DeleteRoleOK handles this case with default header values.
OK
func NewDeleteRoleOK ¶
func NewDeleteRoleOK() *DeleteRoleOK
NewDeleteRoleOK creates a DeleteRoleOK with default headers values
func (*DeleteRoleOK) Error ¶
func (o *DeleteRoleOK) Error() string
type DeleteRoleParams ¶
type DeleteRoleParams struct {
/*ExampleID
example id
*/
ExampleID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteRoleParams contains all the parameters to send to the API endpoint for the delete role operation typically these are written to a http.Request
func NewDeleteRoleParams ¶
func NewDeleteRoleParams() *DeleteRoleParams
NewDeleteRoleParams creates a new DeleteRoleParams object with the default values initialized.
func NewDeleteRoleParamsWithContext ¶
func NewDeleteRoleParamsWithContext(ctx context.Context) *DeleteRoleParams
NewDeleteRoleParamsWithContext creates a new DeleteRoleParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRoleParamsWithHTTPClient ¶
func NewDeleteRoleParamsWithHTTPClient(client *http.Client) *DeleteRoleParams
NewDeleteRoleParamsWithHTTPClient creates a new DeleteRoleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRoleParamsWithTimeout ¶
func NewDeleteRoleParamsWithTimeout(timeout time.Duration) *DeleteRoleParams
NewDeleteRoleParamsWithTimeout creates a new DeleteRoleParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRoleParams) SetContext ¶
func (o *DeleteRoleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete role params
func (*DeleteRoleParams) SetExampleID ¶
func (o *DeleteRoleParams) SetExampleID(exampleID string)
SetExampleID adds the exampleId to the delete role params
func (*DeleteRoleParams) SetHTTPClient ¶
func (o *DeleteRoleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) SetTimeout ¶
func (o *DeleteRoleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WithContext ¶
func (o *DeleteRoleParams) WithContext(ctx context.Context) *DeleteRoleParams
WithContext adds the context to the delete role params
func (*DeleteRoleParams) WithExampleID ¶
func (o *DeleteRoleParams) WithExampleID(exampleID string) *DeleteRoleParams
WithExampleID adds the exampleID to the delete role params
func (*DeleteRoleParams) WithHTTPClient ¶
func (o *DeleteRoleParams) WithHTTPClient(client *http.Client) *DeleteRoleParams
WithHTTPClient adds the HTTPClient to the delete role params
func (*DeleteRoleParams) WithTimeout ¶
func (o *DeleteRoleParams) WithTimeout(timeout time.Duration) *DeleteRoleParams
WithTimeout adds the timeout to the delete role params
func (*DeleteRoleParams) WriteToRequest ¶
func (o *DeleteRoleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRoleReader ¶
type DeleteRoleReader struct {
// contains filtered or unexported fields
}
DeleteRoleReader is a Reader for the DeleteRole structure.
func (*DeleteRoleReader) ReadResponse ¶
func (o *DeleteRoleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.