Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetUMAScopesInternalServerError
- type GetUMAScopesNotFound
- type GetUMAScopesOK
- type GetUMAScopesParams
- func (o *GetUMAScopesParams) SetContext(ctx context.Context)
- func (o *GetUMAScopesParams) SetHTTPClient(client *http.Client)
- func (o *GetUMAScopesParams) SetTimeout(timeout time.Duration)
- func (o *GetUMAScopesParams) WithContext(ctx context.Context) *GetUMAScopesParams
- func (o *GetUMAScopesParams) WithHTTPClient(client *http.Client) *GetUMAScopesParams
- func (o *GetUMAScopesParams) WithTimeout(timeout time.Duration) *GetUMAScopesParams
- func (o *GetUMAScopesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUMAScopesReader
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 uma scope API
func (*Client) GetUMAScopes ¶
func (a *Client) GetUMAScopes(params *GetUMAScopesParams) (*GetUMAScopesOK, error)
GetUMAScopes gets uma scopes
Provides UMA Scope description by scope id.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetUMAScopes(params *GetUMAScopesParams) (*GetUMAScopesOK, 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 uma scope API client.
type GetUMAScopesInternalServerError ¶
type GetUMAScopesInternalServerError struct {
Payload *models.ErrorResponse
}
GetUMAScopesInternalServerError handles this case with default header values.
Invalid parameters provided to endpoint.
func NewGetUMAScopesInternalServerError ¶
func NewGetUMAScopesInternalServerError() *GetUMAScopesInternalServerError
NewGetUMAScopesInternalServerError creates a GetUMAScopesInternalServerError with default headers values
func (*GetUMAScopesInternalServerError) Error ¶
func (o *GetUMAScopesInternalServerError) Error() string
func (*GetUMAScopesInternalServerError) GetPayload ¶
func (o *GetUMAScopesInternalServerError) GetPayload() *models.ErrorResponse
type GetUMAScopesNotFound ¶
type GetUMAScopesNotFound struct {
Payload *models.ErrorResponse
}
GetUMAScopesNotFound handles this case with default header values.
Invalid parameters provided to endpoint.
func NewGetUMAScopesNotFound ¶
func NewGetUMAScopesNotFound() *GetUMAScopesNotFound
NewGetUMAScopesNotFound creates a GetUMAScopesNotFound with default headers values
func (*GetUMAScopesNotFound) Error ¶
func (o *GetUMAScopesNotFound) Error() string
func (*GetUMAScopesNotFound) GetPayload ¶
func (o *GetUMAScopesNotFound) GetPayload() *models.ErrorResponse
type GetUMAScopesOK ¶
type GetUMAScopesOK struct {
Payload *models.UMAScopeDescription
}
GetUMAScopesOK handles this case with default header values.
OK
func NewGetUMAScopesOK ¶
func NewGetUMAScopesOK() *GetUMAScopesOK
NewGetUMAScopesOK creates a GetUMAScopesOK with default headers values
func (*GetUMAScopesOK) Error ¶
func (o *GetUMAScopesOK) Error() string
func (*GetUMAScopesOK) GetPayload ¶
func (o *GetUMAScopesOK) GetPayload() *models.UMAScopeDescription
type GetUMAScopesParams ¶
type GetUMAScopesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUMAScopesParams contains all the parameters to send to the API endpoint for the get uma scopes operation typically these are written to a http.Request
func NewGetUMAScopesParams ¶
func NewGetUMAScopesParams() *GetUMAScopesParams
NewGetUMAScopesParams creates a new GetUMAScopesParams object with the default values initialized.
func NewGetUMAScopesParamsWithContext ¶
func NewGetUMAScopesParamsWithContext(ctx context.Context) *GetUMAScopesParams
NewGetUMAScopesParamsWithContext creates a new GetUMAScopesParams object with the default values initialized, and the ability to set a context for a request
func NewGetUMAScopesParamsWithHTTPClient ¶
func NewGetUMAScopesParamsWithHTTPClient(client *http.Client) *GetUMAScopesParams
NewGetUMAScopesParamsWithHTTPClient creates a new GetUMAScopesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUMAScopesParamsWithTimeout ¶
func NewGetUMAScopesParamsWithTimeout(timeout time.Duration) *GetUMAScopesParams
NewGetUMAScopesParamsWithTimeout creates a new GetUMAScopesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUMAScopesParams) SetContext ¶
func (o *GetUMAScopesParams) SetContext(ctx context.Context)
SetContext adds the context to the get uma scopes params
func (*GetUMAScopesParams) SetHTTPClient ¶
func (o *GetUMAScopesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get uma scopes params
func (*GetUMAScopesParams) SetTimeout ¶
func (o *GetUMAScopesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get uma scopes params
func (*GetUMAScopesParams) WithContext ¶
func (o *GetUMAScopesParams) WithContext(ctx context.Context) *GetUMAScopesParams
WithContext adds the context to the get uma scopes params
func (*GetUMAScopesParams) WithHTTPClient ¶
func (o *GetUMAScopesParams) WithHTTPClient(client *http.Client) *GetUMAScopesParams
WithHTTPClient adds the HTTPClient to the get uma scopes params
func (*GetUMAScopesParams) WithTimeout ¶
func (o *GetUMAScopesParams) WithTimeout(timeout time.Duration) *GetUMAScopesParams
WithTimeout adds the timeout to the get uma scopes params
func (*GetUMAScopesParams) WriteToRequest ¶
func (o *GetUMAScopesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUMAScopesReader ¶
type GetUMAScopesReader struct {
// contains filtered or unexported fields
}
GetUMAScopesReader is a Reader for the GetUMAScopes structure.
func (*GetUMAScopesReader) ReadResponse ¶
func (o *GetUMAScopesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.