integration_customer_token_service_v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for integration customer token service v1 API

func (*Client) IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPost

IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPost Create access token for admin given the customer credentials.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPost(params *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams, opts ...ClientOption) (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK, 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 integration customer token service v1 API client.

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest struct {
	Payload *models.ErrorResponse
}
IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest describes a response with status code 400, with default header values.

400 Bad Request

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest() *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest

NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest creates a IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest with default headers values

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest) Error

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBadRequest) GetPayload

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody struct {

	// password
	// Required: true
	Password *string `json:"password"`

	// username
	// Required: true
	Username *string `json:"username"`
}

IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody integration customer token service v1 create customer access token post body swagger:model IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody) ContextValidate

ContextValidate validates this integration customer token service v1 create customer access token post body based on context it is used

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody) MarshalBinary

MarshalBinary interface implementation

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody) Validate

Validate validates this integration customer token service v1 create customer access token post body

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault describes a response with status code -1, with default header values.

Unexpected error

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault(code int) *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault

NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault creates a IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault with default headers values

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault) Code

Code gets the status code for the integration customer token service v1 create customer access token post default response

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault) Error

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostDefault) GetPayload

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK struct {
	Payload string
}
IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK describes a response with status code 200, with default header values.

200 Success.

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK() *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK

NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK creates a IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK with default headers values

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK) Error

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostOK) GetPayload

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams struct {

	// IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody.
	IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody

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

IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams contains all the parameters to send to the API endpoint

for the integration customer token service v1 create customer access token post operation.

Typically these are written to a http.Request.

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams() *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams

NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams creates a new IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams 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 NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithContext

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithContext(ctx context.Context) *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams

NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithContext creates a new IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams object with the ability to set a context for a request.

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithHTTPClient

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithHTTPClient(client *http.Client) *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams

NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithHTTPClient creates a new IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams object with the ability to set a custom HTTPClient for a request.

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithTimeout

func NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithTimeout(timeout time.Duration) *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams

NewIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParamsWithTimeout creates a new IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams object with the ability to set a timeout on a request.

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) SetContext

SetContext adds the context to the integration customer token service v1 create customer access token post params

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) SetDefaults

SetDefaults hydrates default values in the integration customer token service v1 create customer access token post params (not the query body).

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

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the integration customer token service v1 create customer access token post params

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) SetIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody

func (o *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) SetIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody(integrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody)

SetIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody adds the integrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody to the integration customer token service v1 create customer access token post params

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) SetTimeout

SetTimeout adds the timeout to the integration customer token service v1 create customer access token post params

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) WithContext

WithContext adds the context to the integration customer token service v1 create customer access token post params

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) WithDefaults

WithDefaults hydrates default values in the integration customer token service v1 create customer access token post params (not the query body).

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

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the integration customer token service v1 create customer access token post params

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) WithIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody

func (o *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) WithIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody(integrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody) *IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams

WithIntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody adds the integrationCustomerTokenServiceV1CreateCustomerAccessTokenPostBody to the integration customer token service v1 create customer access token post params

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) WithTimeout

WithTimeout adds the timeout to the integration customer token service v1 create customer access token post params

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostReader

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

IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostReader is a Reader for the IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPost structure.

func (*IntegrationCustomerTokenServiceV1CreateCustomerAccessTokenPostReader) ReadResponse

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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