authentication

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 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 authentication API

func (*Client) ServiceBrokerAuthCallback

func (a *Client) ServiceBrokerAuthCallback(params *ServiceBrokerAuthCallbackParams, opts ...ClientOption) (*ServiceBrokerAuthCallbackOK, error)

ServiceBrokerAuthCallback returns an access token and set cookie

func (*Client) ServiceBrokerAuthDeviceCodePost

func (a *Client) ServiceBrokerAuthDeviceCodePost(params *ServiceBrokerAuthDeviceCodePostParams, opts ...ClientOption) (*ServiceBrokerAuthDeviceCodePostOK, error)

ServiceBrokerAuthDeviceCodePost requests a authorization device code

func (*Client) ServiceBrokerAuthDeviceTokenPost

func (a *Client) ServiceBrokerAuthDeviceTokenPost(params *ServiceBrokerAuthDeviceTokenPostParams, opts ...ClientOption) (*ServiceBrokerAuthDeviceTokenPostOK, error)

ServiceBrokerAuthDeviceTokenPost polls for authorization device token

func (*Client) ServiceBrokerAuthInfoToken

func (a *Client) ServiceBrokerAuthInfoToken(params *ServiceBrokerAuthInfoTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerAuthInfoTokenOK, error)

ServiceBrokerAuthInfoToken information about current access token

func (*Client) ServiceBrokerAuthInfoUser

func (a *Client) ServiceBrokerAuthInfoUser(params *ServiceBrokerAuthInfoUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerAuthInfoUserOK, error)

ServiceBrokerAuthInfoUser information about current user

func (*Client) ServiceBrokerAuthLogin

func (a *Client) ServiceBrokerAuthLogin(params *ServiceBrokerAuthLoginParams, opts ...ClientOption) (*ServiceBrokerAuthLoginOK, error)

ServiceBrokerAuthLogin logins

func (*Client) ServiceBrokerAuthLogout

func (a *Client) ServiceBrokerAuthLogout(params *ServiceBrokerAuthLogoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerAuthLogoutOK, error)

ServiceBrokerAuthLogout logouts

func (*Client) ServiceBrokerAuthRegistration

func (a *Client) ServiceBrokerAuthRegistration(params *ServiceBrokerAuthRegistrationParams, opts ...ClientOption) (*ServiceBrokerAuthRegistrationOK, error)

ServiceBrokerAuthRegistration registrations of a new tenant and login

func (*Client) ServiceBrokerAuthRegistrationCallback

func (a *Client) ServiceBrokerAuthRegistrationCallback(params *ServiceBrokerAuthRegistrationCallbackParams, opts ...ClientOption) (*ServiceBrokerAuthRegistrationCallbackOK, error)

ServiceBrokerAuthRegistrationCallback associates the user with a tenant and returns an access token

func (*Client) ServiceBrokerAuthTokenPost

func (a *Client) ServiceBrokerAuthTokenPost(params *ServiceBrokerAuthTokenPostParams, opts ...ClientOption) (*ServiceBrokerAuthTokenPostOK, error)

ServiceBrokerAuthTokenPost requests a new token from a refresh token

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 {
	ServiceBrokerAuthCallback(params *ServiceBrokerAuthCallbackParams, opts ...ClientOption) (*ServiceBrokerAuthCallbackOK, error)

	ServiceBrokerAuthDeviceCodePost(params *ServiceBrokerAuthDeviceCodePostParams, opts ...ClientOption) (*ServiceBrokerAuthDeviceCodePostOK, error)

	ServiceBrokerAuthDeviceTokenPost(params *ServiceBrokerAuthDeviceTokenPostParams, opts ...ClientOption) (*ServiceBrokerAuthDeviceTokenPostOK, error)

	ServiceBrokerAuthInfoToken(params *ServiceBrokerAuthInfoTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerAuthInfoTokenOK, error)

	ServiceBrokerAuthInfoUser(params *ServiceBrokerAuthInfoUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerAuthInfoUserOK, error)

	ServiceBrokerAuthLogin(params *ServiceBrokerAuthLoginParams, opts ...ClientOption) (*ServiceBrokerAuthLoginOK, error)

	ServiceBrokerAuthLogout(params *ServiceBrokerAuthLogoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerAuthLogoutOK, error)

	ServiceBrokerAuthRegistration(params *ServiceBrokerAuthRegistrationParams, opts ...ClientOption) (*ServiceBrokerAuthRegistrationOK, error)

	ServiceBrokerAuthRegistrationCallback(params *ServiceBrokerAuthRegistrationCallbackParams, opts ...ClientOption) (*ServiceBrokerAuthRegistrationCallbackOK, error)

	ServiceBrokerAuthTokenPost(params *ServiceBrokerAuthTokenPostParams, opts ...ClientOption) (*ServiceBrokerAuthTokenPostOK, 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 authentication API client.

type ServiceBrokerAuthCallbackInternalServerError

type ServiceBrokerAuthCallbackInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthCallbackInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthCallbackInternalServerError

func NewServiceBrokerAuthCallbackInternalServerError() *ServiceBrokerAuthCallbackInternalServerError

NewServiceBrokerAuthCallbackInternalServerError creates a ServiceBrokerAuthCallbackInternalServerError with default headers values

func (*ServiceBrokerAuthCallbackInternalServerError) Code

Code gets the status code for the service broker auth callback internal server error response

func (*ServiceBrokerAuthCallbackInternalServerError) Error

func (*ServiceBrokerAuthCallbackInternalServerError) GetPayload

func (*ServiceBrokerAuthCallbackInternalServerError) IsClientError

IsClientError returns true when this service broker auth callback internal server error response has a 4xx status code

func (*ServiceBrokerAuthCallbackInternalServerError) IsCode

IsCode returns true when this service broker auth callback internal server error response a status code equal to that given

func (*ServiceBrokerAuthCallbackInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth callback internal server error response has a 3xx status code

func (*ServiceBrokerAuthCallbackInternalServerError) IsServerError

IsServerError returns true when this service broker auth callback internal server error response has a 5xx status code

func (*ServiceBrokerAuthCallbackInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth callback internal server error response has a 2xx status code

func (*ServiceBrokerAuthCallbackInternalServerError) String

type ServiceBrokerAuthCallbackOK

type ServiceBrokerAuthCallbackOK struct {
	Payload *models.AccessToken
}

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

OK

func NewServiceBrokerAuthCallbackOK

func NewServiceBrokerAuthCallbackOK() *ServiceBrokerAuthCallbackOK

NewServiceBrokerAuthCallbackOK creates a ServiceBrokerAuthCallbackOK with default headers values

func (*ServiceBrokerAuthCallbackOK) Code

func (o *ServiceBrokerAuthCallbackOK) Code() int

Code gets the status code for the service broker auth callback o k response

func (*ServiceBrokerAuthCallbackOK) Error

func (*ServiceBrokerAuthCallbackOK) GetPayload

func (*ServiceBrokerAuthCallbackOK) IsClientError

func (o *ServiceBrokerAuthCallbackOK) IsClientError() bool

IsClientError returns true when this service broker auth callback o k response has a 4xx status code

func (*ServiceBrokerAuthCallbackOK) IsCode

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

IsCode returns true when this service broker auth callback o k response a status code equal to that given

func (*ServiceBrokerAuthCallbackOK) IsRedirect

func (o *ServiceBrokerAuthCallbackOK) IsRedirect() bool

IsRedirect returns true when this service broker auth callback o k response has a 3xx status code

func (*ServiceBrokerAuthCallbackOK) IsServerError

func (o *ServiceBrokerAuthCallbackOK) IsServerError() bool

IsServerError returns true when this service broker auth callback o k response has a 5xx status code

func (*ServiceBrokerAuthCallbackOK) IsSuccess

func (o *ServiceBrokerAuthCallbackOK) IsSuccess() bool

IsSuccess returns true when this service broker auth callback o k response has a 2xx status code

func (*ServiceBrokerAuthCallbackOK) String

func (o *ServiceBrokerAuthCallbackOK) String() string

type ServiceBrokerAuthCallbackParams

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

ServiceBrokerAuthCallbackParams contains all the parameters to send to the API endpoint

for the service broker auth callback operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthCallbackParams

func NewServiceBrokerAuthCallbackParams() *ServiceBrokerAuthCallbackParams

NewServiceBrokerAuthCallbackParams creates a new ServiceBrokerAuthCallbackParams 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 NewServiceBrokerAuthCallbackParamsWithContext

func NewServiceBrokerAuthCallbackParamsWithContext(ctx context.Context) *ServiceBrokerAuthCallbackParams

NewServiceBrokerAuthCallbackParamsWithContext creates a new ServiceBrokerAuthCallbackParams object with the ability to set a context for a request.

func NewServiceBrokerAuthCallbackParamsWithHTTPClient

func NewServiceBrokerAuthCallbackParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthCallbackParams

NewServiceBrokerAuthCallbackParamsWithHTTPClient creates a new ServiceBrokerAuthCallbackParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthCallbackParamsWithTimeout

func NewServiceBrokerAuthCallbackParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthCallbackParams

NewServiceBrokerAuthCallbackParamsWithTimeout creates a new ServiceBrokerAuthCallbackParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthCallbackParams) SetContext

func (o *ServiceBrokerAuthCallbackParams) SetContext(ctx context.Context)

SetContext adds the context to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) SetDefaults

func (o *ServiceBrokerAuthCallbackParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth callback params (not the query body).

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

func (*ServiceBrokerAuthCallbackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) WithContext

WithContext adds the context to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) WithDefaults

WithDefaults hydrates default values in the service broker auth callback params (not the query body).

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

func (*ServiceBrokerAuthCallbackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) WithTimeout

WithTimeout adds the timeout to the service broker auth callback params

func (*ServiceBrokerAuthCallbackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthCallbackReader

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

ServiceBrokerAuthCallbackReader is a Reader for the ServiceBrokerAuthCallback structure.

func (*ServiceBrokerAuthCallbackReader) ReadResponse

func (o *ServiceBrokerAuthCallbackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthCallbackUnauthorized

type ServiceBrokerAuthCallbackUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerAuthCallbackUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewServiceBrokerAuthCallbackUnauthorized

func NewServiceBrokerAuthCallbackUnauthorized() *ServiceBrokerAuthCallbackUnauthorized

NewServiceBrokerAuthCallbackUnauthorized creates a ServiceBrokerAuthCallbackUnauthorized with default headers values

func (*ServiceBrokerAuthCallbackUnauthorized) Code

Code gets the status code for the service broker auth callback unauthorized response

func (*ServiceBrokerAuthCallbackUnauthorized) Error

func (*ServiceBrokerAuthCallbackUnauthorized) GetPayload

func (*ServiceBrokerAuthCallbackUnauthorized) IsClientError

func (o *ServiceBrokerAuthCallbackUnauthorized) IsClientError() bool

IsClientError returns true when this service broker auth callback unauthorized response has a 4xx status code

func (*ServiceBrokerAuthCallbackUnauthorized) IsCode

IsCode returns true when this service broker auth callback unauthorized response a status code equal to that given

func (*ServiceBrokerAuthCallbackUnauthorized) IsRedirect

IsRedirect returns true when this service broker auth callback unauthorized response has a 3xx status code

func (*ServiceBrokerAuthCallbackUnauthorized) IsServerError

func (o *ServiceBrokerAuthCallbackUnauthorized) IsServerError() bool

IsServerError returns true when this service broker auth callback unauthorized response has a 5xx status code

func (*ServiceBrokerAuthCallbackUnauthorized) IsSuccess

IsSuccess returns true when this service broker auth callback unauthorized response has a 2xx status code

func (*ServiceBrokerAuthCallbackUnauthorized) String

type ServiceBrokerAuthDeviceCodePostForbidden

type ServiceBrokerAuthDeviceCodePostForbidden struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceCodePostForbidden describes a response with status code 403, with default header values.

Quota exceeded

func NewServiceBrokerAuthDeviceCodePostForbidden

func NewServiceBrokerAuthDeviceCodePostForbidden() *ServiceBrokerAuthDeviceCodePostForbidden

NewServiceBrokerAuthDeviceCodePostForbidden creates a ServiceBrokerAuthDeviceCodePostForbidden with default headers values

func (*ServiceBrokerAuthDeviceCodePostForbidden) Code

Code gets the status code for the service broker auth device code post forbidden response

func (*ServiceBrokerAuthDeviceCodePostForbidden) Error

func (*ServiceBrokerAuthDeviceCodePostForbidden) GetPayload

func (*ServiceBrokerAuthDeviceCodePostForbidden) IsClientError

IsClientError returns true when this service broker auth device code post forbidden response has a 4xx status code

func (*ServiceBrokerAuthDeviceCodePostForbidden) IsCode

IsCode returns true when this service broker auth device code post forbidden response a status code equal to that given

func (*ServiceBrokerAuthDeviceCodePostForbidden) IsRedirect

IsRedirect returns true when this service broker auth device code post forbidden response has a 3xx status code

func (*ServiceBrokerAuthDeviceCodePostForbidden) IsServerError

IsServerError returns true when this service broker auth device code post forbidden response has a 5xx status code

func (*ServiceBrokerAuthDeviceCodePostForbidden) IsSuccess

IsSuccess returns true when this service broker auth device code post forbidden response has a 2xx status code

func (*ServiceBrokerAuthDeviceCodePostForbidden) String

type ServiceBrokerAuthDeviceCodePostInternalServerError

type ServiceBrokerAuthDeviceCodePostInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceCodePostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthDeviceCodePostInternalServerError

func NewServiceBrokerAuthDeviceCodePostInternalServerError() *ServiceBrokerAuthDeviceCodePostInternalServerError

NewServiceBrokerAuthDeviceCodePostInternalServerError creates a ServiceBrokerAuthDeviceCodePostInternalServerError with default headers values

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) Code

Code gets the status code for the service broker auth device code post internal server error response

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) Error

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) GetPayload

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsClientError

IsClientError returns true when this service broker auth device code post internal server error response has a 4xx status code

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsCode

IsCode returns true when this service broker auth device code post internal server error response a status code equal to that given

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth device code post internal server error response has a 3xx status code

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsServerError

IsServerError returns true when this service broker auth device code post internal server error response has a 5xx status code

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth device code post internal server error response has a 2xx status code

func (*ServiceBrokerAuthDeviceCodePostInternalServerError) String

type ServiceBrokerAuthDeviceCodePostOK

type ServiceBrokerAuthDeviceCodePostOK struct {
	Payload *models.DeviceCode
}

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

OK

func NewServiceBrokerAuthDeviceCodePostOK

func NewServiceBrokerAuthDeviceCodePostOK() *ServiceBrokerAuthDeviceCodePostOK

NewServiceBrokerAuthDeviceCodePostOK creates a ServiceBrokerAuthDeviceCodePostOK with default headers values

func (*ServiceBrokerAuthDeviceCodePostOK) Code

Code gets the status code for the service broker auth device code post o k response

func (*ServiceBrokerAuthDeviceCodePostOK) Error

func (*ServiceBrokerAuthDeviceCodePostOK) GetPayload

func (*ServiceBrokerAuthDeviceCodePostOK) IsClientError

func (o *ServiceBrokerAuthDeviceCodePostOK) IsClientError() bool

IsClientError returns true when this service broker auth device code post o k response has a 4xx status code

func (*ServiceBrokerAuthDeviceCodePostOK) IsCode

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

IsCode returns true when this service broker auth device code post o k response a status code equal to that given

func (*ServiceBrokerAuthDeviceCodePostOK) IsRedirect

func (o *ServiceBrokerAuthDeviceCodePostOK) IsRedirect() bool

IsRedirect returns true when this service broker auth device code post o k response has a 3xx status code

func (*ServiceBrokerAuthDeviceCodePostOK) IsServerError

func (o *ServiceBrokerAuthDeviceCodePostOK) IsServerError() bool

IsServerError returns true when this service broker auth device code post o k response has a 5xx status code

func (*ServiceBrokerAuthDeviceCodePostOK) IsSuccess

func (o *ServiceBrokerAuthDeviceCodePostOK) IsSuccess() bool

IsSuccess returns true when this service broker auth device code post o k response has a 2xx status code

func (*ServiceBrokerAuthDeviceCodePostOK) String

type ServiceBrokerAuthDeviceCodePostParams

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

ServiceBrokerAuthDeviceCodePostParams contains all the parameters to send to the API endpoint

for the service broker auth device code post operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthDeviceCodePostParams

func NewServiceBrokerAuthDeviceCodePostParams() *ServiceBrokerAuthDeviceCodePostParams

NewServiceBrokerAuthDeviceCodePostParams creates a new ServiceBrokerAuthDeviceCodePostParams 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 NewServiceBrokerAuthDeviceCodePostParamsWithContext

func NewServiceBrokerAuthDeviceCodePostParamsWithContext(ctx context.Context) *ServiceBrokerAuthDeviceCodePostParams

NewServiceBrokerAuthDeviceCodePostParamsWithContext creates a new ServiceBrokerAuthDeviceCodePostParams object with the ability to set a context for a request.

func NewServiceBrokerAuthDeviceCodePostParamsWithHTTPClient

func NewServiceBrokerAuthDeviceCodePostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceCodePostParams

NewServiceBrokerAuthDeviceCodePostParamsWithHTTPClient creates a new ServiceBrokerAuthDeviceCodePostParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthDeviceCodePostParamsWithTimeout

func NewServiceBrokerAuthDeviceCodePostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceCodePostParams

NewServiceBrokerAuthDeviceCodePostParamsWithTimeout creates a new ServiceBrokerAuthDeviceCodePostParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthDeviceCodePostParams) SetContext

SetContext adds the context to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) SetDefaults

func (o *ServiceBrokerAuthDeviceCodePostParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth device code post params (not the query body).

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

func (*ServiceBrokerAuthDeviceCodePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) WithContext

WithContext adds the context to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) WithDefaults

WithDefaults hydrates default values in the service broker auth device code post params (not the query body).

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

func (*ServiceBrokerAuthDeviceCodePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) WithTimeout

WithTimeout adds the timeout to the service broker auth device code post params

func (*ServiceBrokerAuthDeviceCodePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthDeviceCodePostReader

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

ServiceBrokerAuthDeviceCodePostReader is a Reader for the ServiceBrokerAuthDeviceCodePost structure.

func (*ServiceBrokerAuthDeviceCodePostReader) ReadResponse

func (o *ServiceBrokerAuthDeviceCodePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthDeviceTokenPostBadRequest

type ServiceBrokerAuthDeviceTokenPostBadRequest struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceTokenPostBadRequest describes a response with status code 400, with default header values.

Authorization pending

func NewServiceBrokerAuthDeviceTokenPostBadRequest

func NewServiceBrokerAuthDeviceTokenPostBadRequest() *ServiceBrokerAuthDeviceTokenPostBadRequest

NewServiceBrokerAuthDeviceTokenPostBadRequest creates a ServiceBrokerAuthDeviceTokenPostBadRequest with default headers values

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) Code

Code gets the status code for the service broker auth device token post bad request response

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) Error

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) GetPayload

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsClientError

IsClientError returns true when this service broker auth device token post bad request response has a 4xx status code

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsCode

IsCode returns true when this service broker auth device token post bad request response a status code equal to that given

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsRedirect

IsRedirect returns true when this service broker auth device token post bad request response has a 3xx status code

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsServerError

IsServerError returns true when this service broker auth device token post bad request response has a 5xx status code

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsSuccess

IsSuccess returns true when this service broker auth device token post bad request response has a 2xx status code

func (*ServiceBrokerAuthDeviceTokenPostBadRequest) String

type ServiceBrokerAuthDeviceTokenPostBody

type ServiceBrokerAuthDeviceTokenPostBody struct {

	// The deviceCode that the authorization server returned
	DeviceCode string `json:"deviceCode,omitempty"`
}

ServiceBrokerAuthDeviceTokenPostBody service broker auth device token post body swagger:model ServiceBrokerAuthDeviceTokenPostBody

func (*ServiceBrokerAuthDeviceTokenPostBody) ContextValidate

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

ContextValidate validates this service broker auth device token post body based on context it is used

func (*ServiceBrokerAuthDeviceTokenPostBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBrokerAuthDeviceTokenPostBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBrokerAuthDeviceTokenPostBody) Validate

Validate validates this service broker auth device token post body

type ServiceBrokerAuthDeviceTokenPostForbidden

type ServiceBrokerAuthDeviceTokenPostForbidden struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceTokenPostForbidden describes a response with status code 403, with default header values.

User refused grant

func NewServiceBrokerAuthDeviceTokenPostForbidden

func NewServiceBrokerAuthDeviceTokenPostForbidden() *ServiceBrokerAuthDeviceTokenPostForbidden

NewServiceBrokerAuthDeviceTokenPostForbidden creates a ServiceBrokerAuthDeviceTokenPostForbidden with default headers values

func (*ServiceBrokerAuthDeviceTokenPostForbidden) Code

Code gets the status code for the service broker auth device token post forbidden response

func (*ServiceBrokerAuthDeviceTokenPostForbidden) Error

func (*ServiceBrokerAuthDeviceTokenPostForbidden) GetPayload

func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsClientError

IsClientError returns true when this service broker auth device token post forbidden response has a 4xx status code

func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsCode

IsCode returns true when this service broker auth device token post forbidden response a status code equal to that given

func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsRedirect

IsRedirect returns true when this service broker auth device token post forbidden response has a 3xx status code

func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsServerError

IsServerError returns true when this service broker auth device token post forbidden response has a 5xx status code

func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsSuccess

IsSuccess returns true when this service broker auth device token post forbidden response has a 2xx status code

func (*ServiceBrokerAuthDeviceTokenPostForbidden) String

type ServiceBrokerAuthDeviceTokenPostInternalServerError

type ServiceBrokerAuthDeviceTokenPostInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceTokenPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthDeviceTokenPostInternalServerError

func NewServiceBrokerAuthDeviceTokenPostInternalServerError() *ServiceBrokerAuthDeviceTokenPostInternalServerError

NewServiceBrokerAuthDeviceTokenPostInternalServerError creates a ServiceBrokerAuthDeviceTokenPostInternalServerError with default headers values

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) Code

Code gets the status code for the service broker auth device token post internal server error response

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) Error

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) GetPayload

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsClientError

IsClientError returns true when this service broker auth device token post internal server error response has a 4xx status code

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsCode

IsCode returns true when this service broker auth device token post internal server error response a status code equal to that given

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth device token post internal server error response has a 3xx status code

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsServerError

IsServerError returns true when this service broker auth device token post internal server error response has a 5xx status code

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth device token post internal server error response has a 2xx status code

func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) String

type ServiceBrokerAuthDeviceTokenPostOK

type ServiceBrokerAuthDeviceTokenPostOK struct {
	Payload *models.Token
}

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

OK

func NewServiceBrokerAuthDeviceTokenPostOK

func NewServiceBrokerAuthDeviceTokenPostOK() *ServiceBrokerAuthDeviceTokenPostOK

NewServiceBrokerAuthDeviceTokenPostOK creates a ServiceBrokerAuthDeviceTokenPostOK with default headers values

func (*ServiceBrokerAuthDeviceTokenPostOK) Code

Code gets the status code for the service broker auth device token post o k response

func (*ServiceBrokerAuthDeviceTokenPostOK) Error

func (*ServiceBrokerAuthDeviceTokenPostOK) GetPayload

func (*ServiceBrokerAuthDeviceTokenPostOK) IsClientError

func (o *ServiceBrokerAuthDeviceTokenPostOK) IsClientError() bool

IsClientError returns true when this service broker auth device token post o k response has a 4xx status code

func (*ServiceBrokerAuthDeviceTokenPostOK) IsCode

IsCode returns true when this service broker auth device token post o k response a status code equal to that given

func (*ServiceBrokerAuthDeviceTokenPostOK) IsRedirect

func (o *ServiceBrokerAuthDeviceTokenPostOK) IsRedirect() bool

IsRedirect returns true when this service broker auth device token post o k response has a 3xx status code

func (*ServiceBrokerAuthDeviceTokenPostOK) IsServerError

func (o *ServiceBrokerAuthDeviceTokenPostOK) IsServerError() bool

IsServerError returns true when this service broker auth device token post o k response has a 5xx status code

func (*ServiceBrokerAuthDeviceTokenPostOK) IsSuccess

IsSuccess returns true when this service broker auth device token post o k response has a 2xx status code

func (*ServiceBrokerAuthDeviceTokenPostOK) String

type ServiceBrokerAuthDeviceTokenPostParams

type ServiceBrokerAuthDeviceTokenPostParams struct {

	/* Body.

	   Parameters for polling authorization device code
	*/
	Body ServiceBrokerAuthDeviceTokenPostBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthDeviceTokenPostParams contains all the parameters to send to the API endpoint

for the service broker auth device token post operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthDeviceTokenPostParams

func NewServiceBrokerAuthDeviceTokenPostParams() *ServiceBrokerAuthDeviceTokenPostParams

NewServiceBrokerAuthDeviceTokenPostParams creates a new ServiceBrokerAuthDeviceTokenPostParams 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 NewServiceBrokerAuthDeviceTokenPostParamsWithContext

func NewServiceBrokerAuthDeviceTokenPostParamsWithContext(ctx context.Context) *ServiceBrokerAuthDeviceTokenPostParams

NewServiceBrokerAuthDeviceTokenPostParamsWithContext creates a new ServiceBrokerAuthDeviceTokenPostParams object with the ability to set a context for a request.

func NewServiceBrokerAuthDeviceTokenPostParamsWithHTTPClient

func NewServiceBrokerAuthDeviceTokenPostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceTokenPostParams

NewServiceBrokerAuthDeviceTokenPostParamsWithHTTPClient creates a new ServiceBrokerAuthDeviceTokenPostParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthDeviceTokenPostParamsWithTimeout

func NewServiceBrokerAuthDeviceTokenPostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceTokenPostParams

NewServiceBrokerAuthDeviceTokenPostParamsWithTimeout creates a new ServiceBrokerAuthDeviceTokenPostParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthDeviceTokenPostParams) SetBody

SetBody adds the body to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) SetContext

SetContext adds the context to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) SetDefaults

func (o *ServiceBrokerAuthDeviceTokenPostParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth device token post params (not the query body).

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

func (*ServiceBrokerAuthDeviceTokenPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WithBody

WithBody adds the body to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WithContext

WithContext adds the context to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WithDefaults

WithDefaults hydrates default values in the service broker auth device token post params (not the query body).

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

func (*ServiceBrokerAuthDeviceTokenPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WithTimeout

WithTimeout adds the timeout to the service broker auth device token post params

func (*ServiceBrokerAuthDeviceTokenPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthDeviceTokenPostReader

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

ServiceBrokerAuthDeviceTokenPostReader is a Reader for the ServiceBrokerAuthDeviceTokenPost structure.

func (*ServiceBrokerAuthDeviceTokenPostReader) ReadResponse

func (o *ServiceBrokerAuthDeviceTokenPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthDeviceTokenPostTooManyRequests

type ServiceBrokerAuthDeviceTokenPostTooManyRequests struct {
	Payload *models.Error
}

ServiceBrokerAuthDeviceTokenPostTooManyRequests describes a response with status code 429, with default header values.

Polling too frequently

func NewServiceBrokerAuthDeviceTokenPostTooManyRequests

func NewServiceBrokerAuthDeviceTokenPostTooManyRequests() *ServiceBrokerAuthDeviceTokenPostTooManyRequests

NewServiceBrokerAuthDeviceTokenPostTooManyRequests creates a ServiceBrokerAuthDeviceTokenPostTooManyRequests with default headers values

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) Code

Code gets the status code for the service broker auth device token post too many requests response

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) Error

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) GetPayload

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsClientError

IsClientError returns true when this service broker auth device token post too many requests response has a 4xx status code

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsCode

IsCode returns true when this service broker auth device token post too many requests response a status code equal to that given

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsRedirect

IsRedirect returns true when this service broker auth device token post too many requests response has a 3xx status code

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsServerError

IsServerError returns true when this service broker auth device token post too many requests response has a 5xx status code

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsSuccess

IsSuccess returns true when this service broker auth device token post too many requests response has a 2xx status code

func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) String

type ServiceBrokerAuthInfoTokenInternalServerError

type ServiceBrokerAuthInfoTokenInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthInfoTokenInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthInfoTokenInternalServerError

func NewServiceBrokerAuthInfoTokenInternalServerError() *ServiceBrokerAuthInfoTokenInternalServerError

NewServiceBrokerAuthInfoTokenInternalServerError creates a ServiceBrokerAuthInfoTokenInternalServerError with default headers values

func (*ServiceBrokerAuthInfoTokenInternalServerError) Code

Code gets the status code for the service broker auth info token internal server error response

func (*ServiceBrokerAuthInfoTokenInternalServerError) Error

func (*ServiceBrokerAuthInfoTokenInternalServerError) GetPayload

func (*ServiceBrokerAuthInfoTokenInternalServerError) IsClientError

IsClientError returns true when this service broker auth info token internal server error response has a 4xx status code

func (*ServiceBrokerAuthInfoTokenInternalServerError) IsCode

IsCode returns true when this service broker auth info token internal server error response a status code equal to that given

func (*ServiceBrokerAuthInfoTokenInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth info token internal server error response has a 3xx status code

func (*ServiceBrokerAuthInfoTokenInternalServerError) IsServerError

IsServerError returns true when this service broker auth info token internal server error response has a 5xx status code

func (*ServiceBrokerAuthInfoTokenInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth info token internal server error response has a 2xx status code

func (*ServiceBrokerAuthInfoTokenInternalServerError) String

type ServiceBrokerAuthInfoTokenOK

type ServiceBrokerAuthInfoTokenOK struct {
	Payload *models.TokenExtra
}

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

OK

func NewServiceBrokerAuthInfoTokenOK

func NewServiceBrokerAuthInfoTokenOK() *ServiceBrokerAuthInfoTokenOK

NewServiceBrokerAuthInfoTokenOK creates a ServiceBrokerAuthInfoTokenOK with default headers values

func (*ServiceBrokerAuthInfoTokenOK) Code

Code gets the status code for the service broker auth info token o k response

func (*ServiceBrokerAuthInfoTokenOK) Error

func (*ServiceBrokerAuthInfoTokenOK) GetPayload

func (*ServiceBrokerAuthInfoTokenOK) IsClientError

func (o *ServiceBrokerAuthInfoTokenOK) IsClientError() bool

IsClientError returns true when this service broker auth info token o k response has a 4xx status code

func (*ServiceBrokerAuthInfoTokenOK) IsCode

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

IsCode returns true when this service broker auth info token o k response a status code equal to that given

func (*ServiceBrokerAuthInfoTokenOK) IsRedirect

func (o *ServiceBrokerAuthInfoTokenOK) IsRedirect() bool

IsRedirect returns true when this service broker auth info token o k response has a 3xx status code

func (*ServiceBrokerAuthInfoTokenOK) IsServerError

func (o *ServiceBrokerAuthInfoTokenOK) IsServerError() bool

IsServerError returns true when this service broker auth info token o k response has a 5xx status code

func (*ServiceBrokerAuthInfoTokenOK) IsSuccess

func (o *ServiceBrokerAuthInfoTokenOK) IsSuccess() bool

IsSuccess returns true when this service broker auth info token o k response has a 2xx status code

func (*ServiceBrokerAuthInfoTokenOK) String

type ServiceBrokerAuthInfoTokenParams

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

ServiceBrokerAuthInfoTokenParams contains all the parameters to send to the API endpoint

for the service broker auth info token operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthInfoTokenParams

func NewServiceBrokerAuthInfoTokenParams() *ServiceBrokerAuthInfoTokenParams

NewServiceBrokerAuthInfoTokenParams creates a new ServiceBrokerAuthInfoTokenParams 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 NewServiceBrokerAuthInfoTokenParamsWithContext

func NewServiceBrokerAuthInfoTokenParamsWithContext(ctx context.Context) *ServiceBrokerAuthInfoTokenParams

NewServiceBrokerAuthInfoTokenParamsWithContext creates a new ServiceBrokerAuthInfoTokenParams object with the ability to set a context for a request.

func NewServiceBrokerAuthInfoTokenParamsWithHTTPClient

func NewServiceBrokerAuthInfoTokenParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoTokenParams

NewServiceBrokerAuthInfoTokenParamsWithHTTPClient creates a new ServiceBrokerAuthInfoTokenParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthInfoTokenParamsWithTimeout

func NewServiceBrokerAuthInfoTokenParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoTokenParams

NewServiceBrokerAuthInfoTokenParamsWithTimeout creates a new ServiceBrokerAuthInfoTokenParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthInfoTokenParams) SetContext

SetContext adds the context to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) SetDefaults

func (o *ServiceBrokerAuthInfoTokenParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth info token params (not the query body).

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

func (*ServiceBrokerAuthInfoTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) WithContext

WithContext adds the context to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) WithDefaults

WithDefaults hydrates default values in the service broker auth info token params (not the query body).

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

func (*ServiceBrokerAuthInfoTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) WithTimeout

WithTimeout adds the timeout to the service broker auth info token params

func (*ServiceBrokerAuthInfoTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthInfoTokenReader

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

ServiceBrokerAuthInfoTokenReader is a Reader for the ServiceBrokerAuthInfoToken structure.

func (*ServiceBrokerAuthInfoTokenReader) ReadResponse

func (o *ServiceBrokerAuthInfoTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthInfoUserInternalServerError

type ServiceBrokerAuthInfoUserInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthInfoUserInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthInfoUserInternalServerError

func NewServiceBrokerAuthInfoUserInternalServerError() *ServiceBrokerAuthInfoUserInternalServerError

NewServiceBrokerAuthInfoUserInternalServerError creates a ServiceBrokerAuthInfoUserInternalServerError with default headers values

func (*ServiceBrokerAuthInfoUserInternalServerError) Code

Code gets the status code for the service broker auth info user internal server error response

func (*ServiceBrokerAuthInfoUserInternalServerError) Error

func (*ServiceBrokerAuthInfoUserInternalServerError) GetPayload

func (*ServiceBrokerAuthInfoUserInternalServerError) IsClientError

IsClientError returns true when this service broker auth info user internal server error response has a 4xx status code

func (*ServiceBrokerAuthInfoUserInternalServerError) IsCode

IsCode returns true when this service broker auth info user internal server error response a status code equal to that given

func (*ServiceBrokerAuthInfoUserInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth info user internal server error response has a 3xx status code

func (*ServiceBrokerAuthInfoUserInternalServerError) IsServerError

IsServerError returns true when this service broker auth info user internal server error response has a 5xx status code

func (*ServiceBrokerAuthInfoUserInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth info user internal server error response has a 2xx status code

func (*ServiceBrokerAuthInfoUserInternalServerError) String

type ServiceBrokerAuthInfoUserOK

type ServiceBrokerAuthInfoUserOK struct {
	Payload *models.UserInfo
}

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

OK

func NewServiceBrokerAuthInfoUserOK

func NewServiceBrokerAuthInfoUserOK() *ServiceBrokerAuthInfoUserOK

NewServiceBrokerAuthInfoUserOK creates a ServiceBrokerAuthInfoUserOK with default headers values

func (*ServiceBrokerAuthInfoUserOK) Code

func (o *ServiceBrokerAuthInfoUserOK) Code() int

Code gets the status code for the service broker auth info user o k response

func (*ServiceBrokerAuthInfoUserOK) Error

func (*ServiceBrokerAuthInfoUserOK) GetPayload

func (o *ServiceBrokerAuthInfoUserOK) GetPayload() *models.UserInfo

func (*ServiceBrokerAuthInfoUserOK) IsClientError

func (o *ServiceBrokerAuthInfoUserOK) IsClientError() bool

IsClientError returns true when this service broker auth info user o k response has a 4xx status code

func (*ServiceBrokerAuthInfoUserOK) IsCode

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

IsCode returns true when this service broker auth info user o k response a status code equal to that given

func (*ServiceBrokerAuthInfoUserOK) IsRedirect

func (o *ServiceBrokerAuthInfoUserOK) IsRedirect() bool

IsRedirect returns true when this service broker auth info user o k response has a 3xx status code

func (*ServiceBrokerAuthInfoUserOK) IsServerError

func (o *ServiceBrokerAuthInfoUserOK) IsServerError() bool

IsServerError returns true when this service broker auth info user o k response has a 5xx status code

func (*ServiceBrokerAuthInfoUserOK) IsSuccess

func (o *ServiceBrokerAuthInfoUserOK) IsSuccess() bool

IsSuccess returns true when this service broker auth info user o k response has a 2xx status code

func (*ServiceBrokerAuthInfoUserOK) String

func (o *ServiceBrokerAuthInfoUserOK) String() string

type ServiceBrokerAuthInfoUserParams

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

ServiceBrokerAuthInfoUserParams contains all the parameters to send to the API endpoint

for the service broker auth info user operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthInfoUserParams

func NewServiceBrokerAuthInfoUserParams() *ServiceBrokerAuthInfoUserParams

NewServiceBrokerAuthInfoUserParams creates a new ServiceBrokerAuthInfoUserParams 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 NewServiceBrokerAuthInfoUserParamsWithContext

func NewServiceBrokerAuthInfoUserParamsWithContext(ctx context.Context) *ServiceBrokerAuthInfoUserParams

NewServiceBrokerAuthInfoUserParamsWithContext creates a new ServiceBrokerAuthInfoUserParams object with the ability to set a context for a request.

func NewServiceBrokerAuthInfoUserParamsWithHTTPClient

func NewServiceBrokerAuthInfoUserParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoUserParams

NewServiceBrokerAuthInfoUserParamsWithHTTPClient creates a new ServiceBrokerAuthInfoUserParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthInfoUserParamsWithTimeout

func NewServiceBrokerAuthInfoUserParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoUserParams

NewServiceBrokerAuthInfoUserParamsWithTimeout creates a new ServiceBrokerAuthInfoUserParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthInfoUserParams) SetContext

func (o *ServiceBrokerAuthInfoUserParams) SetContext(ctx context.Context)

SetContext adds the context to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) SetDefaults

func (o *ServiceBrokerAuthInfoUserParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth info user params (not the query body).

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

func (*ServiceBrokerAuthInfoUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) WithContext

WithContext adds the context to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) WithDefaults

WithDefaults hydrates default values in the service broker auth info user params (not the query body).

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

func (*ServiceBrokerAuthInfoUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) WithTimeout

WithTimeout adds the timeout to the service broker auth info user params

func (*ServiceBrokerAuthInfoUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthInfoUserReader

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

ServiceBrokerAuthInfoUserReader is a Reader for the ServiceBrokerAuthInfoUser structure.

func (*ServiceBrokerAuthInfoUserReader) ReadResponse

func (o *ServiceBrokerAuthInfoUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthLoginInternalServerError

type ServiceBrokerAuthLoginInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthLoginInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthLoginInternalServerError

func NewServiceBrokerAuthLoginInternalServerError() *ServiceBrokerAuthLoginInternalServerError

NewServiceBrokerAuthLoginInternalServerError creates a ServiceBrokerAuthLoginInternalServerError with default headers values

func (*ServiceBrokerAuthLoginInternalServerError) Code

Code gets the status code for the service broker auth login internal server error response

func (*ServiceBrokerAuthLoginInternalServerError) Error

func (*ServiceBrokerAuthLoginInternalServerError) GetPayload

func (*ServiceBrokerAuthLoginInternalServerError) IsClientError

IsClientError returns true when this service broker auth login internal server error response has a 4xx status code

func (*ServiceBrokerAuthLoginInternalServerError) IsCode

IsCode returns true when this service broker auth login internal server error response a status code equal to that given

func (*ServiceBrokerAuthLoginInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth login internal server error response has a 3xx status code

func (*ServiceBrokerAuthLoginInternalServerError) IsServerError

IsServerError returns true when this service broker auth login internal server error response has a 5xx status code

func (*ServiceBrokerAuthLoginInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth login internal server error response has a 2xx status code

func (*ServiceBrokerAuthLoginInternalServerError) String

type ServiceBrokerAuthLoginOK

type ServiceBrokerAuthLoginOK struct {
	Payload *models.AccessToken
}

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

OK

func NewServiceBrokerAuthLoginOK

func NewServiceBrokerAuthLoginOK() *ServiceBrokerAuthLoginOK

NewServiceBrokerAuthLoginOK creates a ServiceBrokerAuthLoginOK with default headers values

func (*ServiceBrokerAuthLoginOK) Code

func (o *ServiceBrokerAuthLoginOK) Code() int

Code gets the status code for the service broker auth login o k response

func (*ServiceBrokerAuthLoginOK) Error

func (o *ServiceBrokerAuthLoginOK) Error() string

func (*ServiceBrokerAuthLoginOK) GetPayload

func (o *ServiceBrokerAuthLoginOK) GetPayload() *models.AccessToken

func (*ServiceBrokerAuthLoginOK) IsClientError

func (o *ServiceBrokerAuthLoginOK) IsClientError() bool

IsClientError returns true when this service broker auth login o k response has a 4xx status code

func (*ServiceBrokerAuthLoginOK) IsCode

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

IsCode returns true when this service broker auth login o k response a status code equal to that given

func (*ServiceBrokerAuthLoginOK) IsRedirect

func (o *ServiceBrokerAuthLoginOK) IsRedirect() bool

IsRedirect returns true when this service broker auth login o k response has a 3xx status code

func (*ServiceBrokerAuthLoginOK) IsServerError

func (o *ServiceBrokerAuthLoginOK) IsServerError() bool

IsServerError returns true when this service broker auth login o k response has a 5xx status code

func (*ServiceBrokerAuthLoginOK) IsSuccess

func (o *ServiceBrokerAuthLoginOK) IsSuccess() bool

IsSuccess returns true when this service broker auth login o k response has a 2xx status code

func (*ServiceBrokerAuthLoginOK) String

func (o *ServiceBrokerAuthLoginOK) String() string

type ServiceBrokerAuthLoginParams

type ServiceBrokerAuthLoginParams struct {

	/* AccessType.

	   Determines if a refresh token is returned

	   Default: "online"
	*/
	AccessType *string

	/* RedirectURL.

	   The URL to redirect to after login/registration
	*/
	RedirectURL *string

	/* UserID.

	   The user id of the user
	*/
	UserID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthLoginParams contains all the parameters to send to the API endpoint

for the service broker auth login operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthLoginParams

func NewServiceBrokerAuthLoginParams() *ServiceBrokerAuthLoginParams

NewServiceBrokerAuthLoginParams creates a new ServiceBrokerAuthLoginParams 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 NewServiceBrokerAuthLoginParamsWithContext

func NewServiceBrokerAuthLoginParamsWithContext(ctx context.Context) *ServiceBrokerAuthLoginParams

NewServiceBrokerAuthLoginParamsWithContext creates a new ServiceBrokerAuthLoginParams object with the ability to set a context for a request.

func NewServiceBrokerAuthLoginParamsWithHTTPClient

func NewServiceBrokerAuthLoginParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthLoginParams

NewServiceBrokerAuthLoginParamsWithHTTPClient creates a new ServiceBrokerAuthLoginParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthLoginParamsWithTimeout

func NewServiceBrokerAuthLoginParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthLoginParams

NewServiceBrokerAuthLoginParamsWithTimeout creates a new ServiceBrokerAuthLoginParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthLoginParams) SetAccessType

func (o *ServiceBrokerAuthLoginParams) SetAccessType(accessType *string)

SetAccessType adds the accessType to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetContext

func (o *ServiceBrokerAuthLoginParams) SetContext(ctx context.Context)

SetContext adds the context to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetDefaults

func (o *ServiceBrokerAuthLoginParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth login params (not the query body).

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

func (*ServiceBrokerAuthLoginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetRedirectURL

func (o *ServiceBrokerAuthLoginParams) SetRedirectURL(redirectURL *string)

SetRedirectURL adds the redirectUrl to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) SetUserID

func (o *ServiceBrokerAuthLoginParams) SetUserID(userID *string)

SetUserID adds the userId to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithAccessType

func (o *ServiceBrokerAuthLoginParams) WithAccessType(accessType *string) *ServiceBrokerAuthLoginParams

WithAccessType adds the accessType to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithContext

WithContext adds the context to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithDefaults

WithDefaults hydrates default values in the service broker auth login params (not the query body).

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

func (*ServiceBrokerAuthLoginParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithRedirectURL

func (o *ServiceBrokerAuthLoginParams) WithRedirectURL(redirectURL *string) *ServiceBrokerAuthLoginParams

WithRedirectURL adds the redirectURL to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithTimeout

WithTimeout adds the timeout to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WithUserID

WithUserID adds the userID to the service broker auth login params

func (*ServiceBrokerAuthLoginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthLoginReader

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

ServiceBrokerAuthLoginReader is a Reader for the ServiceBrokerAuthLogin structure.

func (*ServiceBrokerAuthLoginReader) ReadResponse

func (o *ServiceBrokerAuthLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthLoginUnauthorized

type ServiceBrokerAuthLoginUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerAuthLoginUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewServiceBrokerAuthLoginUnauthorized

func NewServiceBrokerAuthLoginUnauthorized() *ServiceBrokerAuthLoginUnauthorized

NewServiceBrokerAuthLoginUnauthorized creates a ServiceBrokerAuthLoginUnauthorized with default headers values

func (*ServiceBrokerAuthLoginUnauthorized) Code

Code gets the status code for the service broker auth login unauthorized response

func (*ServiceBrokerAuthLoginUnauthorized) Error

func (*ServiceBrokerAuthLoginUnauthorized) GetPayload

func (*ServiceBrokerAuthLoginUnauthorized) IsClientError

func (o *ServiceBrokerAuthLoginUnauthorized) IsClientError() bool

IsClientError returns true when this service broker auth login unauthorized response has a 4xx status code

func (*ServiceBrokerAuthLoginUnauthorized) IsCode

IsCode returns true when this service broker auth login unauthorized response a status code equal to that given

func (*ServiceBrokerAuthLoginUnauthorized) IsRedirect

func (o *ServiceBrokerAuthLoginUnauthorized) IsRedirect() bool

IsRedirect returns true when this service broker auth login unauthorized response has a 3xx status code

func (*ServiceBrokerAuthLoginUnauthorized) IsServerError

func (o *ServiceBrokerAuthLoginUnauthorized) IsServerError() bool

IsServerError returns true when this service broker auth login unauthorized response has a 5xx status code

func (*ServiceBrokerAuthLoginUnauthorized) IsSuccess

IsSuccess returns true when this service broker auth login unauthorized response has a 2xx status code

func (*ServiceBrokerAuthLoginUnauthorized) String

type ServiceBrokerAuthLogoutInternalServerError

type ServiceBrokerAuthLogoutInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthLogoutInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthLogoutInternalServerError

func NewServiceBrokerAuthLogoutInternalServerError() *ServiceBrokerAuthLogoutInternalServerError

NewServiceBrokerAuthLogoutInternalServerError creates a ServiceBrokerAuthLogoutInternalServerError with default headers values

func (*ServiceBrokerAuthLogoutInternalServerError) Code

Code gets the status code for the service broker auth logout internal server error response

func (*ServiceBrokerAuthLogoutInternalServerError) Error

func (*ServiceBrokerAuthLogoutInternalServerError) GetPayload

func (*ServiceBrokerAuthLogoutInternalServerError) IsClientError

IsClientError returns true when this service broker auth logout internal server error response has a 4xx status code

func (*ServiceBrokerAuthLogoutInternalServerError) IsCode

IsCode returns true when this service broker auth logout internal server error response a status code equal to that given

func (*ServiceBrokerAuthLogoutInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth logout internal server error response has a 3xx status code

func (*ServiceBrokerAuthLogoutInternalServerError) IsServerError

IsServerError returns true when this service broker auth logout internal server error response has a 5xx status code

func (*ServiceBrokerAuthLogoutInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth logout internal server error response has a 2xx status code

func (*ServiceBrokerAuthLogoutInternalServerError) String

type ServiceBrokerAuthLogoutOK

type ServiceBrokerAuthLogoutOK struct {
	Payload models.Object
}

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

OK

func NewServiceBrokerAuthLogoutOK

func NewServiceBrokerAuthLogoutOK() *ServiceBrokerAuthLogoutOK

NewServiceBrokerAuthLogoutOK creates a ServiceBrokerAuthLogoutOK with default headers values

func (*ServiceBrokerAuthLogoutOK) Code

func (o *ServiceBrokerAuthLogoutOK) Code() int

Code gets the status code for the service broker auth logout o k response

func (*ServiceBrokerAuthLogoutOK) Error

func (o *ServiceBrokerAuthLogoutOK) Error() string

func (*ServiceBrokerAuthLogoutOK) GetPayload

func (o *ServiceBrokerAuthLogoutOK) GetPayload() models.Object

func (*ServiceBrokerAuthLogoutOK) IsClientError

func (o *ServiceBrokerAuthLogoutOK) IsClientError() bool

IsClientError returns true when this service broker auth logout o k response has a 4xx status code

func (*ServiceBrokerAuthLogoutOK) IsCode

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

IsCode returns true when this service broker auth logout o k response a status code equal to that given

func (*ServiceBrokerAuthLogoutOK) IsRedirect

func (o *ServiceBrokerAuthLogoutOK) IsRedirect() bool

IsRedirect returns true when this service broker auth logout o k response has a 3xx status code

func (*ServiceBrokerAuthLogoutOK) IsServerError

func (o *ServiceBrokerAuthLogoutOK) IsServerError() bool

IsServerError returns true when this service broker auth logout o k response has a 5xx status code

func (*ServiceBrokerAuthLogoutOK) IsSuccess

func (o *ServiceBrokerAuthLogoutOK) IsSuccess() bool

IsSuccess returns true when this service broker auth logout o k response has a 2xx status code

func (*ServiceBrokerAuthLogoutOK) String

func (o *ServiceBrokerAuthLogoutOK) String() string

type ServiceBrokerAuthLogoutParams

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

ServiceBrokerAuthLogoutParams contains all the parameters to send to the API endpoint

for the service broker auth logout operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthLogoutParams

func NewServiceBrokerAuthLogoutParams() *ServiceBrokerAuthLogoutParams

NewServiceBrokerAuthLogoutParams creates a new ServiceBrokerAuthLogoutParams 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 NewServiceBrokerAuthLogoutParamsWithContext

func NewServiceBrokerAuthLogoutParamsWithContext(ctx context.Context) *ServiceBrokerAuthLogoutParams

NewServiceBrokerAuthLogoutParamsWithContext creates a new ServiceBrokerAuthLogoutParams object with the ability to set a context for a request.

func NewServiceBrokerAuthLogoutParamsWithHTTPClient

func NewServiceBrokerAuthLogoutParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthLogoutParams

NewServiceBrokerAuthLogoutParamsWithHTTPClient creates a new ServiceBrokerAuthLogoutParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthLogoutParamsWithTimeout

func NewServiceBrokerAuthLogoutParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthLogoutParams

NewServiceBrokerAuthLogoutParamsWithTimeout creates a new ServiceBrokerAuthLogoutParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthLogoutParams) SetContext

func (o *ServiceBrokerAuthLogoutParams) SetContext(ctx context.Context)

SetContext adds the context to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) SetDefaults

func (o *ServiceBrokerAuthLogoutParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth logout params (not the query body).

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

func (*ServiceBrokerAuthLogoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) WithContext

WithContext adds the context to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) WithDefaults

WithDefaults hydrates default values in the service broker auth logout params (not the query body).

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

func (*ServiceBrokerAuthLogoutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) WithTimeout

WithTimeout adds the timeout to the service broker auth logout params

func (*ServiceBrokerAuthLogoutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthLogoutReader

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

ServiceBrokerAuthLogoutReader is a Reader for the ServiceBrokerAuthLogout structure.

func (*ServiceBrokerAuthLogoutReader) ReadResponse

func (o *ServiceBrokerAuthLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthRegistrationCallbackInternalServerError

type ServiceBrokerAuthRegistrationCallbackInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthRegistrationCallbackInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthRegistrationCallbackInternalServerError

func NewServiceBrokerAuthRegistrationCallbackInternalServerError() *ServiceBrokerAuthRegistrationCallbackInternalServerError

NewServiceBrokerAuthRegistrationCallbackInternalServerError creates a ServiceBrokerAuthRegistrationCallbackInternalServerError with default headers values

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) Code

Code gets the status code for the service broker auth registration callback internal server error response

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) Error

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) GetPayload

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsClientError

IsClientError returns true when this service broker auth registration callback internal server error response has a 4xx status code

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsCode

IsCode returns true when this service broker auth registration callback internal server error response a status code equal to that given

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth registration callback internal server error response has a 3xx status code

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsServerError

IsServerError returns true when this service broker auth registration callback internal server error response has a 5xx status code

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth registration callback internal server error response has a 2xx status code

func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) String

type ServiceBrokerAuthRegistrationCallbackOK

type ServiceBrokerAuthRegistrationCallbackOK struct {
	Payload *models.AccessToken
}

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

OK

func NewServiceBrokerAuthRegistrationCallbackOK

func NewServiceBrokerAuthRegistrationCallbackOK() *ServiceBrokerAuthRegistrationCallbackOK

NewServiceBrokerAuthRegistrationCallbackOK creates a ServiceBrokerAuthRegistrationCallbackOK with default headers values

func (*ServiceBrokerAuthRegistrationCallbackOK) Code

Code gets the status code for the service broker auth registration callback o k response

func (*ServiceBrokerAuthRegistrationCallbackOK) Error

func (*ServiceBrokerAuthRegistrationCallbackOK) GetPayload

func (*ServiceBrokerAuthRegistrationCallbackOK) IsClientError

func (o *ServiceBrokerAuthRegistrationCallbackOK) IsClientError() bool

IsClientError returns true when this service broker auth registration callback o k response has a 4xx status code

func (*ServiceBrokerAuthRegistrationCallbackOK) IsCode

IsCode returns true when this service broker auth registration callback o k response a status code equal to that given

func (*ServiceBrokerAuthRegistrationCallbackOK) IsRedirect

IsRedirect returns true when this service broker auth registration callback o k response has a 3xx status code

func (*ServiceBrokerAuthRegistrationCallbackOK) IsServerError

func (o *ServiceBrokerAuthRegistrationCallbackOK) IsServerError() bool

IsServerError returns true when this service broker auth registration callback o k response has a 5xx status code

func (*ServiceBrokerAuthRegistrationCallbackOK) IsSuccess

IsSuccess returns true when this service broker auth registration callback o k response has a 2xx status code

func (*ServiceBrokerAuthRegistrationCallbackOK) String

type ServiceBrokerAuthRegistrationCallbackParams

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

ServiceBrokerAuthRegistrationCallbackParams contains all the parameters to send to the API endpoint

for the service broker auth registration callback operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthRegistrationCallbackParams

func NewServiceBrokerAuthRegistrationCallbackParams() *ServiceBrokerAuthRegistrationCallbackParams

NewServiceBrokerAuthRegistrationCallbackParams creates a new ServiceBrokerAuthRegistrationCallbackParams 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 NewServiceBrokerAuthRegistrationCallbackParamsWithContext

func NewServiceBrokerAuthRegistrationCallbackParamsWithContext(ctx context.Context) *ServiceBrokerAuthRegistrationCallbackParams

NewServiceBrokerAuthRegistrationCallbackParamsWithContext creates a new ServiceBrokerAuthRegistrationCallbackParams object with the ability to set a context for a request.

func NewServiceBrokerAuthRegistrationCallbackParamsWithHTTPClient

func NewServiceBrokerAuthRegistrationCallbackParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationCallbackParams

NewServiceBrokerAuthRegistrationCallbackParamsWithHTTPClient creates a new ServiceBrokerAuthRegistrationCallbackParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthRegistrationCallbackParamsWithTimeout

func NewServiceBrokerAuthRegistrationCallbackParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationCallbackParams

NewServiceBrokerAuthRegistrationCallbackParamsWithTimeout creates a new ServiceBrokerAuthRegistrationCallbackParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthRegistrationCallbackParams) SetContext

SetContext adds the context to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) SetDefaults

SetDefaults hydrates default values in the service broker auth registration callback params (not the query body).

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

func (*ServiceBrokerAuthRegistrationCallbackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) SetTimeout

SetTimeout adds the timeout to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) WithContext

WithContext adds the context to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) WithDefaults

WithDefaults hydrates default values in the service broker auth registration callback params (not the query body).

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

func (*ServiceBrokerAuthRegistrationCallbackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) WithTimeout

WithTimeout adds the timeout to the service broker auth registration callback params

func (*ServiceBrokerAuthRegistrationCallbackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthRegistrationCallbackReader

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

ServiceBrokerAuthRegistrationCallbackReader is a Reader for the ServiceBrokerAuthRegistrationCallback structure.

func (*ServiceBrokerAuthRegistrationCallbackReader) ReadResponse

func (o *ServiceBrokerAuthRegistrationCallbackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthRegistrationCallbackUnauthorized

type ServiceBrokerAuthRegistrationCallbackUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerAuthRegistrationCallbackUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewServiceBrokerAuthRegistrationCallbackUnauthorized

func NewServiceBrokerAuthRegistrationCallbackUnauthorized() *ServiceBrokerAuthRegistrationCallbackUnauthorized

NewServiceBrokerAuthRegistrationCallbackUnauthorized creates a ServiceBrokerAuthRegistrationCallbackUnauthorized with default headers values

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) Code

Code gets the status code for the service broker auth registration callback unauthorized response

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) Error

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) GetPayload

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsClientError

IsClientError returns true when this service broker auth registration callback unauthorized response has a 4xx status code

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsCode

IsCode returns true when this service broker auth registration callback unauthorized response a status code equal to that given

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsRedirect

IsRedirect returns true when this service broker auth registration callback unauthorized response has a 3xx status code

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsServerError

IsServerError returns true when this service broker auth registration callback unauthorized response has a 5xx status code

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsSuccess

IsSuccess returns true when this service broker auth registration callback unauthorized response has a 2xx status code

func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) String

type ServiceBrokerAuthRegistrationInternalServerError

type ServiceBrokerAuthRegistrationInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthRegistrationInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthRegistrationInternalServerError

func NewServiceBrokerAuthRegistrationInternalServerError() *ServiceBrokerAuthRegistrationInternalServerError

NewServiceBrokerAuthRegistrationInternalServerError creates a ServiceBrokerAuthRegistrationInternalServerError with default headers values

func (*ServiceBrokerAuthRegistrationInternalServerError) Code

Code gets the status code for the service broker auth registration internal server error response

func (*ServiceBrokerAuthRegistrationInternalServerError) Error

func (*ServiceBrokerAuthRegistrationInternalServerError) GetPayload

func (*ServiceBrokerAuthRegistrationInternalServerError) IsClientError

IsClientError returns true when this service broker auth registration internal server error response has a 4xx status code

func (*ServiceBrokerAuthRegistrationInternalServerError) IsCode

IsCode returns true when this service broker auth registration internal server error response a status code equal to that given

func (*ServiceBrokerAuthRegistrationInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth registration internal server error response has a 3xx status code

func (*ServiceBrokerAuthRegistrationInternalServerError) IsServerError

IsServerError returns true when this service broker auth registration internal server error response has a 5xx status code

func (*ServiceBrokerAuthRegistrationInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth registration internal server error response has a 2xx status code

func (*ServiceBrokerAuthRegistrationInternalServerError) String

type ServiceBrokerAuthRegistrationOK

type ServiceBrokerAuthRegistrationOK struct {
	Payload *models.AccessToken
}

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

OK

func NewServiceBrokerAuthRegistrationOK

func NewServiceBrokerAuthRegistrationOK() *ServiceBrokerAuthRegistrationOK

NewServiceBrokerAuthRegistrationOK creates a ServiceBrokerAuthRegistrationOK with default headers values

func (*ServiceBrokerAuthRegistrationOK) Code

Code gets the status code for the service broker auth registration o k response

func (*ServiceBrokerAuthRegistrationOK) Error

func (*ServiceBrokerAuthRegistrationOK) GetPayload

func (*ServiceBrokerAuthRegistrationOK) IsClientError

func (o *ServiceBrokerAuthRegistrationOK) IsClientError() bool

IsClientError returns true when this service broker auth registration o k response has a 4xx status code

func (*ServiceBrokerAuthRegistrationOK) IsCode

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

IsCode returns true when this service broker auth registration o k response a status code equal to that given

func (*ServiceBrokerAuthRegistrationOK) IsRedirect

func (o *ServiceBrokerAuthRegistrationOK) IsRedirect() bool

IsRedirect returns true when this service broker auth registration o k response has a 3xx status code

func (*ServiceBrokerAuthRegistrationOK) IsServerError

func (o *ServiceBrokerAuthRegistrationOK) IsServerError() bool

IsServerError returns true when this service broker auth registration o k response has a 5xx status code

func (*ServiceBrokerAuthRegistrationOK) IsSuccess

func (o *ServiceBrokerAuthRegistrationOK) IsSuccess() bool

IsSuccess returns true when this service broker auth registration o k response has a 2xx status code

func (*ServiceBrokerAuthRegistrationOK) String

type ServiceBrokerAuthRegistrationParams

type ServiceBrokerAuthRegistrationParams struct {

	/* EntitlementID.

	   Entitlement ID of for this tenant
	*/
	EntitlementID string

	/* Icn.

	   IBM Customer Number (ICN) for this tenant
	*/
	Icn string

	/* Plan.

	   Plan for this tenant and entitlement
	*/
	Plan string

	/* RedirectURL.

	   The URL to redirect to after login/registration
	*/
	RedirectURL *string

	/* Regions.

	   An array of regions matching the number of cloud-instances in the plan
	*/
	Regions []string

	/* TenantID.

	   Tenant ID of a pcloud tenant
	*/
	TenantID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthRegistrationParams contains all the parameters to send to the API endpoint

for the service broker auth registration operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthRegistrationParams

func NewServiceBrokerAuthRegistrationParams() *ServiceBrokerAuthRegistrationParams

NewServiceBrokerAuthRegistrationParams creates a new ServiceBrokerAuthRegistrationParams 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 NewServiceBrokerAuthRegistrationParamsWithContext

func NewServiceBrokerAuthRegistrationParamsWithContext(ctx context.Context) *ServiceBrokerAuthRegistrationParams

NewServiceBrokerAuthRegistrationParamsWithContext creates a new ServiceBrokerAuthRegistrationParams object with the ability to set a context for a request.

func NewServiceBrokerAuthRegistrationParamsWithHTTPClient

func NewServiceBrokerAuthRegistrationParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationParams

NewServiceBrokerAuthRegistrationParamsWithHTTPClient creates a new ServiceBrokerAuthRegistrationParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthRegistrationParamsWithTimeout

func NewServiceBrokerAuthRegistrationParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationParams

NewServiceBrokerAuthRegistrationParamsWithTimeout creates a new ServiceBrokerAuthRegistrationParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthRegistrationParams) SetContext

SetContext adds the context to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetDefaults

func (o *ServiceBrokerAuthRegistrationParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth registration params (not the query body).

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

func (*ServiceBrokerAuthRegistrationParams) SetEntitlementID

func (o *ServiceBrokerAuthRegistrationParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetIcn

SetIcn adds the icn to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetPlan

SetPlan adds the plan to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetRedirectURL

func (o *ServiceBrokerAuthRegistrationParams) SetRedirectURL(redirectURL *string)

SetRedirectURL adds the redirectUrl to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetRegions

func (o *ServiceBrokerAuthRegistrationParams) SetRegions(regions []string)

SetRegions adds the regions to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetTenantID

func (o *ServiceBrokerAuthRegistrationParams) SetTenantID(tenantID string)

SetTenantID adds the tenantId to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithContext

WithContext adds the context to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithDefaults

WithDefaults hydrates default values in the service broker auth registration params (not the query body).

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

func (*ServiceBrokerAuthRegistrationParams) WithEntitlementID

WithEntitlementID adds the entitlementID to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithIcn

WithIcn adds the icn to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithPlan

WithPlan adds the plan to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithRedirectURL

WithRedirectURL adds the redirectURL to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithRegions

WithRegions adds the regions to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithTenantID

WithTenantID adds the tenantID to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WithTimeout

WithTimeout adds the timeout to the service broker auth registration params

func (*ServiceBrokerAuthRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthRegistrationReader

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

ServiceBrokerAuthRegistrationReader is a Reader for the ServiceBrokerAuthRegistration structure.

func (*ServiceBrokerAuthRegistrationReader) ReadResponse

func (o *ServiceBrokerAuthRegistrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthRegistrationUnauthorized

type ServiceBrokerAuthRegistrationUnauthorized struct {
	Payload *models.Error
}

ServiceBrokerAuthRegistrationUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewServiceBrokerAuthRegistrationUnauthorized

func NewServiceBrokerAuthRegistrationUnauthorized() *ServiceBrokerAuthRegistrationUnauthorized

NewServiceBrokerAuthRegistrationUnauthorized creates a ServiceBrokerAuthRegistrationUnauthorized with default headers values

func (*ServiceBrokerAuthRegistrationUnauthorized) Code

Code gets the status code for the service broker auth registration unauthorized response

func (*ServiceBrokerAuthRegistrationUnauthorized) Error

func (*ServiceBrokerAuthRegistrationUnauthorized) GetPayload

func (*ServiceBrokerAuthRegistrationUnauthorized) IsClientError

IsClientError returns true when this service broker auth registration unauthorized response has a 4xx status code

func (*ServiceBrokerAuthRegistrationUnauthorized) IsCode

IsCode returns true when this service broker auth registration unauthorized response a status code equal to that given

func (*ServiceBrokerAuthRegistrationUnauthorized) IsRedirect

IsRedirect returns true when this service broker auth registration unauthorized response has a 3xx status code

func (*ServiceBrokerAuthRegistrationUnauthorized) IsServerError

IsServerError returns true when this service broker auth registration unauthorized response has a 5xx status code

func (*ServiceBrokerAuthRegistrationUnauthorized) IsSuccess

IsSuccess returns true when this service broker auth registration unauthorized response has a 2xx status code

func (*ServiceBrokerAuthRegistrationUnauthorized) String

type ServiceBrokerAuthTokenPostBadRequest

type ServiceBrokerAuthTokenPostBadRequest struct {
	Payload *models.Error
}

ServiceBrokerAuthTokenPostBadRequest describes a response with status code 400, with default header values.

Authorization pending

func NewServiceBrokerAuthTokenPostBadRequest

func NewServiceBrokerAuthTokenPostBadRequest() *ServiceBrokerAuthTokenPostBadRequest

NewServiceBrokerAuthTokenPostBadRequest creates a ServiceBrokerAuthTokenPostBadRequest with default headers values

func (*ServiceBrokerAuthTokenPostBadRequest) Code

Code gets the status code for the service broker auth token post bad request response

func (*ServiceBrokerAuthTokenPostBadRequest) Error

func (*ServiceBrokerAuthTokenPostBadRequest) GetPayload

func (*ServiceBrokerAuthTokenPostBadRequest) IsClientError

func (o *ServiceBrokerAuthTokenPostBadRequest) IsClientError() bool

IsClientError returns true when this service broker auth token post bad request response has a 4xx status code

func (*ServiceBrokerAuthTokenPostBadRequest) IsCode

IsCode returns true when this service broker auth token post bad request response a status code equal to that given

func (*ServiceBrokerAuthTokenPostBadRequest) IsRedirect

IsRedirect returns true when this service broker auth token post bad request response has a 3xx status code

func (*ServiceBrokerAuthTokenPostBadRequest) IsServerError

func (o *ServiceBrokerAuthTokenPostBadRequest) IsServerError() bool

IsServerError returns true when this service broker auth token post bad request response has a 5xx status code

func (*ServiceBrokerAuthTokenPostBadRequest) IsSuccess

IsSuccess returns true when this service broker auth token post bad request response has a 2xx status code

func (*ServiceBrokerAuthTokenPostBadRequest) String

type ServiceBrokerAuthTokenPostForbidden

type ServiceBrokerAuthTokenPostForbidden struct {
	Payload *models.Error
}

ServiceBrokerAuthTokenPostForbidden describes a response with status code 403, with default header values.

User refused grant

func NewServiceBrokerAuthTokenPostForbidden

func NewServiceBrokerAuthTokenPostForbidden() *ServiceBrokerAuthTokenPostForbidden

NewServiceBrokerAuthTokenPostForbidden creates a ServiceBrokerAuthTokenPostForbidden with default headers values

func (*ServiceBrokerAuthTokenPostForbidden) Code

Code gets the status code for the service broker auth token post forbidden response

func (*ServiceBrokerAuthTokenPostForbidden) Error

func (*ServiceBrokerAuthTokenPostForbidden) GetPayload

func (*ServiceBrokerAuthTokenPostForbidden) IsClientError

func (o *ServiceBrokerAuthTokenPostForbidden) IsClientError() bool

IsClientError returns true when this service broker auth token post forbidden response has a 4xx status code

func (*ServiceBrokerAuthTokenPostForbidden) IsCode

IsCode returns true when this service broker auth token post forbidden response a status code equal to that given

func (*ServiceBrokerAuthTokenPostForbidden) IsRedirect

func (o *ServiceBrokerAuthTokenPostForbidden) IsRedirect() bool

IsRedirect returns true when this service broker auth token post forbidden response has a 3xx status code

func (*ServiceBrokerAuthTokenPostForbidden) IsServerError

func (o *ServiceBrokerAuthTokenPostForbidden) IsServerError() bool

IsServerError returns true when this service broker auth token post forbidden response has a 5xx status code

func (*ServiceBrokerAuthTokenPostForbidden) IsSuccess

IsSuccess returns true when this service broker auth token post forbidden response has a 2xx status code

func (*ServiceBrokerAuthTokenPostForbidden) String

type ServiceBrokerAuthTokenPostInternalServerError

type ServiceBrokerAuthTokenPostInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerAuthTokenPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerAuthTokenPostInternalServerError

func NewServiceBrokerAuthTokenPostInternalServerError() *ServiceBrokerAuthTokenPostInternalServerError

NewServiceBrokerAuthTokenPostInternalServerError creates a ServiceBrokerAuthTokenPostInternalServerError with default headers values

func (*ServiceBrokerAuthTokenPostInternalServerError) Code

Code gets the status code for the service broker auth token post internal server error response

func (*ServiceBrokerAuthTokenPostInternalServerError) Error

func (*ServiceBrokerAuthTokenPostInternalServerError) GetPayload

func (*ServiceBrokerAuthTokenPostInternalServerError) IsClientError

IsClientError returns true when this service broker auth token post internal server error response has a 4xx status code

func (*ServiceBrokerAuthTokenPostInternalServerError) IsCode

IsCode returns true when this service broker auth token post internal server error response a status code equal to that given

func (*ServiceBrokerAuthTokenPostInternalServerError) IsRedirect

IsRedirect returns true when this service broker auth token post internal server error response has a 3xx status code

func (*ServiceBrokerAuthTokenPostInternalServerError) IsServerError

IsServerError returns true when this service broker auth token post internal server error response has a 5xx status code

func (*ServiceBrokerAuthTokenPostInternalServerError) IsSuccess

IsSuccess returns true when this service broker auth token post internal server error response has a 2xx status code

func (*ServiceBrokerAuthTokenPostInternalServerError) String

type ServiceBrokerAuthTokenPostOK

type ServiceBrokerAuthTokenPostOK struct {
	Payload *models.Token
}

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

OK

func NewServiceBrokerAuthTokenPostOK

func NewServiceBrokerAuthTokenPostOK() *ServiceBrokerAuthTokenPostOK

NewServiceBrokerAuthTokenPostOK creates a ServiceBrokerAuthTokenPostOK with default headers values

func (*ServiceBrokerAuthTokenPostOK) Code

Code gets the status code for the service broker auth token post o k response

func (*ServiceBrokerAuthTokenPostOK) Error

func (*ServiceBrokerAuthTokenPostOK) GetPayload

func (o *ServiceBrokerAuthTokenPostOK) GetPayload() *models.Token

func (*ServiceBrokerAuthTokenPostOK) IsClientError

func (o *ServiceBrokerAuthTokenPostOK) IsClientError() bool

IsClientError returns true when this service broker auth token post o k response has a 4xx status code

func (*ServiceBrokerAuthTokenPostOK) IsCode

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

IsCode returns true when this service broker auth token post o k response a status code equal to that given

func (*ServiceBrokerAuthTokenPostOK) IsRedirect

func (o *ServiceBrokerAuthTokenPostOK) IsRedirect() bool

IsRedirect returns true when this service broker auth token post o k response has a 3xx status code

func (*ServiceBrokerAuthTokenPostOK) IsServerError

func (o *ServiceBrokerAuthTokenPostOK) IsServerError() bool

IsServerError returns true when this service broker auth token post o k response has a 5xx status code

func (*ServiceBrokerAuthTokenPostOK) IsSuccess

func (o *ServiceBrokerAuthTokenPostOK) IsSuccess() bool

IsSuccess returns true when this service broker auth token post o k response has a 2xx status code

func (*ServiceBrokerAuthTokenPostOK) String

type ServiceBrokerAuthTokenPostParams

type ServiceBrokerAuthTokenPostParams struct {

	/* Body.

	   Parameters for requesting a new Token from a Refresh Token
	*/
	Body *models.TokenRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerAuthTokenPostParams contains all the parameters to send to the API endpoint

for the service broker auth token post operation.

Typically these are written to a http.Request.

func NewServiceBrokerAuthTokenPostParams

func NewServiceBrokerAuthTokenPostParams() *ServiceBrokerAuthTokenPostParams

NewServiceBrokerAuthTokenPostParams creates a new ServiceBrokerAuthTokenPostParams 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 NewServiceBrokerAuthTokenPostParamsWithContext

func NewServiceBrokerAuthTokenPostParamsWithContext(ctx context.Context) *ServiceBrokerAuthTokenPostParams

NewServiceBrokerAuthTokenPostParamsWithContext creates a new ServiceBrokerAuthTokenPostParams object with the ability to set a context for a request.

func NewServiceBrokerAuthTokenPostParamsWithHTTPClient

func NewServiceBrokerAuthTokenPostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthTokenPostParams

NewServiceBrokerAuthTokenPostParamsWithHTTPClient creates a new ServiceBrokerAuthTokenPostParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerAuthTokenPostParamsWithTimeout

func NewServiceBrokerAuthTokenPostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthTokenPostParams

NewServiceBrokerAuthTokenPostParamsWithTimeout creates a new ServiceBrokerAuthTokenPostParams object with the ability to set a timeout on a request.

func (*ServiceBrokerAuthTokenPostParams) SetBody

SetBody adds the body to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) SetContext

SetContext adds the context to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) SetDefaults

func (o *ServiceBrokerAuthTokenPostParams) SetDefaults()

SetDefaults hydrates default values in the service broker auth token post params (not the query body).

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

func (*ServiceBrokerAuthTokenPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) SetTimeout

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

SetTimeout adds the timeout to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WithBody

WithBody adds the body to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WithContext

WithContext adds the context to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WithDefaults

WithDefaults hydrates default values in the service broker auth token post params (not the query body).

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

func (*ServiceBrokerAuthTokenPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WithTimeout

WithTimeout adds the timeout to the service broker auth token post params

func (*ServiceBrokerAuthTokenPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerAuthTokenPostReader

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

ServiceBrokerAuthTokenPostReader is a Reader for the ServiceBrokerAuthTokenPost structure.

func (*ServiceBrokerAuthTokenPostReader) ReadResponse

func (o *ServiceBrokerAuthTokenPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerAuthTokenPostTooManyRequests

type ServiceBrokerAuthTokenPostTooManyRequests struct {
	Payload *models.Error
}

ServiceBrokerAuthTokenPostTooManyRequests describes a response with status code 429, with default header values.

Polling too frequently

func NewServiceBrokerAuthTokenPostTooManyRequests

func NewServiceBrokerAuthTokenPostTooManyRequests() *ServiceBrokerAuthTokenPostTooManyRequests

NewServiceBrokerAuthTokenPostTooManyRequests creates a ServiceBrokerAuthTokenPostTooManyRequests with default headers values

func (*ServiceBrokerAuthTokenPostTooManyRequests) Code

Code gets the status code for the service broker auth token post too many requests response

func (*ServiceBrokerAuthTokenPostTooManyRequests) Error

func (*ServiceBrokerAuthTokenPostTooManyRequests) GetPayload

func (*ServiceBrokerAuthTokenPostTooManyRequests) IsClientError

IsClientError returns true when this service broker auth token post too many requests response has a 4xx status code

func (*ServiceBrokerAuthTokenPostTooManyRequests) IsCode

IsCode returns true when this service broker auth token post too many requests response a status code equal to that given

func (*ServiceBrokerAuthTokenPostTooManyRequests) IsRedirect

IsRedirect returns true when this service broker auth token post too many requests response has a 3xx status code

func (*ServiceBrokerAuthTokenPostTooManyRequests) IsServerError

IsServerError returns true when this service broker auth token post too many requests response has a 5xx status code

func (*ServiceBrokerAuthTokenPostTooManyRequests) IsSuccess

IsSuccess returns true when this service broker auth token post too many requests response has a 2xx status code

func (*ServiceBrokerAuthTokenPostTooManyRequests) String

Jump to

Keyboard shortcuts

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