spoe_transactions

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 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

DeleteSpoeTransaction deletes a transaction

Deletes a transaction.

func (*Client) GetSpoeTransaction

func (a *Client) GetSpoeTransaction(params *GetSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*StartSpoeTransactionCreated, error)

StartSpoeTransaction starts a new transaction

Starts a new transaction and returns it's id

type ClientService

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 handles this case 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) Error

func (*CommitSpoeTransactionAccepted) GetPayload

type CommitSpoeTransactionBadRequest

type CommitSpoeTransactionBadRequest struct {
	/*Configuration file version
	 */
	ConfigurationVersion int64

	Payload *models.Error
}

CommitSpoeTransactionBadRequest handles this case with default header values.

Bad request

func NewCommitSpoeTransactionBadRequest

func NewCommitSpoeTransactionBadRequest() *CommitSpoeTransactionBadRequest

NewCommitSpoeTransactionBadRequest creates a CommitSpoeTransactionBadRequest with default headers values

func (*CommitSpoeTransactionBadRequest) Error

func (*CommitSpoeTransactionBadRequest) GetPayload

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

type CommitSpoeTransactionDefault

type CommitSpoeTransactionDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion int64

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

CommitSpoeTransactionDefault handles this case 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

type CommitSpoeTransactionNotFound

type CommitSpoeTransactionNotFound struct {
	/*Configuration file version
	 */
	ConfigurationVersion int64

	Payload *models.Error
}

CommitSpoeTransactionNotFound handles this case 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) Error

func (*CommitSpoeTransactionNotFound) GetPayload

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

type CommitSpoeTransactionOK

type CommitSpoeTransactionOK struct {
	Payload *models.SpoeTransaction
}

CommitSpoeTransactionOK handles this case with default header values.

Transaction succesfully commited

func NewCommitSpoeTransactionOK

func NewCommitSpoeTransactionOK() *CommitSpoeTransactionOK

NewCommitSpoeTransactionOK creates a CommitSpoeTransactionOK with default headers values

func (*CommitSpoeTransactionOK) Error

func (o *CommitSpoeTransactionOK) Error() string

func (*CommitSpoeTransactionOK) GetPayload

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 values initialized.

func NewCommitSpoeTransactionParamsWithContext

func NewCommitSpoeTransactionParamsWithContext(ctx context.Context) *CommitSpoeTransactionParams

NewCommitSpoeTransactionParamsWithContext creates a new CommitSpoeTransactionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 int64

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

DeleteSpoeTransactionDefault handles this case 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

type DeleteSpoeTransactionNoContent

type DeleteSpoeTransactionNoContent struct {
}

DeleteSpoeTransactionNoContent handles this case with default header values.

Transaction deleted

func NewDeleteSpoeTransactionNoContent

func NewDeleteSpoeTransactionNoContent() *DeleteSpoeTransactionNoContent

NewDeleteSpoeTransactionNoContent creates a DeleteSpoeTransactionNoContent with default headers values

func (*DeleteSpoeTransactionNoContent) Error

type DeleteSpoeTransactionNotFound

type DeleteSpoeTransactionNotFound struct {
	/*Configuration file version
	 */
	ConfigurationVersion int64

	Payload *models.Error
}

DeleteSpoeTransactionNotFound handles this case 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) Error

func (*DeleteSpoeTransactionNotFound) GetPayload

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

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 values initialized.

func NewDeleteSpoeTransactionParamsWithContext

func NewDeleteSpoeTransactionParamsWithContext(ctx context.Context) *DeleteSpoeTransactionParams

NewDeleteSpoeTransactionParamsWithContext creates a new DeleteSpoeTransactionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 int64

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

GetSpoeTransactionDefault handles this case 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

type GetSpoeTransactionNotFound

type GetSpoeTransactionNotFound struct {
	/*Configuration file version
	 */
	ConfigurationVersion int64

	Payload *models.Error
}

GetSpoeTransactionNotFound handles this case 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) Error

func (*GetSpoeTransactionNotFound) GetPayload

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

type GetSpoeTransactionOK

type GetSpoeTransactionOK struct {
	Payload *models.SpoeTransaction
}

GetSpoeTransactionOK handles this case with default header values.

Successful operation

func NewGetSpoeTransactionOK

func NewGetSpoeTransactionOK() *GetSpoeTransactionOK

NewGetSpoeTransactionOK creates a GetSpoeTransactionOK with default headers values

func (*GetSpoeTransactionOK) Error

func (o *GetSpoeTransactionOK) Error() string

func (*GetSpoeTransactionOK) GetPayload

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

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 values initialized.

func NewGetSpoeTransactionParamsWithContext

func NewGetSpoeTransactionParamsWithContext(ctx context.Context) *GetSpoeTransactionParams

NewGetSpoeTransactionParamsWithContext creates a new GetSpoeTransactionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 int64

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

GetSpoeTransactionsDefault handles this case 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

type GetSpoeTransactionsOK

type GetSpoeTransactionsOK struct {
	Payload models.SpoeTransactions
}

GetSpoeTransactionsOK handles this case with default header values.

Success

func NewGetSpoeTransactionsOK

func NewGetSpoeTransactionsOK() *GetSpoeTransactionsOK

NewGetSpoeTransactionsOK creates a GetSpoeTransactionsOK with default headers values

func (*GetSpoeTransactionsOK) Error

func (o *GetSpoeTransactionsOK) Error() string

func (*GetSpoeTransactionsOK) GetPayload

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 values initialized.

func NewGetSpoeTransactionsParamsWithContext

func NewGetSpoeTransactionsParamsWithContext(ctx context.Context) *GetSpoeTransactionsParams

NewGetSpoeTransactionsParamsWithContext creates a new GetSpoeTransactionsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Transaction started

func NewStartSpoeTransactionCreated

func NewStartSpoeTransactionCreated() *StartSpoeTransactionCreated

NewStartSpoeTransactionCreated creates a StartSpoeTransactionCreated with default headers values

func (*StartSpoeTransactionCreated) Error

func (*StartSpoeTransactionCreated) GetPayload

type StartSpoeTransactionDefault

type StartSpoeTransactionDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion int64

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

StartSpoeTransactionDefault handles this case 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

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 values initialized.

func NewStartSpoeTransactionParamsWithContext

func NewStartSpoeTransactionParamsWithContext(ctx context.Context) *StartSpoeTransactionParams

NewStartSpoeTransactionParamsWithContext creates a new StartSpoeTransactionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Too many open transactions

func NewStartSpoeTransactionTooManyRequests

func NewStartSpoeTransactionTooManyRequests() *StartSpoeTransactionTooManyRequests

NewStartSpoeTransactionTooManyRequests creates a StartSpoeTransactionTooManyRequests with default headers values

func (*StartSpoeTransactionTooManyRequests) Error

func (*StartSpoeTransactionTooManyRequests) GetPayload

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 swagger:model StartSpoeTransactionTooManyRequestsBody

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