exchange

package
v0.0.0-...-64a628e Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for exchange API

func (*Client) ExchangeAdd

func (a *Client) ExchangeAdd(params *ExchangeAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeAddOK, error)

ExchangeAdd adds a list of data exchange records to alfabet this interface takes in an array of exchanges

Add a list of data exchange records to Alfabet. This interface takes in an array of exchanges.

func (*Client) ExchangeDeleteList

func (a *Client) ExchangeDeleteList(params *ExchangeDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeDeleteListOK, error)

ExchangeDeleteList deletes a list of data exchanges by ID this interface takes an array of exchange ids

Delete a list of data exchanges by ID. This interface takes an array of exchange ids.

func (*Client) ExchangeFindByID

func (a *Client) ExchangeFindByID(params *ExchangeFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeFindByIDOK, error)

ExchangeFindByID retrieves a data exchange record from alfabet this interface takes in a system Id direction and version

Retrieve a data exchange record from Alfabet. This interface takes in a systemId, direction and version.

func (*Client) ExchangeFindList

func (a *Client) ExchangeFindList(params *ExchangeFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeFindListOK, error)

ExchangeFindList retrieves a data exchange record from alfabet this interface takes in a system Id direction and version

Retrieve a data exchange record from Alfabet. This interface takes in a systemId, direction and version.

func (*Client) ExchangeUpdate

func (a *Client) ExchangeUpdate(params *ExchangeUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeUpdateOK, error)

ExchangeUpdate updates a list of data exchange records to alfabet this interface takes in an array of exchanges

Update a list of data exchange records to Alfabet. This interface takes in an array of exchanges.

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 {
	ExchangeAdd(params *ExchangeAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeAddOK, error)

	ExchangeDeleteList(params *ExchangeDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeDeleteListOK, error)

	ExchangeFindByID(params *ExchangeFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeFindByIDOK, error)

	ExchangeFindList(params *ExchangeFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeFindListOK, error)

	ExchangeUpdate(params *ExchangeUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExchangeUpdateOK, 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 exchange API client.

type ExchangeAddBadRequest

type ExchangeAddBadRequest struct {
	Payload *models.Response
}

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

Bad Request

func NewExchangeAddBadRequest

func NewExchangeAddBadRequest() *ExchangeAddBadRequest

NewExchangeAddBadRequest creates a ExchangeAddBadRequest with default headers values

func (*ExchangeAddBadRequest) Code

func (o *ExchangeAddBadRequest) Code() int

Code gets the status code for the exchange add bad request response

func (*ExchangeAddBadRequest) Error

func (o *ExchangeAddBadRequest) Error() string

func (*ExchangeAddBadRequest) GetPayload

func (o *ExchangeAddBadRequest) GetPayload() *models.Response

func (*ExchangeAddBadRequest) IsClientError

func (o *ExchangeAddBadRequest) IsClientError() bool

IsClientError returns true when this exchange add bad request response has a 4xx status code

func (*ExchangeAddBadRequest) IsCode

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

IsCode returns true when this exchange add bad request response a status code equal to that given

func (*ExchangeAddBadRequest) IsRedirect

func (o *ExchangeAddBadRequest) IsRedirect() bool

IsRedirect returns true when this exchange add bad request response has a 3xx status code

func (*ExchangeAddBadRequest) IsServerError

func (o *ExchangeAddBadRequest) IsServerError() bool

IsServerError returns true when this exchange add bad request response has a 5xx status code

func (*ExchangeAddBadRequest) IsSuccess

func (o *ExchangeAddBadRequest) IsSuccess() bool

IsSuccess returns true when this exchange add bad request response has a 2xx status code

func (*ExchangeAddBadRequest) String

func (o *ExchangeAddBadRequest) String() string

type ExchangeAddInternalServerError

type ExchangeAddInternalServerError struct {
	Payload *models.Response
}

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

Internal Server Error

func NewExchangeAddInternalServerError

func NewExchangeAddInternalServerError() *ExchangeAddInternalServerError

NewExchangeAddInternalServerError creates a ExchangeAddInternalServerError with default headers values

func (*ExchangeAddInternalServerError) Code

Code gets the status code for the exchange add internal server error response

func (*ExchangeAddInternalServerError) Error

func (*ExchangeAddInternalServerError) GetPayload

func (*ExchangeAddInternalServerError) IsClientError

func (o *ExchangeAddInternalServerError) IsClientError() bool

IsClientError returns true when this exchange add internal server error response has a 4xx status code

func (*ExchangeAddInternalServerError) IsCode

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

IsCode returns true when this exchange add internal server error response a status code equal to that given

func (*ExchangeAddInternalServerError) IsRedirect

func (o *ExchangeAddInternalServerError) IsRedirect() bool

IsRedirect returns true when this exchange add internal server error response has a 3xx status code

func (*ExchangeAddInternalServerError) IsServerError

func (o *ExchangeAddInternalServerError) IsServerError() bool

IsServerError returns true when this exchange add internal server error response has a 5xx status code

func (*ExchangeAddInternalServerError) IsSuccess

func (o *ExchangeAddInternalServerError) IsSuccess() bool

IsSuccess returns true when this exchange add internal server error response has a 2xx status code

func (*ExchangeAddInternalServerError) String

type ExchangeAddOK

type ExchangeAddOK struct {
	Payload *models.Response
}

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

OK

func NewExchangeAddOK

func NewExchangeAddOK() *ExchangeAddOK

NewExchangeAddOK creates a ExchangeAddOK with default headers values

func (*ExchangeAddOK) Code

func (o *ExchangeAddOK) Code() int

Code gets the status code for the exchange add o k response

func (*ExchangeAddOK) Error

func (o *ExchangeAddOK) Error() string

func (*ExchangeAddOK) GetPayload

func (o *ExchangeAddOK) GetPayload() *models.Response

func (*ExchangeAddOK) IsClientError

func (o *ExchangeAddOK) IsClientError() bool

IsClientError returns true when this exchange add o k response has a 4xx status code

func (*ExchangeAddOK) IsCode

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

IsCode returns true when this exchange add o k response a status code equal to that given

func (*ExchangeAddOK) IsRedirect

func (o *ExchangeAddOK) IsRedirect() bool

IsRedirect returns true when this exchange add o k response has a 3xx status code

func (*ExchangeAddOK) IsServerError

func (o *ExchangeAddOK) IsServerError() bool

IsServerError returns true when this exchange add o k response has a 5xx status code

func (*ExchangeAddOK) IsSuccess

func (o *ExchangeAddOK) IsSuccess() bool

IsSuccess returns true when this exchange add o k response has a 2xx status code

func (*ExchangeAddOK) String

func (o *ExchangeAddOK) String() string

type ExchangeAddParams

type ExchangeAddParams struct {

	/* Body.

	   Data exchange array to be added to Alfabet.
	*/
	Body *models.ExchangeAddRequest

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

ExchangeAddParams contains all the parameters to send to the API endpoint

for the exchange add operation.

Typically these are written to a http.Request.

func NewExchangeAddParams

func NewExchangeAddParams() *ExchangeAddParams

NewExchangeAddParams creates a new ExchangeAddParams 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 NewExchangeAddParamsWithContext

func NewExchangeAddParamsWithContext(ctx context.Context) *ExchangeAddParams

NewExchangeAddParamsWithContext creates a new ExchangeAddParams object with the ability to set a context for a request.

func NewExchangeAddParamsWithHTTPClient

func NewExchangeAddParamsWithHTTPClient(client *http.Client) *ExchangeAddParams

NewExchangeAddParamsWithHTTPClient creates a new ExchangeAddParams object with the ability to set a custom HTTPClient for a request.

func NewExchangeAddParamsWithTimeout

func NewExchangeAddParamsWithTimeout(timeout time.Duration) *ExchangeAddParams

NewExchangeAddParamsWithTimeout creates a new ExchangeAddParams object with the ability to set a timeout on a request.

func (*ExchangeAddParams) SetBody

func (o *ExchangeAddParams) SetBody(body *models.ExchangeAddRequest)

SetBody adds the body to the exchange add params

func (*ExchangeAddParams) SetContext

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

SetContext adds the context to the exchange add params

func (*ExchangeAddParams) SetDefaults

func (o *ExchangeAddParams) SetDefaults()

SetDefaults hydrates default values in the exchange add params (not the query body).

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

func (*ExchangeAddParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the exchange add params

func (*ExchangeAddParams) SetTimeout

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

SetTimeout adds the timeout to the exchange add params

func (*ExchangeAddParams) WithBody

WithBody adds the body to the exchange add params

func (*ExchangeAddParams) WithContext

func (o *ExchangeAddParams) WithContext(ctx context.Context) *ExchangeAddParams

WithContext adds the context to the exchange add params

func (*ExchangeAddParams) WithDefaults

func (o *ExchangeAddParams) WithDefaults() *ExchangeAddParams

WithDefaults hydrates default values in the exchange add params (not the query body).

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

func (*ExchangeAddParams) WithHTTPClient

func (o *ExchangeAddParams) WithHTTPClient(client *http.Client) *ExchangeAddParams

WithHTTPClient adds the HTTPClient to the exchange add params

func (*ExchangeAddParams) WithTimeout

func (o *ExchangeAddParams) WithTimeout(timeout time.Duration) *ExchangeAddParams

WithTimeout adds the timeout to the exchange add params

func (*ExchangeAddParams) WriteToRequest

func (o *ExchangeAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExchangeAddReader

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

ExchangeAddReader is a Reader for the ExchangeAdd structure.

func (*ExchangeAddReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExchangeAddUnauthorized

type ExchangeAddUnauthorized struct {
	Payload *models.Response
}

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

Access Denied

func NewExchangeAddUnauthorized

func NewExchangeAddUnauthorized() *ExchangeAddUnauthorized

NewExchangeAddUnauthorized creates a ExchangeAddUnauthorized with default headers values

func (*ExchangeAddUnauthorized) Code

func (o *ExchangeAddUnauthorized) Code() int

Code gets the status code for the exchange add unauthorized response

func (*ExchangeAddUnauthorized) Error

func (o *ExchangeAddUnauthorized) Error() string

func (*ExchangeAddUnauthorized) GetPayload

func (o *ExchangeAddUnauthorized) GetPayload() *models.Response

func (*ExchangeAddUnauthorized) IsClientError

func (o *ExchangeAddUnauthorized) IsClientError() bool

IsClientError returns true when this exchange add unauthorized response has a 4xx status code

func (*ExchangeAddUnauthorized) IsCode

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

IsCode returns true when this exchange add unauthorized response a status code equal to that given

func (*ExchangeAddUnauthorized) IsRedirect

func (o *ExchangeAddUnauthorized) IsRedirect() bool

IsRedirect returns true when this exchange add unauthorized response has a 3xx status code

func (*ExchangeAddUnauthorized) IsServerError

func (o *ExchangeAddUnauthorized) IsServerError() bool

IsServerError returns true when this exchange add unauthorized response has a 5xx status code

func (*ExchangeAddUnauthorized) IsSuccess

func (o *ExchangeAddUnauthorized) IsSuccess() bool

IsSuccess returns true when this exchange add unauthorized response has a 2xx status code

func (*ExchangeAddUnauthorized) String

func (o *ExchangeAddUnauthorized) String() string

type ExchangeDeleteListBadRequest

type ExchangeDeleteListBadRequest struct {
	Payload *models.Response
}

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

Bad Request

func NewExchangeDeleteListBadRequest

func NewExchangeDeleteListBadRequest() *ExchangeDeleteListBadRequest

NewExchangeDeleteListBadRequest creates a ExchangeDeleteListBadRequest with default headers values

func (*ExchangeDeleteListBadRequest) Code

Code gets the status code for the exchange delete list bad request response

func (*ExchangeDeleteListBadRequest) Error

func (*ExchangeDeleteListBadRequest) GetPayload

func (o *ExchangeDeleteListBadRequest) GetPayload() *models.Response

func (*ExchangeDeleteListBadRequest) IsClientError

func (o *ExchangeDeleteListBadRequest) IsClientError() bool

IsClientError returns true when this exchange delete list bad request response has a 4xx status code

func (*ExchangeDeleteListBadRequest) IsCode

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

IsCode returns true when this exchange delete list bad request response a status code equal to that given

func (*ExchangeDeleteListBadRequest) IsRedirect

func (o *ExchangeDeleteListBadRequest) IsRedirect() bool

IsRedirect returns true when this exchange delete list bad request response has a 3xx status code

func (*ExchangeDeleteListBadRequest) IsServerError

func (o *ExchangeDeleteListBadRequest) IsServerError() bool

IsServerError returns true when this exchange delete list bad request response has a 5xx status code

func (*ExchangeDeleteListBadRequest) IsSuccess

func (o *ExchangeDeleteListBadRequest) IsSuccess() bool

IsSuccess returns true when this exchange delete list bad request response has a 2xx status code

func (*ExchangeDeleteListBadRequest) String

type ExchangeDeleteListInternalServerError

type ExchangeDeleteListInternalServerError struct {
	Payload *models.Response
}

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

Internal Server Error

func NewExchangeDeleteListInternalServerError

func NewExchangeDeleteListInternalServerError() *ExchangeDeleteListInternalServerError

NewExchangeDeleteListInternalServerError creates a ExchangeDeleteListInternalServerError with default headers values

func (*ExchangeDeleteListInternalServerError) Code

Code gets the status code for the exchange delete list internal server error response

func (*ExchangeDeleteListInternalServerError) Error

func (*ExchangeDeleteListInternalServerError) GetPayload

func (*ExchangeDeleteListInternalServerError) IsClientError

func (o *ExchangeDeleteListInternalServerError) IsClientError() bool

IsClientError returns true when this exchange delete list internal server error response has a 4xx status code

func (*ExchangeDeleteListInternalServerError) IsCode

IsCode returns true when this exchange delete list internal server error response a status code equal to that given

func (*ExchangeDeleteListInternalServerError) IsRedirect

IsRedirect returns true when this exchange delete list internal server error response has a 3xx status code

func (*ExchangeDeleteListInternalServerError) IsServerError

func (o *ExchangeDeleteListInternalServerError) IsServerError() bool

IsServerError returns true when this exchange delete list internal server error response has a 5xx status code

func (*ExchangeDeleteListInternalServerError) IsSuccess

IsSuccess returns true when this exchange delete list internal server error response has a 2xx status code

func (*ExchangeDeleteListInternalServerError) String

type ExchangeDeleteListNotFound

type ExchangeDeleteListNotFound struct {
	Payload *models.Response
}

ExchangeDeleteListNotFound describes a response with status code 404, with default header values.

Not Found

func NewExchangeDeleteListNotFound

func NewExchangeDeleteListNotFound() *ExchangeDeleteListNotFound

NewExchangeDeleteListNotFound creates a ExchangeDeleteListNotFound with default headers values

func (*ExchangeDeleteListNotFound) Code

func (o *ExchangeDeleteListNotFound) Code() int

Code gets the status code for the exchange delete list not found response

func (*ExchangeDeleteListNotFound) Error

func (*ExchangeDeleteListNotFound) GetPayload

func (o *ExchangeDeleteListNotFound) GetPayload() *models.Response

func (*ExchangeDeleteListNotFound) IsClientError

func (o *ExchangeDeleteListNotFound) IsClientError() bool

IsClientError returns true when this exchange delete list not found response has a 4xx status code

func (*ExchangeDeleteListNotFound) IsCode

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

IsCode returns true when this exchange delete list not found response a status code equal to that given

func (*ExchangeDeleteListNotFound) IsRedirect

func (o *ExchangeDeleteListNotFound) IsRedirect() bool

IsRedirect returns true when this exchange delete list not found response has a 3xx status code

func (*ExchangeDeleteListNotFound) IsServerError

func (o *ExchangeDeleteListNotFound) IsServerError() bool

IsServerError returns true when this exchange delete list not found response has a 5xx status code

func (*ExchangeDeleteListNotFound) IsSuccess

func (o *ExchangeDeleteListNotFound) IsSuccess() bool

IsSuccess returns true when this exchange delete list not found response has a 2xx status code

func (*ExchangeDeleteListNotFound) String

func (o *ExchangeDeleteListNotFound) String() string

type ExchangeDeleteListOK

type ExchangeDeleteListOK struct {
	Payload *models.Response
}

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

OK

func NewExchangeDeleteListOK

func NewExchangeDeleteListOK() *ExchangeDeleteListOK

NewExchangeDeleteListOK creates a ExchangeDeleteListOK with default headers values

func (*ExchangeDeleteListOK) Code

func (o *ExchangeDeleteListOK) Code() int

Code gets the status code for the exchange delete list o k response

func (*ExchangeDeleteListOK) Error

func (o *ExchangeDeleteListOK) Error() string

func (*ExchangeDeleteListOK) GetPayload

func (o *ExchangeDeleteListOK) GetPayload() *models.Response

func (*ExchangeDeleteListOK) IsClientError

func (o *ExchangeDeleteListOK) IsClientError() bool

IsClientError returns true when this exchange delete list o k response has a 4xx status code

func (*ExchangeDeleteListOK) IsCode

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

IsCode returns true when this exchange delete list o k response a status code equal to that given

func (*ExchangeDeleteListOK) IsRedirect

func (o *ExchangeDeleteListOK) IsRedirect() bool

IsRedirect returns true when this exchange delete list o k response has a 3xx status code

func (*ExchangeDeleteListOK) IsServerError

func (o *ExchangeDeleteListOK) IsServerError() bool

IsServerError returns true when this exchange delete list o k response has a 5xx status code

func (*ExchangeDeleteListOK) IsSuccess

func (o *ExchangeDeleteListOK) IsSuccess() bool

IsSuccess returns true when this exchange delete list o k response has a 2xx status code

func (*ExchangeDeleteListOK) String

func (o *ExchangeDeleteListOK) String() string

type ExchangeDeleteListParams

type ExchangeDeleteListParams struct {

	/* ID.

	   An array of ids data exchanges.
	*/
	ID []string

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

ExchangeDeleteListParams contains all the parameters to send to the API endpoint

for the exchange delete list operation.

Typically these are written to a http.Request.

func NewExchangeDeleteListParams

func NewExchangeDeleteListParams() *ExchangeDeleteListParams

NewExchangeDeleteListParams creates a new ExchangeDeleteListParams 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 NewExchangeDeleteListParamsWithContext

func NewExchangeDeleteListParamsWithContext(ctx context.Context) *ExchangeDeleteListParams

NewExchangeDeleteListParamsWithContext creates a new ExchangeDeleteListParams object with the ability to set a context for a request.

func NewExchangeDeleteListParamsWithHTTPClient

func NewExchangeDeleteListParamsWithHTTPClient(client *http.Client) *ExchangeDeleteListParams

NewExchangeDeleteListParamsWithHTTPClient creates a new ExchangeDeleteListParams object with the ability to set a custom HTTPClient for a request.

func NewExchangeDeleteListParamsWithTimeout

func NewExchangeDeleteListParamsWithTimeout(timeout time.Duration) *ExchangeDeleteListParams

NewExchangeDeleteListParamsWithTimeout creates a new ExchangeDeleteListParams object with the ability to set a timeout on a request.

func (*ExchangeDeleteListParams) SetContext

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

SetContext adds the context to the exchange delete list params

func (*ExchangeDeleteListParams) SetDefaults

func (o *ExchangeDeleteListParams) SetDefaults()

SetDefaults hydrates default values in the exchange delete list params (not the query body).

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

func (*ExchangeDeleteListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the exchange delete list params

func (*ExchangeDeleteListParams) SetID

func (o *ExchangeDeleteListParams) SetID(id []string)

SetID adds the id to the exchange delete list params

func (*ExchangeDeleteListParams) SetTimeout

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

SetTimeout adds the timeout to the exchange delete list params

func (*ExchangeDeleteListParams) WithContext

WithContext adds the context to the exchange delete list params

func (*ExchangeDeleteListParams) WithDefaults

WithDefaults hydrates default values in the exchange delete list params (not the query body).

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

func (*ExchangeDeleteListParams) WithHTTPClient

func (o *ExchangeDeleteListParams) WithHTTPClient(client *http.Client) *ExchangeDeleteListParams

WithHTTPClient adds the HTTPClient to the exchange delete list params

func (*ExchangeDeleteListParams) WithID

WithID adds the id to the exchange delete list params

func (*ExchangeDeleteListParams) WithTimeout

WithTimeout adds the timeout to the exchange delete list params

func (*ExchangeDeleteListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExchangeDeleteListReader

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

ExchangeDeleteListReader is a Reader for the ExchangeDeleteList structure.

func (*ExchangeDeleteListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExchangeDeleteListUnauthorized

type ExchangeDeleteListUnauthorized struct {
	Payload *models.Response
}

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

Access Denied

func NewExchangeDeleteListUnauthorized

func NewExchangeDeleteListUnauthorized() *ExchangeDeleteListUnauthorized

NewExchangeDeleteListUnauthorized creates a ExchangeDeleteListUnauthorized with default headers values

func (*ExchangeDeleteListUnauthorized) Code

Code gets the status code for the exchange delete list unauthorized response

func (*ExchangeDeleteListUnauthorized) Error

func (*ExchangeDeleteListUnauthorized) GetPayload

func (*ExchangeDeleteListUnauthorized) IsClientError

func (o *ExchangeDeleteListUnauthorized) IsClientError() bool

IsClientError returns true when this exchange delete list unauthorized response has a 4xx status code

func (*ExchangeDeleteListUnauthorized) IsCode

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

IsCode returns true when this exchange delete list unauthorized response a status code equal to that given

func (*ExchangeDeleteListUnauthorized) IsRedirect

func (o *ExchangeDeleteListUnauthorized) IsRedirect() bool

IsRedirect returns true when this exchange delete list unauthorized response has a 3xx status code

func (*ExchangeDeleteListUnauthorized) IsServerError

func (o *ExchangeDeleteListUnauthorized) IsServerError() bool

IsServerError returns true when this exchange delete list unauthorized response has a 5xx status code

func (*ExchangeDeleteListUnauthorized) IsSuccess

func (o *ExchangeDeleteListUnauthorized) IsSuccess() bool

IsSuccess returns true when this exchange delete list unauthorized response has a 2xx status code

func (*ExchangeDeleteListUnauthorized) String

type ExchangeFindByIDBadRequest

type ExchangeFindByIDBadRequest struct {
	Payload *models.Response
}

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

Bad Request

func NewExchangeFindByIDBadRequest

func NewExchangeFindByIDBadRequest() *ExchangeFindByIDBadRequest

NewExchangeFindByIDBadRequest creates a ExchangeFindByIDBadRequest with default headers values

func (*ExchangeFindByIDBadRequest) Code

func (o *ExchangeFindByIDBadRequest) Code() int

Code gets the status code for the exchange find by Id bad request response

func (*ExchangeFindByIDBadRequest) Error

func (*ExchangeFindByIDBadRequest) GetPayload

func (o *ExchangeFindByIDBadRequest) GetPayload() *models.Response

func (*ExchangeFindByIDBadRequest) IsClientError

func (o *ExchangeFindByIDBadRequest) IsClientError() bool

IsClientError returns true when this exchange find by Id bad request response has a 4xx status code

func (*ExchangeFindByIDBadRequest) IsCode

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

IsCode returns true when this exchange find by Id bad request response a status code equal to that given

func (*ExchangeFindByIDBadRequest) IsRedirect

func (o *ExchangeFindByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this exchange find by Id bad request response has a 3xx status code

func (*ExchangeFindByIDBadRequest) IsServerError

func (o *ExchangeFindByIDBadRequest) IsServerError() bool

IsServerError returns true when this exchange find by Id bad request response has a 5xx status code

func (*ExchangeFindByIDBadRequest) IsSuccess

func (o *ExchangeFindByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this exchange find by Id bad request response has a 2xx status code

func (*ExchangeFindByIDBadRequest) String

func (o *ExchangeFindByIDBadRequest) String() string

type ExchangeFindByIDInternalServerError

type ExchangeFindByIDInternalServerError struct {
	Payload *models.Response
}

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

Internal Server Error

func NewExchangeFindByIDInternalServerError

func NewExchangeFindByIDInternalServerError() *ExchangeFindByIDInternalServerError

NewExchangeFindByIDInternalServerError creates a ExchangeFindByIDInternalServerError with default headers values

func (*ExchangeFindByIDInternalServerError) Code

Code gets the status code for the exchange find by Id internal server error response

func (*ExchangeFindByIDInternalServerError) Error

func (*ExchangeFindByIDInternalServerError) GetPayload

func (*ExchangeFindByIDInternalServerError) IsClientError

func (o *ExchangeFindByIDInternalServerError) IsClientError() bool

IsClientError returns true when this exchange find by Id internal server error response has a 4xx status code

func (*ExchangeFindByIDInternalServerError) IsCode

IsCode returns true when this exchange find by Id internal server error response a status code equal to that given

func (*ExchangeFindByIDInternalServerError) IsRedirect

func (o *ExchangeFindByIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this exchange find by Id internal server error response has a 3xx status code

func (*ExchangeFindByIDInternalServerError) IsServerError

func (o *ExchangeFindByIDInternalServerError) IsServerError() bool

IsServerError returns true when this exchange find by Id internal server error response has a 5xx status code

func (*ExchangeFindByIDInternalServerError) IsSuccess

IsSuccess returns true when this exchange find by Id internal server error response has a 2xx status code

func (*ExchangeFindByIDInternalServerError) String

type ExchangeFindByIDOK

type ExchangeFindByIDOK struct {
	Payload *models.Exchange
}

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

OK

func NewExchangeFindByIDOK

func NewExchangeFindByIDOK() *ExchangeFindByIDOK

NewExchangeFindByIDOK creates a ExchangeFindByIDOK with default headers values

func (*ExchangeFindByIDOK) Code

func (o *ExchangeFindByIDOK) Code() int

Code gets the status code for the exchange find by Id o k response

func (*ExchangeFindByIDOK) Error

func (o *ExchangeFindByIDOK) Error() string

func (*ExchangeFindByIDOK) GetPayload

func (o *ExchangeFindByIDOK) GetPayload() *models.Exchange

func (*ExchangeFindByIDOK) IsClientError

func (o *ExchangeFindByIDOK) IsClientError() bool

IsClientError returns true when this exchange find by Id o k response has a 4xx status code

func (*ExchangeFindByIDOK) IsCode

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

IsCode returns true when this exchange find by Id o k response a status code equal to that given

func (*ExchangeFindByIDOK) IsRedirect

func (o *ExchangeFindByIDOK) IsRedirect() bool

IsRedirect returns true when this exchange find by Id o k response has a 3xx status code

func (*ExchangeFindByIDOK) IsServerError

func (o *ExchangeFindByIDOK) IsServerError() bool

IsServerError returns true when this exchange find by Id o k response has a 5xx status code

func (*ExchangeFindByIDOK) IsSuccess

func (o *ExchangeFindByIDOK) IsSuccess() bool

IsSuccess returns true when this exchange find by Id o k response has a 2xx status code

func (*ExchangeFindByIDOK) String

func (o *ExchangeFindByIDOK) String() string

type ExchangeFindByIDParams

type ExchangeFindByIDParams struct {

	/* ID.

	   ID of exchange to retrieve.
	*/
	ID string

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

ExchangeFindByIDParams contains all the parameters to send to the API endpoint

for the exchange find by Id operation.

Typically these are written to a http.Request.

func NewExchangeFindByIDParams

func NewExchangeFindByIDParams() *ExchangeFindByIDParams

NewExchangeFindByIDParams creates a new ExchangeFindByIDParams 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 NewExchangeFindByIDParamsWithContext

func NewExchangeFindByIDParamsWithContext(ctx context.Context) *ExchangeFindByIDParams

NewExchangeFindByIDParamsWithContext creates a new ExchangeFindByIDParams object with the ability to set a context for a request.

func NewExchangeFindByIDParamsWithHTTPClient

func NewExchangeFindByIDParamsWithHTTPClient(client *http.Client) *ExchangeFindByIDParams

NewExchangeFindByIDParamsWithHTTPClient creates a new ExchangeFindByIDParams object with the ability to set a custom HTTPClient for a request.

func NewExchangeFindByIDParamsWithTimeout

func NewExchangeFindByIDParamsWithTimeout(timeout time.Duration) *ExchangeFindByIDParams

NewExchangeFindByIDParamsWithTimeout creates a new ExchangeFindByIDParams object with the ability to set a timeout on a request.

func (*ExchangeFindByIDParams) SetContext

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

SetContext adds the context to the exchange find by Id params

func (*ExchangeFindByIDParams) SetDefaults

func (o *ExchangeFindByIDParams) SetDefaults()

SetDefaults hydrates default values in the exchange find by Id params (not the query body).

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

func (*ExchangeFindByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the exchange find by Id params

func (*ExchangeFindByIDParams) SetID

func (o *ExchangeFindByIDParams) SetID(id string)

SetID adds the id to the exchange find by Id params

func (*ExchangeFindByIDParams) SetTimeout

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

SetTimeout adds the timeout to the exchange find by Id params

func (*ExchangeFindByIDParams) WithContext

WithContext adds the context to the exchange find by Id params

func (*ExchangeFindByIDParams) WithDefaults

WithDefaults hydrates default values in the exchange find by Id params (not the query body).

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

func (*ExchangeFindByIDParams) WithHTTPClient

func (o *ExchangeFindByIDParams) WithHTTPClient(client *http.Client) *ExchangeFindByIDParams

WithHTTPClient adds the HTTPClient to the exchange find by Id params

func (*ExchangeFindByIDParams) WithID

WithID adds the id to the exchange find by Id params

func (*ExchangeFindByIDParams) WithTimeout

WithTimeout adds the timeout to the exchange find by Id params

func (*ExchangeFindByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExchangeFindByIDReader

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

ExchangeFindByIDReader is a Reader for the ExchangeFindByID structure.

func (*ExchangeFindByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExchangeFindByIDUnauthorized

type ExchangeFindByIDUnauthorized struct {
	Payload *models.Response
}

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

Access Denied

func NewExchangeFindByIDUnauthorized

func NewExchangeFindByIDUnauthorized() *ExchangeFindByIDUnauthorized

NewExchangeFindByIDUnauthorized creates a ExchangeFindByIDUnauthorized with default headers values

func (*ExchangeFindByIDUnauthorized) Code

Code gets the status code for the exchange find by Id unauthorized response

func (*ExchangeFindByIDUnauthorized) Error

func (*ExchangeFindByIDUnauthorized) GetPayload

func (o *ExchangeFindByIDUnauthorized) GetPayload() *models.Response

func (*ExchangeFindByIDUnauthorized) IsClientError

func (o *ExchangeFindByIDUnauthorized) IsClientError() bool

IsClientError returns true when this exchange find by Id unauthorized response has a 4xx status code

func (*ExchangeFindByIDUnauthorized) IsCode

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

IsCode returns true when this exchange find by Id unauthorized response a status code equal to that given

func (*ExchangeFindByIDUnauthorized) IsRedirect

func (o *ExchangeFindByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this exchange find by Id unauthorized response has a 3xx status code

func (*ExchangeFindByIDUnauthorized) IsServerError

func (o *ExchangeFindByIDUnauthorized) IsServerError() bool

IsServerError returns true when this exchange find by Id unauthorized response has a 5xx status code

func (*ExchangeFindByIDUnauthorized) IsSuccess

func (o *ExchangeFindByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this exchange find by Id unauthorized response has a 2xx status code

func (*ExchangeFindByIDUnauthorized) String

type ExchangeFindListBadRequest

type ExchangeFindListBadRequest struct {
	Payload *models.Response
}

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

Bad Request

func NewExchangeFindListBadRequest

func NewExchangeFindListBadRequest() *ExchangeFindListBadRequest

NewExchangeFindListBadRequest creates a ExchangeFindListBadRequest with default headers values

func (*ExchangeFindListBadRequest) Code

func (o *ExchangeFindListBadRequest) Code() int

Code gets the status code for the exchange find list bad request response

func (*ExchangeFindListBadRequest) Error

func (*ExchangeFindListBadRequest) GetPayload

func (o *ExchangeFindListBadRequest) GetPayload() *models.Response

func (*ExchangeFindListBadRequest) IsClientError

func (o *ExchangeFindListBadRequest) IsClientError() bool

IsClientError returns true when this exchange find list bad request response has a 4xx status code

func (*ExchangeFindListBadRequest) IsCode

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

IsCode returns true when this exchange find list bad request response a status code equal to that given

func (*ExchangeFindListBadRequest) IsRedirect

func (o *ExchangeFindListBadRequest) IsRedirect() bool

IsRedirect returns true when this exchange find list bad request response has a 3xx status code

func (*ExchangeFindListBadRequest) IsServerError

func (o *ExchangeFindListBadRequest) IsServerError() bool

IsServerError returns true when this exchange find list bad request response has a 5xx status code

func (*ExchangeFindListBadRequest) IsSuccess

func (o *ExchangeFindListBadRequest) IsSuccess() bool

IsSuccess returns true when this exchange find list bad request response has a 2xx status code

func (*ExchangeFindListBadRequest) String

func (o *ExchangeFindListBadRequest) String() string

type ExchangeFindListInternalServerError

type ExchangeFindListInternalServerError struct {
	Payload *models.Response
}

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

Internal Server Error

func NewExchangeFindListInternalServerError

func NewExchangeFindListInternalServerError() *ExchangeFindListInternalServerError

NewExchangeFindListInternalServerError creates a ExchangeFindListInternalServerError with default headers values

func (*ExchangeFindListInternalServerError) Code

Code gets the status code for the exchange find list internal server error response

func (*ExchangeFindListInternalServerError) Error

func (*ExchangeFindListInternalServerError) GetPayload

func (*ExchangeFindListInternalServerError) IsClientError

func (o *ExchangeFindListInternalServerError) IsClientError() bool

IsClientError returns true when this exchange find list internal server error response has a 4xx status code

func (*ExchangeFindListInternalServerError) IsCode

IsCode returns true when this exchange find list internal server error response a status code equal to that given

func (*ExchangeFindListInternalServerError) IsRedirect

func (o *ExchangeFindListInternalServerError) IsRedirect() bool

IsRedirect returns true when this exchange find list internal server error response has a 3xx status code

func (*ExchangeFindListInternalServerError) IsServerError

func (o *ExchangeFindListInternalServerError) IsServerError() bool

IsServerError returns true when this exchange find list internal server error response has a 5xx status code

func (*ExchangeFindListInternalServerError) IsSuccess

IsSuccess returns true when this exchange find list internal server error response has a 2xx status code

func (*ExchangeFindListInternalServerError) String

type ExchangeFindListOK

type ExchangeFindListOK struct {
	Payload *models.ExchangeFindResponse
}

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

OK

func NewExchangeFindListOK

func NewExchangeFindListOK() *ExchangeFindListOK

NewExchangeFindListOK creates a ExchangeFindListOK with default headers values

func (*ExchangeFindListOK) Code

func (o *ExchangeFindListOK) Code() int

Code gets the status code for the exchange find list o k response

func (*ExchangeFindListOK) Error

func (o *ExchangeFindListOK) Error() string

func (*ExchangeFindListOK) GetPayload

func (*ExchangeFindListOK) IsClientError

func (o *ExchangeFindListOK) IsClientError() bool

IsClientError returns true when this exchange find list o k response has a 4xx status code

func (*ExchangeFindListOK) IsCode

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

IsCode returns true when this exchange find list o k response a status code equal to that given

func (*ExchangeFindListOK) IsRedirect

func (o *ExchangeFindListOK) IsRedirect() bool

IsRedirect returns true when this exchange find list o k response has a 3xx status code

func (*ExchangeFindListOK) IsServerError

func (o *ExchangeFindListOK) IsServerError() bool

IsServerError returns true when this exchange find list o k response has a 5xx status code

func (*ExchangeFindListOK) IsSuccess

func (o *ExchangeFindListOK) IsSuccess() bool

IsSuccess returns true when this exchange find list o k response has a 2xx status code

func (*ExchangeFindListOK) String

func (o *ExchangeFindListOK) String() string

type ExchangeFindListParams

type ExchangeFindListParams struct {

	/* Direction.

	   The direction of the data exchange, relative to the systemId provided.
	*/
	Direction string

	/* SystemID.

	   ID of the system that the data exchange is associated with.
	*/
	SystemID string

	/* Version.

	   Version of the data exchanges to be retrieved.
	*/
	Version *string

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

ExchangeFindListParams contains all the parameters to send to the API endpoint

for the exchange find list operation.

Typically these are written to a http.Request.

func NewExchangeFindListParams

func NewExchangeFindListParams() *ExchangeFindListParams

NewExchangeFindListParams creates a new ExchangeFindListParams 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 NewExchangeFindListParamsWithContext

func NewExchangeFindListParamsWithContext(ctx context.Context) *ExchangeFindListParams

NewExchangeFindListParamsWithContext creates a new ExchangeFindListParams object with the ability to set a context for a request.

func NewExchangeFindListParamsWithHTTPClient

func NewExchangeFindListParamsWithHTTPClient(client *http.Client) *ExchangeFindListParams

NewExchangeFindListParamsWithHTTPClient creates a new ExchangeFindListParams object with the ability to set a custom HTTPClient for a request.

func NewExchangeFindListParamsWithTimeout

func NewExchangeFindListParamsWithTimeout(timeout time.Duration) *ExchangeFindListParams

NewExchangeFindListParamsWithTimeout creates a new ExchangeFindListParams object with the ability to set a timeout on a request.

func (*ExchangeFindListParams) SetContext

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

SetContext adds the context to the exchange find list params

func (*ExchangeFindListParams) SetDefaults

func (o *ExchangeFindListParams) SetDefaults()

SetDefaults hydrates default values in the exchange find list params (not the query body).

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

func (*ExchangeFindListParams) SetDirection

func (o *ExchangeFindListParams) SetDirection(direction string)

SetDirection adds the direction to the exchange find list params

func (*ExchangeFindListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the exchange find list params

func (*ExchangeFindListParams) SetSystemID

func (o *ExchangeFindListParams) SetSystemID(systemID string)

SetSystemID adds the systemId to the exchange find list params

func (*ExchangeFindListParams) SetTimeout

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

SetTimeout adds the timeout to the exchange find list params

func (*ExchangeFindListParams) SetVersion

func (o *ExchangeFindListParams) SetVersion(version *string)

SetVersion adds the version to the exchange find list params

func (*ExchangeFindListParams) WithContext

WithContext adds the context to the exchange find list params

func (*ExchangeFindListParams) WithDefaults

WithDefaults hydrates default values in the exchange find list params (not the query body).

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

func (*ExchangeFindListParams) WithDirection

func (o *ExchangeFindListParams) WithDirection(direction string) *ExchangeFindListParams

WithDirection adds the direction to the exchange find list params

func (*ExchangeFindListParams) WithHTTPClient

func (o *ExchangeFindListParams) WithHTTPClient(client *http.Client) *ExchangeFindListParams

WithHTTPClient adds the HTTPClient to the exchange find list params

func (*ExchangeFindListParams) WithSystemID

func (o *ExchangeFindListParams) WithSystemID(systemID string) *ExchangeFindListParams

WithSystemID adds the systemID to the exchange find list params

func (*ExchangeFindListParams) WithTimeout

WithTimeout adds the timeout to the exchange find list params

func (*ExchangeFindListParams) WithVersion

func (o *ExchangeFindListParams) WithVersion(version *string) *ExchangeFindListParams

WithVersion adds the version to the exchange find list params

func (*ExchangeFindListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExchangeFindListReader

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

ExchangeFindListReader is a Reader for the ExchangeFindList structure.

func (*ExchangeFindListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExchangeFindListUnauthorized

type ExchangeFindListUnauthorized struct {
	Payload *models.Response
}

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

Access Denied

func NewExchangeFindListUnauthorized

func NewExchangeFindListUnauthorized() *ExchangeFindListUnauthorized

NewExchangeFindListUnauthorized creates a ExchangeFindListUnauthorized with default headers values

func (*ExchangeFindListUnauthorized) Code

Code gets the status code for the exchange find list unauthorized response

func (*ExchangeFindListUnauthorized) Error

func (*ExchangeFindListUnauthorized) GetPayload

func (o *ExchangeFindListUnauthorized) GetPayload() *models.Response

func (*ExchangeFindListUnauthorized) IsClientError

func (o *ExchangeFindListUnauthorized) IsClientError() bool

IsClientError returns true when this exchange find list unauthorized response has a 4xx status code

func (*ExchangeFindListUnauthorized) IsCode

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

IsCode returns true when this exchange find list unauthorized response a status code equal to that given

func (*ExchangeFindListUnauthorized) IsRedirect

func (o *ExchangeFindListUnauthorized) IsRedirect() bool

IsRedirect returns true when this exchange find list unauthorized response has a 3xx status code

func (*ExchangeFindListUnauthorized) IsServerError

func (o *ExchangeFindListUnauthorized) IsServerError() bool

IsServerError returns true when this exchange find list unauthorized response has a 5xx status code

func (*ExchangeFindListUnauthorized) IsSuccess

func (o *ExchangeFindListUnauthorized) IsSuccess() bool

IsSuccess returns true when this exchange find list unauthorized response has a 2xx status code

func (*ExchangeFindListUnauthorized) String

type ExchangeUpdateBadRequest

type ExchangeUpdateBadRequest struct {
	Payload *models.Response
}

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

Bad Request

func NewExchangeUpdateBadRequest

func NewExchangeUpdateBadRequest() *ExchangeUpdateBadRequest

NewExchangeUpdateBadRequest creates a ExchangeUpdateBadRequest with default headers values

func (*ExchangeUpdateBadRequest) Code

func (o *ExchangeUpdateBadRequest) Code() int

Code gets the status code for the exchange update bad request response

func (*ExchangeUpdateBadRequest) Error

func (o *ExchangeUpdateBadRequest) Error() string

func (*ExchangeUpdateBadRequest) GetPayload

func (o *ExchangeUpdateBadRequest) GetPayload() *models.Response

func (*ExchangeUpdateBadRequest) IsClientError

func (o *ExchangeUpdateBadRequest) IsClientError() bool

IsClientError returns true when this exchange update bad request response has a 4xx status code

func (*ExchangeUpdateBadRequest) IsCode

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

IsCode returns true when this exchange update bad request response a status code equal to that given

func (*ExchangeUpdateBadRequest) IsRedirect

func (o *ExchangeUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this exchange update bad request response has a 3xx status code

func (*ExchangeUpdateBadRequest) IsServerError

func (o *ExchangeUpdateBadRequest) IsServerError() bool

IsServerError returns true when this exchange update bad request response has a 5xx status code

func (*ExchangeUpdateBadRequest) IsSuccess

func (o *ExchangeUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this exchange update bad request response has a 2xx status code

func (*ExchangeUpdateBadRequest) String

func (o *ExchangeUpdateBadRequest) String() string

type ExchangeUpdateInternalServerError

type ExchangeUpdateInternalServerError struct {
	Payload *models.Response
}

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

Internal Server Error

func NewExchangeUpdateInternalServerError

func NewExchangeUpdateInternalServerError() *ExchangeUpdateInternalServerError

NewExchangeUpdateInternalServerError creates a ExchangeUpdateInternalServerError with default headers values

func (*ExchangeUpdateInternalServerError) Code

Code gets the status code for the exchange update internal server error response

func (*ExchangeUpdateInternalServerError) Error

func (*ExchangeUpdateInternalServerError) GetPayload

func (*ExchangeUpdateInternalServerError) IsClientError

func (o *ExchangeUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this exchange update internal server error response has a 4xx status code

func (*ExchangeUpdateInternalServerError) IsCode

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

IsCode returns true when this exchange update internal server error response a status code equal to that given

func (*ExchangeUpdateInternalServerError) IsRedirect

func (o *ExchangeUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this exchange update internal server error response has a 3xx status code

func (*ExchangeUpdateInternalServerError) IsServerError

func (o *ExchangeUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this exchange update internal server error response has a 5xx status code

func (*ExchangeUpdateInternalServerError) IsSuccess

func (o *ExchangeUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this exchange update internal server error response has a 2xx status code

func (*ExchangeUpdateInternalServerError) String

type ExchangeUpdateOK

type ExchangeUpdateOK struct {
	Payload *models.Response
}

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

OK

func NewExchangeUpdateOK

func NewExchangeUpdateOK() *ExchangeUpdateOK

NewExchangeUpdateOK creates a ExchangeUpdateOK with default headers values

func (*ExchangeUpdateOK) Code

func (o *ExchangeUpdateOK) Code() int

Code gets the status code for the exchange update o k response

func (*ExchangeUpdateOK) Error

func (o *ExchangeUpdateOK) Error() string

func (*ExchangeUpdateOK) GetPayload

func (o *ExchangeUpdateOK) GetPayload() *models.Response

func (*ExchangeUpdateOK) IsClientError

func (o *ExchangeUpdateOK) IsClientError() bool

IsClientError returns true when this exchange update o k response has a 4xx status code

func (*ExchangeUpdateOK) IsCode

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

IsCode returns true when this exchange update o k response a status code equal to that given

func (*ExchangeUpdateOK) IsRedirect

func (o *ExchangeUpdateOK) IsRedirect() bool

IsRedirect returns true when this exchange update o k response has a 3xx status code

func (*ExchangeUpdateOK) IsServerError

func (o *ExchangeUpdateOK) IsServerError() bool

IsServerError returns true when this exchange update o k response has a 5xx status code

func (*ExchangeUpdateOK) IsSuccess

func (o *ExchangeUpdateOK) IsSuccess() bool

IsSuccess returns true when this exchange update o k response has a 2xx status code

func (*ExchangeUpdateOK) String

func (o *ExchangeUpdateOK) String() string

type ExchangeUpdateParams

type ExchangeUpdateParams struct {

	/* Body.

	   Data exchange array to be updated in Alfabet.
	*/
	Body *models.ExchangeUpdateRequest

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

ExchangeUpdateParams contains all the parameters to send to the API endpoint

for the exchange update operation.

Typically these are written to a http.Request.

func NewExchangeUpdateParams

func NewExchangeUpdateParams() *ExchangeUpdateParams

NewExchangeUpdateParams creates a new ExchangeUpdateParams 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 NewExchangeUpdateParamsWithContext

func NewExchangeUpdateParamsWithContext(ctx context.Context) *ExchangeUpdateParams

NewExchangeUpdateParamsWithContext creates a new ExchangeUpdateParams object with the ability to set a context for a request.

func NewExchangeUpdateParamsWithHTTPClient

func NewExchangeUpdateParamsWithHTTPClient(client *http.Client) *ExchangeUpdateParams

NewExchangeUpdateParamsWithHTTPClient creates a new ExchangeUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewExchangeUpdateParamsWithTimeout

func NewExchangeUpdateParamsWithTimeout(timeout time.Duration) *ExchangeUpdateParams

NewExchangeUpdateParamsWithTimeout creates a new ExchangeUpdateParams object with the ability to set a timeout on a request.

func (*ExchangeUpdateParams) SetBody

SetBody adds the body to the exchange update params

func (*ExchangeUpdateParams) SetContext

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

SetContext adds the context to the exchange update params

func (*ExchangeUpdateParams) SetDefaults

func (o *ExchangeUpdateParams) SetDefaults()

SetDefaults hydrates default values in the exchange update params (not the query body).

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

func (*ExchangeUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the exchange update params

func (*ExchangeUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the exchange update params

func (*ExchangeUpdateParams) WithBody

WithBody adds the body to the exchange update params

func (*ExchangeUpdateParams) WithContext

WithContext adds the context to the exchange update params

func (*ExchangeUpdateParams) WithDefaults

func (o *ExchangeUpdateParams) WithDefaults() *ExchangeUpdateParams

WithDefaults hydrates default values in the exchange update params (not the query body).

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

func (*ExchangeUpdateParams) WithHTTPClient

func (o *ExchangeUpdateParams) WithHTTPClient(client *http.Client) *ExchangeUpdateParams

WithHTTPClient adds the HTTPClient to the exchange update params

func (*ExchangeUpdateParams) WithTimeout

func (o *ExchangeUpdateParams) WithTimeout(timeout time.Duration) *ExchangeUpdateParams

WithTimeout adds the timeout to the exchange update params

func (*ExchangeUpdateParams) WriteToRequest

func (o *ExchangeUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExchangeUpdateReader

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

ExchangeUpdateReader is a Reader for the ExchangeUpdate structure.

func (*ExchangeUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExchangeUpdateUnauthorized

type ExchangeUpdateUnauthorized struct {
	Payload *models.Response
}

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

Access Denied

func NewExchangeUpdateUnauthorized

func NewExchangeUpdateUnauthorized() *ExchangeUpdateUnauthorized

NewExchangeUpdateUnauthorized creates a ExchangeUpdateUnauthorized with default headers values

func (*ExchangeUpdateUnauthorized) Code

func (o *ExchangeUpdateUnauthorized) Code() int

Code gets the status code for the exchange update unauthorized response

func (*ExchangeUpdateUnauthorized) Error

func (*ExchangeUpdateUnauthorized) GetPayload

func (o *ExchangeUpdateUnauthorized) GetPayload() *models.Response

func (*ExchangeUpdateUnauthorized) IsClientError

func (o *ExchangeUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this exchange update unauthorized response has a 4xx status code

func (*ExchangeUpdateUnauthorized) IsCode

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

IsCode returns true when this exchange update unauthorized response a status code equal to that given

func (*ExchangeUpdateUnauthorized) IsRedirect

func (o *ExchangeUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this exchange update unauthorized response has a 3xx status code

func (*ExchangeUpdateUnauthorized) IsServerError

func (o *ExchangeUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this exchange update unauthorized response has a 5xx status code

func (*ExchangeUpdateUnauthorized) IsSuccess

func (o *ExchangeUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this exchange update unauthorized response has a 2xx status code

func (*ExchangeUpdateUnauthorized) String

func (o *ExchangeUpdateUnauthorized) String() string

Jump to

Keyboard shortcuts

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