Documentation ¶
Index ¶
- type Client
- func (a *Client) ServiceBrokerAuthCallback(params *ServiceBrokerAuthCallbackParams, opts ...ClientOption) (*ServiceBrokerAuthCallbackOK, error)
- func (a *Client) ServiceBrokerAuthDeviceCodePost(params *ServiceBrokerAuthDeviceCodePostParams, opts ...ClientOption) (*ServiceBrokerAuthDeviceCodePostOK, error)
- func (a *Client) ServiceBrokerAuthDeviceTokenPost(params *ServiceBrokerAuthDeviceTokenPostParams, opts ...ClientOption) (*ServiceBrokerAuthDeviceTokenPostOK, error)
- func (a *Client) ServiceBrokerAuthInfoToken(params *ServiceBrokerAuthInfoTokenParams, ...) (*ServiceBrokerAuthInfoTokenOK, error)
- func (a *Client) ServiceBrokerAuthInfoUser(params *ServiceBrokerAuthInfoUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServiceBrokerAuthInfoUserOK, error)
- func (a *Client) ServiceBrokerAuthLogin(params *ServiceBrokerAuthLoginParams, opts ...ClientOption) (*ServiceBrokerAuthLoginOK, error)
- func (a *Client) ServiceBrokerAuthLogout(params *ServiceBrokerAuthLogoutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServiceBrokerAuthLogoutOK, error)
- func (a *Client) ServiceBrokerAuthRegistration(params *ServiceBrokerAuthRegistrationParams, opts ...ClientOption) (*ServiceBrokerAuthRegistrationOK, error)
- func (a *Client) ServiceBrokerAuthRegistrationCallback(params *ServiceBrokerAuthRegistrationCallbackParams, opts ...ClientOption) (*ServiceBrokerAuthRegistrationCallbackOK, error)
- func (a *Client) ServiceBrokerAuthTokenPost(params *ServiceBrokerAuthTokenPostParams, opts ...ClientOption) (*ServiceBrokerAuthTokenPostOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ServiceBrokerAuthCallbackInternalServerError
- func (o *ServiceBrokerAuthCallbackInternalServerError) Code() int
- func (o *ServiceBrokerAuthCallbackInternalServerError) Error() string
- func (o *ServiceBrokerAuthCallbackInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthCallbackInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthCallbackInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthCallbackInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthCallbackInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthCallbackInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthCallbackInternalServerError) String() string
- type ServiceBrokerAuthCallbackOK
- func (o *ServiceBrokerAuthCallbackOK) Code() int
- func (o *ServiceBrokerAuthCallbackOK) Error() string
- func (o *ServiceBrokerAuthCallbackOK) GetPayload() *models.AccessToken
- func (o *ServiceBrokerAuthCallbackOK) IsClientError() bool
- func (o *ServiceBrokerAuthCallbackOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthCallbackOK) IsRedirect() bool
- func (o *ServiceBrokerAuthCallbackOK) IsServerError() bool
- func (o *ServiceBrokerAuthCallbackOK) IsSuccess() bool
- func (o *ServiceBrokerAuthCallbackOK) String() string
- type ServiceBrokerAuthCallbackParams
- func NewServiceBrokerAuthCallbackParams() *ServiceBrokerAuthCallbackParams
- func NewServiceBrokerAuthCallbackParamsWithContext(ctx context.Context) *ServiceBrokerAuthCallbackParams
- func NewServiceBrokerAuthCallbackParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthCallbackParams
- func NewServiceBrokerAuthCallbackParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthCallbackParams
- func (o *ServiceBrokerAuthCallbackParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthCallbackParams) SetDefaults()
- func (o *ServiceBrokerAuthCallbackParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthCallbackParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthCallbackParams) WithContext(ctx context.Context) *ServiceBrokerAuthCallbackParams
- func (o *ServiceBrokerAuthCallbackParams) WithDefaults() *ServiceBrokerAuthCallbackParams
- func (o *ServiceBrokerAuthCallbackParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthCallbackParams
- func (o *ServiceBrokerAuthCallbackParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthCallbackParams
- func (o *ServiceBrokerAuthCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthCallbackReader
- type ServiceBrokerAuthCallbackUnauthorized
- func (o *ServiceBrokerAuthCallbackUnauthorized) Code() int
- func (o *ServiceBrokerAuthCallbackUnauthorized) Error() string
- func (o *ServiceBrokerAuthCallbackUnauthorized) GetPayload() *models.Error
- func (o *ServiceBrokerAuthCallbackUnauthorized) IsClientError() bool
- func (o *ServiceBrokerAuthCallbackUnauthorized) IsCode(code int) bool
- func (o *ServiceBrokerAuthCallbackUnauthorized) IsRedirect() bool
- func (o *ServiceBrokerAuthCallbackUnauthorized) IsServerError() bool
- func (o *ServiceBrokerAuthCallbackUnauthorized) IsSuccess() bool
- func (o *ServiceBrokerAuthCallbackUnauthorized) String() string
- type ServiceBrokerAuthDeviceCodePostForbidden
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) Code() int
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) Error() string
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) GetPayload() *models.Error
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsClientError() bool
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsCode(code int) bool
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsRedirect() bool
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsServerError() bool
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsSuccess() bool
- func (o *ServiceBrokerAuthDeviceCodePostForbidden) String() string
- type ServiceBrokerAuthDeviceCodePostInternalServerError
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) Code() int
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) Error() string
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) String() string
- type ServiceBrokerAuthDeviceCodePostOK
- func (o *ServiceBrokerAuthDeviceCodePostOK) Code() int
- func (o *ServiceBrokerAuthDeviceCodePostOK) Error() string
- func (o *ServiceBrokerAuthDeviceCodePostOK) GetPayload() *models.DeviceCode
- func (o *ServiceBrokerAuthDeviceCodePostOK) IsClientError() bool
- func (o *ServiceBrokerAuthDeviceCodePostOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthDeviceCodePostOK) IsRedirect() bool
- func (o *ServiceBrokerAuthDeviceCodePostOK) IsServerError() bool
- func (o *ServiceBrokerAuthDeviceCodePostOK) IsSuccess() bool
- func (o *ServiceBrokerAuthDeviceCodePostOK) String() string
- type ServiceBrokerAuthDeviceCodePostParams
- func NewServiceBrokerAuthDeviceCodePostParams() *ServiceBrokerAuthDeviceCodePostParams
- func NewServiceBrokerAuthDeviceCodePostParamsWithContext(ctx context.Context) *ServiceBrokerAuthDeviceCodePostParams
- func NewServiceBrokerAuthDeviceCodePostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceCodePostParams
- func NewServiceBrokerAuthDeviceCodePostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceCodePostParams
- func (o *ServiceBrokerAuthDeviceCodePostParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthDeviceCodePostParams) SetDefaults()
- func (o *ServiceBrokerAuthDeviceCodePostParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthDeviceCodePostParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthDeviceCodePostParams) WithContext(ctx context.Context) *ServiceBrokerAuthDeviceCodePostParams
- func (o *ServiceBrokerAuthDeviceCodePostParams) WithDefaults() *ServiceBrokerAuthDeviceCodePostParams
- func (o *ServiceBrokerAuthDeviceCodePostParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceCodePostParams
- func (o *ServiceBrokerAuthDeviceCodePostParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceCodePostParams
- func (o *ServiceBrokerAuthDeviceCodePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthDeviceCodePostReader
- type ServiceBrokerAuthDeviceTokenPostBadRequest
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) Code() int
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) Error() string
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) GetPayload() *models.Error
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsClientError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsCode(code int) bool
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsRedirect() bool
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsServerError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsSuccess() bool
- func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) String() string
- type ServiceBrokerAuthDeviceTokenPostBody
- func (o *ServiceBrokerAuthDeviceTokenPostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ServiceBrokerAuthDeviceTokenPostBody) MarshalBinary() ([]byte, error)
- func (o *ServiceBrokerAuthDeviceTokenPostBody) UnmarshalBinary(b []byte) error
- func (o *ServiceBrokerAuthDeviceTokenPostBody) Validate(formats strfmt.Registry) error
- type ServiceBrokerAuthDeviceTokenPostForbidden
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) Code() int
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) Error() string
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) GetPayload() *models.Error
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsClientError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsCode(code int) bool
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsRedirect() bool
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsServerError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsSuccess() bool
- func (o *ServiceBrokerAuthDeviceTokenPostForbidden) String() string
- type ServiceBrokerAuthDeviceTokenPostInternalServerError
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) Code() int
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) Error() string
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) String() string
- type ServiceBrokerAuthDeviceTokenPostOK
- func (o *ServiceBrokerAuthDeviceTokenPostOK) Code() int
- func (o *ServiceBrokerAuthDeviceTokenPostOK) Error() string
- func (o *ServiceBrokerAuthDeviceTokenPostOK) GetPayload() *models.Token
- func (o *ServiceBrokerAuthDeviceTokenPostOK) IsClientError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthDeviceTokenPostOK) IsRedirect() bool
- func (o *ServiceBrokerAuthDeviceTokenPostOK) IsServerError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostOK) IsSuccess() bool
- func (o *ServiceBrokerAuthDeviceTokenPostOK) String() string
- type ServiceBrokerAuthDeviceTokenPostParams
- func NewServiceBrokerAuthDeviceTokenPostParams() *ServiceBrokerAuthDeviceTokenPostParams
- func NewServiceBrokerAuthDeviceTokenPostParamsWithContext(ctx context.Context) *ServiceBrokerAuthDeviceTokenPostParams
- func NewServiceBrokerAuthDeviceTokenPostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceTokenPostParams
- func NewServiceBrokerAuthDeviceTokenPostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceTokenPostParams
- func (o *ServiceBrokerAuthDeviceTokenPostParams) SetBody(body ServiceBrokerAuthDeviceTokenPostBody)
- func (o *ServiceBrokerAuthDeviceTokenPostParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthDeviceTokenPostParams) SetDefaults()
- func (o *ServiceBrokerAuthDeviceTokenPostParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthDeviceTokenPostParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthDeviceTokenPostParams) WithBody(body ServiceBrokerAuthDeviceTokenPostBody) *ServiceBrokerAuthDeviceTokenPostParams
- func (o *ServiceBrokerAuthDeviceTokenPostParams) WithContext(ctx context.Context) *ServiceBrokerAuthDeviceTokenPostParams
- func (o *ServiceBrokerAuthDeviceTokenPostParams) WithDefaults() *ServiceBrokerAuthDeviceTokenPostParams
- func (o *ServiceBrokerAuthDeviceTokenPostParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceTokenPostParams
- func (o *ServiceBrokerAuthDeviceTokenPostParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceTokenPostParams
- func (o *ServiceBrokerAuthDeviceTokenPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthDeviceTokenPostReader
- type ServiceBrokerAuthDeviceTokenPostTooManyRequests
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) Code() int
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) Error() string
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) GetPayload() *models.Error
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsClientError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsCode(code int) bool
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsRedirect() bool
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsServerError() bool
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsSuccess() bool
- func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) String() string
- type ServiceBrokerAuthInfoTokenInternalServerError
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) Code() int
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) Error() string
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthInfoTokenInternalServerError) String() string
- type ServiceBrokerAuthInfoTokenOK
- func (o *ServiceBrokerAuthInfoTokenOK) Code() int
- func (o *ServiceBrokerAuthInfoTokenOK) Error() string
- func (o *ServiceBrokerAuthInfoTokenOK) GetPayload() *models.TokenExtra
- func (o *ServiceBrokerAuthInfoTokenOK) IsClientError() bool
- func (o *ServiceBrokerAuthInfoTokenOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthInfoTokenOK) IsRedirect() bool
- func (o *ServiceBrokerAuthInfoTokenOK) IsServerError() bool
- func (o *ServiceBrokerAuthInfoTokenOK) IsSuccess() bool
- func (o *ServiceBrokerAuthInfoTokenOK) String() string
- type ServiceBrokerAuthInfoTokenParams
- func NewServiceBrokerAuthInfoTokenParams() *ServiceBrokerAuthInfoTokenParams
- func NewServiceBrokerAuthInfoTokenParamsWithContext(ctx context.Context) *ServiceBrokerAuthInfoTokenParams
- func NewServiceBrokerAuthInfoTokenParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoTokenParams
- func NewServiceBrokerAuthInfoTokenParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoTokenParams
- func (o *ServiceBrokerAuthInfoTokenParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthInfoTokenParams) SetDefaults()
- func (o *ServiceBrokerAuthInfoTokenParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthInfoTokenParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthInfoTokenParams) WithContext(ctx context.Context) *ServiceBrokerAuthInfoTokenParams
- func (o *ServiceBrokerAuthInfoTokenParams) WithDefaults() *ServiceBrokerAuthInfoTokenParams
- func (o *ServiceBrokerAuthInfoTokenParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoTokenParams
- func (o *ServiceBrokerAuthInfoTokenParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoTokenParams
- func (o *ServiceBrokerAuthInfoTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthInfoTokenReader
- type ServiceBrokerAuthInfoUserInternalServerError
- func (o *ServiceBrokerAuthInfoUserInternalServerError) Code() int
- func (o *ServiceBrokerAuthInfoUserInternalServerError) Error() string
- func (o *ServiceBrokerAuthInfoUserInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthInfoUserInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthInfoUserInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthInfoUserInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthInfoUserInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthInfoUserInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthInfoUserInternalServerError) String() string
- type ServiceBrokerAuthInfoUserOK
- func (o *ServiceBrokerAuthInfoUserOK) Code() int
- func (o *ServiceBrokerAuthInfoUserOK) Error() string
- func (o *ServiceBrokerAuthInfoUserOK) GetPayload() *models.UserInfo
- func (o *ServiceBrokerAuthInfoUserOK) IsClientError() bool
- func (o *ServiceBrokerAuthInfoUserOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthInfoUserOK) IsRedirect() bool
- func (o *ServiceBrokerAuthInfoUserOK) IsServerError() bool
- func (o *ServiceBrokerAuthInfoUserOK) IsSuccess() bool
- func (o *ServiceBrokerAuthInfoUserOK) String() string
- type ServiceBrokerAuthInfoUserParams
- func NewServiceBrokerAuthInfoUserParams() *ServiceBrokerAuthInfoUserParams
- func NewServiceBrokerAuthInfoUserParamsWithContext(ctx context.Context) *ServiceBrokerAuthInfoUserParams
- func NewServiceBrokerAuthInfoUserParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoUserParams
- func NewServiceBrokerAuthInfoUserParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoUserParams
- func (o *ServiceBrokerAuthInfoUserParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthInfoUserParams) SetDefaults()
- func (o *ServiceBrokerAuthInfoUserParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthInfoUserParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthInfoUserParams) WithContext(ctx context.Context) *ServiceBrokerAuthInfoUserParams
- func (o *ServiceBrokerAuthInfoUserParams) WithDefaults() *ServiceBrokerAuthInfoUserParams
- func (o *ServiceBrokerAuthInfoUserParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoUserParams
- func (o *ServiceBrokerAuthInfoUserParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoUserParams
- func (o *ServiceBrokerAuthInfoUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthInfoUserReader
- type ServiceBrokerAuthLoginInternalServerError
- func (o *ServiceBrokerAuthLoginInternalServerError) Code() int
- func (o *ServiceBrokerAuthLoginInternalServerError) Error() string
- func (o *ServiceBrokerAuthLoginInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthLoginInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthLoginInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthLoginInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthLoginInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthLoginInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthLoginInternalServerError) String() string
- type ServiceBrokerAuthLoginOK
- func (o *ServiceBrokerAuthLoginOK) Code() int
- func (o *ServiceBrokerAuthLoginOK) Error() string
- func (o *ServiceBrokerAuthLoginOK) GetPayload() *models.AccessToken
- func (o *ServiceBrokerAuthLoginOK) IsClientError() bool
- func (o *ServiceBrokerAuthLoginOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthLoginOK) IsRedirect() bool
- func (o *ServiceBrokerAuthLoginOK) IsServerError() bool
- func (o *ServiceBrokerAuthLoginOK) IsSuccess() bool
- func (o *ServiceBrokerAuthLoginOK) String() string
- type ServiceBrokerAuthLoginParams
- func NewServiceBrokerAuthLoginParams() *ServiceBrokerAuthLoginParams
- func NewServiceBrokerAuthLoginParamsWithContext(ctx context.Context) *ServiceBrokerAuthLoginParams
- func NewServiceBrokerAuthLoginParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthLoginParams
- func NewServiceBrokerAuthLoginParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthLoginParams
- func (o *ServiceBrokerAuthLoginParams) SetAccessType(accessType *string)
- func (o *ServiceBrokerAuthLoginParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthLoginParams) SetDefaults()
- func (o *ServiceBrokerAuthLoginParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthLoginParams) SetRedirectURL(redirectURL *string)
- func (o *ServiceBrokerAuthLoginParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthLoginParams) SetUserID(userID *string)
- func (o *ServiceBrokerAuthLoginParams) WithAccessType(accessType *string) *ServiceBrokerAuthLoginParams
- func (o *ServiceBrokerAuthLoginParams) WithContext(ctx context.Context) *ServiceBrokerAuthLoginParams
- func (o *ServiceBrokerAuthLoginParams) WithDefaults() *ServiceBrokerAuthLoginParams
- func (o *ServiceBrokerAuthLoginParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthLoginParams
- func (o *ServiceBrokerAuthLoginParams) WithRedirectURL(redirectURL *string) *ServiceBrokerAuthLoginParams
- func (o *ServiceBrokerAuthLoginParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthLoginParams
- func (o *ServiceBrokerAuthLoginParams) WithUserID(userID *string) *ServiceBrokerAuthLoginParams
- func (o *ServiceBrokerAuthLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthLoginReader
- type ServiceBrokerAuthLoginUnauthorized
- func (o *ServiceBrokerAuthLoginUnauthorized) Code() int
- func (o *ServiceBrokerAuthLoginUnauthorized) Error() string
- func (o *ServiceBrokerAuthLoginUnauthorized) GetPayload() *models.Error
- func (o *ServiceBrokerAuthLoginUnauthorized) IsClientError() bool
- func (o *ServiceBrokerAuthLoginUnauthorized) IsCode(code int) bool
- func (o *ServiceBrokerAuthLoginUnauthorized) IsRedirect() bool
- func (o *ServiceBrokerAuthLoginUnauthorized) IsServerError() bool
- func (o *ServiceBrokerAuthLoginUnauthorized) IsSuccess() bool
- func (o *ServiceBrokerAuthLoginUnauthorized) String() string
- type ServiceBrokerAuthLogoutInternalServerError
- func (o *ServiceBrokerAuthLogoutInternalServerError) Code() int
- func (o *ServiceBrokerAuthLogoutInternalServerError) Error() string
- func (o *ServiceBrokerAuthLogoutInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthLogoutInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthLogoutInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthLogoutInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthLogoutInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthLogoutInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthLogoutInternalServerError) String() string
- type ServiceBrokerAuthLogoutOK
- func (o *ServiceBrokerAuthLogoutOK) Code() int
- func (o *ServiceBrokerAuthLogoutOK) Error() string
- func (o *ServiceBrokerAuthLogoutOK) GetPayload() models.Object
- func (o *ServiceBrokerAuthLogoutOK) IsClientError() bool
- func (o *ServiceBrokerAuthLogoutOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthLogoutOK) IsRedirect() bool
- func (o *ServiceBrokerAuthLogoutOK) IsServerError() bool
- func (o *ServiceBrokerAuthLogoutOK) IsSuccess() bool
- func (o *ServiceBrokerAuthLogoutOK) String() string
- type ServiceBrokerAuthLogoutParams
- func NewServiceBrokerAuthLogoutParams() *ServiceBrokerAuthLogoutParams
- func NewServiceBrokerAuthLogoutParamsWithContext(ctx context.Context) *ServiceBrokerAuthLogoutParams
- func NewServiceBrokerAuthLogoutParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthLogoutParams
- func NewServiceBrokerAuthLogoutParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthLogoutParams
- func (o *ServiceBrokerAuthLogoutParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthLogoutParams) SetDefaults()
- func (o *ServiceBrokerAuthLogoutParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthLogoutParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthLogoutParams) WithContext(ctx context.Context) *ServiceBrokerAuthLogoutParams
- func (o *ServiceBrokerAuthLogoutParams) WithDefaults() *ServiceBrokerAuthLogoutParams
- func (o *ServiceBrokerAuthLogoutParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthLogoutParams
- func (o *ServiceBrokerAuthLogoutParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthLogoutParams
- func (o *ServiceBrokerAuthLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthLogoutReader
- type ServiceBrokerAuthRegistrationCallbackInternalServerError
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) Code() int
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) Error() string
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) String() string
- type ServiceBrokerAuthRegistrationCallbackOK
- func (o *ServiceBrokerAuthRegistrationCallbackOK) Code() int
- func (o *ServiceBrokerAuthRegistrationCallbackOK) Error() string
- func (o *ServiceBrokerAuthRegistrationCallbackOK) GetPayload() *models.AccessToken
- func (o *ServiceBrokerAuthRegistrationCallbackOK) IsClientError() bool
- func (o *ServiceBrokerAuthRegistrationCallbackOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthRegistrationCallbackOK) IsRedirect() bool
- func (o *ServiceBrokerAuthRegistrationCallbackOK) IsServerError() bool
- func (o *ServiceBrokerAuthRegistrationCallbackOK) IsSuccess() bool
- func (o *ServiceBrokerAuthRegistrationCallbackOK) String() string
- type ServiceBrokerAuthRegistrationCallbackParams
- func NewServiceBrokerAuthRegistrationCallbackParams() *ServiceBrokerAuthRegistrationCallbackParams
- func NewServiceBrokerAuthRegistrationCallbackParamsWithContext(ctx context.Context) *ServiceBrokerAuthRegistrationCallbackParams
- func NewServiceBrokerAuthRegistrationCallbackParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationCallbackParams
- func NewServiceBrokerAuthRegistrationCallbackParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationCallbackParams
- func (o *ServiceBrokerAuthRegistrationCallbackParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthRegistrationCallbackParams) SetDefaults()
- func (o *ServiceBrokerAuthRegistrationCallbackParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthRegistrationCallbackParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthRegistrationCallbackParams) WithContext(ctx context.Context) *ServiceBrokerAuthRegistrationCallbackParams
- func (o *ServiceBrokerAuthRegistrationCallbackParams) WithDefaults() *ServiceBrokerAuthRegistrationCallbackParams
- func (o *ServiceBrokerAuthRegistrationCallbackParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationCallbackParams
- func (o *ServiceBrokerAuthRegistrationCallbackParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationCallbackParams
- func (o *ServiceBrokerAuthRegistrationCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthRegistrationCallbackReader
- type ServiceBrokerAuthRegistrationCallbackUnauthorized
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) Code() int
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) Error() string
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) GetPayload() *models.Error
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsClientError() bool
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsCode(code int) bool
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsRedirect() bool
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsServerError() bool
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsSuccess() bool
- func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) String() string
- type ServiceBrokerAuthRegistrationInternalServerError
- func (o *ServiceBrokerAuthRegistrationInternalServerError) Code() int
- func (o *ServiceBrokerAuthRegistrationInternalServerError) Error() string
- func (o *ServiceBrokerAuthRegistrationInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthRegistrationInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthRegistrationInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthRegistrationInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthRegistrationInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthRegistrationInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthRegistrationInternalServerError) String() string
- type ServiceBrokerAuthRegistrationOK
- func (o *ServiceBrokerAuthRegistrationOK) Code() int
- func (o *ServiceBrokerAuthRegistrationOK) Error() string
- func (o *ServiceBrokerAuthRegistrationOK) GetPayload() *models.AccessToken
- func (o *ServiceBrokerAuthRegistrationOK) IsClientError() bool
- func (o *ServiceBrokerAuthRegistrationOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthRegistrationOK) IsRedirect() bool
- func (o *ServiceBrokerAuthRegistrationOK) IsServerError() bool
- func (o *ServiceBrokerAuthRegistrationOK) IsSuccess() bool
- func (o *ServiceBrokerAuthRegistrationOK) String() string
- type ServiceBrokerAuthRegistrationParams
- func NewServiceBrokerAuthRegistrationParams() *ServiceBrokerAuthRegistrationParams
- func NewServiceBrokerAuthRegistrationParamsWithContext(ctx context.Context) *ServiceBrokerAuthRegistrationParams
- func NewServiceBrokerAuthRegistrationParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationParams
- func NewServiceBrokerAuthRegistrationParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthRegistrationParams) SetDefaults()
- func (o *ServiceBrokerAuthRegistrationParams) SetEntitlementID(entitlementID string)
- func (o *ServiceBrokerAuthRegistrationParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthRegistrationParams) SetIcn(icn string)
- func (o *ServiceBrokerAuthRegistrationParams) SetPlan(plan string)
- func (o *ServiceBrokerAuthRegistrationParams) SetRedirectURL(redirectURL *string)
- func (o *ServiceBrokerAuthRegistrationParams) SetRegions(regions []string)
- func (o *ServiceBrokerAuthRegistrationParams) SetTenantID(tenantID string)
- func (o *ServiceBrokerAuthRegistrationParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthRegistrationParams) WithContext(ctx context.Context) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithDefaults() *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithEntitlementID(entitlementID string) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithIcn(icn string) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithPlan(plan string) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithRedirectURL(redirectURL *string) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithRegions(regions []string) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithTenantID(tenantID string) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationParams
- func (o *ServiceBrokerAuthRegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthRegistrationReader
- type ServiceBrokerAuthRegistrationUnauthorized
- func (o *ServiceBrokerAuthRegistrationUnauthorized) Code() int
- func (o *ServiceBrokerAuthRegistrationUnauthorized) Error() string
- func (o *ServiceBrokerAuthRegistrationUnauthorized) GetPayload() *models.Error
- func (o *ServiceBrokerAuthRegistrationUnauthorized) IsClientError() bool
- func (o *ServiceBrokerAuthRegistrationUnauthorized) IsCode(code int) bool
- func (o *ServiceBrokerAuthRegistrationUnauthorized) IsRedirect() bool
- func (o *ServiceBrokerAuthRegistrationUnauthorized) IsServerError() bool
- func (o *ServiceBrokerAuthRegistrationUnauthorized) IsSuccess() bool
- func (o *ServiceBrokerAuthRegistrationUnauthorized) String() string
- type ServiceBrokerAuthTokenPostBadRequest
- func (o *ServiceBrokerAuthTokenPostBadRequest) Code() int
- func (o *ServiceBrokerAuthTokenPostBadRequest) Error() string
- func (o *ServiceBrokerAuthTokenPostBadRequest) GetPayload() *models.Error
- func (o *ServiceBrokerAuthTokenPostBadRequest) IsClientError() bool
- func (o *ServiceBrokerAuthTokenPostBadRequest) IsCode(code int) bool
- func (o *ServiceBrokerAuthTokenPostBadRequest) IsRedirect() bool
- func (o *ServiceBrokerAuthTokenPostBadRequest) IsServerError() bool
- func (o *ServiceBrokerAuthTokenPostBadRequest) IsSuccess() bool
- func (o *ServiceBrokerAuthTokenPostBadRequest) String() string
- type ServiceBrokerAuthTokenPostForbidden
- func (o *ServiceBrokerAuthTokenPostForbidden) Code() int
- func (o *ServiceBrokerAuthTokenPostForbidden) Error() string
- func (o *ServiceBrokerAuthTokenPostForbidden) GetPayload() *models.Error
- func (o *ServiceBrokerAuthTokenPostForbidden) IsClientError() bool
- func (o *ServiceBrokerAuthTokenPostForbidden) IsCode(code int) bool
- func (o *ServiceBrokerAuthTokenPostForbidden) IsRedirect() bool
- func (o *ServiceBrokerAuthTokenPostForbidden) IsServerError() bool
- func (o *ServiceBrokerAuthTokenPostForbidden) IsSuccess() bool
- func (o *ServiceBrokerAuthTokenPostForbidden) String() string
- type ServiceBrokerAuthTokenPostInternalServerError
- func (o *ServiceBrokerAuthTokenPostInternalServerError) Code() int
- func (o *ServiceBrokerAuthTokenPostInternalServerError) Error() string
- func (o *ServiceBrokerAuthTokenPostInternalServerError) GetPayload() *models.Error
- func (o *ServiceBrokerAuthTokenPostInternalServerError) IsClientError() bool
- func (o *ServiceBrokerAuthTokenPostInternalServerError) IsCode(code int) bool
- func (o *ServiceBrokerAuthTokenPostInternalServerError) IsRedirect() bool
- func (o *ServiceBrokerAuthTokenPostInternalServerError) IsServerError() bool
- func (o *ServiceBrokerAuthTokenPostInternalServerError) IsSuccess() bool
- func (o *ServiceBrokerAuthTokenPostInternalServerError) String() string
- type ServiceBrokerAuthTokenPostOK
- func (o *ServiceBrokerAuthTokenPostOK) Code() int
- func (o *ServiceBrokerAuthTokenPostOK) Error() string
- func (o *ServiceBrokerAuthTokenPostOK) GetPayload() *models.Token
- func (o *ServiceBrokerAuthTokenPostOK) IsClientError() bool
- func (o *ServiceBrokerAuthTokenPostOK) IsCode(code int) bool
- func (o *ServiceBrokerAuthTokenPostOK) IsRedirect() bool
- func (o *ServiceBrokerAuthTokenPostOK) IsServerError() bool
- func (o *ServiceBrokerAuthTokenPostOK) IsSuccess() bool
- func (o *ServiceBrokerAuthTokenPostOK) String() string
- type ServiceBrokerAuthTokenPostParams
- func NewServiceBrokerAuthTokenPostParams() *ServiceBrokerAuthTokenPostParams
- func NewServiceBrokerAuthTokenPostParamsWithContext(ctx context.Context) *ServiceBrokerAuthTokenPostParams
- func NewServiceBrokerAuthTokenPostParamsWithHTTPClient(client *http.Client) *ServiceBrokerAuthTokenPostParams
- func NewServiceBrokerAuthTokenPostParamsWithTimeout(timeout time.Duration) *ServiceBrokerAuthTokenPostParams
- func (o *ServiceBrokerAuthTokenPostParams) SetBody(body *models.TokenRequest)
- func (o *ServiceBrokerAuthTokenPostParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerAuthTokenPostParams) SetDefaults()
- func (o *ServiceBrokerAuthTokenPostParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerAuthTokenPostParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerAuthTokenPostParams) WithBody(body *models.TokenRequest) *ServiceBrokerAuthTokenPostParams
- func (o *ServiceBrokerAuthTokenPostParams) WithContext(ctx context.Context) *ServiceBrokerAuthTokenPostParams
- func (o *ServiceBrokerAuthTokenPostParams) WithDefaults() *ServiceBrokerAuthTokenPostParams
- func (o *ServiceBrokerAuthTokenPostParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthTokenPostParams
- func (o *ServiceBrokerAuthTokenPostParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthTokenPostParams
- func (o *ServiceBrokerAuthTokenPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerAuthTokenPostReader
- type ServiceBrokerAuthTokenPostTooManyRequests
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) Code() int
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) Error() string
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) GetPayload() *models.Error
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsClientError() bool
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsCode(code int) bool
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsRedirect() bool
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsServerError() bool
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsSuccess() bool
- func (o *ServiceBrokerAuthTokenPostTooManyRequests) String() string
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 ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v1.1.0
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 ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthCallbackInternalServerError) Code() int
Code gets the status code for the service broker auth callback internal server error response
func (*ServiceBrokerAuthCallbackInternalServerError) Error ¶
func (o *ServiceBrokerAuthCallbackInternalServerError) Error() string
func (*ServiceBrokerAuthCallbackInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthCallbackInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthCallbackInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth callback internal server error response has a 4xx status code
func (*ServiceBrokerAuthCallbackInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker auth callback internal server error response a status code equal to that given
func (*ServiceBrokerAuthCallbackInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth callback internal server error response has a 3xx status code
func (*ServiceBrokerAuthCallbackInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth callback internal server error response has a 5xx status code
func (*ServiceBrokerAuthCallbackInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth callback internal server error response has a 2xx status code
func (*ServiceBrokerAuthCallbackInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackInternalServerError) String() 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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthCallbackOK) Code() int
Code gets the status code for the service broker auth callback o k response
func (*ServiceBrokerAuthCallbackOK) Error ¶
func (o *ServiceBrokerAuthCallbackOK) Error() string
func (*ServiceBrokerAuthCallbackOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthCallbackOK) GetPayload() *models.AccessToken
func (*ServiceBrokerAuthCallbackOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthCallbackParams) WithContext(ctx context.Context) *ServiceBrokerAuthCallbackParams
WithContext adds the context to the service broker auth callback params
func (*ServiceBrokerAuthCallbackParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthCallbackParams) WithDefaults() *ServiceBrokerAuthCallbackParams
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 ¶
func (o *ServiceBrokerAuthCallbackParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthCallbackParams
WithHTTPClient adds the HTTPClient to the service broker auth callback params
func (*ServiceBrokerAuthCallbackParams) WithTimeout ¶
func (o *ServiceBrokerAuthCallbackParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthCallbackParams
WithTimeout adds the timeout to the service broker auth callback params
func (*ServiceBrokerAuthCallbackParams) WriteToRequest ¶
func (o *ServiceBrokerAuthCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthCallbackUnauthorized) Code() int
Code gets the status code for the service broker auth callback unauthorized response
func (*ServiceBrokerAuthCallbackUnauthorized) Error ¶
func (o *ServiceBrokerAuthCallbackUnauthorized) Error() string
func (*ServiceBrokerAuthCallbackUnauthorized) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthCallbackUnauthorized) GetPayload() *models.Error
func (*ServiceBrokerAuthCallbackUnauthorized) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackUnauthorized) IsClientError() bool
IsClientError returns true when this service broker auth callback unauthorized response has a 4xx status code
func (*ServiceBrokerAuthCallbackUnauthorized) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackUnauthorized) IsCode(code int) bool
IsCode returns true when this service broker auth callback unauthorized response a status code equal to that given
func (*ServiceBrokerAuthCallbackUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackUnauthorized) IsRedirect() bool
IsRedirect returns true when this service broker auth callback unauthorized response has a 3xx status code
func (*ServiceBrokerAuthCallbackUnauthorized) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackUnauthorized) IsServerError() bool
IsServerError returns true when this service broker auth callback unauthorized response has a 5xx status code
func (*ServiceBrokerAuthCallbackUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackUnauthorized) IsSuccess() bool
IsSuccess returns true when this service broker auth callback unauthorized response has a 2xx status code
func (*ServiceBrokerAuthCallbackUnauthorized) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthCallbackUnauthorized) String() string
type ServiceBrokerAuthDeviceCodePostForbidden ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthDeviceCodePostForbidden) Code() int
Code gets the status code for the service broker auth device code post forbidden response
func (*ServiceBrokerAuthDeviceCodePostForbidden) Error ¶
func (o *ServiceBrokerAuthDeviceCodePostForbidden) Error() string
func (*ServiceBrokerAuthDeviceCodePostForbidden) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceCodePostForbidden) GetPayload() *models.Error
func (*ServiceBrokerAuthDeviceCodePostForbidden) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsClientError() bool
IsClientError returns true when this service broker auth device code post forbidden response has a 4xx status code
func (*ServiceBrokerAuthDeviceCodePostForbidden) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsCode(code int) bool
IsCode returns true when this service broker auth device code post forbidden response a status code equal to that given
func (*ServiceBrokerAuthDeviceCodePostForbidden) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsRedirect() bool
IsRedirect returns true when this service broker auth device code post forbidden response has a 3xx status code
func (*ServiceBrokerAuthDeviceCodePostForbidden) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsServerError() bool
IsServerError returns true when this service broker auth device code post forbidden response has a 5xx status code
func (*ServiceBrokerAuthDeviceCodePostForbidden) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostForbidden) IsSuccess() bool
IsSuccess returns true when this service broker auth device code post forbidden response has a 2xx status code
func (*ServiceBrokerAuthDeviceCodePostForbidden) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostForbidden) String() string
type ServiceBrokerAuthDeviceCodePostInternalServerError ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) Code() int
Code gets the status code for the service broker auth device code post internal server error response
func (*ServiceBrokerAuthDeviceCodePostInternalServerError) Error ¶
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) Error() string
func (*ServiceBrokerAuthDeviceCodePostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth device code post internal server error response has a 4xx status code
func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsCode(code int) bool
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth device code post internal server error response has a 3xx status code
func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth device code post internal server error response has a 5xx status code
func (*ServiceBrokerAuthDeviceCodePostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth device code post internal server error response has a 2xx status code
func (*ServiceBrokerAuthDeviceCodePostInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostInternalServerError) String() 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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthDeviceCodePostOK) Code() int
Code gets the status code for the service broker auth device code post o k response
func (*ServiceBrokerAuthDeviceCodePostOK) Error ¶
func (o *ServiceBrokerAuthDeviceCodePostOK) Error() string
func (*ServiceBrokerAuthDeviceCodePostOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceCodePostOK) GetPayload() *models.DeviceCode
func (*ServiceBrokerAuthDeviceCodePostOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceCodePostOK) String() 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 ¶
func (o *ServiceBrokerAuthDeviceCodePostParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker auth device code post params
func (*ServiceBrokerAuthDeviceCodePostParams) SetDefaults ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthDeviceCodePostParams) WithContext(ctx context.Context) *ServiceBrokerAuthDeviceCodePostParams
WithContext adds the context to the service broker auth device code post params
func (*ServiceBrokerAuthDeviceCodePostParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceCodePostParams) WithDefaults() *ServiceBrokerAuthDeviceCodePostParams
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 ¶
func (o *ServiceBrokerAuthDeviceCodePostParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceCodePostParams
WithHTTPClient adds the HTTPClient to the service broker auth device code post params
func (*ServiceBrokerAuthDeviceCodePostParams) WithTimeout ¶
func (o *ServiceBrokerAuthDeviceCodePostParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceCodePostParams
WithTimeout adds the timeout to the service broker auth device code post params
func (*ServiceBrokerAuthDeviceCodePostParams) WriteToRequest ¶
func (o *ServiceBrokerAuthDeviceCodePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) Code() int
Code gets the status code for the service broker auth device token post bad request response
func (*ServiceBrokerAuthDeviceTokenPostBadRequest) Error ¶
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) Error() string
func (*ServiceBrokerAuthDeviceTokenPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) GetPayload() *models.Error
func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsClientError() bool
IsClientError returns true when this service broker auth device token post bad request response has a 4xx status code
func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsCode(code int) bool
IsCode returns true when this service broker auth device token post bad request response a status code equal to that given
func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsRedirect() bool
IsRedirect returns true when this service broker auth device token post bad request response has a 3xx status code
func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsServerError() bool
IsServerError returns true when this service broker auth device token post bad request response has a 5xx status code
func (*ServiceBrokerAuthDeviceTokenPostBadRequest) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) IsSuccess() bool
IsSuccess returns true when this service broker auth device token post bad request response has a 2xx status code
func (*ServiceBrokerAuthDeviceTokenPostBadRequest) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostBadRequest) String() 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 ¶ added in v1.1.0
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
type ServiceBrokerAuthDeviceTokenPostForbidden ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) Code() int
Code gets the status code for the service broker auth device token post forbidden response
func (*ServiceBrokerAuthDeviceTokenPostForbidden) Error ¶
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) Error() string
func (*ServiceBrokerAuthDeviceTokenPostForbidden) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) GetPayload() *models.Error
func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsClientError() bool
IsClientError returns true when this service broker auth device token post forbidden response has a 4xx status code
func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsCode(code int) bool
IsCode returns true when this service broker auth device token post forbidden response a status code equal to that given
func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsRedirect() bool
IsRedirect returns true when this service broker auth device token post forbidden response has a 3xx status code
func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsServerError() bool
IsServerError returns true when this service broker auth device token post forbidden response has a 5xx status code
func (*ServiceBrokerAuthDeviceTokenPostForbidden) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) IsSuccess() bool
IsSuccess returns true when this service broker auth device token post forbidden response has a 2xx status code
func (*ServiceBrokerAuthDeviceTokenPostForbidden) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostForbidden) String() string
type ServiceBrokerAuthDeviceTokenPostInternalServerError ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) Code() int
Code gets the status code for the service broker auth device token post internal server error response
func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) Error ¶
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) Error() string
func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth device token post internal server error response has a 4xx status code
func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsCode(code int) bool
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth device token post internal server error response has a 3xx status code
func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth device token post internal server error response has a 5xx status code
func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth device token post internal server error response has a 2xx status code
func (*ServiceBrokerAuthDeviceTokenPostInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostInternalServerError) String() string
type ServiceBrokerAuthDeviceTokenPostOK ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthDeviceTokenPostOK) Code() int
Code gets the status code for the service broker auth device token post o k response
func (*ServiceBrokerAuthDeviceTokenPostOK) Error ¶
func (o *ServiceBrokerAuthDeviceTokenPostOK) Error() string
func (*ServiceBrokerAuthDeviceTokenPostOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceTokenPostOK) GetPayload() *models.Token
func (*ServiceBrokerAuthDeviceTokenPostOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostOK) IsCode(code int) bool
IsCode returns true when this service broker auth device token post o k response a status code equal to that given
func (*ServiceBrokerAuthDeviceTokenPostOK) IsRedirect ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostOK) IsSuccess() bool
IsSuccess returns true when this service broker auth device token post o k response has a 2xx status code
func (*ServiceBrokerAuthDeviceTokenPostOK) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostOK) String() 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 ¶
func (o *ServiceBrokerAuthDeviceTokenPostParams) SetBody(body ServiceBrokerAuthDeviceTokenPostBody)
SetBody adds the body to the service broker auth device token post params
func (*ServiceBrokerAuthDeviceTokenPostParams) SetContext ¶
func (o *ServiceBrokerAuthDeviceTokenPostParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker auth device token post params
func (*ServiceBrokerAuthDeviceTokenPostParams) SetDefaults ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthDeviceTokenPostParams) WithBody(body ServiceBrokerAuthDeviceTokenPostBody) *ServiceBrokerAuthDeviceTokenPostParams
WithBody adds the body to the service broker auth device token post params
func (*ServiceBrokerAuthDeviceTokenPostParams) WithContext ¶
func (o *ServiceBrokerAuthDeviceTokenPostParams) WithContext(ctx context.Context) *ServiceBrokerAuthDeviceTokenPostParams
WithContext adds the context to the service broker auth device token post params
func (*ServiceBrokerAuthDeviceTokenPostParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceTokenPostParams) WithDefaults() *ServiceBrokerAuthDeviceTokenPostParams
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 ¶
func (o *ServiceBrokerAuthDeviceTokenPostParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthDeviceTokenPostParams
WithHTTPClient adds the HTTPClient to the service broker auth device token post params
func (*ServiceBrokerAuthDeviceTokenPostParams) WithTimeout ¶
func (o *ServiceBrokerAuthDeviceTokenPostParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthDeviceTokenPostParams
WithTimeout adds the timeout to the service broker auth device token post params
func (*ServiceBrokerAuthDeviceTokenPostParams) WriteToRequest ¶
func (o *ServiceBrokerAuthDeviceTokenPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) Code() int
Code gets the status code for the service broker auth device token post too many requests response
func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) Error ¶
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) Error() string
func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) GetPayload() *models.Error
func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsClientError() bool
IsClientError returns true when this service broker auth device token post too many requests response has a 4xx status code
func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsCode(code int) bool
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsRedirect() bool
IsRedirect returns true when this service broker auth device token post too many requests response has a 3xx status code
func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsServerError() bool
IsServerError returns true when this service broker auth device token post too many requests response has a 5xx status code
func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) IsSuccess() bool
IsSuccess returns true when this service broker auth device token post too many requests response has a 2xx status code
func (*ServiceBrokerAuthDeviceTokenPostTooManyRequests) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthDeviceTokenPostTooManyRequests) String() string
type ServiceBrokerAuthInfoTokenInternalServerError ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthInfoTokenInternalServerError) Code() int
Code gets the status code for the service broker auth info token internal server error response
func (*ServiceBrokerAuthInfoTokenInternalServerError) Error ¶
func (o *ServiceBrokerAuthInfoTokenInternalServerError) Error() string
func (*ServiceBrokerAuthInfoTokenInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthInfoTokenInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthInfoTokenInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth info token internal server error response has a 4xx status code
func (*ServiceBrokerAuthInfoTokenInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker auth info token internal server error response a status code equal to that given
func (*ServiceBrokerAuthInfoTokenInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth info token internal server error response has a 3xx status code
func (*ServiceBrokerAuthInfoTokenInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth info token internal server error response has a 5xx status code
func (*ServiceBrokerAuthInfoTokenInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoTokenInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth info token internal server error response has a 2xx status code
func (*ServiceBrokerAuthInfoTokenInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoTokenInternalServerError) String() 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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthInfoTokenOK) Code() int
Code gets the status code for the service broker auth info token o k response
func (*ServiceBrokerAuthInfoTokenOK) Error ¶
func (o *ServiceBrokerAuthInfoTokenOK) Error() string
func (*ServiceBrokerAuthInfoTokenOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthInfoTokenOK) GetPayload() *models.TokenExtra
func (*ServiceBrokerAuthInfoTokenOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoTokenOK) String() 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 ¶
func (o *ServiceBrokerAuthInfoTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker auth info token params
func (*ServiceBrokerAuthInfoTokenParams) SetDefaults ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthInfoTokenParams) WithContext(ctx context.Context) *ServiceBrokerAuthInfoTokenParams
WithContext adds the context to the service broker auth info token params
func (*ServiceBrokerAuthInfoTokenParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthInfoTokenParams) WithDefaults() *ServiceBrokerAuthInfoTokenParams
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 ¶
func (o *ServiceBrokerAuthInfoTokenParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoTokenParams
WithHTTPClient adds the HTTPClient to the service broker auth info token params
func (*ServiceBrokerAuthInfoTokenParams) WithTimeout ¶
func (o *ServiceBrokerAuthInfoTokenParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoTokenParams
WithTimeout adds the timeout to the service broker auth info token params
func (*ServiceBrokerAuthInfoTokenParams) WriteToRequest ¶
func (o *ServiceBrokerAuthInfoTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthInfoUserInternalServerError) Code() int
Code gets the status code for the service broker auth info user internal server error response
func (*ServiceBrokerAuthInfoUserInternalServerError) Error ¶
func (o *ServiceBrokerAuthInfoUserInternalServerError) Error() string
func (*ServiceBrokerAuthInfoUserInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthInfoUserInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthInfoUserInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoUserInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth info user internal server error response has a 4xx status code
func (*ServiceBrokerAuthInfoUserInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoUserInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker auth info user internal server error response a status code equal to that given
func (*ServiceBrokerAuthInfoUserInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth info user internal server error response has a 3xx status code
func (*ServiceBrokerAuthInfoUserInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoUserInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth info user internal server error response has a 5xx status code
func (*ServiceBrokerAuthInfoUserInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth info user internal server error response has a 2xx status code
func (*ServiceBrokerAuthInfoUserInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthInfoUserInternalServerError) String() string
type ServiceBrokerAuthInfoUserOK ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthInfoUserOK) Code() int
Code gets the status code for the service broker auth info user o k response
func (*ServiceBrokerAuthInfoUserOK) Error ¶
func (o *ServiceBrokerAuthInfoUserOK) Error() string
func (*ServiceBrokerAuthInfoUserOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthInfoUserOK) GetPayload() *models.UserInfo
func (*ServiceBrokerAuthInfoUserOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthInfoUserParams) WithContext(ctx context.Context) *ServiceBrokerAuthInfoUserParams
WithContext adds the context to the service broker auth info user params
func (*ServiceBrokerAuthInfoUserParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthInfoUserParams) WithDefaults() *ServiceBrokerAuthInfoUserParams
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 ¶
func (o *ServiceBrokerAuthInfoUserParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthInfoUserParams
WithHTTPClient adds the HTTPClient to the service broker auth info user params
func (*ServiceBrokerAuthInfoUserParams) WithTimeout ¶
func (o *ServiceBrokerAuthInfoUserParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthInfoUserParams
WithTimeout adds the timeout to the service broker auth info user params
func (*ServiceBrokerAuthInfoUserParams) WriteToRequest ¶
func (o *ServiceBrokerAuthInfoUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthLoginInternalServerError) Code() int
Code gets the status code for the service broker auth login internal server error response
func (*ServiceBrokerAuthLoginInternalServerError) Error ¶
func (o *ServiceBrokerAuthLoginInternalServerError) Error() string
func (*ServiceBrokerAuthLoginInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthLoginInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthLoginInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth login internal server error response has a 4xx status code
func (*ServiceBrokerAuthLoginInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker auth login internal server error response a status code equal to that given
func (*ServiceBrokerAuthLoginInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth login internal server error response has a 3xx status code
func (*ServiceBrokerAuthLoginInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth login internal server error response has a 5xx status code
func (*ServiceBrokerAuthLoginInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth login internal server error response has a 2xx status code
func (*ServiceBrokerAuthLoginInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginInternalServerError) String() 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 ¶ added in v1.2.4
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 ¶ added in v1.1.0
func (o *ServiceBrokerAuthLoginOK) GetPayload() *models.AccessToken
func (*ServiceBrokerAuthLoginOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthLoginParams) WithContext(ctx context.Context) *ServiceBrokerAuthLoginParams
WithContext adds the context to the service broker auth login params
func (*ServiceBrokerAuthLoginParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthLoginParams) WithDefaults() *ServiceBrokerAuthLoginParams
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 ¶
func (o *ServiceBrokerAuthLoginParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthLoginParams
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 ¶
func (o *ServiceBrokerAuthLoginParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthLoginParams
WithTimeout adds the timeout to the service broker auth login params
func (*ServiceBrokerAuthLoginParams) WithUserID ¶
func (o *ServiceBrokerAuthLoginParams) WithUserID(userID *string) *ServiceBrokerAuthLoginParams
WithUserID adds the userID to the service broker auth login params
func (*ServiceBrokerAuthLoginParams) WriteToRequest ¶
func (o *ServiceBrokerAuthLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthLoginUnauthorized) Code() int
Code gets the status code for the service broker auth login unauthorized response
func (*ServiceBrokerAuthLoginUnauthorized) Error ¶
func (o *ServiceBrokerAuthLoginUnauthorized) Error() string
func (*ServiceBrokerAuthLoginUnauthorized) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthLoginUnauthorized) GetPayload() *models.Error
func (*ServiceBrokerAuthLoginUnauthorized) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginUnauthorized) IsClientError() bool
IsClientError returns true when this service broker auth login unauthorized response has a 4xx status code
func (*ServiceBrokerAuthLoginUnauthorized) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginUnauthorized) IsCode(code int) bool
IsCode returns true when this service broker auth login unauthorized response a status code equal to that given
func (*ServiceBrokerAuthLoginUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginUnauthorized) IsRedirect() bool
IsRedirect returns true when this service broker auth login unauthorized response has a 3xx status code
func (*ServiceBrokerAuthLoginUnauthorized) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginUnauthorized) IsServerError() bool
IsServerError returns true when this service broker auth login unauthorized response has a 5xx status code
func (*ServiceBrokerAuthLoginUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginUnauthorized) IsSuccess() bool
IsSuccess returns true when this service broker auth login unauthorized response has a 2xx status code
func (*ServiceBrokerAuthLoginUnauthorized) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthLoginUnauthorized) String() string
type ServiceBrokerAuthLogoutInternalServerError ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthLogoutInternalServerError) Code() int
Code gets the status code for the service broker auth logout internal server error response
func (*ServiceBrokerAuthLogoutInternalServerError) Error ¶
func (o *ServiceBrokerAuthLogoutInternalServerError) Error() string
func (*ServiceBrokerAuthLogoutInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthLogoutInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthLogoutInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthLogoutInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth logout internal server error response has a 4xx status code
func (*ServiceBrokerAuthLogoutInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthLogoutInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker auth logout internal server error response a status code equal to that given
func (*ServiceBrokerAuthLogoutInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthLogoutInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth logout internal server error response has a 3xx status code
func (*ServiceBrokerAuthLogoutInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthLogoutInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth logout internal server error response has a 5xx status code
func (*ServiceBrokerAuthLogoutInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthLogoutInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth logout internal server error response has a 2xx status code
func (*ServiceBrokerAuthLogoutInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthLogoutInternalServerError) String() string
type ServiceBrokerAuthLogoutOK ¶
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 ¶ added in v1.2.4
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 ¶ added in v1.1.0
func (o *ServiceBrokerAuthLogoutOK) GetPayload() models.Object
func (*ServiceBrokerAuthLogoutOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthLogoutParams) WithContext(ctx context.Context) *ServiceBrokerAuthLogoutParams
WithContext adds the context to the service broker auth logout params
func (*ServiceBrokerAuthLogoutParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthLogoutParams) WithDefaults() *ServiceBrokerAuthLogoutParams
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 ¶
func (o *ServiceBrokerAuthLogoutParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthLogoutParams
WithHTTPClient adds the HTTPClient to the service broker auth logout params
func (*ServiceBrokerAuthLogoutParams) WithTimeout ¶
func (o *ServiceBrokerAuthLogoutParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthLogoutParams
WithTimeout adds the timeout to the service broker auth logout params
func (*ServiceBrokerAuthLogoutParams) WriteToRequest ¶
func (o *ServiceBrokerAuthLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) Code() int
Code gets the status code for the service broker auth registration callback internal server error response
func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) Error ¶
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) Error() string
func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth registration callback internal server error response has a 4xx status code
func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker auth registration callback internal server error response a status code equal to that given
func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth registration callback internal server error response has a 3xx status code
func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth registration callback internal server error response has a 5xx status code
func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth registration callback internal server error response has a 2xx status code
func (*ServiceBrokerAuthRegistrationCallbackInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackInternalServerError) String() 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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthRegistrationCallbackOK) Code() int
Code gets the status code for the service broker auth registration callback o k response
func (*ServiceBrokerAuthRegistrationCallbackOK) Error ¶
func (o *ServiceBrokerAuthRegistrationCallbackOK) Error() string
func (*ServiceBrokerAuthRegistrationCallbackOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthRegistrationCallbackOK) GetPayload() *models.AccessToken
func (*ServiceBrokerAuthRegistrationCallbackOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackOK) IsCode(code int) bool
IsCode returns true when this service broker auth registration callback o k response a status code equal to that given
func (*ServiceBrokerAuthRegistrationCallbackOK) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackOK) IsRedirect() bool
IsRedirect returns true when this service broker auth registration callback o k response has a 3xx status code
func (*ServiceBrokerAuthRegistrationCallbackOK) IsServerError ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackOK) IsSuccess() bool
IsSuccess returns true when this service broker auth registration callback o k response has a 2xx status code
func (*ServiceBrokerAuthRegistrationCallbackOK) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackOK) String() 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 ¶
func (o *ServiceBrokerAuthRegistrationCallbackParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker auth registration callback params
func (*ServiceBrokerAuthRegistrationCallbackParams) SetDefaults ¶ added in v1.1.0
func (o *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 ¶
func (o *ServiceBrokerAuthRegistrationCallbackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service broker auth registration callback params
func (*ServiceBrokerAuthRegistrationCallbackParams) WithContext ¶
func (o *ServiceBrokerAuthRegistrationCallbackParams) WithContext(ctx context.Context) *ServiceBrokerAuthRegistrationCallbackParams
WithContext adds the context to the service broker auth registration callback params
func (*ServiceBrokerAuthRegistrationCallbackParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthRegistrationCallbackParams) WithDefaults() *ServiceBrokerAuthRegistrationCallbackParams
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 ¶
func (o *ServiceBrokerAuthRegistrationCallbackParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationCallbackParams
WithHTTPClient adds the HTTPClient to the service broker auth registration callback params
func (*ServiceBrokerAuthRegistrationCallbackParams) WithTimeout ¶
func (o *ServiceBrokerAuthRegistrationCallbackParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationCallbackParams
WithTimeout adds the timeout to the service broker auth registration callback params
func (*ServiceBrokerAuthRegistrationCallbackParams) WriteToRequest ¶
func (o *ServiceBrokerAuthRegistrationCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) Code() int
Code gets the status code for the service broker auth registration callback unauthorized response
func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) Error ¶
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) Error() string
func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) GetPayload() *models.Error
func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsClientError() bool
IsClientError returns true when this service broker auth registration callback unauthorized response has a 4xx status code
func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsCode(code int) bool
IsCode returns true when this service broker auth registration callback unauthorized response a status code equal to that given
func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsRedirect() bool
IsRedirect returns true when this service broker auth registration callback unauthorized response has a 3xx status code
func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsServerError() bool
IsServerError returns true when this service broker auth registration callback unauthorized response has a 5xx status code
func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) IsSuccess() bool
IsSuccess returns true when this service broker auth registration callback unauthorized response has a 2xx status code
func (*ServiceBrokerAuthRegistrationCallbackUnauthorized) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationCallbackUnauthorized) String() string
type ServiceBrokerAuthRegistrationInternalServerError ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthRegistrationInternalServerError) Code() int
Code gets the status code for the service broker auth registration internal server error response
func (*ServiceBrokerAuthRegistrationInternalServerError) Error ¶
func (o *ServiceBrokerAuthRegistrationInternalServerError) Error() string
func (*ServiceBrokerAuthRegistrationInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthRegistrationInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthRegistrationInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth registration internal server error response has a 4xx status code
func (*ServiceBrokerAuthRegistrationInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker auth registration internal server error response a status code equal to that given
func (*ServiceBrokerAuthRegistrationInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth registration internal server error response has a 3xx status code
func (*ServiceBrokerAuthRegistrationInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth registration internal server error response has a 5xx status code
func (*ServiceBrokerAuthRegistrationInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth registration internal server error response has a 2xx status code
func (*ServiceBrokerAuthRegistrationInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationInternalServerError) String() 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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthRegistrationOK) Code() int
Code gets the status code for the service broker auth registration o k response
func (*ServiceBrokerAuthRegistrationOK) Error ¶
func (o *ServiceBrokerAuthRegistrationOK) Error() string
func (*ServiceBrokerAuthRegistrationOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthRegistrationOK) GetPayload() *models.AccessToken
func (*ServiceBrokerAuthRegistrationOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationOK) String() 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 ¶
func (o *ServiceBrokerAuthRegistrationParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) SetDefaults ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthRegistrationParams) SetIcn(icn string)
SetIcn adds the icn to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) SetPlan ¶
func (o *ServiceBrokerAuthRegistrationParams) SetPlan(plan string)
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 ¶
func (o *ServiceBrokerAuthRegistrationParams) WithContext(ctx context.Context) *ServiceBrokerAuthRegistrationParams
WithContext adds the context to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthRegistrationParams) WithDefaults() *ServiceBrokerAuthRegistrationParams
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 ¶
func (o *ServiceBrokerAuthRegistrationParams) WithEntitlementID(entitlementID string) *ServiceBrokerAuthRegistrationParams
WithEntitlementID adds the entitlementID to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WithHTTPClient ¶
func (o *ServiceBrokerAuthRegistrationParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthRegistrationParams
WithHTTPClient adds the HTTPClient to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WithIcn ¶
func (o *ServiceBrokerAuthRegistrationParams) WithIcn(icn string) *ServiceBrokerAuthRegistrationParams
WithIcn adds the icn to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WithPlan ¶
func (o *ServiceBrokerAuthRegistrationParams) WithPlan(plan string) *ServiceBrokerAuthRegistrationParams
WithPlan adds the plan to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WithRedirectURL ¶
func (o *ServiceBrokerAuthRegistrationParams) WithRedirectURL(redirectURL *string) *ServiceBrokerAuthRegistrationParams
WithRedirectURL adds the redirectURL to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WithRegions ¶
func (o *ServiceBrokerAuthRegistrationParams) WithRegions(regions []string) *ServiceBrokerAuthRegistrationParams
WithRegions adds the regions to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WithTenantID ¶
func (o *ServiceBrokerAuthRegistrationParams) WithTenantID(tenantID string) *ServiceBrokerAuthRegistrationParams
WithTenantID adds the tenantID to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WithTimeout ¶
func (o *ServiceBrokerAuthRegistrationParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthRegistrationParams
WithTimeout adds the timeout to the service broker auth registration params
func (*ServiceBrokerAuthRegistrationParams) WriteToRequest ¶
func (o *ServiceBrokerAuthRegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthRegistrationUnauthorized) Code() int
Code gets the status code for the service broker auth registration unauthorized response
func (*ServiceBrokerAuthRegistrationUnauthorized) Error ¶
func (o *ServiceBrokerAuthRegistrationUnauthorized) Error() string
func (*ServiceBrokerAuthRegistrationUnauthorized) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthRegistrationUnauthorized) GetPayload() *models.Error
func (*ServiceBrokerAuthRegistrationUnauthorized) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationUnauthorized) IsClientError() bool
IsClientError returns true when this service broker auth registration unauthorized response has a 4xx status code
func (*ServiceBrokerAuthRegistrationUnauthorized) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationUnauthorized) IsCode(code int) bool
IsCode returns true when this service broker auth registration unauthorized response a status code equal to that given
func (*ServiceBrokerAuthRegistrationUnauthorized) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationUnauthorized) IsRedirect() bool
IsRedirect returns true when this service broker auth registration unauthorized response has a 3xx status code
func (*ServiceBrokerAuthRegistrationUnauthorized) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationUnauthorized) IsServerError() bool
IsServerError returns true when this service broker auth registration unauthorized response has a 5xx status code
func (*ServiceBrokerAuthRegistrationUnauthorized) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationUnauthorized) IsSuccess() bool
IsSuccess returns true when this service broker auth registration unauthorized response has a 2xx status code
func (*ServiceBrokerAuthRegistrationUnauthorized) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthRegistrationUnauthorized) String() string
type ServiceBrokerAuthTokenPostBadRequest ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthTokenPostBadRequest) Code() int
Code gets the status code for the service broker auth token post bad request response
func (*ServiceBrokerAuthTokenPostBadRequest) Error ¶
func (o *ServiceBrokerAuthTokenPostBadRequest) Error() string
func (*ServiceBrokerAuthTokenPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthTokenPostBadRequest) GetPayload() *models.Error
func (*ServiceBrokerAuthTokenPostBadRequest) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostBadRequest) IsCode(code int) bool
IsCode returns true when this service broker auth token post bad request response a status code equal to that given
func (*ServiceBrokerAuthTokenPostBadRequest) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostBadRequest) IsRedirect() bool
IsRedirect returns true when this service broker auth token post bad request response has a 3xx status code
func (*ServiceBrokerAuthTokenPostBadRequest) IsServerError ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostBadRequest) IsSuccess() bool
IsSuccess returns true when this service broker auth token post bad request response has a 2xx status code
func (*ServiceBrokerAuthTokenPostBadRequest) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostBadRequest) String() string
type ServiceBrokerAuthTokenPostForbidden ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthTokenPostForbidden) Code() int
Code gets the status code for the service broker auth token post forbidden response
func (*ServiceBrokerAuthTokenPostForbidden) Error ¶
func (o *ServiceBrokerAuthTokenPostForbidden) Error() string
func (*ServiceBrokerAuthTokenPostForbidden) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthTokenPostForbidden) GetPayload() *models.Error
func (*ServiceBrokerAuthTokenPostForbidden) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostForbidden) IsCode(code int) bool
IsCode returns true when this service broker auth token post forbidden response a status code equal to that given
func (*ServiceBrokerAuthTokenPostForbidden) IsRedirect ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostForbidden) IsSuccess() bool
IsSuccess returns true when this service broker auth token post forbidden response has a 2xx status code
func (*ServiceBrokerAuthTokenPostForbidden) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostForbidden) String() string
type ServiceBrokerAuthTokenPostInternalServerError ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthTokenPostInternalServerError) Code() int
Code gets the status code for the service broker auth token post internal server error response
func (*ServiceBrokerAuthTokenPostInternalServerError) Error ¶
func (o *ServiceBrokerAuthTokenPostInternalServerError) Error() string
func (*ServiceBrokerAuthTokenPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthTokenPostInternalServerError) GetPayload() *models.Error
func (*ServiceBrokerAuthTokenPostInternalServerError) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostInternalServerError) IsClientError() bool
IsClientError returns true when this service broker auth token post internal server error response has a 4xx status code
func (*ServiceBrokerAuthTokenPostInternalServerError) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostInternalServerError) IsCode(code int) bool
IsCode returns true when this service broker auth token post internal server error response a status code equal to that given
func (*ServiceBrokerAuthTokenPostInternalServerError) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostInternalServerError) IsRedirect() bool
IsRedirect returns true when this service broker auth token post internal server error response has a 3xx status code
func (*ServiceBrokerAuthTokenPostInternalServerError) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostInternalServerError) IsServerError() bool
IsServerError returns true when this service broker auth token post internal server error response has a 5xx status code
func (*ServiceBrokerAuthTokenPostInternalServerError) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostInternalServerError) IsSuccess() bool
IsSuccess returns true when this service broker auth token post internal server error response has a 2xx status code
func (*ServiceBrokerAuthTokenPostInternalServerError) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostInternalServerError) String() string
type ServiceBrokerAuthTokenPostOK ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthTokenPostOK) Code() int
Code gets the status code for the service broker auth token post o k response
func (*ServiceBrokerAuthTokenPostOK) Error ¶
func (o *ServiceBrokerAuthTokenPostOK) Error() string
func (*ServiceBrokerAuthTokenPostOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthTokenPostOK) GetPayload() *models.Token
func (*ServiceBrokerAuthTokenPostOK) IsClientError ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
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 ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostOK) String() 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 ¶
func (o *ServiceBrokerAuthTokenPostParams) SetBody(body *models.TokenRequest)
SetBody adds the body to the service broker auth token post params
func (*ServiceBrokerAuthTokenPostParams) SetContext ¶
func (o *ServiceBrokerAuthTokenPostParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker auth token post params
func (*ServiceBrokerAuthTokenPostParams) SetDefaults ¶ added in v1.1.0
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 ¶
func (o *ServiceBrokerAuthTokenPostParams) WithBody(body *models.TokenRequest) *ServiceBrokerAuthTokenPostParams
WithBody adds the body to the service broker auth token post params
func (*ServiceBrokerAuthTokenPostParams) WithContext ¶
func (o *ServiceBrokerAuthTokenPostParams) WithContext(ctx context.Context) *ServiceBrokerAuthTokenPostParams
WithContext adds the context to the service broker auth token post params
func (*ServiceBrokerAuthTokenPostParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerAuthTokenPostParams) WithDefaults() *ServiceBrokerAuthTokenPostParams
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 ¶
func (o *ServiceBrokerAuthTokenPostParams) WithHTTPClient(client *http.Client) *ServiceBrokerAuthTokenPostParams
WithHTTPClient adds the HTTPClient to the service broker auth token post params
func (*ServiceBrokerAuthTokenPostParams) WithTimeout ¶
func (o *ServiceBrokerAuthTokenPostParams) WithTimeout(timeout time.Duration) *ServiceBrokerAuthTokenPostParams
WithTimeout adds the timeout to the service broker auth token post params
func (*ServiceBrokerAuthTokenPostParams) WriteToRequest ¶
func (o *ServiceBrokerAuthTokenPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶ added in v1.2.4
func (o *ServiceBrokerAuthTokenPostTooManyRequests) Code() int
Code gets the status code for the service broker auth token post too many requests response
func (*ServiceBrokerAuthTokenPostTooManyRequests) Error ¶
func (o *ServiceBrokerAuthTokenPostTooManyRequests) Error() string
func (*ServiceBrokerAuthTokenPostTooManyRequests) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerAuthTokenPostTooManyRequests) GetPayload() *models.Error
func (*ServiceBrokerAuthTokenPostTooManyRequests) IsClientError ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsClientError() bool
IsClientError returns true when this service broker auth token post too many requests response has a 4xx status code
func (*ServiceBrokerAuthTokenPostTooManyRequests) IsCode ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsCode(code int) bool
IsCode returns true when this service broker auth token post too many requests response a status code equal to that given
func (*ServiceBrokerAuthTokenPostTooManyRequests) IsRedirect ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsRedirect() bool
IsRedirect returns true when this service broker auth token post too many requests response has a 3xx status code
func (*ServiceBrokerAuthTokenPostTooManyRequests) IsServerError ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsServerError() bool
IsServerError returns true when this service broker auth token post too many requests response has a 5xx status code
func (*ServiceBrokerAuthTokenPostTooManyRequests) IsSuccess ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostTooManyRequests) IsSuccess() bool
IsSuccess returns true when this service broker auth token post too many requests response has a 2xx status code
func (*ServiceBrokerAuthTokenPostTooManyRequests) String ¶ added in v1.2.2
func (o *ServiceBrokerAuthTokenPostTooManyRequests) String() string
Source Files ¶
- authentication_client.go
- service_broker_auth_callback_parameters.go
- service_broker_auth_callback_responses.go
- service_broker_auth_device_code_post_parameters.go
- service_broker_auth_device_code_post_responses.go
- service_broker_auth_device_token_post_parameters.go
- service_broker_auth_device_token_post_responses.go
- service_broker_auth_info_token_parameters.go
- service_broker_auth_info_token_responses.go
- service_broker_auth_info_user_parameters.go
- service_broker_auth_info_user_responses.go
- service_broker_auth_login_parameters.go
- service_broker_auth_login_responses.go
- service_broker_auth_logout_parameters.go
- service_broker_auth_logout_responses.go
- service_broker_auth_registration_callback_parameters.go
- service_broker_auth_registration_callback_responses.go
- service_broker_auth_registration_parameters.go
- service_broker_auth_registration_responses.go
- service_broker_auth_token_post_parameters.go
- service_broker_auth_token_post_responses.go