principals

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

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

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

WithContext adds the context to the principal get using g e t params

func (*PrincipalGetUsingGETParams) WithHTTPClient

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

WithTimeout adds the timeout to the principal get using g e t params

func (*PrincipalGetUsingGETParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL