spoe_transactions

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for spoe transactions API

func (*Client) CommitSpoeTransaction

CommitSpoeTransaction commits transaction

Commit transaction, execute all operations in transaction and return msg

func (*Client) DeleteSpoeTransaction

func (a *Client) DeleteSpoeTransaction(params *DeleteSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSpoeTransactionNoContent, error)

DeleteSpoeTransaction deletes a transaction

Deletes a transaction.

func (*Client) GetSpoeTransaction

func (a *Client) GetSpoeTransaction(params *GetSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSpoeTransactionOK, error)

GetSpoeTransaction returns one s p o e configuration transactions

Returns one SPOE configuration transactions.

func (*Client) GetSpoeTransactions

func (a *Client) GetSpoeTransactions(params *GetSpoeTransactionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSpoeTransactionsOK, error)

GetSpoeTransactions returns list of s p o e configuration transactions

Returns a list of SPOE configuration transactions. Transactions can be filtered by their status.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StartSpoeTransaction

func (a *Client) StartSpoeTransaction(params *StartSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartSpoeTransactionCreated, error)

StartSpoeTransaction starts a new transaction

Starts a new transaction and returns it's id

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CommitSpoeTransaction(params *CommitSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CommitSpoeTransactionOK, *CommitSpoeTransactionAccepted, error)

	DeleteSpoeTransaction(params *DeleteSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSpoeTransactionNoContent, error)

	GetSpoeTransaction(params *GetSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSpoeTransactionOK, error)

	GetSpoeTransactions(params *GetSpoeTransactionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSpoeTransactionsOK, error)

	StartSpoeTransaction(params *StartSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartSpoeTransactionCreated, 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 spoe transactions API client.

type CommitSpoeTransactionAccepted

type CommitSpoeTransactionAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.SpoeTransaction
}

CommitSpoeTransactionAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewCommitSpoeTransactionAccepted

func NewCommitSpoeTransactionAccepted() *CommitSpoeTransactionAccepted

NewCommitSpoeTransactionAccepted creates a CommitSpoeTransactionAccepted with default headers values

func (*CommitSpoeTransactionAccepted) Code added in v1.1.5

Code gets the status code for the commit spoe transaction accepted response

func (*CommitSpoeTransactionAccepted) Error

func (*CommitSpoeTransactionAccepted) GetPayload

func (*CommitSpoeTransactionAccepted) IsClientError added in v1.1.0

func (o *CommitSpoeTransactionAccepted) IsClientError() bool

IsClientError returns true when this commit spoe transaction accepted response has a 4xx status code

func (*CommitSpoeTransactionAccepted) IsCode added in v1.1.0

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

IsCode returns true when this commit spoe transaction accepted response a status code equal to that given

func (*CommitSpoeTransactionAccepted) IsRedirect added in v1.1.0

func (o *CommitSpoeTransactionAccepted) IsRedirect() bool

IsRedirect returns true when this commit spoe transaction accepted response has a 3xx status code

func (*CommitSpoeTransactionAccepted) IsServerError added in v1.1.0

func (o *CommitSpoeTransactionAccepted) IsServerError() bool

IsServerError returns true when this commit spoe transaction accepted response has a 5xx status code

func (*CommitSpoeTransactionAccepted) IsSuccess added in v1.1.0

func (o *CommitSpoeTransactionAccepted) IsSuccess() bool

IsSuccess returns true when this commit spoe transaction accepted response has a 2xx status code

func (*CommitSpoeTransactionAccepted) String added in v1.1.0

type CommitSpoeTransactionBadRequest

type CommitSpoeTransactionBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCommitSpoeTransactionBadRequest

func NewCommitSpoeTransactionBadRequest() *CommitSpoeTransactionBadRequest

NewCommitSpoeTransactionBadRequest creates a CommitSpoeTransactionBadRequest with default headers values

func (*CommitSpoeTransactionBadRequest) Code added in v1.1.5

Code gets the status code for the commit spoe transaction bad request response

func (*CommitSpoeTransactionBadRequest) Error

func (*CommitSpoeTransactionBadRequest) GetPayload

func (o *CommitSpoeTransactionBadRequest) GetPayload() *models.Error

func (*CommitSpoeTransactionBadRequest) IsClientError added in v1.1.0

func (o *CommitSpoeTransactionBadRequest) IsClientError() bool

IsClientError returns true when this commit spoe transaction bad request response has a 4xx status code

func (*CommitSpoeTransactionBadRequest) IsCode added in v1.1.0

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

IsCode returns true when this commit spoe transaction bad request response a status code equal to that given

func (*CommitSpoeTransactionBadRequest) IsRedirect added in v1.1.0

func (o *CommitSpoeTransactionBadRequest) IsRedirect() bool

IsRedirect returns true when this commit spoe transaction bad request response has a 3xx status code

func (*CommitSpoeTransactionBadRequest) IsServerError added in v1.1.0

func (o *CommitSpoeTransactionBadRequest) IsServerError() bool

IsServerError returns true when this commit spoe transaction bad request response has a 5xx status code

func (*CommitSpoeTransactionBadRequest) IsSuccess added in v1.1.0

func (o *CommitSpoeTransactionBadRequest) IsSuccess() bool

IsSuccess returns true when this commit spoe transaction bad request response has a 2xx status code

func (*CommitSpoeTransactionBadRequest) String added in v1.1.0

type CommitSpoeTransactionDefault

type CommitSpoeTransactionDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

CommitSpoeTransactionDefault describes a response with status code -1, with default header values.

General Error

func NewCommitSpoeTransactionDefault

func NewCommitSpoeTransactionDefault(code int) *CommitSpoeTransactionDefault

NewCommitSpoeTransactionDefault creates a CommitSpoeTransactionDefault with default headers values

func (*CommitSpoeTransactionDefault) Code

Code gets the status code for the commit spoe transaction default response

func (*CommitSpoeTransactionDefault) Error

func (*CommitSpoeTransactionDefault) GetPayload

func (o *CommitSpoeTransactionDefault) GetPayload() *models.Error

func (*CommitSpoeTransactionDefault) IsClientError added in v1.1.0

func (o *CommitSpoeTransactionDefault) IsClientError() bool

IsClientError returns true when this commit spoe transaction default response has a 4xx status code

func (*CommitSpoeTransactionDefault) IsCode added in v1.1.0

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

IsCode returns true when this commit spoe transaction default response a status code equal to that given

func (*CommitSpoeTransactionDefault) IsRedirect added in v1.1.0

func (o *CommitSpoeTransactionDefault) IsRedirect() bool

IsRedirect returns true when this commit spoe transaction default response has a 3xx status code

func (*CommitSpoeTransactionDefault) IsServerError added in v1.1.0

func (o *CommitSpoeTransactionDefault) IsServerError() bool

IsServerError returns true when this commit spoe transaction default response has a 5xx status code

func (*CommitSpoeTransactionDefault) IsSuccess added in v1.1.0

func (o *CommitSpoeTransactionDefault) IsSuccess() bool

IsSuccess returns true when this commit spoe transaction default response has a 2xx status code

func (*CommitSpoeTransactionDefault) String added in v1.1.0

type CommitSpoeTransactionNotFound

type CommitSpoeTransactionNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewCommitSpoeTransactionNotFound

func NewCommitSpoeTransactionNotFound() *CommitSpoeTransactionNotFound

NewCommitSpoeTransactionNotFound creates a CommitSpoeTransactionNotFound with default headers values

func (*CommitSpoeTransactionNotFound) Code added in v1.1.5

Code gets the status code for the commit spoe transaction not found response

func (*CommitSpoeTransactionNotFound) Error

func (*CommitSpoeTransactionNotFound) GetPayload

func (o *CommitSpoeTransactionNotFound) GetPayload() *models.Error

func (*CommitSpoeTransactionNotFound) IsClientError added in v1.1.0

func (o *CommitSpoeTransactionNotFound) IsClientError() bool

IsClientError returns true when this commit spoe transaction not found response has a 4xx status code

func (*CommitSpoeTransactionNotFound) IsCode added in v1.1.0

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

IsCode returns true when this commit spoe transaction not found response a status code equal to that given

func (*CommitSpoeTransactionNotFound) IsRedirect added in v1.1.0

func (o *CommitSpoeTransactionNotFound) IsRedirect() bool

IsRedirect returns true when this commit spoe transaction not found response has a 3xx status code

func (*CommitSpoeTransactionNotFound) IsServerError added in v1.1.0

func (o *CommitSpoeTransactionNotFound) IsServerError() bool

IsServerError returns true when this commit spoe transaction not found response has a 5xx status code

func (*CommitSpoeTransactionNotFound) IsSuccess added in v1.1.0

func (o *CommitSpoeTransactionNotFound) IsSuccess() bool

IsSuccess returns true when this commit spoe transaction not found response has a 2xx status code

func (*CommitSpoeTransactionNotFound) String added in v1.1.0

type CommitSpoeTransactionOK

type CommitSpoeTransactionOK struct {
	Payload *models.SpoeTransaction
}

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

Transaction successfully committed

func NewCommitSpoeTransactionOK

func NewCommitSpoeTransactionOK() *CommitSpoeTransactionOK

NewCommitSpoeTransactionOK creates a CommitSpoeTransactionOK with default headers values

func (*CommitSpoeTransactionOK) Code added in v1.1.5

func (o *CommitSpoeTransactionOK) Code() int

Code gets the status code for the commit spoe transaction o k response

func (*CommitSpoeTransactionOK) Error

func (o *CommitSpoeTransactionOK) Error() string

func (*CommitSpoeTransactionOK) GetPayload

func (*CommitSpoeTransactionOK) IsClientError added in v1.1.0

func (o *CommitSpoeTransactionOK) IsClientError() bool

IsClientError returns true when this commit spoe transaction o k response has a 4xx status code

func (*CommitSpoeTransactionOK) IsCode added in v1.1.0

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

IsCode returns true when this commit spoe transaction o k response a status code equal to that given

func (*CommitSpoeTransactionOK) IsRedirect added in v1.1.0

func (o *CommitSpoeTransactionOK) IsRedirect() bool

IsRedirect returns true when this commit spoe transaction o k response has a 3xx status code

func (*CommitSpoeTransactionOK) IsServerError added in v1.1.0

func (o *CommitSpoeTransactionOK) IsServerError() bool

IsServerError returns true when this commit spoe transaction o k response has a 5xx status code

func (*CommitSpoeTransactionOK) IsSuccess added in v1.1.0

func (o *CommitSpoeTransactionOK) IsSuccess() bool

IsSuccess returns true when this commit spoe transaction o k response has a 2xx status code

func (*CommitSpoeTransactionOK) String added in v1.1.0

func (o *CommitSpoeTransactionOK) String() string

type CommitSpoeTransactionParams

type CommitSpoeTransactionParams struct {

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* ID.

	   Transaction id
	*/
	ID string

	/* Spoe.

	   Spoe file name
	*/
	Spoe string

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

CommitSpoeTransactionParams contains all the parameters to send to the API endpoint

for the commit spoe transaction operation.

Typically these are written to a http.Request.

func NewCommitSpoeTransactionParams

func NewCommitSpoeTransactionParams() *CommitSpoeTransactionParams

NewCommitSpoeTransactionParams creates a new CommitSpoeTransactionParams 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 NewCommitSpoeTransactionParamsWithContext

func NewCommitSpoeTransactionParamsWithContext(ctx context.Context) *CommitSpoeTransactionParams

NewCommitSpoeTransactionParamsWithContext creates a new CommitSpoeTransactionParams object with the ability to set a context for a request.

func NewCommitSpoeTransactionParamsWithHTTPClient

func NewCommitSpoeTransactionParamsWithHTTPClient(client *http.Client) *CommitSpoeTransactionParams

NewCommitSpoeTransactionParamsWithHTTPClient creates a new CommitSpoeTransactionParams object with the ability to set a custom HTTPClient for a request.

func NewCommitSpoeTransactionParamsWithTimeout

func NewCommitSpoeTransactionParamsWithTimeout(timeout time.Duration) *CommitSpoeTransactionParams

NewCommitSpoeTransactionParamsWithTimeout creates a new CommitSpoeTransactionParams object with the ability to set a timeout on a request.

func (*CommitSpoeTransactionParams) SetContext

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

SetContext adds the context to the commit spoe transaction params

func (*CommitSpoeTransactionParams) SetDefaults

func (o *CommitSpoeTransactionParams) SetDefaults()

SetDefaults hydrates default values in the commit spoe transaction params (not the query body).

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

func (*CommitSpoeTransactionParams) SetForceReload

func (o *CommitSpoeTransactionParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the commit spoe transaction params

func (*CommitSpoeTransactionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the commit spoe transaction params

func (*CommitSpoeTransactionParams) SetID

func (o *CommitSpoeTransactionParams) SetID(id string)

SetID adds the id to the commit spoe transaction params

func (*CommitSpoeTransactionParams) SetSpoe

func (o *CommitSpoeTransactionParams) SetSpoe(spoe string)

SetSpoe adds the spoe to the commit spoe transaction params

func (*CommitSpoeTransactionParams) SetTimeout

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

SetTimeout adds the timeout to the commit spoe transaction params

func (*CommitSpoeTransactionParams) WithContext

WithContext adds the context to the commit spoe transaction params

func (*CommitSpoeTransactionParams) WithDefaults

WithDefaults hydrates default values in the commit spoe transaction params (not the query body).

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

func (*CommitSpoeTransactionParams) WithForceReload

func (o *CommitSpoeTransactionParams) WithForceReload(forceReload *bool) *CommitSpoeTransactionParams

WithForceReload adds the forceReload to the commit spoe transaction params

func (*CommitSpoeTransactionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the commit spoe transaction params

func (*CommitSpoeTransactionParams) WithID

WithID adds the id to the commit spoe transaction params

func (*CommitSpoeTransactionParams) WithSpoe

WithSpoe adds the spoe to the commit spoe transaction params

func (*CommitSpoeTransactionParams) WithTimeout

WithTimeout adds the timeout to the commit spoe transaction params

func (*CommitSpoeTransactionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CommitSpoeTransactionReader

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

CommitSpoeTransactionReader is a Reader for the CommitSpoeTransaction structure.

func (*CommitSpoeTransactionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSpoeTransactionDefault

type DeleteSpoeTransactionDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteSpoeTransactionDefault describes a response with status code -1, with default header values.

General Error

func NewDeleteSpoeTransactionDefault

func NewDeleteSpoeTransactionDefault(code int) *DeleteSpoeTransactionDefault

NewDeleteSpoeTransactionDefault creates a DeleteSpoeTransactionDefault with default headers values

func (*DeleteSpoeTransactionDefault) Code

Code gets the status code for the delete spoe transaction default response

func (*DeleteSpoeTransactionDefault) Error

func (*DeleteSpoeTransactionDefault) GetPayload

func (o *DeleteSpoeTransactionDefault) GetPayload() *models.Error

func (*DeleteSpoeTransactionDefault) IsClientError added in v1.1.0

func (o *DeleteSpoeTransactionDefault) IsClientError() bool

IsClientError returns true when this delete spoe transaction default response has a 4xx status code

func (*DeleteSpoeTransactionDefault) IsCode added in v1.1.0

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

IsCode returns true when this delete spoe transaction default response a status code equal to that given

func (*DeleteSpoeTransactionDefault) IsRedirect added in v1.1.0

func (o *DeleteSpoeTransactionDefault) IsRedirect() bool

IsRedirect returns true when this delete spoe transaction default response has a 3xx status code

func (*DeleteSpoeTransactionDefault) IsServerError added in v1.1.0

func (o *DeleteSpoeTransactionDefault) IsServerError() bool

IsServerError returns true when this delete spoe transaction default response has a 5xx status code

func (*DeleteSpoeTransactionDefault) IsSuccess added in v1.1.0

func (o *DeleteSpoeTransactionDefault) IsSuccess() bool

IsSuccess returns true when this delete spoe transaction default response has a 2xx status code

func (*DeleteSpoeTransactionDefault) String added in v1.1.0

type DeleteSpoeTransactionNoContent

type DeleteSpoeTransactionNoContent struct {
}

DeleteSpoeTransactionNoContent describes a response with status code 204, with default header values.

Transaction deleted

func NewDeleteSpoeTransactionNoContent

func NewDeleteSpoeTransactionNoContent() *DeleteSpoeTransactionNoContent

NewDeleteSpoeTransactionNoContent creates a DeleteSpoeTransactionNoContent with default headers values

func (*DeleteSpoeTransactionNoContent) Code added in v1.1.5

Code gets the status code for the delete spoe transaction no content response

func (*DeleteSpoeTransactionNoContent) Error

func (*DeleteSpoeTransactionNoContent) IsClientError added in v1.1.0

func (o *DeleteSpoeTransactionNoContent) IsClientError() bool

IsClientError returns true when this delete spoe transaction no content response has a 4xx status code

func (*DeleteSpoeTransactionNoContent) IsCode added in v1.1.0

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

IsCode returns true when this delete spoe transaction no content response a status code equal to that given

func (*DeleteSpoeTransactionNoContent) IsRedirect added in v1.1.0

func (o *DeleteSpoeTransactionNoContent) IsRedirect() bool

IsRedirect returns true when this delete spoe transaction no content response has a 3xx status code

func (*DeleteSpoeTransactionNoContent) IsServerError added in v1.1.0

func (o *DeleteSpoeTransactionNoContent) IsServerError() bool

IsServerError returns true when this delete spoe transaction no content response has a 5xx status code

func (*DeleteSpoeTransactionNoContent) IsSuccess added in v1.1.0

func (o *DeleteSpoeTransactionNoContent) IsSuccess() bool

IsSuccess returns true when this delete spoe transaction no content response has a 2xx status code

func (*DeleteSpoeTransactionNoContent) String added in v1.1.0

type DeleteSpoeTransactionNotFound

type DeleteSpoeTransactionNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteSpoeTransactionNotFound

func NewDeleteSpoeTransactionNotFound() *DeleteSpoeTransactionNotFound

NewDeleteSpoeTransactionNotFound creates a DeleteSpoeTransactionNotFound with default headers values

func (*DeleteSpoeTransactionNotFound) Code added in v1.1.5

Code gets the status code for the delete spoe transaction not found response

func (*DeleteSpoeTransactionNotFound) Error

func (*DeleteSpoeTransactionNotFound) GetPayload

func (o *DeleteSpoeTransactionNotFound) GetPayload() *models.Error

func (*DeleteSpoeTransactionNotFound) IsClientError added in v1.1.0

func (o *DeleteSpoeTransactionNotFound) IsClientError() bool

IsClientError returns true when this delete spoe transaction not found response has a 4xx status code

func (*DeleteSpoeTransactionNotFound) IsCode added in v1.1.0

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

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

func (*DeleteSpoeTransactionNotFound) IsRedirect added in v1.1.0

func (o *DeleteSpoeTransactionNotFound) IsRedirect() bool

IsRedirect returns true when this delete spoe transaction not found response has a 3xx status code

func (*DeleteSpoeTransactionNotFound) IsServerError added in v1.1.0

func (o *DeleteSpoeTransactionNotFound) IsServerError() bool

IsServerError returns true when this delete spoe transaction not found response has a 5xx status code

func (*DeleteSpoeTransactionNotFound) IsSuccess added in v1.1.0

func (o *DeleteSpoeTransactionNotFound) IsSuccess() bool

IsSuccess returns true when this delete spoe transaction not found response has a 2xx status code

func (*DeleteSpoeTransactionNotFound) String added in v1.1.0

type DeleteSpoeTransactionParams

type DeleteSpoeTransactionParams struct {

	/* ID.

	   Transaction id
	*/
	ID string

	/* Spoe.

	   Spoe file name
	*/
	Spoe string

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

DeleteSpoeTransactionParams contains all the parameters to send to the API endpoint

for the delete spoe transaction operation.

Typically these are written to a http.Request.

func NewDeleteSpoeTransactionParams

func NewDeleteSpoeTransactionParams() *DeleteSpoeTransactionParams

NewDeleteSpoeTransactionParams creates a new DeleteSpoeTransactionParams 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 NewDeleteSpoeTransactionParamsWithContext

func NewDeleteSpoeTransactionParamsWithContext(ctx context.Context) *DeleteSpoeTransactionParams

NewDeleteSpoeTransactionParamsWithContext creates a new DeleteSpoeTransactionParams object with the ability to set a context for a request.

func NewDeleteSpoeTransactionParamsWithHTTPClient

func NewDeleteSpoeTransactionParamsWithHTTPClient(client *http.Client) *DeleteSpoeTransactionParams

NewDeleteSpoeTransactionParamsWithHTTPClient creates a new DeleteSpoeTransactionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSpoeTransactionParamsWithTimeout

func NewDeleteSpoeTransactionParamsWithTimeout(timeout time.Duration) *DeleteSpoeTransactionParams

NewDeleteSpoeTransactionParamsWithTimeout creates a new DeleteSpoeTransactionParams object with the ability to set a timeout on a request.

func (*DeleteSpoeTransactionParams) SetContext

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

SetContext adds the context to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) SetDefaults

func (o *DeleteSpoeTransactionParams) SetDefaults()

SetDefaults hydrates default values in the delete spoe transaction params (not the query body).

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

func (*DeleteSpoeTransactionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) SetID

func (o *DeleteSpoeTransactionParams) SetID(id string)

SetID adds the id to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) SetSpoe

func (o *DeleteSpoeTransactionParams) SetSpoe(spoe string)

SetSpoe adds the spoe to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) SetTimeout

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

SetTimeout adds the timeout to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) WithContext

WithContext adds the context to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) WithDefaults

WithDefaults hydrates default values in the delete spoe transaction params (not the query body).

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

func (*DeleteSpoeTransactionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) WithID

WithID adds the id to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) WithSpoe

WithSpoe adds the spoe to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) WithTimeout

WithTimeout adds the timeout to the delete spoe transaction params

func (*DeleteSpoeTransactionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSpoeTransactionReader

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

DeleteSpoeTransactionReader is a Reader for the DeleteSpoeTransaction structure.

func (*DeleteSpoeTransactionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSpoeTransactionDefault

type GetSpoeTransactionDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetSpoeTransactionDefault describes a response with status code -1, with default header values.

General Error

func NewGetSpoeTransactionDefault

func NewGetSpoeTransactionDefault(code int) *GetSpoeTransactionDefault

NewGetSpoeTransactionDefault creates a GetSpoeTransactionDefault with default headers values

func (*GetSpoeTransactionDefault) Code

func (o *GetSpoeTransactionDefault) Code() int

Code gets the status code for the get spoe transaction default response

func (*GetSpoeTransactionDefault) Error

func (o *GetSpoeTransactionDefault) Error() string

func (*GetSpoeTransactionDefault) GetPayload

func (o *GetSpoeTransactionDefault) GetPayload() *models.Error

func (*GetSpoeTransactionDefault) IsClientError added in v1.1.0

func (o *GetSpoeTransactionDefault) IsClientError() bool

IsClientError returns true when this get spoe transaction default response has a 4xx status code

func (*GetSpoeTransactionDefault) IsCode added in v1.1.0

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

IsCode returns true when this get spoe transaction default response a status code equal to that given

func (*GetSpoeTransactionDefault) IsRedirect added in v1.1.0

func (o *GetSpoeTransactionDefault) IsRedirect() bool

IsRedirect returns true when this get spoe transaction default response has a 3xx status code

func (*GetSpoeTransactionDefault) IsServerError added in v1.1.0

func (o *GetSpoeTransactionDefault) IsServerError() bool

IsServerError returns true when this get spoe transaction default response has a 5xx status code

func (*GetSpoeTransactionDefault) IsSuccess added in v1.1.0

func (o *GetSpoeTransactionDefault) IsSuccess() bool

IsSuccess returns true when this get spoe transaction default response has a 2xx status code

func (*GetSpoeTransactionDefault) String added in v1.1.0

func (o *GetSpoeTransactionDefault) String() string

type GetSpoeTransactionNotFound

type GetSpoeTransactionNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewGetSpoeTransactionNotFound

func NewGetSpoeTransactionNotFound() *GetSpoeTransactionNotFound

NewGetSpoeTransactionNotFound creates a GetSpoeTransactionNotFound with default headers values

func (*GetSpoeTransactionNotFound) Code added in v1.1.5

func (o *GetSpoeTransactionNotFound) Code() int

Code gets the status code for the get spoe transaction not found response

func (*GetSpoeTransactionNotFound) Error

func (*GetSpoeTransactionNotFound) GetPayload

func (o *GetSpoeTransactionNotFound) GetPayload() *models.Error

func (*GetSpoeTransactionNotFound) IsClientError added in v1.1.0

func (o *GetSpoeTransactionNotFound) IsClientError() bool

IsClientError returns true when this get spoe transaction not found response has a 4xx status code

func (*GetSpoeTransactionNotFound) IsCode added in v1.1.0

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

IsCode returns true when this get spoe transaction not found response a status code equal to that given

func (*GetSpoeTransactionNotFound) IsRedirect added in v1.1.0

func (o *GetSpoeTransactionNotFound) IsRedirect() bool

IsRedirect returns true when this get spoe transaction not found response has a 3xx status code

func (*GetSpoeTransactionNotFound) IsServerError added in v1.1.0

func (o *GetSpoeTransactionNotFound) IsServerError() bool

IsServerError returns true when this get spoe transaction not found response has a 5xx status code

func (*GetSpoeTransactionNotFound) IsSuccess added in v1.1.0

func (o *GetSpoeTransactionNotFound) IsSuccess() bool

IsSuccess returns true when this get spoe transaction not found response has a 2xx status code

func (*GetSpoeTransactionNotFound) String added in v1.1.0

func (o *GetSpoeTransactionNotFound) String() string

type GetSpoeTransactionOK

type GetSpoeTransactionOK struct {
	Payload *models.SpoeTransaction
}

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

Successful operation

func NewGetSpoeTransactionOK

func NewGetSpoeTransactionOK() *GetSpoeTransactionOK

NewGetSpoeTransactionOK creates a GetSpoeTransactionOK with default headers values

func (*GetSpoeTransactionOK) Code added in v1.1.5

func (o *GetSpoeTransactionOK) Code() int

Code gets the status code for the get spoe transaction o k response

func (*GetSpoeTransactionOK) Error

func (o *GetSpoeTransactionOK) Error() string

func (*GetSpoeTransactionOK) GetPayload

func (o *GetSpoeTransactionOK) GetPayload() *models.SpoeTransaction

func (*GetSpoeTransactionOK) IsClientError added in v1.1.0

func (o *GetSpoeTransactionOK) IsClientError() bool

IsClientError returns true when this get spoe transaction o k response has a 4xx status code

func (*GetSpoeTransactionOK) IsCode added in v1.1.0

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

IsCode returns true when this get spoe transaction o k response a status code equal to that given

func (*GetSpoeTransactionOK) IsRedirect added in v1.1.0

func (o *GetSpoeTransactionOK) IsRedirect() bool

IsRedirect returns true when this get spoe transaction o k response has a 3xx status code

func (*GetSpoeTransactionOK) IsServerError added in v1.1.0

func (o *GetSpoeTransactionOK) IsServerError() bool

IsServerError returns true when this get spoe transaction o k response has a 5xx status code

func (*GetSpoeTransactionOK) IsSuccess added in v1.1.0

func (o *GetSpoeTransactionOK) IsSuccess() bool

IsSuccess returns true when this get spoe transaction o k response has a 2xx status code

func (*GetSpoeTransactionOK) String added in v1.1.0

func (o *GetSpoeTransactionOK) String() string

type GetSpoeTransactionParams

type GetSpoeTransactionParams struct {

	/* ID.

	   Transaction id
	*/
	ID string

	/* Spoe.

	   Spoe file name
	*/
	Spoe string

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

GetSpoeTransactionParams contains all the parameters to send to the API endpoint

for the get spoe transaction operation.

Typically these are written to a http.Request.

func NewGetSpoeTransactionParams

func NewGetSpoeTransactionParams() *GetSpoeTransactionParams

NewGetSpoeTransactionParams creates a new GetSpoeTransactionParams 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 NewGetSpoeTransactionParamsWithContext

func NewGetSpoeTransactionParamsWithContext(ctx context.Context) *GetSpoeTransactionParams

NewGetSpoeTransactionParamsWithContext creates a new GetSpoeTransactionParams object with the ability to set a context for a request.

func NewGetSpoeTransactionParamsWithHTTPClient

func NewGetSpoeTransactionParamsWithHTTPClient(client *http.Client) *GetSpoeTransactionParams

NewGetSpoeTransactionParamsWithHTTPClient creates a new GetSpoeTransactionParams object with the ability to set a custom HTTPClient for a request.

func NewGetSpoeTransactionParamsWithTimeout

func NewGetSpoeTransactionParamsWithTimeout(timeout time.Duration) *GetSpoeTransactionParams

NewGetSpoeTransactionParamsWithTimeout creates a new GetSpoeTransactionParams object with the ability to set a timeout on a request.

func (*GetSpoeTransactionParams) SetContext

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

SetContext adds the context to the get spoe transaction params

func (*GetSpoeTransactionParams) SetDefaults

func (o *GetSpoeTransactionParams) SetDefaults()

SetDefaults hydrates default values in the get spoe transaction params (not the query body).

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

func (*GetSpoeTransactionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get spoe transaction params

func (*GetSpoeTransactionParams) SetID

func (o *GetSpoeTransactionParams) SetID(id string)

SetID adds the id to the get spoe transaction params

func (*GetSpoeTransactionParams) SetSpoe

func (o *GetSpoeTransactionParams) SetSpoe(spoe string)

SetSpoe adds the spoe to the get spoe transaction params

func (*GetSpoeTransactionParams) SetTimeout

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

SetTimeout adds the timeout to the get spoe transaction params

func (*GetSpoeTransactionParams) WithContext

WithContext adds the context to the get spoe transaction params

func (*GetSpoeTransactionParams) WithDefaults

WithDefaults hydrates default values in the get spoe transaction params (not the query body).

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

func (*GetSpoeTransactionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get spoe transaction params

func (*GetSpoeTransactionParams) WithID

WithID adds the id to the get spoe transaction params

func (*GetSpoeTransactionParams) WithSpoe

WithSpoe adds the spoe to the get spoe transaction params

func (*GetSpoeTransactionParams) WithTimeout

WithTimeout adds the timeout to the get spoe transaction params

func (*GetSpoeTransactionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSpoeTransactionReader

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

GetSpoeTransactionReader is a Reader for the GetSpoeTransaction structure.

func (*GetSpoeTransactionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSpoeTransactionsDefault

type GetSpoeTransactionsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetSpoeTransactionsDefault describes a response with status code -1, with default header values.

General Error

func NewGetSpoeTransactionsDefault

func NewGetSpoeTransactionsDefault(code int) *GetSpoeTransactionsDefault

NewGetSpoeTransactionsDefault creates a GetSpoeTransactionsDefault with default headers values

func (*GetSpoeTransactionsDefault) Code

func (o *GetSpoeTransactionsDefault) Code() int

Code gets the status code for the get spoe transactions default response

func (*GetSpoeTransactionsDefault) Error

func (*GetSpoeTransactionsDefault) GetPayload

func (o *GetSpoeTransactionsDefault) GetPayload() *models.Error

func (*GetSpoeTransactionsDefault) IsClientError added in v1.1.0

func (o *GetSpoeTransactionsDefault) IsClientError() bool

IsClientError returns true when this get spoe transactions default response has a 4xx status code

func (*GetSpoeTransactionsDefault) IsCode added in v1.1.0

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

IsCode returns true when this get spoe transactions default response a status code equal to that given

func (*GetSpoeTransactionsDefault) IsRedirect added in v1.1.0

func (o *GetSpoeTransactionsDefault) IsRedirect() bool

IsRedirect returns true when this get spoe transactions default response has a 3xx status code

func (*GetSpoeTransactionsDefault) IsServerError added in v1.1.0

func (o *GetSpoeTransactionsDefault) IsServerError() bool

IsServerError returns true when this get spoe transactions default response has a 5xx status code

func (*GetSpoeTransactionsDefault) IsSuccess added in v1.1.0

func (o *GetSpoeTransactionsDefault) IsSuccess() bool

IsSuccess returns true when this get spoe transactions default response has a 2xx status code

func (*GetSpoeTransactionsDefault) String added in v1.1.0

func (o *GetSpoeTransactionsDefault) String() string

type GetSpoeTransactionsOK

type GetSpoeTransactionsOK struct {
	Payload models.SpoeTransactions
}

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

Success

func NewGetSpoeTransactionsOK

func NewGetSpoeTransactionsOK() *GetSpoeTransactionsOK

NewGetSpoeTransactionsOK creates a GetSpoeTransactionsOK with default headers values

func (*GetSpoeTransactionsOK) Code added in v1.1.5

func (o *GetSpoeTransactionsOK) Code() int

Code gets the status code for the get spoe transactions o k response

func (*GetSpoeTransactionsOK) Error

func (o *GetSpoeTransactionsOK) Error() string

func (*GetSpoeTransactionsOK) GetPayload

func (*GetSpoeTransactionsOK) IsClientError added in v1.1.0

func (o *GetSpoeTransactionsOK) IsClientError() bool

IsClientError returns true when this get spoe transactions o k response has a 4xx status code

func (*GetSpoeTransactionsOK) IsCode added in v1.1.0

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

IsCode returns true when this get spoe transactions o k response a status code equal to that given

func (*GetSpoeTransactionsOK) IsRedirect added in v1.1.0

func (o *GetSpoeTransactionsOK) IsRedirect() bool

IsRedirect returns true when this get spoe transactions o k response has a 3xx status code

func (*GetSpoeTransactionsOK) IsServerError added in v1.1.0

func (o *GetSpoeTransactionsOK) IsServerError() bool

IsServerError returns true when this get spoe transactions o k response has a 5xx status code

func (*GetSpoeTransactionsOK) IsSuccess added in v1.1.0

func (o *GetSpoeTransactionsOK) IsSuccess() bool

IsSuccess returns true when this get spoe transactions o k response has a 2xx status code

func (*GetSpoeTransactionsOK) String added in v1.1.0

func (o *GetSpoeTransactionsOK) String() string

type GetSpoeTransactionsParams

type GetSpoeTransactionsParams struct {

	/* Spoe.

	   Spoe file name
	*/
	Spoe string

	/* Status.

	   Filter by transaction status
	*/
	Status *string

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

GetSpoeTransactionsParams contains all the parameters to send to the API endpoint

for the get spoe transactions operation.

Typically these are written to a http.Request.

func NewGetSpoeTransactionsParams

func NewGetSpoeTransactionsParams() *GetSpoeTransactionsParams

NewGetSpoeTransactionsParams creates a new GetSpoeTransactionsParams 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 NewGetSpoeTransactionsParamsWithContext

func NewGetSpoeTransactionsParamsWithContext(ctx context.Context) *GetSpoeTransactionsParams

NewGetSpoeTransactionsParamsWithContext creates a new GetSpoeTransactionsParams object with the ability to set a context for a request.

func NewGetSpoeTransactionsParamsWithHTTPClient

func NewGetSpoeTransactionsParamsWithHTTPClient(client *http.Client) *GetSpoeTransactionsParams

NewGetSpoeTransactionsParamsWithHTTPClient creates a new GetSpoeTransactionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSpoeTransactionsParamsWithTimeout

func NewGetSpoeTransactionsParamsWithTimeout(timeout time.Duration) *GetSpoeTransactionsParams

NewGetSpoeTransactionsParamsWithTimeout creates a new GetSpoeTransactionsParams object with the ability to set a timeout on a request.

func (*GetSpoeTransactionsParams) SetContext

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

SetContext adds the context to the get spoe transactions params

func (*GetSpoeTransactionsParams) SetDefaults

func (o *GetSpoeTransactionsParams) SetDefaults()

SetDefaults hydrates default values in the get spoe transactions params (not the query body).

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

func (*GetSpoeTransactionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get spoe transactions params

func (*GetSpoeTransactionsParams) SetSpoe

func (o *GetSpoeTransactionsParams) SetSpoe(spoe string)

SetSpoe adds the spoe to the get spoe transactions params

func (*GetSpoeTransactionsParams) SetStatus

func (o *GetSpoeTransactionsParams) SetStatus(status *string)

SetStatus adds the status to the get spoe transactions params

func (*GetSpoeTransactionsParams) SetTimeout

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

SetTimeout adds the timeout to the get spoe transactions params

func (*GetSpoeTransactionsParams) WithContext

WithContext adds the context to the get spoe transactions params

func (*GetSpoeTransactionsParams) WithDefaults

WithDefaults hydrates default values in the get spoe transactions params (not the query body).

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

func (*GetSpoeTransactionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get spoe transactions params

func (*GetSpoeTransactionsParams) WithSpoe

WithSpoe adds the spoe to the get spoe transactions params

func (*GetSpoeTransactionsParams) WithStatus

WithStatus adds the status to the get spoe transactions params

func (*GetSpoeTransactionsParams) WithTimeout

WithTimeout adds the timeout to the get spoe transactions params

func (*GetSpoeTransactionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSpoeTransactionsReader

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

GetSpoeTransactionsReader is a Reader for the GetSpoeTransactions structure.

func (*GetSpoeTransactionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartSpoeTransactionCreated

type StartSpoeTransactionCreated struct {
	Payload *models.SpoeTransaction
}

StartSpoeTransactionCreated describes a response with status code 201, with default header values.

Transaction started

func NewStartSpoeTransactionCreated

func NewStartSpoeTransactionCreated() *StartSpoeTransactionCreated

NewStartSpoeTransactionCreated creates a StartSpoeTransactionCreated with default headers values

func (*StartSpoeTransactionCreated) Code added in v1.1.5

func (o *StartSpoeTransactionCreated) Code() int

Code gets the status code for the start spoe transaction created response

func (*StartSpoeTransactionCreated) Error

func (*StartSpoeTransactionCreated) GetPayload

func (*StartSpoeTransactionCreated) IsClientError added in v1.1.0

func (o *StartSpoeTransactionCreated) IsClientError() bool

IsClientError returns true when this start spoe transaction created response has a 4xx status code

func (*StartSpoeTransactionCreated) IsCode added in v1.1.0

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

IsCode returns true when this start spoe transaction created response a status code equal to that given

func (*StartSpoeTransactionCreated) IsRedirect added in v1.1.0

func (o *StartSpoeTransactionCreated) IsRedirect() bool

IsRedirect returns true when this start spoe transaction created response has a 3xx status code

func (*StartSpoeTransactionCreated) IsServerError added in v1.1.0

func (o *StartSpoeTransactionCreated) IsServerError() bool

IsServerError returns true when this start spoe transaction created response has a 5xx status code

func (*StartSpoeTransactionCreated) IsSuccess added in v1.1.0

func (o *StartSpoeTransactionCreated) IsSuccess() bool

IsSuccess returns true when this start spoe transaction created response has a 2xx status code

func (*StartSpoeTransactionCreated) String added in v1.1.0

func (o *StartSpoeTransactionCreated) String() string

type StartSpoeTransactionDefault

type StartSpoeTransactionDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

StartSpoeTransactionDefault describes a response with status code -1, with default header values.

General Error

func NewStartSpoeTransactionDefault

func NewStartSpoeTransactionDefault(code int) *StartSpoeTransactionDefault

NewStartSpoeTransactionDefault creates a StartSpoeTransactionDefault with default headers values

func (*StartSpoeTransactionDefault) Code

func (o *StartSpoeTransactionDefault) Code() int

Code gets the status code for the start spoe transaction default response

func (*StartSpoeTransactionDefault) Error

func (*StartSpoeTransactionDefault) GetPayload

func (o *StartSpoeTransactionDefault) GetPayload() *models.Error

func (*StartSpoeTransactionDefault) IsClientError added in v1.1.0

func (o *StartSpoeTransactionDefault) IsClientError() bool

IsClientError returns true when this start spoe transaction default response has a 4xx status code

func (*StartSpoeTransactionDefault) IsCode added in v1.1.0

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

IsCode returns true when this start spoe transaction default response a status code equal to that given

func (*StartSpoeTransactionDefault) IsRedirect added in v1.1.0

func (o *StartSpoeTransactionDefault) IsRedirect() bool

IsRedirect returns true when this start spoe transaction default response has a 3xx status code

func (*StartSpoeTransactionDefault) IsServerError added in v1.1.0

func (o *StartSpoeTransactionDefault) IsServerError() bool

IsServerError returns true when this start spoe transaction default response has a 5xx status code

func (*StartSpoeTransactionDefault) IsSuccess added in v1.1.0

func (o *StartSpoeTransactionDefault) IsSuccess() bool

IsSuccess returns true when this start spoe transaction default response has a 2xx status code

func (*StartSpoeTransactionDefault) String added in v1.1.0

func (o *StartSpoeTransactionDefault) String() string

type StartSpoeTransactionParams

type StartSpoeTransactionParams struct {

	/* Spoe.

	   Spoe file name
	*/
	Spoe string

	/* Version.

	   Configuration version on which to work on
	*/
	Version int64

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

StartSpoeTransactionParams contains all the parameters to send to the API endpoint

for the start spoe transaction operation.

Typically these are written to a http.Request.

func NewStartSpoeTransactionParams

func NewStartSpoeTransactionParams() *StartSpoeTransactionParams

NewStartSpoeTransactionParams creates a new StartSpoeTransactionParams 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 NewStartSpoeTransactionParamsWithContext

func NewStartSpoeTransactionParamsWithContext(ctx context.Context) *StartSpoeTransactionParams

NewStartSpoeTransactionParamsWithContext creates a new StartSpoeTransactionParams object with the ability to set a context for a request.

func NewStartSpoeTransactionParamsWithHTTPClient

func NewStartSpoeTransactionParamsWithHTTPClient(client *http.Client) *StartSpoeTransactionParams

NewStartSpoeTransactionParamsWithHTTPClient creates a new StartSpoeTransactionParams object with the ability to set a custom HTTPClient for a request.

func NewStartSpoeTransactionParamsWithTimeout

func NewStartSpoeTransactionParamsWithTimeout(timeout time.Duration) *StartSpoeTransactionParams

NewStartSpoeTransactionParamsWithTimeout creates a new StartSpoeTransactionParams object with the ability to set a timeout on a request.

func (*StartSpoeTransactionParams) SetContext

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

SetContext adds the context to the start spoe transaction params

func (*StartSpoeTransactionParams) SetDefaults

func (o *StartSpoeTransactionParams) SetDefaults()

SetDefaults hydrates default values in the start spoe transaction params (not the query body).

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

func (*StartSpoeTransactionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start spoe transaction params

func (*StartSpoeTransactionParams) SetSpoe

func (o *StartSpoeTransactionParams) SetSpoe(spoe string)

SetSpoe adds the spoe to the start spoe transaction params

func (*StartSpoeTransactionParams) SetTimeout

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

SetTimeout adds the timeout to the start spoe transaction params

func (*StartSpoeTransactionParams) SetVersion

func (o *StartSpoeTransactionParams) SetVersion(version int64)

SetVersion adds the version to the start spoe transaction params

func (*StartSpoeTransactionParams) WithContext

WithContext adds the context to the start spoe transaction params

func (*StartSpoeTransactionParams) WithDefaults

WithDefaults hydrates default values in the start spoe transaction params (not the query body).

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

func (*StartSpoeTransactionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start spoe transaction params

func (*StartSpoeTransactionParams) WithSpoe

WithSpoe adds the spoe to the start spoe transaction params

func (*StartSpoeTransactionParams) WithTimeout

WithTimeout adds the timeout to the start spoe transaction params

func (*StartSpoeTransactionParams) WithVersion

WithVersion adds the version to the start spoe transaction params

func (*StartSpoeTransactionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartSpoeTransactionReader

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

StartSpoeTransactionReader is a Reader for the StartSpoeTransaction structure.

func (*StartSpoeTransactionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartSpoeTransactionTooManyRequests

type StartSpoeTransactionTooManyRequests struct {
	Payload *StartSpoeTransactionTooManyRequestsBody
}

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

Too many open transactions

func NewStartSpoeTransactionTooManyRequests

func NewStartSpoeTransactionTooManyRequests() *StartSpoeTransactionTooManyRequests

NewStartSpoeTransactionTooManyRequests creates a StartSpoeTransactionTooManyRequests with default headers values

func (*StartSpoeTransactionTooManyRequests) Code added in v1.1.5

Code gets the status code for the start spoe transaction too many requests response

func (*StartSpoeTransactionTooManyRequests) Error

func (*StartSpoeTransactionTooManyRequests) GetPayload

func (*StartSpoeTransactionTooManyRequests) IsClientError added in v1.1.0

func (o *StartSpoeTransactionTooManyRequests) IsClientError() bool

IsClientError returns true when this start spoe transaction too many requests response has a 4xx status code

func (*StartSpoeTransactionTooManyRequests) IsCode added in v1.1.0

IsCode returns true when this start spoe transaction too many requests response a status code equal to that given

func (*StartSpoeTransactionTooManyRequests) IsRedirect added in v1.1.0

func (o *StartSpoeTransactionTooManyRequests) IsRedirect() bool

IsRedirect returns true when this start spoe transaction too many requests response has a 3xx status code

func (*StartSpoeTransactionTooManyRequests) IsServerError added in v1.1.0

func (o *StartSpoeTransactionTooManyRequests) IsServerError() bool

IsServerError returns true when this start spoe transaction too many requests response has a 5xx status code

func (*StartSpoeTransactionTooManyRequests) IsSuccess added in v1.1.0

IsSuccess returns true when this start spoe transaction too many requests response has a 2xx status code

func (*StartSpoeTransactionTooManyRequests) String added in v1.1.0

type StartSpoeTransactionTooManyRequestsBody

type StartSpoeTransactionTooManyRequestsBody struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

StartSpoeTransactionTooManyRequestsBody start spoe transaction too many requests body // Example: {"code":429,"message":"cannot start a new transaction, reached the maximum amount of 20 active transactions available"} swagger:model StartSpoeTransactionTooManyRequestsBody

func (*StartSpoeTransactionTooManyRequestsBody) ContextValidate

ContextValidate validates this start spoe transaction too many requests body based on context it is used

func (*StartSpoeTransactionTooManyRequestsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*StartSpoeTransactionTooManyRequestsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartSpoeTransactionTooManyRequestsBody) Validate

Validate validates this start spoe transaction too many requests body

Jump to

Keyboard shortcuts

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