Documentation ¶
Index ¶
- type Client
- type ClientService
- type ListRoleOfAuthEntityBadRequest
- type ListRoleOfAuthEntityConflict
- type ListRoleOfAuthEntityForbidden
- type ListRoleOfAuthEntityInternalServerError
- type ListRoleOfAuthEntityNotFound
- type ListRoleOfAuthEntityOK
- type ListRoleOfAuthEntityParams
- func NewListRoleOfAuthEntityParams() *ListRoleOfAuthEntityParams
- func NewListRoleOfAuthEntityParamsWithContext(ctx context.Context) *ListRoleOfAuthEntityParams
- func NewListRoleOfAuthEntityParamsWithHTTPClient(client *http.Client) *ListRoleOfAuthEntityParams
- func NewListRoleOfAuthEntityParamsWithTimeout(timeout time.Duration) *ListRoleOfAuthEntityParams
- func (o *ListRoleOfAuthEntityParams) SetContext(ctx context.Context)
- func (o *ListRoleOfAuthEntityParams) SetFields(fields *string)
- func (o *ListRoleOfAuthEntityParams) SetHTTPClient(client *http.Client)
- func (o *ListRoleOfAuthEntityParams) SetParentID(parentID int64)
- func (o *ListRoleOfAuthEntityParams) SetTimeout(timeout time.Duration)
- func (o *ListRoleOfAuthEntityParams) WithContext(ctx context.Context) *ListRoleOfAuthEntityParams
- func (o *ListRoleOfAuthEntityParams) WithFields(fields *string) *ListRoleOfAuthEntityParams
- func (o *ListRoleOfAuthEntityParams) WithHTTPClient(client *http.Client) *ListRoleOfAuthEntityParams
- func (o *ListRoleOfAuthEntityParams) WithParentID(parentID int64) *ListRoleOfAuthEntityParams
- func (o *ListRoleOfAuthEntityParams) WithTimeout(timeout time.Duration) *ListRoleOfAuthEntityParams
- func (o *ListRoleOfAuthEntityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRoleOfAuthEntityReader
- type ListRoleOfAuthEntityUnauthorized
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 role of auth entity controller API
func (*Client) ListRoleOfAuthEntity ¶
func (a *Client) ListRoleOfAuthEntity(params *ListRoleOfAuthEntityParams, authInfo runtime.ClientAuthInfoWriter) (*ListRoleOfAuthEntityOK, error)
ListRoleOfAuthEntity lists
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListRoleOfAuthEntity(params *ListRoleOfAuthEntityParams, authInfo runtime.ClientAuthInfoWriter) (*ListRoleOfAuthEntityOK, 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 role of auth entity controller API client.
type ListRoleOfAuthEntityBadRequest ¶
ListRoleOfAuthEntityBadRequest handles this case with default header values.
Bad Request
func NewListRoleOfAuthEntityBadRequest ¶
func NewListRoleOfAuthEntityBadRequest() *ListRoleOfAuthEntityBadRequest
NewListRoleOfAuthEntityBadRequest creates a ListRoleOfAuthEntityBadRequest with default headers values
func (*ListRoleOfAuthEntityBadRequest) Error ¶
func (o *ListRoleOfAuthEntityBadRequest) Error() string
func (*ListRoleOfAuthEntityBadRequest) GetPayload ¶
func (o *ListRoleOfAuthEntityBadRequest) GetPayload() *models.APIResult
type ListRoleOfAuthEntityConflict ¶
ListRoleOfAuthEntityConflict handles this case with default header values.
Conflict
func NewListRoleOfAuthEntityConflict ¶
func NewListRoleOfAuthEntityConflict() *ListRoleOfAuthEntityConflict
NewListRoleOfAuthEntityConflict creates a ListRoleOfAuthEntityConflict with default headers values
func (*ListRoleOfAuthEntityConflict) Error ¶
func (o *ListRoleOfAuthEntityConflict) Error() string
func (*ListRoleOfAuthEntityConflict) GetPayload ¶
func (o *ListRoleOfAuthEntityConflict) GetPayload() *models.APIResult
type ListRoleOfAuthEntityForbidden ¶
ListRoleOfAuthEntityForbidden handles this case with default header values.
Forbidden
func NewListRoleOfAuthEntityForbidden ¶
func NewListRoleOfAuthEntityForbidden() *ListRoleOfAuthEntityForbidden
NewListRoleOfAuthEntityForbidden creates a ListRoleOfAuthEntityForbidden with default headers values
func (*ListRoleOfAuthEntityForbidden) Error ¶
func (o *ListRoleOfAuthEntityForbidden) Error() string
func (*ListRoleOfAuthEntityForbidden) GetPayload ¶
func (o *ListRoleOfAuthEntityForbidden) GetPayload() *models.APIResult
type ListRoleOfAuthEntityInternalServerError ¶
ListRoleOfAuthEntityInternalServerError handles this case with default header values.
Internal Server Error
func NewListRoleOfAuthEntityInternalServerError ¶
func NewListRoleOfAuthEntityInternalServerError() *ListRoleOfAuthEntityInternalServerError
NewListRoleOfAuthEntityInternalServerError creates a ListRoleOfAuthEntityInternalServerError with default headers values
func (*ListRoleOfAuthEntityInternalServerError) Error ¶
func (o *ListRoleOfAuthEntityInternalServerError) Error() string
func (*ListRoleOfAuthEntityInternalServerError) GetPayload ¶
func (o *ListRoleOfAuthEntityInternalServerError) GetPayload() *models.APIResult
type ListRoleOfAuthEntityNotFound ¶
ListRoleOfAuthEntityNotFound handles this case with default header values.
Not Found
func NewListRoleOfAuthEntityNotFound ¶
func NewListRoleOfAuthEntityNotFound() *ListRoleOfAuthEntityNotFound
NewListRoleOfAuthEntityNotFound creates a ListRoleOfAuthEntityNotFound with default headers values
func (*ListRoleOfAuthEntityNotFound) Error ¶
func (o *ListRoleOfAuthEntityNotFound) Error() string
func (*ListRoleOfAuthEntityNotFound) GetPayload ¶
func (o *ListRoleOfAuthEntityNotFound) GetPayload() *models.APIResult
type ListRoleOfAuthEntityOK ¶
type ListRoleOfAuthEntityOK struct {
Payload *models.APIResultListRole
}
ListRoleOfAuthEntityOK handles this case with default header values.
OK
func NewListRoleOfAuthEntityOK ¶
func NewListRoleOfAuthEntityOK() *ListRoleOfAuthEntityOK
NewListRoleOfAuthEntityOK creates a ListRoleOfAuthEntityOK with default headers values
func (*ListRoleOfAuthEntityOK) Error ¶
func (o *ListRoleOfAuthEntityOK) Error() string
func (*ListRoleOfAuthEntityOK) GetPayload ¶
func (o *ListRoleOfAuthEntityOK) GetPayload() *models.APIResultListRole
type ListRoleOfAuthEntityParams ¶
type ListRoleOfAuthEntityParams struct { /*Fields Output fields */ Fields *string /*ParentID parentId */ ParentID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRoleOfAuthEntityParams contains all the parameters to send to the API endpoint for the list role of auth entity operation typically these are written to a http.Request
func NewListRoleOfAuthEntityParams ¶
func NewListRoleOfAuthEntityParams() *ListRoleOfAuthEntityParams
NewListRoleOfAuthEntityParams creates a new ListRoleOfAuthEntityParams object with the default values initialized.
func NewListRoleOfAuthEntityParamsWithContext ¶
func NewListRoleOfAuthEntityParamsWithContext(ctx context.Context) *ListRoleOfAuthEntityParams
NewListRoleOfAuthEntityParamsWithContext creates a new ListRoleOfAuthEntityParams object with the default values initialized, and the ability to set a context for a request
func NewListRoleOfAuthEntityParamsWithHTTPClient ¶
func NewListRoleOfAuthEntityParamsWithHTTPClient(client *http.Client) *ListRoleOfAuthEntityParams
NewListRoleOfAuthEntityParamsWithHTTPClient creates a new ListRoleOfAuthEntityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRoleOfAuthEntityParamsWithTimeout ¶
func NewListRoleOfAuthEntityParamsWithTimeout(timeout time.Duration) *ListRoleOfAuthEntityParams
NewListRoleOfAuthEntityParamsWithTimeout creates a new ListRoleOfAuthEntityParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRoleOfAuthEntityParams) SetContext ¶
func (o *ListRoleOfAuthEntityParams) SetContext(ctx context.Context)
SetContext adds the context to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) SetFields ¶
func (o *ListRoleOfAuthEntityParams) SetFields(fields *string)
SetFields adds the fields to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) SetHTTPClient ¶
func (o *ListRoleOfAuthEntityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) SetParentID ¶
func (o *ListRoleOfAuthEntityParams) SetParentID(parentID int64)
SetParentID adds the parentId to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) SetTimeout ¶
func (o *ListRoleOfAuthEntityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) WithContext ¶
func (o *ListRoleOfAuthEntityParams) WithContext(ctx context.Context) *ListRoleOfAuthEntityParams
WithContext adds the context to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) WithFields ¶
func (o *ListRoleOfAuthEntityParams) WithFields(fields *string) *ListRoleOfAuthEntityParams
WithFields adds the fields to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) WithHTTPClient ¶
func (o *ListRoleOfAuthEntityParams) WithHTTPClient(client *http.Client) *ListRoleOfAuthEntityParams
WithHTTPClient adds the HTTPClient to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) WithParentID ¶
func (o *ListRoleOfAuthEntityParams) WithParentID(parentID int64) *ListRoleOfAuthEntityParams
WithParentID adds the parentID to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) WithTimeout ¶
func (o *ListRoleOfAuthEntityParams) WithTimeout(timeout time.Duration) *ListRoleOfAuthEntityParams
WithTimeout adds the timeout to the list role of auth entity params
func (*ListRoleOfAuthEntityParams) WriteToRequest ¶
func (o *ListRoleOfAuthEntityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRoleOfAuthEntityReader ¶
type ListRoleOfAuthEntityReader struct {
// contains filtered or unexported fields
}
ListRoleOfAuthEntityReader is a Reader for the ListRoleOfAuthEntity structure.
func (*ListRoleOfAuthEntityReader) ReadResponse ¶
func (o *ListRoleOfAuthEntityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRoleOfAuthEntityUnauthorized ¶
type ListRoleOfAuthEntityUnauthorized struct {
}ListRoleOfAuthEntityUnauthorized handles this case with default header values.
Unauthorized
func NewListRoleOfAuthEntityUnauthorized ¶
func NewListRoleOfAuthEntityUnauthorized() *ListRoleOfAuthEntityUnauthorized
NewListRoleOfAuthEntityUnauthorized creates a ListRoleOfAuthEntityUnauthorized with default headers values
func (*ListRoleOfAuthEntityUnauthorized) Error ¶
func (o *ListRoleOfAuthEntityUnauthorized) Error() string
func (*ListRoleOfAuthEntityUnauthorized) GetPayload ¶
func (o *ListRoleOfAuthEntityUnauthorized) GetPayload() *models.APIResult