Documentation ¶
Index ¶
- type Client
- type CreateAceBadRequest
- func (o *CreateAceBadRequest) Code() int
- func (o *CreateAceBadRequest) Error() string
- func (o *CreateAceBadRequest) IsClientError() bool
- func (o *CreateAceBadRequest) IsCode(code int) bool
- func (o *CreateAceBadRequest) IsRedirect() bool
- func (o *CreateAceBadRequest) IsServerError() bool
- func (o *CreateAceBadRequest) IsSuccess() bool
- type CreateAceConflict
- func (o *CreateAceConflict) Code() int
- func (o *CreateAceConflict) Error() string
- func (o *CreateAceConflict) IsClientError() bool
- func (o *CreateAceConflict) IsCode(code int) bool
- func (o *CreateAceConflict) IsRedirect() bool
- func (o *CreateAceConflict) IsServerError() bool
- func (o *CreateAceConflict) IsSuccess() bool
- type CreateAceCreated
- func (o *CreateAceCreated) Code() int
- func (o *CreateAceCreated) Error() string
- func (o *CreateAceCreated) IsClientError() bool
- func (o *CreateAceCreated) IsCode(code int) bool
- func (o *CreateAceCreated) IsRedirect() bool
- func (o *CreateAceCreated) IsServerError() bool
- func (o *CreateAceCreated) IsSuccess() bool
- type CreateAceNotFound
- func (o *CreateAceNotFound) Code() int
- func (o *CreateAceNotFound) Error() string
- func (o *CreateAceNotFound) IsClientError() bool
- func (o *CreateAceNotFound) IsCode(code int) bool
- func (o *CreateAceNotFound) IsRedirect() bool
- func (o *CreateAceNotFound) IsServerError() bool
- func (o *CreateAceNotFound) IsSuccess() bool
- type CreateAceReader
- type CreateAceRequest
- func (a *CreateAceRequest) Do() (*CreateAceCreated, error)
- func (o *CreateAceRequest) FromJson(j string) (*CreateAceRequest, error)
- func (a *CreateAceRequest) MustDo() *CreateAceCreated
- func (o *CreateAceRequest) WithACECreationRequest(aCECreationRequest models.AceCreation) *CreateAceRequest
- func (o *CreateAceRequest) WithContext(ctx context.Context) *CreateAceRequest
- func (o *CreateAceRequest) WithHTTPClient(client *http.Client) *CreateAceRequest
- func (o *CreateAceRequest) WithRoleID(roleID strfmt.UUID) *CreateAceRequest
- func (o *CreateAceRequest) WithoutACECreationRequest() *CreateAceRequest
- func (o *CreateAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAceBadRequest
- func (o *DeleteAceBadRequest) Code() int
- func (o *DeleteAceBadRequest) Error() string
- func (o *DeleteAceBadRequest) IsClientError() bool
- func (o *DeleteAceBadRequest) IsCode(code int) bool
- func (o *DeleteAceBadRequest) IsRedirect() bool
- func (o *DeleteAceBadRequest) IsServerError() bool
- func (o *DeleteAceBadRequest) IsSuccess() bool
- type DeleteAceNoContent
- func (o *DeleteAceNoContent) Code() int
- func (o *DeleteAceNoContent) Error() string
- func (o *DeleteAceNoContent) IsClientError() bool
- func (o *DeleteAceNoContent) IsCode(code int) bool
- func (o *DeleteAceNoContent) IsRedirect() bool
- func (o *DeleteAceNoContent) IsServerError() bool
- func (o *DeleteAceNoContent) IsSuccess() bool
- type DeleteAceNotFound
- func (o *DeleteAceNotFound) Code() int
- func (o *DeleteAceNotFound) Error() string
- func (o *DeleteAceNotFound) IsClientError() bool
- func (o *DeleteAceNotFound) IsCode(code int) bool
- func (o *DeleteAceNotFound) IsRedirect() bool
- func (o *DeleteAceNotFound) IsServerError() bool
- func (o *DeleteAceNotFound) IsSuccess() bool
- type DeleteAceReader
- type DeleteAceRequest
- func (a *DeleteAceRequest) Do() (*DeleteAceNoContent, error)
- func (o *DeleteAceRequest) FromJson(j string) (*DeleteAceRequest, error)
- func (a *DeleteAceRequest) MustDo() *DeleteAceNoContent
- func (o *DeleteAceRequest) WithAceID(aceID strfmt.UUID) *DeleteAceRequest
- func (o *DeleteAceRequest) WithContext(ctx context.Context) *DeleteAceRequest
- func (o *DeleteAceRequest) WithHTTPClient(client *http.Client) *DeleteAceRequest
- func (o *DeleteAceRequest) WithRoleID(roleID strfmt.UUID) *DeleteAceRequest
- func (o *DeleteAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAceNotFound
- type GetAceOK
- type GetAceReader
- type GetAceRequest
- func (a *GetAceRequest) Do() (*GetAceOK, error)
- func (o *GetAceRequest) FromJson(j string) (*GetAceRequest, error)
- func (a *GetAceRequest) MustDo() *GetAceOK
- func (o *GetAceRequest) WithAceID(aceID strfmt.UUID) *GetAceRequest
- func (o *GetAceRequest) WithContext(ctx context.Context) *GetAceRequest
- func (o *GetAceRequest) WithHTTPClient(client *http.Client) *GetAceRequest
- func (o *GetAceRequest) WithRoleID(roleID strfmt.UUID) *GetAceRequest
- func (o *GetAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAcesNotFound
- func (o *ListAcesNotFound) Code() int
- func (o *ListAcesNotFound) Error() string
- func (o *ListAcesNotFound) IsClientError() bool
- func (o *ListAcesNotFound) IsCode(code int) bool
- func (o *ListAcesNotFound) IsRedirect() bool
- func (o *ListAcesNotFound) IsServerError() bool
- func (o *ListAcesNotFound) IsSuccess() bool
- type ListAcesOK
- type ListAcesReader
- type ListAcesRequest
- func (a *ListAcesRequest) Do() (*ListAcesOK, error)
- func (o *ListAcesRequest) FromJson(j string) (*ListAcesRequest, error)
- func (a *ListAcesRequest) MustDo() *ListAcesOK
- func (o *ListAcesRequest) WithContext(ctx context.Context) *ListAcesRequest
- func (o *ListAcesRequest) WithHTTPClient(client *http.Client) *ListAcesRequest
- func (o *ListAcesRequest) WithRoleID(roleID strfmt.UUID) *ListAcesRequest
- func (o *ListAcesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for a c e API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client
New creates a new a c e API client.
func (*Client) CreateAce ¶
func (c *Client) CreateAce() *CreateAceRequest
Client.CreateAce creates a new CreateAceRequest object with the default values initialized.
func (*Client) DeleteAce ¶
func (c *Client) DeleteAce() *DeleteAceRequest
Client.DeleteAce creates a new DeleteAceRequest object with the default values initialized.
func (*Client) GetAce ¶
func (c *Client) GetAce() *GetAceRequest
Client.GetAce creates a new GetAceRequest object with the default values initialized.
func (*Client) ListAces ¶
func (c *Client) ListAces() *ListAcesRequest
Client.ListAces creates a new ListAcesRequest object with the default values initialized.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateAceBadRequest ¶
CreateAceBadRequest handles this case with default header values.
Bad request
func NewCreateAceBadRequest ¶
func NewCreateAceBadRequest() *CreateAceBadRequest
NewCreateAceBadRequest creates a CreateAceBadRequest with default headers values
func (*CreateAceBadRequest) Code ¶
func (o *CreateAceBadRequest) Code() int
Code gets the status code for the create ace bad request response
func (*CreateAceBadRequest) Error ¶
func (o *CreateAceBadRequest) Error() string
func (*CreateAceBadRequest) IsClientError ¶
func (o *CreateAceBadRequest) IsClientError() bool
IsClientError returns true when this create ace bad request response has a 4xx status code
func (*CreateAceBadRequest) IsCode ¶
func (o *CreateAceBadRequest) IsCode(code int) bool
IsCode returns true when this create ace bad request response a status code equal to that given
func (*CreateAceBadRequest) IsRedirect ¶
func (o *CreateAceBadRequest) IsRedirect() bool
IsRedirect returns true when this create ace bad request response has a 3xx status code
func (*CreateAceBadRequest) IsServerError ¶
func (o *CreateAceBadRequest) IsServerError() bool
IsServerError returns true when this create ace bad request response has a 5xx status code
func (*CreateAceBadRequest) IsSuccess ¶
func (o *CreateAceBadRequest) IsSuccess() bool
IsSuccess returns true when this create ace bad request response has a 2xx status code
type CreateAceConflict ¶
CreateAceConflict handles this case with default header values.
Conflict
func NewCreateAceConflict ¶
func NewCreateAceConflict() *CreateAceConflict
NewCreateAceConflict creates a CreateAceConflict with default headers values
func (*CreateAceConflict) Code ¶
func (o *CreateAceConflict) Code() int
Code gets the status code for the create ace conflict response
func (*CreateAceConflict) Error ¶
func (o *CreateAceConflict) Error() string
func (*CreateAceConflict) IsClientError ¶
func (o *CreateAceConflict) IsClientError() bool
IsClientError returns true when this create ace conflict response has a 4xx status code
func (*CreateAceConflict) IsCode ¶
func (o *CreateAceConflict) IsCode(code int) bool
IsCode returns true when this create ace conflict response a status code equal to that given
func (*CreateAceConflict) IsRedirect ¶
func (o *CreateAceConflict) IsRedirect() bool
IsRedirect returns true when this create ace conflict response has a 3xx status code
func (*CreateAceConflict) IsServerError ¶
func (o *CreateAceConflict) IsServerError() bool
IsServerError returns true when this create ace conflict response has a 5xx status code
func (*CreateAceConflict) IsSuccess ¶
func (o *CreateAceConflict) IsSuccess() bool
IsSuccess returns true when this create ace conflict response has a 2xx status code
type CreateAceCreated ¶
type CreateAceCreated struct { // isStream: false *models.AceCreationResponse }
CreateAceCreated handles this case with default header values.
ACE creation response
func NewCreateAceCreated ¶
func NewCreateAceCreated() *CreateAceCreated
NewCreateAceCreated creates a CreateAceCreated with default headers values
func (*CreateAceCreated) Code ¶
func (o *CreateAceCreated) Code() int
Code gets the status code for the create ace created response
func (*CreateAceCreated) Error ¶
func (o *CreateAceCreated) Error() string
func (*CreateAceCreated) IsClientError ¶
func (o *CreateAceCreated) IsClientError() bool
IsClientError returns true when this create ace created response has a 4xx status code
func (*CreateAceCreated) IsCode ¶
func (o *CreateAceCreated) IsCode(code int) bool
IsCode returns true when this create ace created response a status code equal to that given
func (*CreateAceCreated) IsRedirect ¶
func (o *CreateAceCreated) IsRedirect() bool
IsRedirect returns true when this create ace created response has a 3xx status code
func (*CreateAceCreated) IsServerError ¶
func (o *CreateAceCreated) IsServerError() bool
IsServerError returns true when this create ace created response has a 5xx status code
func (*CreateAceCreated) IsSuccess ¶
func (o *CreateAceCreated) IsSuccess() bool
IsSuccess returns true when this create ace created response has a 2xx status code
type CreateAceNotFound ¶
CreateAceNotFound handles this case with default header values.
Not Found
func NewCreateAceNotFound ¶
func NewCreateAceNotFound() *CreateAceNotFound
NewCreateAceNotFound creates a CreateAceNotFound with default headers values
func (*CreateAceNotFound) Code ¶
func (o *CreateAceNotFound) Code() int
Code gets the status code for the create ace not found response
func (*CreateAceNotFound) Error ¶
func (o *CreateAceNotFound) Error() string
func (*CreateAceNotFound) IsClientError ¶
func (o *CreateAceNotFound) IsClientError() bool
IsClientError returns true when this create ace not found response has a 4xx status code
func (*CreateAceNotFound) IsCode ¶
func (o *CreateAceNotFound) IsCode(code int) bool
IsCode returns true when this create ace not found response a status code equal to that given
func (*CreateAceNotFound) IsRedirect ¶
func (o *CreateAceNotFound) IsRedirect() bool
IsRedirect returns true when this create ace not found response has a 3xx status code
func (*CreateAceNotFound) IsServerError ¶
func (o *CreateAceNotFound) IsServerError() bool
IsServerError returns true when this create ace not found response has a 5xx status code
func (*CreateAceNotFound) IsSuccess ¶
func (o *CreateAceNotFound) IsSuccess() bool
IsSuccess returns true when this create ace not found response has a 2xx status code
type CreateAceReader ¶
type CreateAceReader struct {
// contains filtered or unexported fields
}
CreateAceReader is a Reader for the CreateAce structure.
func (*CreateAceReader) ReadResponse ¶
func (o *CreateAceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAceRequest ¶
type CreateAceRequest struct { *models.AceCreation RoleID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*CreateAceRequest) Do ¶
func (a *CreateAceRequest) Do() (*CreateAceCreated, error)
create ace API
func (*CreateAceRequest) FromJson ¶
func (o *CreateAceRequest) FromJson(j string) (*CreateAceRequest, error)
func (*CreateAceRequest) MustDo ¶
func (a *CreateAceRequest) MustDo() *CreateAceCreated
func (*CreateAceRequest) WithACECreationRequest ¶
func (o *CreateAceRequest) WithACECreationRequest(aCECreationRequest models.AceCreation) *CreateAceRequest
func (*CreateAceRequest) WithContext ¶
func (o *CreateAceRequest) WithContext(ctx context.Context) *CreateAceRequest
//////////////// WithContext adds the context to the create ace Request
func (*CreateAceRequest) WithHTTPClient ¶
func (o *CreateAceRequest) WithHTTPClient(client *http.Client) *CreateAceRequest
WithHTTPClient adds the HTTPClient to the create ace Request
func (*CreateAceRequest) WithRoleID ¶
func (o *CreateAceRequest) WithRoleID(roleID strfmt.UUID) *CreateAceRequest
func (*CreateAceRequest) WithoutACECreationRequest ¶
func (o *CreateAceRequest) WithoutACECreationRequest() *CreateAceRequest
func (*CreateAceRequest) WriteToRequest ¶
func (o *CreateAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type DeleteAceBadRequest ¶
DeleteAceBadRequest handles this case with default header values.
Bad request
func NewDeleteAceBadRequest ¶
func NewDeleteAceBadRequest() *DeleteAceBadRequest
NewDeleteAceBadRequest creates a DeleteAceBadRequest with default headers values
func (*DeleteAceBadRequest) Code ¶
func (o *DeleteAceBadRequest) Code() int
Code gets the status code for the delete ace bad request response
func (*DeleteAceBadRequest) Error ¶
func (o *DeleteAceBadRequest) Error() string
func (*DeleteAceBadRequest) IsClientError ¶
func (o *DeleteAceBadRequest) IsClientError() bool
IsClientError returns true when this delete ace bad request response has a 4xx status code
func (*DeleteAceBadRequest) IsCode ¶
func (o *DeleteAceBadRequest) IsCode(code int) bool
IsCode returns true when this delete ace bad request response a status code equal to that given
func (*DeleteAceBadRequest) IsRedirect ¶
func (o *DeleteAceBadRequest) IsRedirect() bool
IsRedirect returns true when this delete ace bad request response has a 3xx status code
func (*DeleteAceBadRequest) IsServerError ¶
func (o *DeleteAceBadRequest) IsServerError() bool
IsServerError returns true when this delete ace bad request response has a 5xx status code
func (*DeleteAceBadRequest) IsSuccess ¶
func (o *DeleteAceBadRequest) IsSuccess() bool
IsSuccess returns true when this delete ace bad request response has a 2xx status code
type DeleteAceNoContent ¶
type DeleteAceNoContent struct { }
DeleteAceNoContent handles this case with default header values.
ACE deleted OK
func NewDeleteAceNoContent ¶
func NewDeleteAceNoContent() *DeleteAceNoContent
NewDeleteAceNoContent creates a DeleteAceNoContent with default headers values
func (*DeleteAceNoContent) Code ¶
func (o *DeleteAceNoContent) Code() int
Code gets the status code for the delete ace no content response
func (*DeleteAceNoContent) Error ¶
func (o *DeleteAceNoContent) Error() string
func (*DeleteAceNoContent) IsClientError ¶
func (o *DeleteAceNoContent) IsClientError() bool
IsClientError returns true when this delete ace no content response has a 4xx status code
func (*DeleteAceNoContent) IsCode ¶
func (o *DeleteAceNoContent) IsCode(code int) bool
IsCode returns true when this delete ace no content response a status code equal to that given
func (*DeleteAceNoContent) IsRedirect ¶
func (o *DeleteAceNoContent) IsRedirect() bool
IsRedirect returns true when this delete ace no content response has a 3xx status code
func (*DeleteAceNoContent) IsServerError ¶
func (o *DeleteAceNoContent) IsServerError() bool
IsServerError returns true when this delete ace no content response has a 5xx status code
func (*DeleteAceNoContent) IsSuccess ¶
func (o *DeleteAceNoContent) IsSuccess() bool
IsSuccess returns true when this delete ace no content response has a 2xx status code
type DeleteAceNotFound ¶
DeleteAceNotFound handles this case with default header values.
Not Found
func NewDeleteAceNotFound ¶
func NewDeleteAceNotFound() *DeleteAceNotFound
NewDeleteAceNotFound creates a DeleteAceNotFound with default headers values
func (*DeleteAceNotFound) Code ¶
func (o *DeleteAceNotFound) Code() int
Code gets the status code for the delete ace not found response
func (*DeleteAceNotFound) Error ¶
func (o *DeleteAceNotFound) Error() string
func (*DeleteAceNotFound) IsClientError ¶
func (o *DeleteAceNotFound) IsClientError() bool
IsClientError returns true when this delete ace not found response has a 4xx status code
func (*DeleteAceNotFound) IsCode ¶
func (o *DeleteAceNotFound) IsCode(code int) bool
IsCode returns true when this delete ace not found response a status code equal to that given
func (*DeleteAceNotFound) IsRedirect ¶
func (o *DeleteAceNotFound) IsRedirect() bool
IsRedirect returns true when this delete ace not found response has a 3xx status code
func (*DeleteAceNotFound) IsServerError ¶
func (o *DeleteAceNotFound) IsServerError() bool
IsServerError returns true when this delete ace not found response has a 5xx status code
func (*DeleteAceNotFound) IsSuccess ¶
func (o *DeleteAceNotFound) IsSuccess() bool
IsSuccess returns true when this delete ace not found response has a 2xx status code
type DeleteAceReader ¶
type DeleteAceReader struct {
// contains filtered or unexported fields
}
DeleteAceReader is a Reader for the DeleteAce structure.
func (*DeleteAceReader) ReadResponse ¶
func (o *DeleteAceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAceRequest ¶
type DeleteAceRequest struct { AceID strfmt.UUID RoleID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*DeleteAceRequest) Do ¶
func (a *DeleteAceRequest) Do() (*DeleteAceNoContent, error)
delete ace API
func (*DeleteAceRequest) FromJson ¶
func (o *DeleteAceRequest) FromJson(j string) (*DeleteAceRequest, error)
func (*DeleteAceRequest) MustDo ¶
func (a *DeleteAceRequest) MustDo() *DeleteAceNoContent
func (*DeleteAceRequest) WithAceID ¶
func (o *DeleteAceRequest) WithAceID(aceID strfmt.UUID) *DeleteAceRequest
func (*DeleteAceRequest) WithContext ¶
func (o *DeleteAceRequest) WithContext(ctx context.Context) *DeleteAceRequest
//////////////// WithContext adds the context to the delete ace Request
func (*DeleteAceRequest) WithHTTPClient ¶
func (o *DeleteAceRequest) WithHTTPClient(client *http.Client) *DeleteAceRequest
WithHTTPClient adds the HTTPClient to the delete ace Request
func (*DeleteAceRequest) WithRoleID ¶
func (o *DeleteAceRequest) WithRoleID(roleID strfmt.UUID) *DeleteAceRequest
func (*DeleteAceRequest) WriteToRequest ¶
func (o *DeleteAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type GetAceNotFound ¶
GetAceNotFound handles this case with default header values.
Not Found
func NewGetAceNotFound ¶
func NewGetAceNotFound() *GetAceNotFound
NewGetAceNotFound creates a GetAceNotFound with default headers values
func (*GetAceNotFound) Code ¶
func (o *GetAceNotFound) Code() int
Code gets the status code for the get ace not found response
func (*GetAceNotFound) Error ¶
func (o *GetAceNotFound) Error() string
func (*GetAceNotFound) IsClientError ¶
func (o *GetAceNotFound) IsClientError() bool
IsClientError returns true when this get ace not found response has a 4xx status code
func (*GetAceNotFound) IsCode ¶
func (o *GetAceNotFound) IsCode(code int) bool
IsCode returns true when this get ace not found response a status code equal to that given
func (*GetAceNotFound) IsRedirect ¶
func (o *GetAceNotFound) IsRedirect() bool
IsRedirect returns true when this get ace not found response has a 3xx status code
func (*GetAceNotFound) IsServerError ¶
func (o *GetAceNotFound) IsServerError() bool
IsServerError returns true when this get ace not found response has a 5xx status code
func (*GetAceNotFound) IsSuccess ¶
func (o *GetAceNotFound) IsSuccess() bool
IsSuccess returns true when this get ace not found response has a 2xx status code
type GetAceOK ¶
type GetAceOK struct { // isStream: false *models.AceDetailsResponse }
GetAceOK handles this case with default header values.
ACE details
func NewGetAceOK ¶
func NewGetAceOK() *GetAceOK
NewGetAceOK creates a GetAceOK with default headers values
func (*GetAceOK) IsClientError ¶
IsClientError returns true when this get ace o k response has a 4xx status code
func (*GetAceOK) IsCode ¶
IsCode returns true when this get ace o k response a status code equal to that given
func (*GetAceOK) IsRedirect ¶
IsRedirect returns true when this get ace o k response has a 3xx status code
func (*GetAceOK) IsServerError ¶
IsServerError returns true when this get ace o k response has a 5xx status code
type GetAceReader ¶
type GetAceReader struct {
// contains filtered or unexported fields
}
GetAceReader is a Reader for the GetAce structure.
func (*GetAceReader) ReadResponse ¶
func (o *GetAceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAceRequest ¶
type GetAceRequest struct { AceID strfmt.UUID RoleID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*GetAceRequest) FromJson ¶
func (o *GetAceRequest) FromJson(j string) (*GetAceRequest, error)
func (*GetAceRequest) MustDo ¶
func (a *GetAceRequest) MustDo() *GetAceOK
func (*GetAceRequest) WithAceID ¶
func (o *GetAceRequest) WithAceID(aceID strfmt.UUID) *GetAceRequest
func (*GetAceRequest) WithContext ¶
func (o *GetAceRequest) WithContext(ctx context.Context) *GetAceRequest
//////////////// WithContext adds the context to the get ace Request
func (*GetAceRequest) WithHTTPClient ¶
func (o *GetAceRequest) WithHTTPClient(client *http.Client) *GetAceRequest
WithHTTPClient adds the HTTPClient to the get ace Request
func (*GetAceRequest) WithRoleID ¶
func (o *GetAceRequest) WithRoleID(roleID strfmt.UUID) *GetAceRequest
func (*GetAceRequest) WriteToRequest ¶
func (o *GetAceRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListAcesNotFound ¶
ListAcesNotFound handles this case with default header values.
Not Found
func NewListAcesNotFound ¶
func NewListAcesNotFound() *ListAcesNotFound
NewListAcesNotFound creates a ListAcesNotFound with default headers values
func (*ListAcesNotFound) Code ¶
func (o *ListAcesNotFound) Code() int
Code gets the status code for the list aces not found response
func (*ListAcesNotFound) Error ¶
func (o *ListAcesNotFound) Error() string
func (*ListAcesNotFound) IsClientError ¶
func (o *ListAcesNotFound) IsClientError() bool
IsClientError returns true when this list aces not found response has a 4xx status code
func (*ListAcesNotFound) IsCode ¶
func (o *ListAcesNotFound) IsCode(code int) bool
IsCode returns true when this list aces not found response a status code equal to that given
func (*ListAcesNotFound) IsRedirect ¶
func (o *ListAcesNotFound) IsRedirect() bool
IsRedirect returns true when this list aces not found response has a 3xx status code
func (*ListAcesNotFound) IsServerError ¶
func (o *ListAcesNotFound) IsServerError() bool
IsServerError returns true when this list aces not found response has a 5xx status code
func (*ListAcesNotFound) IsSuccess ¶
func (o *ListAcesNotFound) IsSuccess() bool
IsSuccess returns true when this list aces not found response has a 2xx status code
type ListAcesOK ¶
type ListAcesOK struct { // isStream: false *models.AceDetailsListResponse }
ListAcesOK handles this case with default header values.
List of ACE details
func NewListAcesOK ¶
func NewListAcesOK() *ListAcesOK
NewListAcesOK creates a ListAcesOK with default headers values
func (*ListAcesOK) Code ¶
func (o *ListAcesOK) Code() int
Code gets the status code for the list aces o k response
func (*ListAcesOK) Error ¶
func (o *ListAcesOK) Error() string
func (*ListAcesOK) IsClientError ¶
func (o *ListAcesOK) IsClientError() bool
IsClientError returns true when this list aces o k response has a 4xx status code
func (*ListAcesOK) IsCode ¶
func (o *ListAcesOK) IsCode(code int) bool
IsCode returns true when this list aces o k response a status code equal to that given
func (*ListAcesOK) IsRedirect ¶
func (o *ListAcesOK) IsRedirect() bool
IsRedirect returns true when this list aces o k response has a 3xx status code
func (*ListAcesOK) IsServerError ¶
func (o *ListAcesOK) IsServerError() bool
IsServerError returns true when this list aces o k response has a 5xx status code
func (*ListAcesOK) IsSuccess ¶
func (o *ListAcesOK) IsSuccess() bool
IsSuccess returns true when this list aces o k response has a 2xx status code
type ListAcesReader ¶
type ListAcesReader struct {
// contains filtered or unexported fields
}
ListAcesReader is a Reader for the ListAces structure.
func (*ListAcesReader) ReadResponse ¶
func (o *ListAcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAcesRequest ¶
type ListAcesRequest struct { RoleID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*ListAcesRequest) FromJson ¶
func (o *ListAcesRequest) FromJson(j string) (*ListAcesRequest, error)
func (*ListAcesRequest) MustDo ¶
func (a *ListAcesRequest) MustDo() *ListAcesOK
func (*ListAcesRequest) WithContext ¶
func (o *ListAcesRequest) WithContext(ctx context.Context) *ListAcesRequest
//////////////// WithContext adds the context to the list aces Request
func (*ListAcesRequest) WithHTTPClient ¶
func (o *ListAcesRequest) WithHTTPClient(client *http.Client) *ListAcesRequest
WithHTTPClient adds the HTTPClient to the list aces Request
func (*ListAcesRequest) WithRoleID ¶
func (o *ListAcesRequest) WithRoleID(roleID strfmt.UUID) *ListAcesRequest
func (*ListAcesRequest) WriteToRequest ¶
func (o *ListAcesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request