administered

package
v0.0.0-...-6c9a280 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 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 administered API

func (*Client) GetAdministeredIdentitiesMe

func (a *Client) GetAdministeredIdentitiesMe(params *GetAdministeredIdentitiesMeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdministeredIdentitiesMeOK, error)

GetAdministeredIdentitiesMe returns the identity of the current user

Returns the identity of the current user.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAdministeredIdentitiesMe(params *GetAdministeredIdentitiesMeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdministeredIdentitiesMeOK, 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 administered API client.

type GetAdministeredIdentitiesMeOK

type GetAdministeredIdentitiesMeOK struct {
	Payload *GetAdministeredIdentitiesMeOKBody
}

GetAdministeredIdentitiesMeOK describes a response with status code 200, with default header values.

Successful operation

func NewGetAdministeredIdentitiesMeOK

func NewGetAdministeredIdentitiesMeOK() *GetAdministeredIdentitiesMeOK

NewGetAdministeredIdentitiesMeOK creates a GetAdministeredIdentitiesMeOK with default headers values

func (*GetAdministeredIdentitiesMeOK) Code

Code gets the status code for the get administered identities me o k response

func (*GetAdministeredIdentitiesMeOK) Error

func (*GetAdministeredIdentitiesMeOK) GetPayload

func (*GetAdministeredIdentitiesMeOK) IsClientError

func (o *GetAdministeredIdentitiesMeOK) IsClientError() bool

IsClientError returns true when this get administered identities me o k response has a 4xx status code

func (*GetAdministeredIdentitiesMeOK) IsCode

func (o *GetAdministeredIdentitiesMeOK) IsCode(code int) bool

IsCode returns true when this get administered identities me o k response a status code equal to that given

func (*GetAdministeredIdentitiesMeOK) IsRedirect

func (o *GetAdministeredIdentitiesMeOK) IsRedirect() bool

IsRedirect returns true when this get administered identities me o k response has a 3xx status code

func (*GetAdministeredIdentitiesMeOK) IsServerError

func (o *GetAdministeredIdentitiesMeOK) IsServerError() bool

IsServerError returns true when this get administered identities me o k response has a 5xx status code

func (*GetAdministeredIdentitiesMeOK) IsSuccess

func (o *GetAdministeredIdentitiesMeOK) IsSuccess() bool

IsSuccess returns true when this get administered identities me o k response has a 2xx status code

func (*GetAdministeredIdentitiesMeOK) String

type GetAdministeredIdentitiesMeOKBody

type GetAdministeredIdentitiesMeOKBody struct {

	// authentication
	Authentication *GetAdministeredIdentitiesMeOKBodyAuthentication `json:"authentication,omitempty"`

	// User email
	Email string `json:"email,omitempty"`

	// Last seen active on Dashboard UI
	// Format: date-time
	LastUsedDashboardAt strfmt.DateTime `json:"lastUsedDashboardAt,omitempty"`

	// Username
	Name string `json:"name,omitempty"`
}

GetAdministeredIdentitiesMeOKBody get administered identities me o k body swagger:model GetAdministeredIdentitiesMeOKBody

func (*GetAdministeredIdentitiesMeOKBody) ContextValidate

func (o *GetAdministeredIdentitiesMeOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get administered identities me o k body based on the context it is used

func (*GetAdministeredIdentitiesMeOKBody) MarshalBinary

func (o *GetAdministeredIdentitiesMeOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBody) UnmarshalBinary

func (o *GetAdministeredIdentitiesMeOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBody) Validate

Validate validates this get administered identities me o k body

type GetAdministeredIdentitiesMeOKBodyAuthentication

type GetAdministeredIdentitiesMeOKBodyAuthentication struct {

	// api
	API *GetAdministeredIdentitiesMeOKBodyAuthenticationAPI `json:"api,omitempty"`

	// Authentication mode
	Mode string `json:"mode,omitempty"`

	// saml
	Saml *GetAdministeredIdentitiesMeOKBodyAuthenticationSaml `json:"saml,omitempty"`

	// two factor
	TwoFactor *GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor `json:"twoFactor,omitempty"`
}

GetAdministeredIdentitiesMeOKBodyAuthentication Authentication info swagger:model GetAdministeredIdentitiesMeOKBodyAuthentication

func (*GetAdministeredIdentitiesMeOKBodyAuthentication) ContextValidate

ContextValidate validate this get administered identities me o k body authentication based on the context it is used

func (*GetAdministeredIdentitiesMeOKBodyAuthentication) MarshalBinary

MarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthentication) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthentication) Validate

Validate validates this get administered identities me o k body authentication

type GetAdministeredIdentitiesMeOKBodyAuthenticationAPI

type GetAdministeredIdentitiesMeOKBodyAuthenticationAPI struct {

	// key
	Key *GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey `json:"key,omitempty"`
}

GetAdministeredIdentitiesMeOKBodyAuthenticationAPI API authentication swagger:model GetAdministeredIdentitiesMeOKBodyAuthenticationAPI

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationAPI) ContextValidate

ContextValidate validate this get administered identities me o k body authentication API based on the context it is used

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationAPI) MarshalBinary

MarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationAPI) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationAPI) Validate

Validate validates this get administered identities me o k body authentication API

type GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey

type GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey struct {

	// If API key is created for this user
	Created bool `json:"created,omitempty"`
}

GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey API key swagger:model GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey) ContextValidate

ContextValidate validates this get administered identities me o k body authentication API key based on context it is used

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey) MarshalBinary

MarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationAPIKey) Validate

Validate validates this get administered identities me o k body authentication API key

type GetAdministeredIdentitiesMeOKBodyAuthenticationSaml

type GetAdministeredIdentitiesMeOKBodyAuthenticationSaml struct {

	// If SAML authentication is enabled for this user
	Enabled bool `json:"enabled,omitempty"`
}

GetAdministeredIdentitiesMeOKBodyAuthenticationSaml SAML authentication swagger:model GetAdministeredIdentitiesMeOKBodyAuthenticationSaml

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationSaml) ContextValidate

ContextValidate validates this get administered identities me o k body authentication saml based on context it is used

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationSaml) MarshalBinary

MarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationSaml) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationSaml) Validate

Validate validates this get administered identities me o k body authentication saml

type GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor

type GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor struct {

	// If twoFactor authentication is enabled for this user
	Enabled bool `json:"enabled,omitempty"`
}

GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor TwoFactor authentication swagger:model GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor) ContextValidate

ContextValidate validates this get administered identities me o k body authentication two factor based on context it is used

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor) MarshalBinary

MarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetAdministeredIdentitiesMeOKBodyAuthenticationTwoFactor) Validate

Validate validates this get administered identities me o k body authentication two factor

type GetAdministeredIdentitiesMeParams

type GetAdministeredIdentitiesMeParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAdministeredIdentitiesMeParams contains all the parameters to send to the API endpoint

for the get administered identities me operation.

Typically these are written to a http.Request.

func NewGetAdministeredIdentitiesMeParams

func NewGetAdministeredIdentitiesMeParams() *GetAdministeredIdentitiesMeParams

NewGetAdministeredIdentitiesMeParams creates a new GetAdministeredIdentitiesMeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAdministeredIdentitiesMeParamsWithContext

func NewGetAdministeredIdentitiesMeParamsWithContext(ctx context.Context) *GetAdministeredIdentitiesMeParams

NewGetAdministeredIdentitiesMeParamsWithContext creates a new GetAdministeredIdentitiesMeParams object with the ability to set a context for a request.

func NewGetAdministeredIdentitiesMeParamsWithHTTPClient

func NewGetAdministeredIdentitiesMeParamsWithHTTPClient(client *http.Client) *GetAdministeredIdentitiesMeParams

NewGetAdministeredIdentitiesMeParamsWithHTTPClient creates a new GetAdministeredIdentitiesMeParams object with the ability to set a custom HTTPClient for a request.

func NewGetAdministeredIdentitiesMeParamsWithTimeout

func NewGetAdministeredIdentitiesMeParamsWithTimeout(timeout time.Duration) *GetAdministeredIdentitiesMeParams

NewGetAdministeredIdentitiesMeParamsWithTimeout creates a new GetAdministeredIdentitiesMeParams object with the ability to set a timeout on a request.

func (*GetAdministeredIdentitiesMeParams) SetContext

SetContext adds the context to the get administered identities me params

func (*GetAdministeredIdentitiesMeParams) SetDefaults

func (o *GetAdministeredIdentitiesMeParams) SetDefaults()

SetDefaults hydrates default values in the get administered identities me params (not the query body).

All values with no default are reset to their zero value.

func (*GetAdministeredIdentitiesMeParams) SetHTTPClient

func (o *GetAdministeredIdentitiesMeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get administered identities me params

func (*GetAdministeredIdentitiesMeParams) SetTimeout

func (o *GetAdministeredIdentitiesMeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get administered identities me params

func (*GetAdministeredIdentitiesMeParams) WithContext

WithContext adds the context to the get administered identities me params

func (*GetAdministeredIdentitiesMeParams) WithDefaults

WithDefaults hydrates default values in the get administered identities me params (not the query body).

All values with no default are reset to their zero value.

func (*GetAdministeredIdentitiesMeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get administered identities me params

func (*GetAdministeredIdentitiesMeParams) WithTimeout

WithTimeout adds the timeout to the get administered identities me params

func (*GetAdministeredIdentitiesMeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAdministeredIdentitiesMeReader

type GetAdministeredIdentitiesMeReader struct {
	// contains filtered or unexported fields
}

GetAdministeredIdentitiesMeReader is a Reader for the GetAdministeredIdentitiesMe structure.

func (*GetAdministeredIdentitiesMeReader) ReadResponse

func (o *GetAdministeredIdentitiesMeReader) 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