Documentation
¶
Index ¶
- type Client
- func (a *Client) CommitSpoeTransaction(params *CommitSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CommitSpoeTransactionOK, *CommitSpoeTransactionAccepted, error)
- func (a *Client) DeleteSpoeTransaction(params *DeleteSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSpoeTransactionNoContent, error)
- func (a *Client) GetSpoeTransaction(params *GetSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSpoeTransactionOK, error)
- func (a *Client) GetSpoeTransactions(params *GetSpoeTransactionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSpoeTransactionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartSpoeTransaction(params *StartSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StartSpoeTransactionCreated, error)
- type ClientOption
- type ClientService
- type CommitSpoeTransactionAccepted
- func (o *CommitSpoeTransactionAccepted) Code() int
- func (o *CommitSpoeTransactionAccepted) Error() string
- func (o *CommitSpoeTransactionAccepted) GetPayload() *models.SpoeTransaction
- func (o *CommitSpoeTransactionAccepted) IsClientError() bool
- func (o *CommitSpoeTransactionAccepted) IsCode(code int) bool
- func (o *CommitSpoeTransactionAccepted) IsRedirect() bool
- func (o *CommitSpoeTransactionAccepted) IsServerError() bool
- func (o *CommitSpoeTransactionAccepted) IsSuccess() bool
- func (o *CommitSpoeTransactionAccepted) String() string
- type CommitSpoeTransactionBadRequest
- func (o *CommitSpoeTransactionBadRequest) Code() int
- func (o *CommitSpoeTransactionBadRequest) Error() string
- func (o *CommitSpoeTransactionBadRequest) GetPayload() *models.Error
- func (o *CommitSpoeTransactionBadRequest) IsClientError() bool
- func (o *CommitSpoeTransactionBadRequest) IsCode(code int) bool
- func (o *CommitSpoeTransactionBadRequest) IsRedirect() bool
- func (o *CommitSpoeTransactionBadRequest) IsServerError() bool
- func (o *CommitSpoeTransactionBadRequest) IsSuccess() bool
- func (o *CommitSpoeTransactionBadRequest) String() string
- type CommitSpoeTransactionDefault
- func (o *CommitSpoeTransactionDefault) Code() int
- func (o *CommitSpoeTransactionDefault) Error() string
- func (o *CommitSpoeTransactionDefault) GetPayload() *models.Error
- func (o *CommitSpoeTransactionDefault) IsClientError() bool
- func (o *CommitSpoeTransactionDefault) IsCode(code int) bool
- func (o *CommitSpoeTransactionDefault) IsRedirect() bool
- func (o *CommitSpoeTransactionDefault) IsServerError() bool
- func (o *CommitSpoeTransactionDefault) IsSuccess() bool
- func (o *CommitSpoeTransactionDefault) String() string
- type CommitSpoeTransactionNotFound
- func (o *CommitSpoeTransactionNotFound) Code() int
- func (o *CommitSpoeTransactionNotFound) Error() string
- func (o *CommitSpoeTransactionNotFound) GetPayload() *models.Error
- func (o *CommitSpoeTransactionNotFound) IsClientError() bool
- func (o *CommitSpoeTransactionNotFound) IsCode(code int) bool
- func (o *CommitSpoeTransactionNotFound) IsRedirect() bool
- func (o *CommitSpoeTransactionNotFound) IsServerError() bool
- func (o *CommitSpoeTransactionNotFound) IsSuccess() bool
- func (o *CommitSpoeTransactionNotFound) String() string
- type CommitSpoeTransactionOK
- func (o *CommitSpoeTransactionOK) Code() int
- func (o *CommitSpoeTransactionOK) Error() string
- func (o *CommitSpoeTransactionOK) GetPayload() *models.SpoeTransaction
- func (o *CommitSpoeTransactionOK) IsClientError() bool
- func (o *CommitSpoeTransactionOK) IsCode(code int) bool
- func (o *CommitSpoeTransactionOK) IsRedirect() bool
- func (o *CommitSpoeTransactionOK) IsServerError() bool
- func (o *CommitSpoeTransactionOK) IsSuccess() bool
- func (o *CommitSpoeTransactionOK) String() string
- type CommitSpoeTransactionParams
- func NewCommitSpoeTransactionParams() *CommitSpoeTransactionParams
- func NewCommitSpoeTransactionParamsWithContext(ctx context.Context) *CommitSpoeTransactionParams
- func NewCommitSpoeTransactionParamsWithHTTPClient(client *http.Client) *CommitSpoeTransactionParams
- func NewCommitSpoeTransactionParamsWithTimeout(timeout time.Duration) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) SetContext(ctx context.Context)
- func (o *CommitSpoeTransactionParams) SetDefaults()
- func (o *CommitSpoeTransactionParams) SetForceReload(forceReload *bool)
- func (o *CommitSpoeTransactionParams) SetHTTPClient(client *http.Client)
- func (o *CommitSpoeTransactionParams) SetID(id string)
- func (o *CommitSpoeTransactionParams) SetSpoe(spoe string)
- func (o *CommitSpoeTransactionParams) SetTimeout(timeout time.Duration)
- func (o *CommitSpoeTransactionParams) WithContext(ctx context.Context) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithDefaults() *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithForceReload(forceReload *bool) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithHTTPClient(client *http.Client) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithID(id string) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithSpoe(spoe string) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WithTimeout(timeout time.Duration) *CommitSpoeTransactionParams
- func (o *CommitSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CommitSpoeTransactionReader
- type DeleteSpoeTransactionDefault
- func (o *DeleteSpoeTransactionDefault) Code() int
- func (o *DeleteSpoeTransactionDefault) Error() string
- func (o *DeleteSpoeTransactionDefault) GetPayload() *models.Error
- func (o *DeleteSpoeTransactionDefault) IsClientError() bool
- func (o *DeleteSpoeTransactionDefault) IsCode(code int) bool
- func (o *DeleteSpoeTransactionDefault) IsRedirect() bool
- func (o *DeleteSpoeTransactionDefault) IsServerError() bool
- func (o *DeleteSpoeTransactionDefault) IsSuccess() bool
- func (o *DeleteSpoeTransactionDefault) String() string
- type DeleteSpoeTransactionNoContent
- func (o *DeleteSpoeTransactionNoContent) Code() int
- func (o *DeleteSpoeTransactionNoContent) Error() string
- func (o *DeleteSpoeTransactionNoContent) IsClientError() bool
- func (o *DeleteSpoeTransactionNoContent) IsCode(code int) bool
- func (o *DeleteSpoeTransactionNoContent) IsRedirect() bool
- func (o *DeleteSpoeTransactionNoContent) IsServerError() bool
- func (o *DeleteSpoeTransactionNoContent) IsSuccess() bool
- func (o *DeleteSpoeTransactionNoContent) String() string
- type DeleteSpoeTransactionNotFound
- func (o *DeleteSpoeTransactionNotFound) Code() int
- func (o *DeleteSpoeTransactionNotFound) Error() string
- func (o *DeleteSpoeTransactionNotFound) GetPayload() *models.Error
- func (o *DeleteSpoeTransactionNotFound) IsClientError() bool
- func (o *DeleteSpoeTransactionNotFound) IsCode(code int) bool
- func (o *DeleteSpoeTransactionNotFound) IsRedirect() bool
- func (o *DeleteSpoeTransactionNotFound) IsServerError() bool
- func (o *DeleteSpoeTransactionNotFound) IsSuccess() bool
- func (o *DeleteSpoeTransactionNotFound) String() string
- type DeleteSpoeTransactionParams
- func NewDeleteSpoeTransactionParams() *DeleteSpoeTransactionParams
- func NewDeleteSpoeTransactionParamsWithContext(ctx context.Context) *DeleteSpoeTransactionParams
- func NewDeleteSpoeTransactionParamsWithHTTPClient(client *http.Client) *DeleteSpoeTransactionParams
- func NewDeleteSpoeTransactionParamsWithTimeout(timeout time.Duration) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) SetContext(ctx context.Context)
- func (o *DeleteSpoeTransactionParams) SetDefaults()
- func (o *DeleteSpoeTransactionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSpoeTransactionParams) SetID(id string)
- func (o *DeleteSpoeTransactionParams) SetSpoe(spoe string)
- func (o *DeleteSpoeTransactionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSpoeTransactionParams) WithContext(ctx context.Context) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithDefaults() *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithHTTPClient(client *http.Client) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithID(id string) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithSpoe(spoe string) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WithTimeout(timeout time.Duration) *DeleteSpoeTransactionParams
- func (o *DeleteSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSpoeTransactionReader
- type GetSpoeTransactionDefault
- func (o *GetSpoeTransactionDefault) Code() int
- func (o *GetSpoeTransactionDefault) Error() string
- func (o *GetSpoeTransactionDefault) GetPayload() *models.Error
- func (o *GetSpoeTransactionDefault) IsClientError() bool
- func (o *GetSpoeTransactionDefault) IsCode(code int) bool
- func (o *GetSpoeTransactionDefault) IsRedirect() bool
- func (o *GetSpoeTransactionDefault) IsServerError() bool
- func (o *GetSpoeTransactionDefault) IsSuccess() bool
- func (o *GetSpoeTransactionDefault) String() string
- type GetSpoeTransactionNotFound
- func (o *GetSpoeTransactionNotFound) Code() int
- func (o *GetSpoeTransactionNotFound) Error() string
- func (o *GetSpoeTransactionNotFound) GetPayload() *models.Error
- func (o *GetSpoeTransactionNotFound) IsClientError() bool
- func (o *GetSpoeTransactionNotFound) IsCode(code int) bool
- func (o *GetSpoeTransactionNotFound) IsRedirect() bool
- func (o *GetSpoeTransactionNotFound) IsServerError() bool
- func (o *GetSpoeTransactionNotFound) IsSuccess() bool
- func (o *GetSpoeTransactionNotFound) String() string
- type GetSpoeTransactionOK
- func (o *GetSpoeTransactionOK) Code() int
- func (o *GetSpoeTransactionOK) Error() string
- func (o *GetSpoeTransactionOK) GetPayload() *models.SpoeTransaction
- func (o *GetSpoeTransactionOK) IsClientError() bool
- func (o *GetSpoeTransactionOK) IsCode(code int) bool
- func (o *GetSpoeTransactionOK) IsRedirect() bool
- func (o *GetSpoeTransactionOK) IsServerError() bool
- func (o *GetSpoeTransactionOK) IsSuccess() bool
- func (o *GetSpoeTransactionOK) String() string
- type GetSpoeTransactionParams
- func NewGetSpoeTransactionParams() *GetSpoeTransactionParams
- func NewGetSpoeTransactionParamsWithContext(ctx context.Context) *GetSpoeTransactionParams
- func NewGetSpoeTransactionParamsWithHTTPClient(client *http.Client) *GetSpoeTransactionParams
- func NewGetSpoeTransactionParamsWithTimeout(timeout time.Duration) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) SetContext(ctx context.Context)
- func (o *GetSpoeTransactionParams) SetDefaults()
- func (o *GetSpoeTransactionParams) SetHTTPClient(client *http.Client)
- func (o *GetSpoeTransactionParams) SetID(id string)
- func (o *GetSpoeTransactionParams) SetSpoe(spoe string)
- func (o *GetSpoeTransactionParams) SetTimeout(timeout time.Duration)
- func (o *GetSpoeTransactionParams) WithContext(ctx context.Context) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithDefaults() *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithHTTPClient(client *http.Client) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithID(id string) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithSpoe(spoe string) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WithTimeout(timeout time.Duration) *GetSpoeTransactionParams
- func (o *GetSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSpoeTransactionReader
- type GetSpoeTransactionsDefault
- func (o *GetSpoeTransactionsDefault) Code() int
- func (o *GetSpoeTransactionsDefault) Error() string
- func (o *GetSpoeTransactionsDefault) GetPayload() *models.Error
- func (o *GetSpoeTransactionsDefault) IsClientError() bool
- func (o *GetSpoeTransactionsDefault) IsCode(code int) bool
- func (o *GetSpoeTransactionsDefault) IsRedirect() bool
- func (o *GetSpoeTransactionsDefault) IsServerError() bool
- func (o *GetSpoeTransactionsDefault) IsSuccess() bool
- func (o *GetSpoeTransactionsDefault) String() string
- type GetSpoeTransactionsOK
- func (o *GetSpoeTransactionsOK) Code() int
- func (o *GetSpoeTransactionsOK) Error() string
- func (o *GetSpoeTransactionsOK) GetPayload() models.SpoeTransactions
- func (o *GetSpoeTransactionsOK) IsClientError() bool
- func (o *GetSpoeTransactionsOK) IsCode(code int) bool
- func (o *GetSpoeTransactionsOK) IsRedirect() bool
- func (o *GetSpoeTransactionsOK) IsServerError() bool
- func (o *GetSpoeTransactionsOK) IsSuccess() bool
- func (o *GetSpoeTransactionsOK) String() string
- type GetSpoeTransactionsParams
- func NewGetSpoeTransactionsParams() *GetSpoeTransactionsParams
- func NewGetSpoeTransactionsParamsWithContext(ctx context.Context) *GetSpoeTransactionsParams
- func NewGetSpoeTransactionsParamsWithHTTPClient(client *http.Client) *GetSpoeTransactionsParams
- func NewGetSpoeTransactionsParamsWithTimeout(timeout time.Duration) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) SetContext(ctx context.Context)
- func (o *GetSpoeTransactionsParams) SetDefaults()
- func (o *GetSpoeTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *GetSpoeTransactionsParams) SetSpoe(spoe string)
- func (o *GetSpoeTransactionsParams) SetStatus(status *string)
- func (o *GetSpoeTransactionsParams) SetTimeout(timeout time.Duration)
- func (o *GetSpoeTransactionsParams) WithContext(ctx context.Context) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithDefaults() *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithHTTPClient(client *http.Client) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithSpoe(spoe string) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithStatus(status *string) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WithTimeout(timeout time.Duration) *GetSpoeTransactionsParams
- func (o *GetSpoeTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSpoeTransactionsReader
- type StartSpoeTransactionCreated
- func (o *StartSpoeTransactionCreated) Code() int
- func (o *StartSpoeTransactionCreated) Error() string
- func (o *StartSpoeTransactionCreated) GetPayload() *models.SpoeTransaction
- func (o *StartSpoeTransactionCreated) IsClientError() bool
- func (o *StartSpoeTransactionCreated) IsCode(code int) bool
- func (o *StartSpoeTransactionCreated) IsRedirect() bool
- func (o *StartSpoeTransactionCreated) IsServerError() bool
- func (o *StartSpoeTransactionCreated) IsSuccess() bool
- func (o *StartSpoeTransactionCreated) String() string
- type StartSpoeTransactionDefault
- func (o *StartSpoeTransactionDefault) Code() int
- func (o *StartSpoeTransactionDefault) Error() string
- func (o *StartSpoeTransactionDefault) GetPayload() *models.Error
- func (o *StartSpoeTransactionDefault) IsClientError() bool
- func (o *StartSpoeTransactionDefault) IsCode(code int) bool
- func (o *StartSpoeTransactionDefault) IsRedirect() bool
- func (o *StartSpoeTransactionDefault) IsServerError() bool
- func (o *StartSpoeTransactionDefault) IsSuccess() bool
- func (o *StartSpoeTransactionDefault) String() string
- type StartSpoeTransactionParams
- func NewStartSpoeTransactionParams() *StartSpoeTransactionParams
- func NewStartSpoeTransactionParamsWithContext(ctx context.Context) *StartSpoeTransactionParams
- func NewStartSpoeTransactionParamsWithHTTPClient(client *http.Client) *StartSpoeTransactionParams
- func NewStartSpoeTransactionParamsWithTimeout(timeout time.Duration) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) SetContext(ctx context.Context)
- func (o *StartSpoeTransactionParams) SetDefaults()
- func (o *StartSpoeTransactionParams) SetHTTPClient(client *http.Client)
- func (o *StartSpoeTransactionParams) SetSpoe(spoe string)
- func (o *StartSpoeTransactionParams) SetTimeout(timeout time.Duration)
- func (o *StartSpoeTransactionParams) SetVersion(version int64)
- func (o *StartSpoeTransactionParams) WithContext(ctx context.Context) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithDefaults() *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithHTTPClient(client *http.Client) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithSpoe(spoe string) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithTimeout(timeout time.Duration) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WithVersion(version int64) *StartSpoeTransactionParams
- func (o *StartSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartSpoeTransactionReader
- type StartSpoeTransactionTooManyRequests
- func (o *StartSpoeTransactionTooManyRequests) Code() int
- func (o *StartSpoeTransactionTooManyRequests) Error() string
- func (o *StartSpoeTransactionTooManyRequests) GetPayload() *StartSpoeTransactionTooManyRequestsBody
- func (o *StartSpoeTransactionTooManyRequests) IsClientError() bool
- func (o *StartSpoeTransactionTooManyRequests) IsCode(code int) bool
- func (o *StartSpoeTransactionTooManyRequests) IsRedirect() bool
- func (o *StartSpoeTransactionTooManyRequests) IsServerError() bool
- func (o *StartSpoeTransactionTooManyRequests) IsSuccess() bool
- func (o *StartSpoeTransactionTooManyRequests) String() string
- type StartSpoeTransactionTooManyRequestsBody
- func (o *StartSpoeTransactionTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *StartSpoeTransactionTooManyRequestsBody) MarshalBinary() ([]byte, error)
- func (o *StartSpoeTransactionTooManyRequestsBody) UnmarshalBinary(b []byte) error
- func (o *StartSpoeTransactionTooManyRequestsBody) Validate(formats strfmt.Registry) error
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 ¶
func (a *Client) CommitSpoeTransaction(params *CommitSpoeTransactionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CommitSpoeTransactionOK, *CommitSpoeTransactionAccepted, error)
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
func (o *CommitSpoeTransactionAccepted) Code() int
Code gets the status code for the commit spoe transaction accepted response
func (*CommitSpoeTransactionAccepted) Error ¶
func (o *CommitSpoeTransactionAccepted) Error() string
func (*CommitSpoeTransactionAccepted) GetPayload ¶
func (o *CommitSpoeTransactionAccepted) GetPayload() *models.SpoeTransaction
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
func (o *CommitSpoeTransactionAccepted) String() string
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
func (o *CommitSpoeTransactionBadRequest) Code() int
Code gets the status code for the commit spoe transaction bad request response
func (*CommitSpoeTransactionBadRequest) Error ¶
func (o *CommitSpoeTransactionBadRequest) Error() string
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
func (o *CommitSpoeTransactionBadRequest) String() string
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 ¶
func (o *CommitSpoeTransactionDefault) Code() int
Code gets the status code for the commit spoe transaction default response
func (*CommitSpoeTransactionDefault) Error ¶
func (o *CommitSpoeTransactionDefault) Error() string
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
func (o *CommitSpoeTransactionDefault) String() string
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
func (o *CommitSpoeTransactionNotFound) Code() int
Code gets the status code for the commit spoe transaction not found response
func (*CommitSpoeTransactionNotFound) Error ¶
func (o *CommitSpoeTransactionNotFound) Error() string
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
func (o *CommitSpoeTransactionNotFound) String() string
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 (o *CommitSpoeTransactionOK) GetPayload() *models.SpoeTransaction
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 ¶
func (o *CommitSpoeTransactionParams) WithContext(ctx context.Context) *CommitSpoeTransactionParams
WithContext adds the context to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithDefaults ¶
func (o *CommitSpoeTransactionParams) WithDefaults() *CommitSpoeTransactionParams
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 ¶
func (o *CommitSpoeTransactionParams) WithHTTPClient(client *http.Client) *CommitSpoeTransactionParams
WithHTTPClient adds the HTTPClient to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithID ¶
func (o *CommitSpoeTransactionParams) WithID(id string) *CommitSpoeTransactionParams
WithID adds the id to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithSpoe ¶
func (o *CommitSpoeTransactionParams) WithSpoe(spoe string) *CommitSpoeTransactionParams
WithSpoe adds the spoe to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WithTimeout ¶
func (o *CommitSpoeTransactionParams) WithTimeout(timeout time.Duration) *CommitSpoeTransactionParams
WithTimeout adds the timeout to the commit spoe transaction params
func (*CommitSpoeTransactionParams) WriteToRequest ¶
func (o *CommitSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteSpoeTransactionDefault) Code() int
Code gets the status code for the delete spoe transaction default response
func (*DeleteSpoeTransactionDefault) Error ¶
func (o *DeleteSpoeTransactionDefault) Error() string
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
func (o *DeleteSpoeTransactionDefault) String() string
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
func (o *DeleteSpoeTransactionNoContent) Code() int
Code gets the status code for the delete spoe transaction no content response
func (*DeleteSpoeTransactionNoContent) Error ¶
func (o *DeleteSpoeTransactionNoContent) Error() string
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
func (o *DeleteSpoeTransactionNoContent) String() string
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
func (o *DeleteSpoeTransactionNotFound) Code() int
Code gets the status code for the delete spoe transaction not found response
func (*DeleteSpoeTransactionNotFound) Error ¶
func (o *DeleteSpoeTransactionNotFound) Error() string
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
func (o *DeleteSpoeTransactionNotFound) String() string
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 ¶
func (o *DeleteSpoeTransactionParams) WithContext(ctx context.Context) *DeleteSpoeTransactionParams
WithContext adds the context to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithDefaults ¶
func (o *DeleteSpoeTransactionParams) WithDefaults() *DeleteSpoeTransactionParams
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 ¶
func (o *DeleteSpoeTransactionParams) WithHTTPClient(client *http.Client) *DeleteSpoeTransactionParams
WithHTTPClient adds the HTTPClient to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithID ¶
func (o *DeleteSpoeTransactionParams) WithID(id string) *DeleteSpoeTransactionParams
WithID adds the id to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithSpoe ¶
func (o *DeleteSpoeTransactionParams) WithSpoe(spoe string) *DeleteSpoeTransactionParams
WithSpoe adds the spoe to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WithTimeout ¶
func (o *DeleteSpoeTransactionParams) WithTimeout(timeout time.Duration) *DeleteSpoeTransactionParams
WithTimeout adds the timeout to the delete spoe transaction params
func (*DeleteSpoeTransactionParams) WriteToRequest ¶
func (o *DeleteSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetSpoeTransactionNotFound) Error() string
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 ¶
func (o *GetSpoeTransactionParams) WithContext(ctx context.Context) *GetSpoeTransactionParams
WithContext adds the context to the get spoe transaction params
func (*GetSpoeTransactionParams) WithDefaults ¶
func (o *GetSpoeTransactionParams) WithDefaults() *GetSpoeTransactionParams
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 ¶
func (o *GetSpoeTransactionParams) WithID(id string) *GetSpoeTransactionParams
WithID adds the id to the get spoe transaction params
func (*GetSpoeTransactionParams) WithSpoe ¶
func (o *GetSpoeTransactionParams) WithSpoe(spoe string) *GetSpoeTransactionParams
WithSpoe adds the spoe to the get spoe transaction params
func (*GetSpoeTransactionParams) WithTimeout ¶
func (o *GetSpoeTransactionParams) WithTimeout(timeout time.Duration) *GetSpoeTransactionParams
WithTimeout adds the timeout to the get spoe transaction params
func (*GetSpoeTransactionParams) WriteToRequest ¶
func (o *GetSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetSpoeTransactionsDefault) Error() string
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 (o *GetSpoeTransactionsOK) GetPayload() models.SpoeTransactions
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 ¶
func (o *GetSpoeTransactionsParams) WithContext(ctx context.Context) *GetSpoeTransactionsParams
WithContext adds the context to the get spoe transactions params
func (*GetSpoeTransactionsParams) WithDefaults ¶
func (o *GetSpoeTransactionsParams) WithDefaults() *GetSpoeTransactionsParams
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 ¶
func (o *GetSpoeTransactionsParams) WithSpoe(spoe string) *GetSpoeTransactionsParams
WithSpoe adds the spoe to the get spoe transactions params
func (*GetSpoeTransactionsParams) WithStatus ¶
func (o *GetSpoeTransactionsParams) WithStatus(status *string) *GetSpoeTransactionsParams
WithStatus adds the status to the get spoe transactions params
func (*GetSpoeTransactionsParams) WithTimeout ¶
func (o *GetSpoeTransactionsParams) WithTimeout(timeout time.Duration) *GetSpoeTransactionsParams
WithTimeout adds the timeout to the get spoe transactions params
func (*GetSpoeTransactionsParams) WriteToRequest ¶
func (o *GetSpoeTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StartSpoeTransactionCreated) Error() string
func (*StartSpoeTransactionCreated) GetPayload ¶
func (o *StartSpoeTransactionCreated) GetPayload() *models.SpoeTransaction
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 (o *StartSpoeTransactionDefault) Error() string
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 ¶
func (o *StartSpoeTransactionParams) WithContext(ctx context.Context) *StartSpoeTransactionParams
WithContext adds the context to the start spoe transaction params
func (*StartSpoeTransactionParams) WithDefaults ¶
func (o *StartSpoeTransactionParams) WithDefaults() *StartSpoeTransactionParams
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 ¶
func (o *StartSpoeTransactionParams) WithHTTPClient(client *http.Client) *StartSpoeTransactionParams
WithHTTPClient adds the HTTPClient to the start spoe transaction params
func (*StartSpoeTransactionParams) WithSpoe ¶
func (o *StartSpoeTransactionParams) WithSpoe(spoe string) *StartSpoeTransactionParams
WithSpoe adds the spoe to the start spoe transaction params
func (*StartSpoeTransactionParams) WithTimeout ¶
func (o *StartSpoeTransactionParams) WithTimeout(timeout time.Duration) *StartSpoeTransactionParams
WithTimeout adds the timeout to the start spoe transaction params
func (*StartSpoeTransactionParams) WithVersion ¶
func (o *StartSpoeTransactionParams) WithVersion(version int64) *StartSpoeTransactionParams
WithVersion adds the version to the start spoe transaction params
func (*StartSpoeTransactionParams) WriteToRequest ¶
func (o *StartSpoeTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *StartSpoeTransactionTooManyRequests) Code() int
Code gets the status code for the start spoe transaction too many requests response
func (*StartSpoeTransactionTooManyRequests) Error ¶
func (o *StartSpoeTransactionTooManyRequests) Error() string
func (*StartSpoeTransactionTooManyRequests) GetPayload ¶
func (o *StartSpoeTransactionTooManyRequests) GetPayload() *StartSpoeTransactionTooManyRequestsBody
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
func (o *StartSpoeTransactionTooManyRequests) IsCode(code int) bool
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
func (o *StartSpoeTransactionTooManyRequests) IsSuccess() bool
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
func (o *StartSpoeTransactionTooManyRequests) String() string
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 ¶
func (o *StartSpoeTransactionTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
Source Files
¶
- commit_spoe_transaction_parameters.go
- commit_spoe_transaction_responses.go
- delete_spoe_transaction_parameters.go
- delete_spoe_transaction_responses.go
- get_spoe_transaction_parameters.go
- get_spoe_transaction_responses.go
- get_spoe_transactions_parameters.go
- get_spoe_transactions_responses.go
- spoe_transactions_client.go
- start_spoe_transaction_parameters.go
- start_spoe_transaction_responses.go