Documentation
¶
Index ¶
- type Client
- type ClientService
- type PrincipalGetUsingGETBadRequest
- type PrincipalGetUsingGETNotFound
- type PrincipalGetUsingGETOK
- type PrincipalGetUsingGETParams
- func NewPrincipalGetUsingGETParams() *PrincipalGetUsingGETParams
- func NewPrincipalGetUsingGETParamsWithContext(ctx context.Context) *PrincipalGetUsingGETParams
- func NewPrincipalGetUsingGETParamsWithHTTPClient(client *http.Client) *PrincipalGetUsingGETParams
- func NewPrincipalGetUsingGETParamsWithTimeout(timeout time.Duration) *PrincipalGetUsingGETParams
- func (o *PrincipalGetUsingGETParams) SetContext(ctx context.Context)
- func (o *PrincipalGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *PrincipalGetUsingGETParams) SetPrincipalID(principalID int32)
- func (o *PrincipalGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *PrincipalGetUsingGETParams) WithContext(ctx context.Context) *PrincipalGetUsingGETParams
- func (o *PrincipalGetUsingGETParams) WithHTTPClient(client *http.Client) *PrincipalGetUsingGETParams
- func (o *PrincipalGetUsingGETParams) WithPrincipalID(principalID int32) *PrincipalGetUsingGETParams
- func (o *PrincipalGetUsingGETParams) WithTimeout(timeout time.Duration) *PrincipalGetUsingGETParams
- func (o *PrincipalGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PrincipalGetUsingGETReader
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 principals API
func (*Client) PrincipalGetUsingGET ¶
func (a *Client) PrincipalGetUsingGET(params *PrincipalGetUsingGETParams) (*PrincipalGetUsingGETOK, error)
PrincipalGetUsingGET gets
Get principal
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PrincipalGetUsingGET(params *PrincipalGetUsingGETParams) (*PrincipalGetUsingGETOK, 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 principals API client.
type PrincipalGetUsingGETBadRequest ¶
type PrincipalGetUsingGETBadRequest struct { }
PrincipalGetUsingGETBadRequest handles this case with default header values.
Bad request, error occurred. For more details see log messages.
func NewPrincipalGetUsingGETBadRequest ¶
func NewPrincipalGetUsingGETBadRequest() *PrincipalGetUsingGETBadRequest
NewPrincipalGetUsingGETBadRequest creates a PrincipalGetUsingGETBadRequest with default headers values
func (*PrincipalGetUsingGETBadRequest) Error ¶
func (o *PrincipalGetUsingGETBadRequest) Error() string
type PrincipalGetUsingGETNotFound ¶
type PrincipalGetUsingGETNotFound struct { }
PrincipalGetUsingGETNotFound handles this case with default header values.
Entity not found.
func NewPrincipalGetUsingGETNotFound ¶
func NewPrincipalGetUsingGETNotFound() *PrincipalGetUsingGETNotFound
NewPrincipalGetUsingGETNotFound creates a PrincipalGetUsingGETNotFound with default headers values
func (*PrincipalGetUsingGETNotFound) Error ¶
func (o *PrincipalGetUsingGETNotFound) Error() string
type PrincipalGetUsingGETOK ¶
type PrincipalGetUsingGETOK struct {
Payload *models.PrincipalGetResponse
}
PrincipalGetUsingGETOK handles this case with default header values.
OK
func NewPrincipalGetUsingGETOK ¶
func NewPrincipalGetUsingGETOK() *PrincipalGetUsingGETOK
NewPrincipalGetUsingGETOK creates a PrincipalGetUsingGETOK with default headers values
func (*PrincipalGetUsingGETOK) Error ¶
func (o *PrincipalGetUsingGETOK) Error() string
func (*PrincipalGetUsingGETOK) GetPayload ¶
func (o *PrincipalGetUsingGETOK) GetPayload() *models.PrincipalGetResponse
type PrincipalGetUsingGETParams ¶
type PrincipalGetUsingGETParams struct { /*PrincipalID principalId */ PrincipalID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PrincipalGetUsingGETParams contains all the parameters to send to the API endpoint for the principal get using g e t operation typically these are written to a http.Request
func NewPrincipalGetUsingGETParams ¶
func NewPrincipalGetUsingGETParams() *PrincipalGetUsingGETParams
NewPrincipalGetUsingGETParams creates a new PrincipalGetUsingGETParams object with the default values initialized.
func NewPrincipalGetUsingGETParamsWithContext ¶
func NewPrincipalGetUsingGETParamsWithContext(ctx context.Context) *PrincipalGetUsingGETParams
NewPrincipalGetUsingGETParamsWithContext creates a new PrincipalGetUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewPrincipalGetUsingGETParamsWithHTTPClient ¶
func NewPrincipalGetUsingGETParamsWithHTTPClient(client *http.Client) *PrincipalGetUsingGETParams
NewPrincipalGetUsingGETParamsWithHTTPClient creates a new PrincipalGetUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPrincipalGetUsingGETParamsWithTimeout ¶
func NewPrincipalGetUsingGETParamsWithTimeout(timeout time.Duration) *PrincipalGetUsingGETParams
NewPrincipalGetUsingGETParamsWithTimeout creates a new PrincipalGetUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*PrincipalGetUsingGETParams) SetContext ¶
func (o *PrincipalGetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the principal get using g e t params
func (*PrincipalGetUsingGETParams) SetHTTPClient ¶
func (o *PrincipalGetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the principal get using g e t params
func (*PrincipalGetUsingGETParams) SetPrincipalID ¶
func (o *PrincipalGetUsingGETParams) SetPrincipalID(principalID int32)
SetPrincipalID adds the principalId to the principal get using g e t params
func (*PrincipalGetUsingGETParams) SetTimeout ¶
func (o *PrincipalGetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the principal get using g e t params
func (*PrincipalGetUsingGETParams) WithContext ¶
func (o *PrincipalGetUsingGETParams) WithContext(ctx context.Context) *PrincipalGetUsingGETParams
WithContext adds the context to the principal get using g e t params
func (*PrincipalGetUsingGETParams) WithHTTPClient ¶
func (o *PrincipalGetUsingGETParams) WithHTTPClient(client *http.Client) *PrincipalGetUsingGETParams
WithHTTPClient adds the HTTPClient to the principal get using g e t params
func (*PrincipalGetUsingGETParams) WithPrincipalID ¶
func (o *PrincipalGetUsingGETParams) WithPrincipalID(principalID int32) *PrincipalGetUsingGETParams
WithPrincipalID adds the principalID to the principal get using g e t params
func (*PrincipalGetUsingGETParams) WithTimeout ¶
func (o *PrincipalGetUsingGETParams) WithTimeout(timeout time.Duration) *PrincipalGetUsingGETParams
WithTimeout adds the timeout to the principal get using g e t params
func (*PrincipalGetUsingGETParams) WriteToRequest ¶
func (o *PrincipalGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PrincipalGetUsingGETReader ¶
type PrincipalGetUsingGETReader struct {
// contains filtered or unexported fields
}
PrincipalGetUsingGETReader is a Reader for the PrincipalGetUsingGET structure.
func (*PrincipalGetUsingGETReader) ReadResponse ¶
func (o *PrincipalGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.