Documentation ¶
Index ¶
- type BcDeviceRegistrationBadRequest
- type BcDeviceRegistrationForbidden
- type BcDeviceRegistrationOK
- type BcDeviceRegistrationParams
- func NewBcDeviceRegistrationParams() *BcDeviceRegistrationParams
- func NewBcDeviceRegistrationParamsWithContext(ctx context.Context) *BcDeviceRegistrationParams
- func NewBcDeviceRegistrationParamsWithHTTPClient(client *http.Client) *BcDeviceRegistrationParams
- func NewBcDeviceRegistrationParamsWithTimeout(timeout time.Duration) *BcDeviceRegistrationParams
- func (o *BcDeviceRegistrationParams) SetContext(ctx context.Context)
- func (o *BcDeviceRegistrationParams) SetDeviceRegistrationToken(deviceRegistrationToken string)
- func (o *BcDeviceRegistrationParams) SetHTTPClient(client *http.Client)
- func (o *BcDeviceRegistrationParams) SetIDTokenHint(iDTokenHint string)
- func (o *BcDeviceRegistrationParams) SetTimeout(timeout time.Duration)
- func (o *BcDeviceRegistrationParams) WithContext(ctx context.Context) *BcDeviceRegistrationParams
- func (o *BcDeviceRegistrationParams) WithDeviceRegistrationToken(deviceRegistrationToken string) *BcDeviceRegistrationParams
- func (o *BcDeviceRegistrationParams) WithHTTPClient(client *http.Client) *BcDeviceRegistrationParams
- func (o *BcDeviceRegistrationParams) WithIDTokenHint(iDTokenHint string) *BcDeviceRegistrationParams
- func (o *BcDeviceRegistrationParams) WithTimeout(timeout time.Duration) *BcDeviceRegistrationParams
- func (o *BcDeviceRegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BcDeviceRegistrationReader
- type Client
- func (a *Client) BcDeviceRegistration(params *BcDeviceRegistrationParams) (*BcDeviceRegistrationOK, error)
- func (a *Client) GetRegister(params *GetRegisterParams) (*GetRegisterOK, error)
- func (a *Client) PostRegister(params *PostRegisterParams) (*PostRegisterOK, error)
- func (a *Client) PutRegister(params *PutRegisterParams) (*PutRegisterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetRegisterBadRequest
- type GetRegisterInternalServerError
- type GetRegisterOK
- type GetRegisterParams
- func (o *GetRegisterParams) SetAuthorization(authorization string)
- func (o *GetRegisterParams) SetClientID(clientID string)
- func (o *GetRegisterParams) SetContext(ctx context.Context)
- func (o *GetRegisterParams) SetHTTPClient(client *http.Client)
- func (o *GetRegisterParams) SetTimeout(timeout time.Duration)
- func (o *GetRegisterParams) WithAuthorization(authorization string) *GetRegisterParams
- func (o *GetRegisterParams) WithClientID(clientID string) *GetRegisterParams
- func (o *GetRegisterParams) WithContext(ctx context.Context) *GetRegisterParams
- func (o *GetRegisterParams) WithHTTPClient(client *http.Client) *GetRegisterParams
- func (o *GetRegisterParams) WithTimeout(timeout time.Duration) *GetRegisterParams
- func (o *GetRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegisterReader
- type GetRegisterUnauthorized
- type PostRegisterBadRequest
- type PostRegisterInternalServerError
- type PostRegisterOK
- type PostRegisterParams
- func (o *PostRegisterParams) SetBody(body *models.RegisterParams)
- func (o *PostRegisterParams) SetContext(ctx context.Context)
- func (o *PostRegisterParams) SetHTTPClient(client *http.Client)
- func (o *PostRegisterParams) SetTimeout(timeout time.Duration)
- func (o *PostRegisterParams) WithBody(body *models.RegisterParams) *PostRegisterParams
- func (o *PostRegisterParams) WithContext(ctx context.Context) *PostRegisterParams
- func (o *PostRegisterParams) WithHTTPClient(client *http.Client) *PostRegisterParams
- func (o *PostRegisterParams) WithTimeout(timeout time.Duration) *PostRegisterParams
- func (o *PostRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRegisterReader
- type PutRegisterBadRequest
- type PutRegisterInternalServerError
- type PutRegisterOK
- type PutRegisterParams
- func (o *PutRegisterParams) SetAuthorization(authorization string)
- func (o *PutRegisterParams) SetBody(body *models.RegisterParams)
- func (o *PutRegisterParams) SetClientID(clientID string)
- func (o *PutRegisterParams) SetContext(ctx context.Context)
- func (o *PutRegisterParams) SetHTTPClient(client *http.Client)
- func (o *PutRegisterParams) SetTimeout(timeout time.Duration)
- func (o *PutRegisterParams) WithAuthorization(authorization string) *PutRegisterParams
- func (o *PutRegisterParams) WithBody(body *models.RegisterParams) *PutRegisterParams
- func (o *PutRegisterParams) WithClientID(clientID string) *PutRegisterParams
- func (o *PutRegisterParams) WithContext(ctx context.Context) *PutRegisterParams
- func (o *PutRegisterParams) WithHTTPClient(client *http.Client) *PutRegisterParams
- func (o *PutRegisterParams) WithTimeout(timeout time.Duration) *PutRegisterParams
- func (o *PutRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutRegisterReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BcDeviceRegistrationBadRequest ¶
type BcDeviceRegistrationBadRequest struct {
Payload *models.ErrorResponse
}
BcDeviceRegistrationBadRequest handles this case with default header values.
Invalid parameters are provided to endpoint.
func NewBcDeviceRegistrationBadRequest ¶
func NewBcDeviceRegistrationBadRequest() *BcDeviceRegistrationBadRequest
NewBcDeviceRegistrationBadRequest creates a BcDeviceRegistrationBadRequest with default headers values
func (*BcDeviceRegistrationBadRequest) Error ¶
func (o *BcDeviceRegistrationBadRequest) Error() string
func (*BcDeviceRegistrationBadRequest) GetPayload ¶
func (o *BcDeviceRegistrationBadRequest) GetPayload() *models.ErrorResponse
type BcDeviceRegistrationForbidden ¶
type BcDeviceRegistrationForbidden struct {
Payload *models.ErrorResponse
}
BcDeviceRegistrationForbidden handles this case with default header values.
Invalid details provided hence access denied.
func NewBcDeviceRegistrationForbidden ¶
func NewBcDeviceRegistrationForbidden() *BcDeviceRegistrationForbidden
NewBcDeviceRegistrationForbidden creates a BcDeviceRegistrationForbidden with default headers values
func (*BcDeviceRegistrationForbidden) Error ¶
func (o *BcDeviceRegistrationForbidden) Error() string
func (*BcDeviceRegistrationForbidden) GetPayload ¶
func (o *BcDeviceRegistrationForbidden) GetPayload() *models.ErrorResponse
type BcDeviceRegistrationOK ¶
type BcDeviceRegistrationOK struct { }
BcDeviceRegistrationOK handles this case with default header values.
OK
func NewBcDeviceRegistrationOK ¶
func NewBcDeviceRegistrationOK() *BcDeviceRegistrationOK
NewBcDeviceRegistrationOK creates a BcDeviceRegistrationOK with default headers values
func (*BcDeviceRegistrationOK) Error ¶
func (o *BcDeviceRegistrationOK) Error() string
type BcDeviceRegistrationParams ¶
type BcDeviceRegistrationParams struct { /*DeviceRegistrationToken OAuth 2.0 Client Identifier valid at the Authorization Serve */ DeviceRegistrationToken string /*IDTokenHint An ID Token previously issued to the Client by the OpenID Provider being passed back as a hint to identify the end-user for whom the device registration is being requested. */ IDTokenHint string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BcDeviceRegistrationParams contains all the parameters to send to the API endpoint for the bc device registration operation typically these are written to a http.Request
func NewBcDeviceRegistrationParams ¶
func NewBcDeviceRegistrationParams() *BcDeviceRegistrationParams
NewBcDeviceRegistrationParams creates a new BcDeviceRegistrationParams object with the default values initialized.
func NewBcDeviceRegistrationParamsWithContext ¶
func NewBcDeviceRegistrationParamsWithContext(ctx context.Context) *BcDeviceRegistrationParams
NewBcDeviceRegistrationParamsWithContext creates a new BcDeviceRegistrationParams object with the default values initialized, and the ability to set a context for a request
func NewBcDeviceRegistrationParamsWithHTTPClient ¶
func NewBcDeviceRegistrationParamsWithHTTPClient(client *http.Client) *BcDeviceRegistrationParams
NewBcDeviceRegistrationParamsWithHTTPClient creates a new BcDeviceRegistrationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBcDeviceRegistrationParamsWithTimeout ¶
func NewBcDeviceRegistrationParamsWithTimeout(timeout time.Duration) *BcDeviceRegistrationParams
NewBcDeviceRegistrationParamsWithTimeout creates a new BcDeviceRegistrationParams object with the default values initialized, and the ability to set a timeout on a request
func (*BcDeviceRegistrationParams) SetContext ¶
func (o *BcDeviceRegistrationParams) SetContext(ctx context.Context)
SetContext adds the context to the bc device registration params
func (*BcDeviceRegistrationParams) SetDeviceRegistrationToken ¶
func (o *BcDeviceRegistrationParams) SetDeviceRegistrationToken(deviceRegistrationToken string)
SetDeviceRegistrationToken adds the deviceRegistrationToken to the bc device registration params
func (*BcDeviceRegistrationParams) SetHTTPClient ¶
func (o *BcDeviceRegistrationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bc device registration params
func (*BcDeviceRegistrationParams) SetIDTokenHint ¶
func (o *BcDeviceRegistrationParams) SetIDTokenHint(iDTokenHint string)
SetIDTokenHint adds the idTokenHint to the bc device registration params
func (*BcDeviceRegistrationParams) SetTimeout ¶
func (o *BcDeviceRegistrationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bc device registration params
func (*BcDeviceRegistrationParams) WithContext ¶
func (o *BcDeviceRegistrationParams) WithContext(ctx context.Context) *BcDeviceRegistrationParams
WithContext adds the context to the bc device registration params
func (*BcDeviceRegistrationParams) WithDeviceRegistrationToken ¶
func (o *BcDeviceRegistrationParams) WithDeviceRegistrationToken(deviceRegistrationToken string) *BcDeviceRegistrationParams
WithDeviceRegistrationToken adds the deviceRegistrationToken to the bc device registration params
func (*BcDeviceRegistrationParams) WithHTTPClient ¶
func (o *BcDeviceRegistrationParams) WithHTTPClient(client *http.Client) *BcDeviceRegistrationParams
WithHTTPClient adds the HTTPClient to the bc device registration params
func (*BcDeviceRegistrationParams) WithIDTokenHint ¶
func (o *BcDeviceRegistrationParams) WithIDTokenHint(iDTokenHint string) *BcDeviceRegistrationParams
WithIDTokenHint adds the iDTokenHint to the bc device registration params
func (*BcDeviceRegistrationParams) WithTimeout ¶
func (o *BcDeviceRegistrationParams) WithTimeout(timeout time.Duration) *BcDeviceRegistrationParams
WithTimeout adds the timeout to the bc device registration params
func (*BcDeviceRegistrationParams) WriteToRequest ¶
func (o *BcDeviceRegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BcDeviceRegistrationReader ¶
type BcDeviceRegistrationReader struct {
// contains filtered or unexported fields
}
BcDeviceRegistrationReader is a Reader for the BcDeviceRegistration structure.
func (*BcDeviceRegistrationReader) ReadResponse ¶
func (o *BcDeviceRegistrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for registration API
func (*Client) BcDeviceRegistration ¶
func (a *Client) BcDeviceRegistration(params *BcDeviceRegistrationParams) (*BcDeviceRegistrationOK, error)
BcDeviceRegistration bcs device registration
Performs backchannel device registration.
func (*Client) GetRegister ¶
func (a *Client) GetRegister(params *GetRegisterParams) (*GetRegisterOK, error)
GetRegister gets register
Get client information for a previously registered client.
func (*Client) PostRegister ¶
func (a *Client) PostRegister(params *PostRegisterParams) (*PostRegisterOK, error)
PostRegister posts register
The Client Registration Endpoint is an OAuth 2.0 Protected Resource through which a new Client registration can be requested.
func (*Client) PutRegister ¶
func (a *Client) PutRegister(params *PutRegisterParams) (*PutRegisterOK, error)
PutRegister puts register
Update Client Metadata for a registered client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { BcDeviceRegistration(params *BcDeviceRegistrationParams) (*BcDeviceRegistrationOK, error) GetRegister(params *GetRegisterParams) (*GetRegisterOK, error) PostRegister(params *PostRegisterParams) (*PostRegisterOK, error) PutRegister(params *PutRegisterParams) (*PutRegisterOK, 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 registration API client.
type GetRegisterBadRequest ¶
type GetRegisterBadRequest struct {
Payload *models.ErrorResponse
}
GetRegisterBadRequest handles this case with default header values.
Invalid parameters provided to endpoint.
func NewGetRegisterBadRequest ¶
func NewGetRegisterBadRequest() *GetRegisterBadRequest
NewGetRegisterBadRequest creates a GetRegisterBadRequest with default headers values
func (*GetRegisterBadRequest) Error ¶
func (o *GetRegisterBadRequest) Error() string
func (*GetRegisterBadRequest) GetPayload ¶
func (o *GetRegisterBadRequest) GetPayload() *models.ErrorResponse
type GetRegisterInternalServerError ¶
type GetRegisterInternalServerError struct {
Payload *models.ErrorResponse
}
GetRegisterInternalServerError handles this case with default header values.
Internal error occured. Please check log file for details.
func NewGetRegisterInternalServerError ¶
func NewGetRegisterInternalServerError() *GetRegisterInternalServerError
NewGetRegisterInternalServerError creates a GetRegisterInternalServerError with default headers values
func (*GetRegisterInternalServerError) Error ¶
func (o *GetRegisterInternalServerError) Error() string
func (*GetRegisterInternalServerError) GetPayload ¶
func (o *GetRegisterInternalServerError) GetPayload() *models.ErrorResponse
type GetRegisterOK ¶
type GetRegisterOK struct {
Payload *models.ClientResponse
}
GetRegisterOK handles this case with default header values.
OK
func NewGetRegisterOK ¶
func NewGetRegisterOK() *GetRegisterOK
NewGetRegisterOK creates a GetRegisterOK with default headers values
func (*GetRegisterOK) Error ¶
func (o *GetRegisterOK) Error() string
func (*GetRegisterOK) GetPayload ¶
func (o *GetRegisterOK) GetPayload() *models.ClientResponse
type GetRegisterParams ¶
type GetRegisterParams struct { /*Authorization Authorization header carrying \"registration_access_token\" issued before as a Bearer token */ Authorization string /*ClientID Client ID that identifies client. */ ClientID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRegisterParams contains all the parameters to send to the API endpoint for the get register operation typically these are written to a http.Request
func NewGetRegisterParams ¶
func NewGetRegisterParams() *GetRegisterParams
NewGetRegisterParams creates a new GetRegisterParams object with the default values initialized.
func NewGetRegisterParamsWithContext ¶
func NewGetRegisterParamsWithContext(ctx context.Context) *GetRegisterParams
NewGetRegisterParamsWithContext creates a new GetRegisterParams object with the default values initialized, and the ability to set a context for a request
func NewGetRegisterParamsWithHTTPClient ¶
func NewGetRegisterParamsWithHTTPClient(client *http.Client) *GetRegisterParams
NewGetRegisterParamsWithHTTPClient creates a new GetRegisterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRegisterParamsWithTimeout ¶
func NewGetRegisterParamsWithTimeout(timeout time.Duration) *GetRegisterParams
NewGetRegisterParamsWithTimeout creates a new GetRegisterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRegisterParams) SetAuthorization ¶
func (o *GetRegisterParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get register params
func (*GetRegisterParams) SetClientID ¶
func (o *GetRegisterParams) SetClientID(clientID string)
SetClientID adds the clientId to the get register params
func (*GetRegisterParams) SetContext ¶
func (o *GetRegisterParams) SetContext(ctx context.Context)
SetContext adds the context to the get register params
func (*GetRegisterParams) SetHTTPClient ¶
func (o *GetRegisterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get register params
func (*GetRegisterParams) SetTimeout ¶
func (o *GetRegisterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get register params
func (*GetRegisterParams) WithAuthorization ¶
func (o *GetRegisterParams) WithAuthorization(authorization string) *GetRegisterParams
WithAuthorization adds the authorization to the get register params
func (*GetRegisterParams) WithClientID ¶
func (o *GetRegisterParams) WithClientID(clientID string) *GetRegisterParams
WithClientID adds the clientID to the get register params
func (*GetRegisterParams) WithContext ¶
func (o *GetRegisterParams) WithContext(ctx context.Context) *GetRegisterParams
WithContext adds the context to the get register params
func (*GetRegisterParams) WithHTTPClient ¶
func (o *GetRegisterParams) WithHTTPClient(client *http.Client) *GetRegisterParams
WithHTTPClient adds the HTTPClient to the get register params
func (*GetRegisterParams) WithTimeout ¶
func (o *GetRegisterParams) WithTimeout(timeout time.Duration) *GetRegisterParams
WithTimeout adds the timeout to the get register params
func (*GetRegisterParams) WriteToRequest ¶
func (o *GetRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRegisterReader ¶
type GetRegisterReader struct {
// contains filtered or unexported fields
}
GetRegisterReader is a Reader for the GetRegister structure.
func (*GetRegisterReader) ReadResponse ¶
func (o *GetRegisterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRegisterUnauthorized ¶
type GetRegisterUnauthorized struct {
}GetRegisterUnauthorized handles this case with default header values.
Invalid parameters are provided to endpoint.
func NewGetRegisterUnauthorized ¶
func NewGetRegisterUnauthorized() *GetRegisterUnauthorized
NewGetRegisterUnauthorized creates a GetRegisterUnauthorized with default headers values
func (*GetRegisterUnauthorized) Error ¶
func (o *GetRegisterUnauthorized) Error() string
func (*GetRegisterUnauthorized) GetPayload ¶
func (o *GetRegisterUnauthorized) GetPayload() *models.ErrorResponse
type PostRegisterBadRequest ¶
type PostRegisterBadRequest struct {
Payload *models.ErrorResponse
}
PostRegisterBadRequest handles this case with default header values.
Invalid parameters provided to endpoint.
func NewPostRegisterBadRequest ¶
func NewPostRegisterBadRequest() *PostRegisterBadRequest
NewPostRegisterBadRequest creates a PostRegisterBadRequest with default headers values
func (*PostRegisterBadRequest) Error ¶
func (o *PostRegisterBadRequest) Error() string
func (*PostRegisterBadRequest) GetPayload ¶
func (o *PostRegisterBadRequest) GetPayload() *models.ErrorResponse
type PostRegisterInternalServerError ¶
type PostRegisterInternalServerError struct {
Payload *models.ErrorResponse
}
PostRegisterInternalServerError handles this case with default header values.
Internal error occured. Please check log file for details.
func NewPostRegisterInternalServerError ¶
func NewPostRegisterInternalServerError() *PostRegisterInternalServerError
NewPostRegisterInternalServerError creates a PostRegisterInternalServerError with default headers values
func (*PostRegisterInternalServerError) Error ¶
func (o *PostRegisterInternalServerError) Error() string
func (*PostRegisterInternalServerError) GetPayload ¶
func (o *PostRegisterInternalServerError) GetPayload() *models.ErrorResponse
type PostRegisterOK ¶
type PostRegisterOK struct {
Payload *models.RegisterResponseParam
}
PostRegisterOK handles this case with default header values.
OK
func NewPostRegisterOK ¶
func NewPostRegisterOK() *PostRegisterOK
NewPostRegisterOK creates a PostRegisterOK with default headers values
func (*PostRegisterOK) Error ¶
func (o *PostRegisterOK) Error() string
func (*PostRegisterOK) GetPayload ¶
func (o *PostRegisterOK) GetPayload() *models.RegisterResponseParam
type PostRegisterParams ¶
type PostRegisterParams struct { /*Body*/ Body *models.RegisterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRegisterParams contains all the parameters to send to the API endpoint for the post register operation typically these are written to a http.Request
func NewPostRegisterParams ¶
func NewPostRegisterParams() *PostRegisterParams
NewPostRegisterParams creates a new PostRegisterParams object with the default values initialized.
func NewPostRegisterParamsWithContext ¶
func NewPostRegisterParamsWithContext(ctx context.Context) *PostRegisterParams
NewPostRegisterParamsWithContext creates a new PostRegisterParams object with the default values initialized, and the ability to set a context for a request
func NewPostRegisterParamsWithHTTPClient ¶
func NewPostRegisterParamsWithHTTPClient(client *http.Client) *PostRegisterParams
NewPostRegisterParamsWithHTTPClient creates a new PostRegisterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRegisterParamsWithTimeout ¶
func NewPostRegisterParamsWithTimeout(timeout time.Duration) *PostRegisterParams
NewPostRegisterParamsWithTimeout creates a new PostRegisterParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRegisterParams) SetBody ¶
func (o *PostRegisterParams) SetBody(body *models.RegisterParams)
SetBody adds the body to the post register params
func (*PostRegisterParams) SetContext ¶
func (o *PostRegisterParams) SetContext(ctx context.Context)
SetContext adds the context to the post register params
func (*PostRegisterParams) SetHTTPClient ¶
func (o *PostRegisterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post register params
func (*PostRegisterParams) SetTimeout ¶
func (o *PostRegisterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post register params
func (*PostRegisterParams) WithBody ¶
func (o *PostRegisterParams) WithBody(body *models.RegisterParams) *PostRegisterParams
WithBody adds the body to the post register params
func (*PostRegisterParams) WithContext ¶
func (o *PostRegisterParams) WithContext(ctx context.Context) *PostRegisterParams
WithContext adds the context to the post register params
func (*PostRegisterParams) WithHTTPClient ¶
func (o *PostRegisterParams) WithHTTPClient(client *http.Client) *PostRegisterParams
WithHTTPClient adds the HTTPClient to the post register params
func (*PostRegisterParams) WithTimeout ¶
func (o *PostRegisterParams) WithTimeout(timeout time.Duration) *PostRegisterParams
WithTimeout adds the timeout to the post register params
func (*PostRegisterParams) WriteToRequest ¶
func (o *PostRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRegisterReader ¶
type PostRegisterReader struct {
// contains filtered or unexported fields
}
PostRegisterReader is a Reader for the PostRegister structure.
func (*PostRegisterReader) ReadResponse ¶
func (o *PostRegisterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutRegisterBadRequest ¶
type PutRegisterBadRequest struct {
Payload *models.ErrorResponse
}
PutRegisterBadRequest handles this case with default header values.
Invalid parameters provided to endpoint.
func NewPutRegisterBadRequest ¶
func NewPutRegisterBadRequest() *PutRegisterBadRequest
NewPutRegisterBadRequest creates a PutRegisterBadRequest with default headers values
func (*PutRegisterBadRequest) Error ¶
func (o *PutRegisterBadRequest) Error() string
func (*PutRegisterBadRequest) GetPayload ¶
func (o *PutRegisterBadRequest) GetPayload() *models.ErrorResponse
type PutRegisterInternalServerError ¶
type PutRegisterInternalServerError struct {
Payload *models.ErrorResponse
}
PutRegisterInternalServerError handles this case with default header values.
Internal error occured. Please check log file for details.
func NewPutRegisterInternalServerError ¶
func NewPutRegisterInternalServerError() *PutRegisterInternalServerError
NewPutRegisterInternalServerError creates a PutRegisterInternalServerError with default headers values
func (*PutRegisterInternalServerError) Error ¶
func (o *PutRegisterInternalServerError) Error() string
func (*PutRegisterInternalServerError) GetPayload ¶
func (o *PutRegisterInternalServerError) GetPayload() *models.ErrorResponse
type PutRegisterOK ¶
type PutRegisterOK struct {
Payload *models.RegisterResponseParam
}
PutRegisterOK handles this case with default header values.
OK
func NewPutRegisterOK ¶
func NewPutRegisterOK() *PutRegisterOK
NewPutRegisterOK creates a PutRegisterOK with default headers values
func (*PutRegisterOK) Error ¶
func (o *PutRegisterOK) Error() string
func (*PutRegisterOK) GetPayload ¶
func (o *PutRegisterOK) GetPayload() *models.RegisterResponseParam
type PutRegisterParams ¶
type PutRegisterParams struct { /*Authorization Authorization header carrying \"registration_access_token\" issued before as a Bearer token */ Authorization string /*Body*/ Body *models.RegisterParams /*ClientID Client ID that identifies client that must be updated by this request. */ ClientID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutRegisterParams contains all the parameters to send to the API endpoint for the put register operation typically these are written to a http.Request
func NewPutRegisterParams ¶
func NewPutRegisterParams() *PutRegisterParams
NewPutRegisterParams creates a new PutRegisterParams object with the default values initialized.
func NewPutRegisterParamsWithContext ¶
func NewPutRegisterParamsWithContext(ctx context.Context) *PutRegisterParams
NewPutRegisterParamsWithContext creates a new PutRegisterParams object with the default values initialized, and the ability to set a context for a request
func NewPutRegisterParamsWithHTTPClient ¶
func NewPutRegisterParamsWithHTTPClient(client *http.Client) *PutRegisterParams
NewPutRegisterParamsWithHTTPClient creates a new PutRegisterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutRegisterParamsWithTimeout ¶
func NewPutRegisterParamsWithTimeout(timeout time.Duration) *PutRegisterParams
NewPutRegisterParamsWithTimeout creates a new PutRegisterParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutRegisterParams) SetAuthorization ¶
func (o *PutRegisterParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the put register params
func (*PutRegisterParams) SetBody ¶
func (o *PutRegisterParams) SetBody(body *models.RegisterParams)
SetBody adds the body to the put register params
func (*PutRegisterParams) SetClientID ¶
func (o *PutRegisterParams) SetClientID(clientID string)
SetClientID adds the clientId to the put register params
func (*PutRegisterParams) SetContext ¶
func (o *PutRegisterParams) SetContext(ctx context.Context)
SetContext adds the context to the put register params
func (*PutRegisterParams) SetHTTPClient ¶
func (o *PutRegisterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put register params
func (*PutRegisterParams) SetTimeout ¶
func (o *PutRegisterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put register params
func (*PutRegisterParams) WithAuthorization ¶
func (o *PutRegisterParams) WithAuthorization(authorization string) *PutRegisterParams
WithAuthorization adds the authorization to the put register params
func (*PutRegisterParams) WithBody ¶
func (o *PutRegisterParams) WithBody(body *models.RegisterParams) *PutRegisterParams
WithBody adds the body to the put register params
func (*PutRegisterParams) WithClientID ¶
func (o *PutRegisterParams) WithClientID(clientID string) *PutRegisterParams
WithClientID adds the clientID to the put register params
func (*PutRegisterParams) WithContext ¶
func (o *PutRegisterParams) WithContext(ctx context.Context) *PutRegisterParams
WithContext adds the context to the put register params
func (*PutRegisterParams) WithHTTPClient ¶
func (o *PutRegisterParams) WithHTTPClient(client *http.Client) *PutRegisterParams
WithHTTPClient adds the HTTPClient to the put register params
func (*PutRegisterParams) WithTimeout ¶
func (o *PutRegisterParams) WithTimeout(timeout time.Duration) *PutRegisterParams
WithTimeout adds the timeout to the put register params
func (*PutRegisterParams) WriteToRequest ¶
func (o *PutRegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutRegisterReader ¶
type PutRegisterReader struct {
// contains filtered or unexported fields
}
PutRegisterReader is a Reader for the PutRegister structure.
func (*PutRegisterReader) ReadResponse ¶
func (o *PutRegisterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.