replication

package
v0.29.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   CreateReplicationPolicy creates a replication policy

	   Create a replication policy*/
	CreateReplicationPolicy(ctx context.Context, params *CreateReplicationPolicyParams) (*CreateReplicationPolicyCreated, error)
	/*
	   DeleteReplicationPolicy deletes the specific replication policy

	   Delete the specific replication policy*/
	DeleteReplicationPolicy(ctx context.Context, params *DeleteReplicationPolicyParams) (*DeleteReplicationPolicyOK, error)
	/*
	   GetReplicationExecution gets the specific replication execution

	   Get the replication execution specified by ID*/
	GetReplicationExecution(ctx context.Context, params *GetReplicationExecutionParams) (*GetReplicationExecutionOK, error)
	/*
	   GetReplicationLog gets the log of the specific replication task

	   Get the log of the specific replication task*/
	GetReplicationLog(ctx context.Context, params *GetReplicationLogParams) (*GetReplicationLogOK, error)
	/*
	   GetReplicationPolicy gets the specific replication policy

	   Get the specific replication policy*/
	GetReplicationPolicy(ctx context.Context, params *GetReplicationPolicyParams) (*GetReplicationPolicyOK, error)
	/*
	   ListReplicationExecutions lists replication executions

	   List replication executions*/
	ListReplicationExecutions(ctx context.Context, params *ListReplicationExecutionsParams) (*ListReplicationExecutionsOK, error)
	/*
	   ListReplicationPolicies lists replication policies

	   List replication policies*/
	ListReplicationPolicies(ctx context.Context, params *ListReplicationPoliciesParams) (*ListReplicationPoliciesOK, error)
	/*
	   ListReplicationTasks lists replication tasks for a specific execution

	   List replication tasks for a specific execution*/
	ListReplicationTasks(ctx context.Context, params *ListReplicationTasksParams) (*ListReplicationTasksOK, error)
	/*
	   StartReplication starts one replication execution

	   Start one replication execution according to the policy*/
	StartReplication(ctx context.Context, params *StartReplicationParams) (*StartReplicationCreated, error)
	/*
	   StopReplication stops the specific replication execution

	   Stop the replication execution specified by ID*/
	StopReplication(ctx context.Context, params *StopReplicationParams) (*StopReplicationOK, error)
	/*
	   UpdateReplicationPolicy updates the replication policy

	   Update the replication policy*/
	UpdateReplicationPolicy(ctx context.Context, params *UpdateReplicationPolicyParams) (*UpdateReplicationPolicyOK, error)
}

API is the interface of the replication client

type Client

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

Client for replication API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client

New creates a new replication API client.

func (*Client) CreateReplicationPolicy

func (a *Client) CreateReplicationPolicy(ctx context.Context, params *CreateReplicationPolicyParams) (*CreateReplicationPolicyCreated, error)

CreateReplicationPolicy creates a replication policy

Create a replication policy

func (*Client) DeleteReplicationPolicy

func (a *Client) DeleteReplicationPolicy(ctx context.Context, params *DeleteReplicationPolicyParams) (*DeleteReplicationPolicyOK, error)

DeleteReplicationPolicy deletes the specific replication policy

Delete the specific replication policy

func (*Client) GetReplicationExecution

func (a *Client) GetReplicationExecution(ctx context.Context, params *GetReplicationExecutionParams) (*GetReplicationExecutionOK, error)

GetReplicationExecution gets the specific replication execution

Get the replication execution specified by ID

func (*Client) GetReplicationLog

func (a *Client) GetReplicationLog(ctx context.Context, params *GetReplicationLogParams) (*GetReplicationLogOK, error)

GetReplicationLog gets the log of the specific replication task

Get the log of the specific replication task

func (*Client) GetReplicationPolicy

func (a *Client) GetReplicationPolicy(ctx context.Context, params *GetReplicationPolicyParams) (*GetReplicationPolicyOK, error)

GetReplicationPolicy gets the specific replication policy

Get the specific replication policy

func (*Client) ListReplicationExecutions

func (a *Client) ListReplicationExecutions(ctx context.Context, params *ListReplicationExecutionsParams) (*ListReplicationExecutionsOK, error)

ListReplicationExecutions lists replication executions

List replication executions

func (*Client) ListReplicationPolicies

func (a *Client) ListReplicationPolicies(ctx context.Context, params *ListReplicationPoliciesParams) (*ListReplicationPoliciesOK, error)

ListReplicationPolicies lists replication policies

List replication policies

func (*Client) ListReplicationTasks

func (a *Client) ListReplicationTasks(ctx context.Context, params *ListReplicationTasksParams) (*ListReplicationTasksOK, error)

ListReplicationTasks lists replication tasks for a specific execution

List replication tasks for a specific execution

func (*Client) StartReplication

func (a *Client) StartReplication(ctx context.Context, params *StartReplicationParams) (*StartReplicationCreated, error)

StartReplication starts one replication execution

Start one replication execution according to the policy

func (*Client) StopReplication

func (a *Client) StopReplication(ctx context.Context, params *StopReplicationParams) (*StopReplicationOK, error)

StopReplication stops the specific replication execution

Stop the replication execution specified by ID

func (*Client) UpdateReplicationPolicy

func (a *Client) UpdateReplicationPolicy(ctx context.Context, params *UpdateReplicationPolicyParams) (*UpdateReplicationPolicyOK, error)

UpdateReplicationPolicy updates the replication policy

Update the replication policy

type CreateReplicationPolicyBadRequest

type CreateReplicationPolicyBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewCreateReplicationPolicyBadRequest

func NewCreateReplicationPolicyBadRequest() *CreateReplicationPolicyBadRequest

NewCreateReplicationPolicyBadRequest creates a CreateReplicationPolicyBadRequest with default headers values

func (*CreateReplicationPolicyBadRequest) Error

func (*CreateReplicationPolicyBadRequest) GetPayload

func (*CreateReplicationPolicyBadRequest) IsClientError

func (o *CreateReplicationPolicyBadRequest) IsClientError() bool

IsClientError returns true when this create replication policy bad request response has a 4xx status code

func (*CreateReplicationPolicyBadRequest) IsCode

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

IsCode returns true when this create replication policy bad request response a status code equal to that given

func (*CreateReplicationPolicyBadRequest) IsRedirect

func (o *CreateReplicationPolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this create replication policy bad request response has a 3xx status code

func (*CreateReplicationPolicyBadRequest) IsServerError

func (o *CreateReplicationPolicyBadRequest) IsServerError() bool

IsServerError returns true when this create replication policy bad request response has a 5xx status code

func (*CreateReplicationPolicyBadRequest) IsSuccess

func (o *CreateReplicationPolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this create replication policy bad request response has a 2xx status code

func (*CreateReplicationPolicyBadRequest) String

type CreateReplicationPolicyConflict

type CreateReplicationPolicyConflict struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreateReplicationPolicyConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateReplicationPolicyConflict

func NewCreateReplicationPolicyConflict() *CreateReplicationPolicyConflict

NewCreateReplicationPolicyConflict creates a CreateReplicationPolicyConflict with default headers values

func (*CreateReplicationPolicyConflict) Error

func (*CreateReplicationPolicyConflict) GetPayload

func (*CreateReplicationPolicyConflict) IsClientError

func (o *CreateReplicationPolicyConflict) IsClientError() bool

IsClientError returns true when this create replication policy conflict response has a 4xx status code

func (*CreateReplicationPolicyConflict) IsCode

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

IsCode returns true when this create replication policy conflict response a status code equal to that given

func (*CreateReplicationPolicyConflict) IsRedirect

func (o *CreateReplicationPolicyConflict) IsRedirect() bool

IsRedirect returns true when this create replication policy conflict response has a 3xx status code

func (*CreateReplicationPolicyConflict) IsServerError

func (o *CreateReplicationPolicyConflict) IsServerError() bool

IsServerError returns true when this create replication policy conflict response has a 5xx status code

func (*CreateReplicationPolicyConflict) IsSuccess

func (o *CreateReplicationPolicyConflict) IsSuccess() bool

IsSuccess returns true when this create replication policy conflict response has a 2xx status code

func (*CreateReplicationPolicyConflict) String

type CreateReplicationPolicyCreated

type CreateReplicationPolicyCreated struct {

	/* The location of the resource
	 */
	Location string

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}

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

Created

func NewCreateReplicationPolicyCreated

func NewCreateReplicationPolicyCreated() *CreateReplicationPolicyCreated

NewCreateReplicationPolicyCreated creates a CreateReplicationPolicyCreated with default headers values

func (*CreateReplicationPolicyCreated) Error

func (*CreateReplicationPolicyCreated) IsClientError

func (o *CreateReplicationPolicyCreated) IsClientError() bool

IsClientError returns true when this create replication policy created response has a 4xx status code

func (*CreateReplicationPolicyCreated) IsCode

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

IsCode returns true when this create replication policy created response a status code equal to that given

func (*CreateReplicationPolicyCreated) IsRedirect

func (o *CreateReplicationPolicyCreated) IsRedirect() bool

IsRedirect returns true when this create replication policy created response has a 3xx status code

func (*CreateReplicationPolicyCreated) IsServerError

func (o *CreateReplicationPolicyCreated) IsServerError() bool

IsServerError returns true when this create replication policy created response has a 5xx status code

func (*CreateReplicationPolicyCreated) IsSuccess

func (o *CreateReplicationPolicyCreated) IsSuccess() bool

IsSuccess returns true when this create replication policy created response has a 2xx status code

func (*CreateReplicationPolicyCreated) String

type CreateReplicationPolicyForbidden

type CreateReplicationPolicyForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreateReplicationPolicyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateReplicationPolicyForbidden

func NewCreateReplicationPolicyForbidden() *CreateReplicationPolicyForbidden

NewCreateReplicationPolicyForbidden creates a CreateReplicationPolicyForbidden with default headers values

func (*CreateReplicationPolicyForbidden) Error

func (*CreateReplicationPolicyForbidden) GetPayload

func (*CreateReplicationPolicyForbidden) IsClientError

func (o *CreateReplicationPolicyForbidden) IsClientError() bool

IsClientError returns true when this create replication policy forbidden response has a 4xx status code

func (*CreateReplicationPolicyForbidden) IsCode

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

IsCode returns true when this create replication policy forbidden response a status code equal to that given

func (*CreateReplicationPolicyForbidden) IsRedirect

func (o *CreateReplicationPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this create replication policy forbidden response has a 3xx status code

func (*CreateReplicationPolicyForbidden) IsServerError

func (o *CreateReplicationPolicyForbidden) IsServerError() bool

IsServerError returns true when this create replication policy forbidden response has a 5xx status code

func (*CreateReplicationPolicyForbidden) IsSuccess

func (o *CreateReplicationPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this create replication policy forbidden response has a 2xx status code

func (*CreateReplicationPolicyForbidden) String

type CreateReplicationPolicyInternalServerError

type CreateReplicationPolicyInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewCreateReplicationPolicyInternalServerError

func NewCreateReplicationPolicyInternalServerError() *CreateReplicationPolicyInternalServerError

NewCreateReplicationPolicyInternalServerError creates a CreateReplicationPolicyInternalServerError with default headers values

func (*CreateReplicationPolicyInternalServerError) Error

func (*CreateReplicationPolicyInternalServerError) GetPayload

func (*CreateReplicationPolicyInternalServerError) IsClientError

IsClientError returns true when this create replication policy internal server error response has a 4xx status code

func (*CreateReplicationPolicyInternalServerError) IsCode

IsCode returns true when this create replication policy internal server error response a status code equal to that given

func (*CreateReplicationPolicyInternalServerError) IsRedirect

IsRedirect returns true when this create replication policy internal server error response has a 3xx status code

func (*CreateReplicationPolicyInternalServerError) IsServerError

IsServerError returns true when this create replication policy internal server error response has a 5xx status code

func (*CreateReplicationPolicyInternalServerError) IsSuccess

IsSuccess returns true when this create replication policy internal server error response has a 2xx status code

func (*CreateReplicationPolicyInternalServerError) String

type CreateReplicationPolicyParams

type CreateReplicationPolicyParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Policy.

	   The replication policy
	*/
	Policy *models.ReplicationPolicy

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

CreateReplicationPolicyParams contains all the parameters to send to the API endpoint

for the create replication policy operation.

Typically these are written to a http.Request.

func NewCreateReplicationPolicyParams

func NewCreateReplicationPolicyParams() *CreateReplicationPolicyParams

NewCreateReplicationPolicyParams creates a new CreateReplicationPolicyParams 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 NewCreateReplicationPolicyParamsWithContext

func NewCreateReplicationPolicyParamsWithContext(ctx context.Context) *CreateReplicationPolicyParams

NewCreateReplicationPolicyParamsWithContext creates a new CreateReplicationPolicyParams object with the ability to set a context for a request.

func NewCreateReplicationPolicyParamsWithHTTPClient

func NewCreateReplicationPolicyParamsWithHTTPClient(client *http.Client) *CreateReplicationPolicyParams

NewCreateReplicationPolicyParamsWithHTTPClient creates a new CreateReplicationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateReplicationPolicyParamsWithTimeout

func NewCreateReplicationPolicyParamsWithTimeout(timeout time.Duration) *CreateReplicationPolicyParams

NewCreateReplicationPolicyParamsWithTimeout creates a new CreateReplicationPolicyParams object with the ability to set a timeout on a request.

func (*CreateReplicationPolicyParams) SetContext

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

SetContext adds the context to the create replication policy params

func (*CreateReplicationPolicyParams) SetDefaults

func (o *CreateReplicationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the create replication policy params (not the query body).

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

func (*CreateReplicationPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create replication policy params

func (*CreateReplicationPolicyParams) SetPolicy

SetPolicy adds the policy to the create replication policy params

func (*CreateReplicationPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the create replication policy params

func (*CreateReplicationPolicyParams) SetXRequestID

func (o *CreateReplicationPolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create replication policy params

func (*CreateReplicationPolicyParams) WithContext

WithContext adds the context to the create replication policy params

func (*CreateReplicationPolicyParams) WithDefaults

WithDefaults hydrates default values in the create replication policy params (not the query body).

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

func (*CreateReplicationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create replication policy params

func (*CreateReplicationPolicyParams) WithPolicy

WithPolicy adds the policy to the create replication policy params

func (*CreateReplicationPolicyParams) WithTimeout

WithTimeout adds the timeout to the create replication policy params

func (*CreateReplicationPolicyParams) WithXRequestID

func (o *CreateReplicationPolicyParams) WithXRequestID(xRequestID *string) *CreateReplicationPolicyParams

WithXRequestID adds the xRequestID to the create replication policy params

func (*CreateReplicationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateReplicationPolicyReader

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

CreateReplicationPolicyReader is a Reader for the CreateReplicationPolicy structure.

func (*CreateReplicationPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateReplicationPolicyUnauthorized

type CreateReplicationPolicyUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewCreateReplicationPolicyUnauthorized

func NewCreateReplicationPolicyUnauthorized() *CreateReplicationPolicyUnauthorized

NewCreateReplicationPolicyUnauthorized creates a CreateReplicationPolicyUnauthorized with default headers values

func (*CreateReplicationPolicyUnauthorized) Error

func (*CreateReplicationPolicyUnauthorized) GetPayload

func (*CreateReplicationPolicyUnauthorized) IsClientError

func (o *CreateReplicationPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this create replication policy unauthorized response has a 4xx status code

func (*CreateReplicationPolicyUnauthorized) IsCode

IsCode returns true when this create replication policy unauthorized response a status code equal to that given

func (*CreateReplicationPolicyUnauthorized) IsRedirect

func (o *CreateReplicationPolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this create replication policy unauthorized response has a 3xx status code

func (*CreateReplicationPolicyUnauthorized) IsServerError

func (o *CreateReplicationPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this create replication policy unauthorized response has a 5xx status code

func (*CreateReplicationPolicyUnauthorized) IsSuccess

IsSuccess returns true when this create replication policy unauthorized response has a 2xx status code

func (*CreateReplicationPolicyUnauthorized) String

type DeleteReplicationPolicyForbidden

type DeleteReplicationPolicyForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeleteReplicationPolicyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteReplicationPolicyForbidden

func NewDeleteReplicationPolicyForbidden() *DeleteReplicationPolicyForbidden

NewDeleteReplicationPolicyForbidden creates a DeleteReplicationPolicyForbidden with default headers values

func (*DeleteReplicationPolicyForbidden) Error

func (*DeleteReplicationPolicyForbidden) GetPayload

func (*DeleteReplicationPolicyForbidden) IsClientError

func (o *DeleteReplicationPolicyForbidden) IsClientError() bool

IsClientError returns true when this delete replication policy forbidden response has a 4xx status code

func (*DeleteReplicationPolicyForbidden) IsCode

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

IsCode returns true when this delete replication policy forbidden response a status code equal to that given

func (*DeleteReplicationPolicyForbidden) IsRedirect

func (o *DeleteReplicationPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this delete replication policy forbidden response has a 3xx status code

func (*DeleteReplicationPolicyForbidden) IsServerError

func (o *DeleteReplicationPolicyForbidden) IsServerError() bool

IsServerError returns true when this delete replication policy forbidden response has a 5xx status code

func (*DeleteReplicationPolicyForbidden) IsSuccess

func (o *DeleteReplicationPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this delete replication policy forbidden response has a 2xx status code

func (*DeleteReplicationPolicyForbidden) String

type DeleteReplicationPolicyInternalServerError

type DeleteReplicationPolicyInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewDeleteReplicationPolicyInternalServerError

func NewDeleteReplicationPolicyInternalServerError() *DeleteReplicationPolicyInternalServerError

NewDeleteReplicationPolicyInternalServerError creates a DeleteReplicationPolicyInternalServerError with default headers values

func (*DeleteReplicationPolicyInternalServerError) Error

func (*DeleteReplicationPolicyInternalServerError) GetPayload

func (*DeleteReplicationPolicyInternalServerError) IsClientError

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

func (*DeleteReplicationPolicyInternalServerError) IsCode

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

func (*DeleteReplicationPolicyInternalServerError) IsRedirect

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

func (*DeleteReplicationPolicyInternalServerError) IsServerError

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

func (*DeleteReplicationPolicyInternalServerError) IsSuccess

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

func (*DeleteReplicationPolicyInternalServerError) String

type DeleteReplicationPolicyNotFound

type DeleteReplicationPolicyNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewDeleteReplicationPolicyNotFound

func NewDeleteReplicationPolicyNotFound() *DeleteReplicationPolicyNotFound

NewDeleteReplicationPolicyNotFound creates a DeleteReplicationPolicyNotFound with default headers values

func (*DeleteReplicationPolicyNotFound) Error

func (*DeleteReplicationPolicyNotFound) GetPayload

func (*DeleteReplicationPolicyNotFound) IsClientError

func (o *DeleteReplicationPolicyNotFound) IsClientError() bool

IsClientError returns true when this delete replication policy not found response has a 4xx status code

func (*DeleteReplicationPolicyNotFound) IsCode

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

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

func (*DeleteReplicationPolicyNotFound) IsRedirect

func (o *DeleteReplicationPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this delete replication policy not found response has a 3xx status code

func (*DeleteReplicationPolicyNotFound) IsServerError

func (o *DeleteReplicationPolicyNotFound) IsServerError() bool

IsServerError returns true when this delete replication policy not found response has a 5xx status code

func (*DeleteReplicationPolicyNotFound) IsSuccess

func (o *DeleteReplicationPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this delete replication policy not found response has a 2xx status code

func (*DeleteReplicationPolicyNotFound) String

type DeleteReplicationPolicyOK

type DeleteReplicationPolicyOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}

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

Success

func NewDeleteReplicationPolicyOK

func NewDeleteReplicationPolicyOK() *DeleteReplicationPolicyOK

NewDeleteReplicationPolicyOK creates a DeleteReplicationPolicyOK with default headers values

func (*DeleteReplicationPolicyOK) Error

func (o *DeleteReplicationPolicyOK) Error() string

func (*DeleteReplicationPolicyOK) IsClientError

func (o *DeleteReplicationPolicyOK) IsClientError() bool

IsClientError returns true when this delete replication policy o k response has a 4xx status code

func (*DeleteReplicationPolicyOK) IsCode

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

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

func (*DeleteReplicationPolicyOK) IsRedirect

func (o *DeleteReplicationPolicyOK) IsRedirect() bool

IsRedirect returns true when this delete replication policy o k response has a 3xx status code

func (*DeleteReplicationPolicyOK) IsServerError

func (o *DeleteReplicationPolicyOK) IsServerError() bool

IsServerError returns true when this delete replication policy o k response has a 5xx status code

func (*DeleteReplicationPolicyOK) IsSuccess

func (o *DeleteReplicationPolicyOK) IsSuccess() bool

IsSuccess returns true when this delete replication policy o k response has a 2xx status code

func (*DeleteReplicationPolicyOK) String

func (o *DeleteReplicationPolicyOK) String() string

type DeleteReplicationPolicyParams

type DeleteReplicationPolicyParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ID.

	   Replication policy ID

	   Format: int64
	*/
	ID int64

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

DeleteReplicationPolicyParams contains all the parameters to send to the API endpoint

for the delete replication policy operation.

Typically these are written to a http.Request.

func NewDeleteReplicationPolicyParams

func NewDeleteReplicationPolicyParams() *DeleteReplicationPolicyParams

NewDeleteReplicationPolicyParams creates a new DeleteReplicationPolicyParams 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 NewDeleteReplicationPolicyParamsWithContext

func NewDeleteReplicationPolicyParamsWithContext(ctx context.Context) *DeleteReplicationPolicyParams

NewDeleteReplicationPolicyParamsWithContext creates a new DeleteReplicationPolicyParams object with the ability to set a context for a request.

func NewDeleteReplicationPolicyParamsWithHTTPClient

func NewDeleteReplicationPolicyParamsWithHTTPClient(client *http.Client) *DeleteReplicationPolicyParams

NewDeleteReplicationPolicyParamsWithHTTPClient creates a new DeleteReplicationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteReplicationPolicyParamsWithTimeout

func NewDeleteReplicationPolicyParamsWithTimeout(timeout time.Duration) *DeleteReplicationPolicyParams

NewDeleteReplicationPolicyParamsWithTimeout creates a new DeleteReplicationPolicyParams object with the ability to set a timeout on a request.

func (*DeleteReplicationPolicyParams) SetContext

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

SetContext adds the context to the delete replication policy params

func (*DeleteReplicationPolicyParams) SetDefaults

func (o *DeleteReplicationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the delete replication policy params (not the query body).

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

func (*DeleteReplicationPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete replication policy params

func (*DeleteReplicationPolicyParams) SetID

func (o *DeleteReplicationPolicyParams) SetID(id int64)

SetID adds the id to the delete replication policy params

func (*DeleteReplicationPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the delete replication policy params

func (*DeleteReplicationPolicyParams) SetXRequestID

func (o *DeleteReplicationPolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete replication policy params

func (*DeleteReplicationPolicyParams) WithContext

WithContext adds the context to the delete replication policy params

func (*DeleteReplicationPolicyParams) WithDefaults

WithDefaults hydrates default values in the delete replication policy params (not the query body).

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

func (*DeleteReplicationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete replication policy params

func (*DeleteReplicationPolicyParams) WithID

WithID adds the id to the delete replication policy params

func (*DeleteReplicationPolicyParams) WithTimeout

WithTimeout adds the timeout to the delete replication policy params

func (*DeleteReplicationPolicyParams) WithXRequestID

func (o *DeleteReplicationPolicyParams) WithXRequestID(xRequestID *string) *DeleteReplicationPolicyParams

WithXRequestID adds the xRequestID to the delete replication policy params

func (*DeleteReplicationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteReplicationPolicyPreconditionFailed

type DeleteReplicationPolicyPreconditionFailed struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeleteReplicationPolicyPreconditionFailed describes a response with status code 412, with default header values.

Precondition failed

func NewDeleteReplicationPolicyPreconditionFailed

func NewDeleteReplicationPolicyPreconditionFailed() *DeleteReplicationPolicyPreconditionFailed

NewDeleteReplicationPolicyPreconditionFailed creates a DeleteReplicationPolicyPreconditionFailed with default headers values

func (*DeleteReplicationPolicyPreconditionFailed) Error

func (*DeleteReplicationPolicyPreconditionFailed) GetPayload

func (*DeleteReplicationPolicyPreconditionFailed) IsClientError

IsClientError returns true when this delete replication policy precondition failed response has a 4xx status code

func (*DeleteReplicationPolicyPreconditionFailed) IsCode

IsCode returns true when this delete replication policy precondition failed response a status code equal to that given

func (*DeleteReplicationPolicyPreconditionFailed) IsRedirect

IsRedirect returns true when this delete replication policy precondition failed response has a 3xx status code

func (*DeleteReplicationPolicyPreconditionFailed) IsServerError

IsServerError returns true when this delete replication policy precondition failed response has a 5xx status code

func (*DeleteReplicationPolicyPreconditionFailed) IsSuccess

IsSuccess returns true when this delete replication policy precondition failed response has a 2xx status code

func (*DeleteReplicationPolicyPreconditionFailed) String

type DeleteReplicationPolicyReader

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

DeleteReplicationPolicyReader is a Reader for the DeleteReplicationPolicy structure.

func (*DeleteReplicationPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteReplicationPolicyUnauthorized

type DeleteReplicationPolicyUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewDeleteReplicationPolicyUnauthorized

func NewDeleteReplicationPolicyUnauthorized() *DeleteReplicationPolicyUnauthorized

NewDeleteReplicationPolicyUnauthorized creates a DeleteReplicationPolicyUnauthorized with default headers values

func (*DeleteReplicationPolicyUnauthorized) Error

func (*DeleteReplicationPolicyUnauthorized) GetPayload

func (*DeleteReplicationPolicyUnauthorized) IsClientError

func (o *DeleteReplicationPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this delete replication policy unauthorized response has a 4xx status code

func (*DeleteReplicationPolicyUnauthorized) IsCode

IsCode returns true when this delete replication policy unauthorized response a status code equal to that given

func (*DeleteReplicationPolicyUnauthorized) IsRedirect

func (o *DeleteReplicationPolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete replication policy unauthorized response has a 3xx status code

func (*DeleteReplicationPolicyUnauthorized) IsServerError

func (o *DeleteReplicationPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this delete replication policy unauthorized response has a 5xx status code

func (*DeleteReplicationPolicyUnauthorized) IsSuccess

IsSuccess returns true when this delete replication policy unauthorized response has a 2xx status code

func (*DeleteReplicationPolicyUnauthorized) String

type GetReplicationExecutionForbidden

type GetReplicationExecutionForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetReplicationExecutionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetReplicationExecutionForbidden

func NewGetReplicationExecutionForbidden() *GetReplicationExecutionForbidden

NewGetReplicationExecutionForbidden creates a GetReplicationExecutionForbidden with default headers values

func (*GetReplicationExecutionForbidden) Error

func (*GetReplicationExecutionForbidden) GetPayload

func (*GetReplicationExecutionForbidden) IsClientError

func (o *GetReplicationExecutionForbidden) IsClientError() bool

IsClientError returns true when this get replication execution forbidden response has a 4xx status code

func (*GetReplicationExecutionForbidden) IsCode

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

IsCode returns true when this get replication execution forbidden response a status code equal to that given

func (*GetReplicationExecutionForbidden) IsRedirect

func (o *GetReplicationExecutionForbidden) IsRedirect() bool

IsRedirect returns true when this get replication execution forbidden response has a 3xx status code

func (*GetReplicationExecutionForbidden) IsServerError

func (o *GetReplicationExecutionForbidden) IsServerError() bool

IsServerError returns true when this get replication execution forbidden response has a 5xx status code

func (*GetReplicationExecutionForbidden) IsSuccess

func (o *GetReplicationExecutionForbidden) IsSuccess() bool

IsSuccess returns true when this get replication execution forbidden response has a 2xx status code

func (*GetReplicationExecutionForbidden) String

type GetReplicationExecutionInternalServerError

type GetReplicationExecutionInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewGetReplicationExecutionInternalServerError

func NewGetReplicationExecutionInternalServerError() *GetReplicationExecutionInternalServerError

NewGetReplicationExecutionInternalServerError creates a GetReplicationExecutionInternalServerError with default headers values

func (*GetReplicationExecutionInternalServerError) Error

func (*GetReplicationExecutionInternalServerError) GetPayload

func (*GetReplicationExecutionInternalServerError) IsClientError

IsClientError returns true when this get replication execution internal server error response has a 4xx status code

func (*GetReplicationExecutionInternalServerError) IsCode

IsCode returns true when this get replication execution internal server error response a status code equal to that given

func (*GetReplicationExecutionInternalServerError) IsRedirect

IsRedirect returns true when this get replication execution internal server error response has a 3xx status code

func (*GetReplicationExecutionInternalServerError) IsServerError

IsServerError returns true when this get replication execution internal server error response has a 5xx status code

func (*GetReplicationExecutionInternalServerError) IsSuccess

IsSuccess returns true when this get replication execution internal server error response has a 2xx status code

func (*GetReplicationExecutionInternalServerError) String

type GetReplicationExecutionNotFound

type GetReplicationExecutionNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewGetReplicationExecutionNotFound

func NewGetReplicationExecutionNotFound() *GetReplicationExecutionNotFound

NewGetReplicationExecutionNotFound creates a GetReplicationExecutionNotFound with default headers values

func (*GetReplicationExecutionNotFound) Error

func (*GetReplicationExecutionNotFound) GetPayload

func (*GetReplicationExecutionNotFound) IsClientError

func (o *GetReplicationExecutionNotFound) IsClientError() bool

IsClientError returns true when this get replication execution not found response has a 4xx status code

func (*GetReplicationExecutionNotFound) IsCode

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

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

func (*GetReplicationExecutionNotFound) IsRedirect

func (o *GetReplicationExecutionNotFound) IsRedirect() bool

IsRedirect returns true when this get replication execution not found response has a 3xx status code

func (*GetReplicationExecutionNotFound) IsServerError

func (o *GetReplicationExecutionNotFound) IsServerError() bool

IsServerError returns true when this get replication execution not found response has a 5xx status code

func (*GetReplicationExecutionNotFound) IsSuccess

func (o *GetReplicationExecutionNotFound) IsSuccess() bool

IsSuccess returns true when this get replication execution not found response has a 2xx status code

func (*GetReplicationExecutionNotFound) String

type GetReplicationExecutionOK

type GetReplicationExecutionOK struct {
	Payload *models.ReplicationExecution
}

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

Success

func NewGetReplicationExecutionOK

func NewGetReplicationExecutionOK() *GetReplicationExecutionOK

NewGetReplicationExecutionOK creates a GetReplicationExecutionOK with default headers values

func (*GetReplicationExecutionOK) Error

func (o *GetReplicationExecutionOK) Error() string

func (*GetReplicationExecutionOK) GetPayload

func (*GetReplicationExecutionOK) IsClientError

func (o *GetReplicationExecutionOK) IsClientError() bool

IsClientError returns true when this get replication execution o k response has a 4xx status code

func (*GetReplicationExecutionOK) IsCode

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

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

func (*GetReplicationExecutionOK) IsRedirect

func (o *GetReplicationExecutionOK) IsRedirect() bool

IsRedirect returns true when this get replication execution o k response has a 3xx status code

func (*GetReplicationExecutionOK) IsServerError

func (o *GetReplicationExecutionOK) IsServerError() bool

IsServerError returns true when this get replication execution o k response has a 5xx status code

func (*GetReplicationExecutionOK) IsSuccess

func (o *GetReplicationExecutionOK) IsSuccess() bool

IsSuccess returns true when this get replication execution o k response has a 2xx status code

func (*GetReplicationExecutionOK) String

func (o *GetReplicationExecutionOK) String() string

type GetReplicationExecutionParams

type GetReplicationExecutionParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ID.

	   The ID of the execution.

	   Format: int64
	*/
	ID int64

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

GetReplicationExecutionParams contains all the parameters to send to the API endpoint

for the get replication execution operation.

Typically these are written to a http.Request.

func NewGetReplicationExecutionParams

func NewGetReplicationExecutionParams() *GetReplicationExecutionParams

NewGetReplicationExecutionParams creates a new GetReplicationExecutionParams 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 NewGetReplicationExecutionParamsWithContext

func NewGetReplicationExecutionParamsWithContext(ctx context.Context) *GetReplicationExecutionParams

NewGetReplicationExecutionParamsWithContext creates a new GetReplicationExecutionParams object with the ability to set a context for a request.

func NewGetReplicationExecutionParamsWithHTTPClient

func NewGetReplicationExecutionParamsWithHTTPClient(client *http.Client) *GetReplicationExecutionParams

NewGetReplicationExecutionParamsWithHTTPClient creates a new GetReplicationExecutionParams object with the ability to set a custom HTTPClient for a request.

func NewGetReplicationExecutionParamsWithTimeout

func NewGetReplicationExecutionParamsWithTimeout(timeout time.Duration) *GetReplicationExecutionParams

NewGetReplicationExecutionParamsWithTimeout creates a new GetReplicationExecutionParams object with the ability to set a timeout on a request.

func (*GetReplicationExecutionParams) SetContext

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

SetContext adds the context to the get replication execution params

func (*GetReplicationExecutionParams) SetDefaults

func (o *GetReplicationExecutionParams) SetDefaults()

SetDefaults hydrates default values in the get replication execution params (not the query body).

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

func (*GetReplicationExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get replication execution params

func (*GetReplicationExecutionParams) SetID

func (o *GetReplicationExecutionParams) SetID(id int64)

SetID adds the id to the get replication execution params

func (*GetReplicationExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the get replication execution params

func (*GetReplicationExecutionParams) SetXRequestID

func (o *GetReplicationExecutionParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get replication execution params

func (*GetReplicationExecutionParams) WithContext

WithContext adds the context to the get replication execution params

func (*GetReplicationExecutionParams) WithDefaults

WithDefaults hydrates default values in the get replication execution params (not the query body).

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

func (*GetReplicationExecutionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get replication execution params

func (*GetReplicationExecutionParams) WithID

WithID adds the id to the get replication execution params

func (*GetReplicationExecutionParams) WithTimeout

WithTimeout adds the timeout to the get replication execution params

func (*GetReplicationExecutionParams) WithXRequestID

func (o *GetReplicationExecutionParams) WithXRequestID(xRequestID *string) *GetReplicationExecutionParams

WithXRequestID adds the xRequestID to the get replication execution params

func (*GetReplicationExecutionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReplicationExecutionReader

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

GetReplicationExecutionReader is a Reader for the GetReplicationExecution structure.

func (*GetReplicationExecutionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReplicationExecutionUnauthorized

type GetReplicationExecutionUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewGetReplicationExecutionUnauthorized

func NewGetReplicationExecutionUnauthorized() *GetReplicationExecutionUnauthorized

NewGetReplicationExecutionUnauthorized creates a GetReplicationExecutionUnauthorized with default headers values

func (*GetReplicationExecutionUnauthorized) Error

func (*GetReplicationExecutionUnauthorized) GetPayload

func (*GetReplicationExecutionUnauthorized) IsClientError

func (o *GetReplicationExecutionUnauthorized) IsClientError() bool

IsClientError returns true when this get replication execution unauthorized response has a 4xx status code

func (*GetReplicationExecutionUnauthorized) IsCode

IsCode returns true when this get replication execution unauthorized response a status code equal to that given

func (*GetReplicationExecutionUnauthorized) IsRedirect

func (o *GetReplicationExecutionUnauthorized) IsRedirect() bool

IsRedirect returns true when this get replication execution unauthorized response has a 3xx status code

func (*GetReplicationExecutionUnauthorized) IsServerError

func (o *GetReplicationExecutionUnauthorized) IsServerError() bool

IsServerError returns true when this get replication execution unauthorized response has a 5xx status code

func (*GetReplicationExecutionUnauthorized) IsSuccess

IsSuccess returns true when this get replication execution unauthorized response has a 2xx status code

func (*GetReplicationExecutionUnauthorized) String

type GetReplicationLogForbidden

type GetReplicationLogForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetReplicationLogForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetReplicationLogForbidden

func NewGetReplicationLogForbidden() *GetReplicationLogForbidden

NewGetReplicationLogForbidden creates a GetReplicationLogForbidden with default headers values

func (*GetReplicationLogForbidden) Error

func (*GetReplicationLogForbidden) GetPayload

func (o *GetReplicationLogForbidden) GetPayload() *models.Errors

func (*GetReplicationLogForbidden) IsClientError

func (o *GetReplicationLogForbidden) IsClientError() bool

IsClientError returns true when this get replication log forbidden response has a 4xx status code

func (*GetReplicationLogForbidden) IsCode

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

IsCode returns true when this get replication log forbidden response a status code equal to that given

func (*GetReplicationLogForbidden) IsRedirect

func (o *GetReplicationLogForbidden) IsRedirect() bool

IsRedirect returns true when this get replication log forbidden response has a 3xx status code

func (*GetReplicationLogForbidden) IsServerError

func (o *GetReplicationLogForbidden) IsServerError() bool

IsServerError returns true when this get replication log forbidden response has a 5xx status code

func (*GetReplicationLogForbidden) IsSuccess

func (o *GetReplicationLogForbidden) IsSuccess() bool

IsSuccess returns true when this get replication log forbidden response has a 2xx status code

func (*GetReplicationLogForbidden) String

func (o *GetReplicationLogForbidden) String() string

type GetReplicationLogInternalServerError

type GetReplicationLogInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewGetReplicationLogInternalServerError

func NewGetReplicationLogInternalServerError() *GetReplicationLogInternalServerError

NewGetReplicationLogInternalServerError creates a GetReplicationLogInternalServerError with default headers values

func (*GetReplicationLogInternalServerError) Error

func (*GetReplicationLogInternalServerError) GetPayload

func (*GetReplicationLogInternalServerError) IsClientError

func (o *GetReplicationLogInternalServerError) IsClientError() bool

IsClientError returns true when this get replication log internal server error response has a 4xx status code

func (*GetReplicationLogInternalServerError) IsCode

IsCode returns true when this get replication log internal server error response a status code equal to that given

func (*GetReplicationLogInternalServerError) IsRedirect

IsRedirect returns true when this get replication log internal server error response has a 3xx status code

func (*GetReplicationLogInternalServerError) IsServerError

func (o *GetReplicationLogInternalServerError) IsServerError() bool

IsServerError returns true when this get replication log internal server error response has a 5xx status code

func (*GetReplicationLogInternalServerError) IsSuccess

IsSuccess returns true when this get replication log internal server error response has a 2xx status code

func (*GetReplicationLogInternalServerError) String

type GetReplicationLogNotFound

type GetReplicationLogNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewGetReplicationLogNotFound

func NewGetReplicationLogNotFound() *GetReplicationLogNotFound

NewGetReplicationLogNotFound creates a GetReplicationLogNotFound with default headers values

func (*GetReplicationLogNotFound) Error

func (o *GetReplicationLogNotFound) Error() string

func (*GetReplicationLogNotFound) GetPayload

func (o *GetReplicationLogNotFound) GetPayload() *models.Errors

func (*GetReplicationLogNotFound) IsClientError

func (o *GetReplicationLogNotFound) IsClientError() bool

IsClientError returns true when this get replication log not found response has a 4xx status code

func (*GetReplicationLogNotFound) IsCode

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

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

func (*GetReplicationLogNotFound) IsRedirect

func (o *GetReplicationLogNotFound) IsRedirect() bool

IsRedirect returns true when this get replication log not found response has a 3xx status code

func (*GetReplicationLogNotFound) IsServerError

func (o *GetReplicationLogNotFound) IsServerError() bool

IsServerError returns true when this get replication log not found response has a 5xx status code

func (*GetReplicationLogNotFound) IsSuccess

func (o *GetReplicationLogNotFound) IsSuccess() bool

IsSuccess returns true when this get replication log not found response has a 2xx status code

func (*GetReplicationLogNotFound) String

func (o *GetReplicationLogNotFound) String() string

type GetReplicationLogOK

type GetReplicationLogOK struct {

	/* The content type of response body
	 */
	ContentType string

	Payload string
}

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

Success

func NewGetReplicationLogOK

func NewGetReplicationLogOK() *GetReplicationLogOK

NewGetReplicationLogOK creates a GetReplicationLogOK with default headers values

func (*GetReplicationLogOK) Error

func (o *GetReplicationLogOK) Error() string

func (*GetReplicationLogOK) GetPayload

func (o *GetReplicationLogOK) GetPayload() string

func (*GetReplicationLogOK) IsClientError

func (o *GetReplicationLogOK) IsClientError() bool

IsClientError returns true when this get replication log o k response has a 4xx status code

func (*GetReplicationLogOK) IsCode

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

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

func (*GetReplicationLogOK) IsRedirect

func (o *GetReplicationLogOK) IsRedirect() bool

IsRedirect returns true when this get replication log o k response has a 3xx status code

func (*GetReplicationLogOK) IsServerError

func (o *GetReplicationLogOK) IsServerError() bool

IsServerError returns true when this get replication log o k response has a 5xx status code

func (*GetReplicationLogOK) IsSuccess

func (o *GetReplicationLogOK) IsSuccess() bool

IsSuccess returns true when this get replication log o k response has a 2xx status code

func (*GetReplicationLogOK) String

func (o *GetReplicationLogOK) String() string

type GetReplicationLogParams

type GetReplicationLogParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ID.

	   The ID of the execution that the tasks belongs to.

	   Format: int64
	*/
	ID int64

	/* TaskID.

	   The ID of the task.

	   Format: int64
	*/
	TaskID int64

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

GetReplicationLogParams contains all the parameters to send to the API endpoint

for the get replication log operation.

Typically these are written to a http.Request.

func NewGetReplicationLogParams

func NewGetReplicationLogParams() *GetReplicationLogParams

NewGetReplicationLogParams creates a new GetReplicationLogParams 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 NewGetReplicationLogParamsWithContext

func NewGetReplicationLogParamsWithContext(ctx context.Context) *GetReplicationLogParams

NewGetReplicationLogParamsWithContext creates a new GetReplicationLogParams object with the ability to set a context for a request.

func NewGetReplicationLogParamsWithHTTPClient

func NewGetReplicationLogParamsWithHTTPClient(client *http.Client) *GetReplicationLogParams

NewGetReplicationLogParamsWithHTTPClient creates a new GetReplicationLogParams object with the ability to set a custom HTTPClient for a request.

func NewGetReplicationLogParamsWithTimeout

func NewGetReplicationLogParamsWithTimeout(timeout time.Duration) *GetReplicationLogParams

NewGetReplicationLogParamsWithTimeout creates a new GetReplicationLogParams object with the ability to set a timeout on a request.

func (*GetReplicationLogParams) SetContext

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

SetContext adds the context to the get replication log params

func (*GetReplicationLogParams) SetDefaults

func (o *GetReplicationLogParams) SetDefaults()

SetDefaults hydrates default values in the get replication log params (not the query body).

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

func (*GetReplicationLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get replication log params

func (*GetReplicationLogParams) SetID

func (o *GetReplicationLogParams) SetID(id int64)

SetID adds the id to the get replication log params

func (*GetReplicationLogParams) SetTaskID

func (o *GetReplicationLogParams) SetTaskID(taskID int64)

SetTaskID adds the taskId to the get replication log params

func (*GetReplicationLogParams) SetTimeout

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

SetTimeout adds the timeout to the get replication log params

func (*GetReplicationLogParams) SetXRequestID

func (o *GetReplicationLogParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get replication log params

func (*GetReplicationLogParams) WithContext

WithContext adds the context to the get replication log params

func (*GetReplicationLogParams) WithDefaults

WithDefaults hydrates default values in the get replication log params (not the query body).

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

func (*GetReplicationLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get replication log params

func (*GetReplicationLogParams) WithID

WithID adds the id to the get replication log params

func (*GetReplicationLogParams) WithTaskID

func (o *GetReplicationLogParams) WithTaskID(taskID int64) *GetReplicationLogParams

WithTaskID adds the taskID to the get replication log params

func (*GetReplicationLogParams) WithTimeout

WithTimeout adds the timeout to the get replication log params

func (*GetReplicationLogParams) WithXRequestID

func (o *GetReplicationLogParams) WithXRequestID(xRequestID *string) *GetReplicationLogParams

WithXRequestID adds the xRequestID to the get replication log params

func (*GetReplicationLogParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReplicationLogReader

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

GetReplicationLogReader is a Reader for the GetReplicationLog structure.

func (*GetReplicationLogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReplicationLogUnauthorized

type GetReplicationLogUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewGetReplicationLogUnauthorized

func NewGetReplicationLogUnauthorized() *GetReplicationLogUnauthorized

NewGetReplicationLogUnauthorized creates a GetReplicationLogUnauthorized with default headers values

func (*GetReplicationLogUnauthorized) Error

func (*GetReplicationLogUnauthorized) GetPayload

func (o *GetReplicationLogUnauthorized) GetPayload() *models.Errors

func (*GetReplicationLogUnauthorized) IsClientError

func (o *GetReplicationLogUnauthorized) IsClientError() bool

IsClientError returns true when this get replication log unauthorized response has a 4xx status code

func (*GetReplicationLogUnauthorized) IsCode

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

IsCode returns true when this get replication log unauthorized response a status code equal to that given

func (*GetReplicationLogUnauthorized) IsRedirect

func (o *GetReplicationLogUnauthorized) IsRedirect() bool

IsRedirect returns true when this get replication log unauthorized response has a 3xx status code

func (*GetReplicationLogUnauthorized) IsServerError

func (o *GetReplicationLogUnauthorized) IsServerError() bool

IsServerError returns true when this get replication log unauthorized response has a 5xx status code

func (*GetReplicationLogUnauthorized) IsSuccess

func (o *GetReplicationLogUnauthorized) IsSuccess() bool

IsSuccess returns true when this get replication log unauthorized response has a 2xx status code

func (*GetReplicationLogUnauthorized) String

type GetReplicationPolicyForbidden

type GetReplicationPolicyForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetReplicationPolicyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetReplicationPolicyForbidden

func NewGetReplicationPolicyForbidden() *GetReplicationPolicyForbidden

NewGetReplicationPolicyForbidden creates a GetReplicationPolicyForbidden with default headers values

func (*GetReplicationPolicyForbidden) Error

func (*GetReplicationPolicyForbidden) GetPayload

func (o *GetReplicationPolicyForbidden) GetPayload() *models.Errors

func (*GetReplicationPolicyForbidden) IsClientError

func (o *GetReplicationPolicyForbidden) IsClientError() bool

IsClientError returns true when this get replication policy forbidden response has a 4xx status code

func (*GetReplicationPolicyForbidden) IsCode

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

IsCode returns true when this get replication policy forbidden response a status code equal to that given

func (*GetReplicationPolicyForbidden) IsRedirect

func (o *GetReplicationPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this get replication policy forbidden response has a 3xx status code

func (*GetReplicationPolicyForbidden) IsServerError

func (o *GetReplicationPolicyForbidden) IsServerError() bool

IsServerError returns true when this get replication policy forbidden response has a 5xx status code

func (*GetReplicationPolicyForbidden) IsSuccess

func (o *GetReplicationPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this get replication policy forbidden response has a 2xx status code

func (*GetReplicationPolicyForbidden) String

type GetReplicationPolicyInternalServerError

type GetReplicationPolicyInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewGetReplicationPolicyInternalServerError

func NewGetReplicationPolicyInternalServerError() *GetReplicationPolicyInternalServerError

NewGetReplicationPolicyInternalServerError creates a GetReplicationPolicyInternalServerError with default headers values

func (*GetReplicationPolicyInternalServerError) Error

func (*GetReplicationPolicyInternalServerError) GetPayload

func (*GetReplicationPolicyInternalServerError) IsClientError

func (o *GetReplicationPolicyInternalServerError) IsClientError() bool

IsClientError returns true when this get replication policy internal server error response has a 4xx status code

func (*GetReplicationPolicyInternalServerError) IsCode

IsCode returns true when this get replication policy internal server error response a status code equal to that given

func (*GetReplicationPolicyInternalServerError) IsRedirect

IsRedirect returns true when this get replication policy internal server error response has a 3xx status code

func (*GetReplicationPolicyInternalServerError) IsServerError

func (o *GetReplicationPolicyInternalServerError) IsServerError() bool

IsServerError returns true when this get replication policy internal server error response has a 5xx status code

func (*GetReplicationPolicyInternalServerError) IsSuccess

IsSuccess returns true when this get replication policy internal server error response has a 2xx status code

func (*GetReplicationPolicyInternalServerError) String

type GetReplicationPolicyOK

type GetReplicationPolicyOK struct {
	Payload *models.ReplicationPolicy
}

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

Success

func NewGetReplicationPolicyOK

func NewGetReplicationPolicyOK() *GetReplicationPolicyOK

NewGetReplicationPolicyOK creates a GetReplicationPolicyOK with default headers values

func (*GetReplicationPolicyOK) Error

func (o *GetReplicationPolicyOK) Error() string

func (*GetReplicationPolicyOK) GetPayload

func (*GetReplicationPolicyOK) IsClientError

func (o *GetReplicationPolicyOK) IsClientError() bool

IsClientError returns true when this get replication policy o k response has a 4xx status code

func (*GetReplicationPolicyOK) IsCode

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

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

func (*GetReplicationPolicyOK) IsRedirect

func (o *GetReplicationPolicyOK) IsRedirect() bool

IsRedirect returns true when this get replication policy o k response has a 3xx status code

func (*GetReplicationPolicyOK) IsServerError

func (o *GetReplicationPolicyOK) IsServerError() bool

IsServerError returns true when this get replication policy o k response has a 5xx status code

func (*GetReplicationPolicyOK) IsSuccess

func (o *GetReplicationPolicyOK) IsSuccess() bool

IsSuccess returns true when this get replication policy o k response has a 2xx status code

func (*GetReplicationPolicyOK) String

func (o *GetReplicationPolicyOK) String() string

type GetReplicationPolicyParams

type GetReplicationPolicyParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ID.

	   Policy ID

	   Format: int64
	*/
	ID int64

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

GetReplicationPolicyParams contains all the parameters to send to the API endpoint

for the get replication policy operation.

Typically these are written to a http.Request.

func NewGetReplicationPolicyParams

func NewGetReplicationPolicyParams() *GetReplicationPolicyParams

NewGetReplicationPolicyParams creates a new GetReplicationPolicyParams 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 NewGetReplicationPolicyParamsWithContext

func NewGetReplicationPolicyParamsWithContext(ctx context.Context) *GetReplicationPolicyParams

NewGetReplicationPolicyParamsWithContext creates a new GetReplicationPolicyParams object with the ability to set a context for a request.

func NewGetReplicationPolicyParamsWithHTTPClient

func NewGetReplicationPolicyParamsWithHTTPClient(client *http.Client) *GetReplicationPolicyParams

NewGetReplicationPolicyParamsWithHTTPClient creates a new GetReplicationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetReplicationPolicyParamsWithTimeout

func NewGetReplicationPolicyParamsWithTimeout(timeout time.Duration) *GetReplicationPolicyParams

NewGetReplicationPolicyParamsWithTimeout creates a new GetReplicationPolicyParams object with the ability to set a timeout on a request.

func (*GetReplicationPolicyParams) SetContext

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

SetContext adds the context to the get replication policy params

func (*GetReplicationPolicyParams) SetDefaults

func (o *GetReplicationPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get replication policy params (not the query body).

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

func (*GetReplicationPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get replication policy params

func (*GetReplicationPolicyParams) SetID

func (o *GetReplicationPolicyParams) SetID(id int64)

SetID adds the id to the get replication policy params

func (*GetReplicationPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the get replication policy params

func (*GetReplicationPolicyParams) SetXRequestID

func (o *GetReplicationPolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get replication policy params

func (*GetReplicationPolicyParams) WithContext

WithContext adds the context to the get replication policy params

func (*GetReplicationPolicyParams) WithDefaults

WithDefaults hydrates default values in the get replication policy params (not the query body).

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

func (*GetReplicationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get replication policy params

func (*GetReplicationPolicyParams) WithID

WithID adds the id to the get replication policy params

func (*GetReplicationPolicyParams) WithTimeout

WithTimeout adds the timeout to the get replication policy params

func (*GetReplicationPolicyParams) WithXRequestID

func (o *GetReplicationPolicyParams) WithXRequestID(xRequestID *string) *GetReplicationPolicyParams

WithXRequestID adds the xRequestID to the get replication policy params

func (*GetReplicationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetReplicationPolicyReader

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

GetReplicationPolicyReader is a Reader for the GetReplicationPolicy structure.

func (*GetReplicationPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReplicationPolicyUnauthorized

type GetReplicationPolicyUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewGetReplicationPolicyUnauthorized

func NewGetReplicationPolicyUnauthorized() *GetReplicationPolicyUnauthorized

NewGetReplicationPolicyUnauthorized creates a GetReplicationPolicyUnauthorized with default headers values

func (*GetReplicationPolicyUnauthorized) Error

func (*GetReplicationPolicyUnauthorized) GetPayload

func (*GetReplicationPolicyUnauthorized) IsClientError

func (o *GetReplicationPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this get replication policy unauthorized response has a 4xx status code

func (*GetReplicationPolicyUnauthorized) IsCode

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

IsCode returns true when this get replication policy unauthorized response a status code equal to that given

func (*GetReplicationPolicyUnauthorized) IsRedirect

func (o *GetReplicationPolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get replication policy unauthorized response has a 3xx status code

func (*GetReplicationPolicyUnauthorized) IsServerError

func (o *GetReplicationPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this get replication policy unauthorized response has a 5xx status code

func (*GetReplicationPolicyUnauthorized) IsSuccess

func (o *GetReplicationPolicyUnauthorized) IsSuccess() bool

IsSuccess returns true when this get replication policy unauthorized response has a 2xx status code

func (*GetReplicationPolicyUnauthorized) String

type ListReplicationExecutionsForbidden

type ListReplicationExecutionsForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListReplicationExecutionsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListReplicationExecutionsForbidden

func NewListReplicationExecutionsForbidden() *ListReplicationExecutionsForbidden

NewListReplicationExecutionsForbidden creates a ListReplicationExecutionsForbidden with default headers values

func (*ListReplicationExecutionsForbidden) Error

func (*ListReplicationExecutionsForbidden) GetPayload

func (*ListReplicationExecutionsForbidden) IsClientError

func (o *ListReplicationExecutionsForbidden) IsClientError() bool

IsClientError returns true when this list replication executions forbidden response has a 4xx status code

func (*ListReplicationExecutionsForbidden) IsCode

IsCode returns true when this list replication executions forbidden response a status code equal to that given

func (*ListReplicationExecutionsForbidden) IsRedirect

func (o *ListReplicationExecutionsForbidden) IsRedirect() bool

IsRedirect returns true when this list replication executions forbidden response has a 3xx status code

func (*ListReplicationExecutionsForbidden) IsServerError

func (o *ListReplicationExecutionsForbidden) IsServerError() bool

IsServerError returns true when this list replication executions forbidden response has a 5xx status code

func (*ListReplicationExecutionsForbidden) IsSuccess

IsSuccess returns true when this list replication executions forbidden response has a 2xx status code

func (*ListReplicationExecutionsForbidden) String

type ListReplicationExecutionsInternalServerError

type ListReplicationExecutionsInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewListReplicationExecutionsInternalServerError

func NewListReplicationExecutionsInternalServerError() *ListReplicationExecutionsInternalServerError

NewListReplicationExecutionsInternalServerError creates a ListReplicationExecutionsInternalServerError with default headers values

func (*ListReplicationExecutionsInternalServerError) Error

func (*ListReplicationExecutionsInternalServerError) GetPayload

func (*ListReplicationExecutionsInternalServerError) IsClientError

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

func (*ListReplicationExecutionsInternalServerError) IsCode

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

func (*ListReplicationExecutionsInternalServerError) IsRedirect

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

func (*ListReplicationExecutionsInternalServerError) IsServerError

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

func (*ListReplicationExecutionsInternalServerError) IsSuccess

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

func (*ListReplicationExecutionsInternalServerError) String

type ListReplicationExecutionsOK

type ListReplicationExecutionsOK struct {

	/* Link refers to the previous page and next page
	 */
	Link string

	/* The total count of the resources
	 */
	XTotalCount int64

	Payload []*models.ReplicationExecution
}

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

Success

func NewListReplicationExecutionsOK

func NewListReplicationExecutionsOK() *ListReplicationExecutionsOK

NewListReplicationExecutionsOK creates a ListReplicationExecutionsOK with default headers values

func (*ListReplicationExecutionsOK) Error

func (*ListReplicationExecutionsOK) GetPayload

func (*ListReplicationExecutionsOK) IsClientError

func (o *ListReplicationExecutionsOK) IsClientError() bool

IsClientError returns true when this list replication executions o k response has a 4xx status code

func (*ListReplicationExecutionsOK) IsCode

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

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

func (*ListReplicationExecutionsOK) IsRedirect

func (o *ListReplicationExecutionsOK) IsRedirect() bool

IsRedirect returns true when this list replication executions o k response has a 3xx status code

func (*ListReplicationExecutionsOK) IsServerError

func (o *ListReplicationExecutionsOK) IsServerError() bool

IsServerError returns true when this list replication executions o k response has a 5xx status code

func (*ListReplicationExecutionsOK) IsSuccess

func (o *ListReplicationExecutionsOK) IsSuccess() bool

IsSuccess returns true when this list replication executions o k response has a 2xx status code

func (*ListReplicationExecutionsOK) String

func (o *ListReplicationExecutionsOK) String() string

type ListReplicationExecutionsParams

type ListReplicationExecutionsParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Page.

	   The page number

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of per page

	   Format: int64
	   Default: 10
	*/
	PageSize *int64

	/* PolicyID.

	   The ID of the policy that the executions belong to.
	*/
	PolicyID *int64

	/* Sort.

	   Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2"
	*/
	Sort *string

	/* Status.

	   The execution status.
	*/
	Status *string

	/* Trigger.

	   The trigger mode.
	*/
	Trigger *string

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

ListReplicationExecutionsParams contains all the parameters to send to the API endpoint

for the list replication executions operation.

Typically these are written to a http.Request.

func NewListReplicationExecutionsParams

func NewListReplicationExecutionsParams() *ListReplicationExecutionsParams

NewListReplicationExecutionsParams creates a new ListReplicationExecutionsParams 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 NewListReplicationExecutionsParamsWithContext

func NewListReplicationExecutionsParamsWithContext(ctx context.Context) *ListReplicationExecutionsParams

NewListReplicationExecutionsParamsWithContext creates a new ListReplicationExecutionsParams object with the ability to set a context for a request.

func NewListReplicationExecutionsParamsWithHTTPClient

func NewListReplicationExecutionsParamsWithHTTPClient(client *http.Client) *ListReplicationExecutionsParams

NewListReplicationExecutionsParamsWithHTTPClient creates a new ListReplicationExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewListReplicationExecutionsParamsWithTimeout

func NewListReplicationExecutionsParamsWithTimeout(timeout time.Duration) *ListReplicationExecutionsParams

NewListReplicationExecutionsParamsWithTimeout creates a new ListReplicationExecutionsParams object with the ability to set a timeout on a request.

func (*ListReplicationExecutionsParams) SetContext

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

SetContext adds the context to the list replication executions params

func (*ListReplicationExecutionsParams) SetDefaults

func (o *ListReplicationExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the list replication executions params (not the query body).

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

func (*ListReplicationExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list replication executions params

func (*ListReplicationExecutionsParams) SetPage

func (o *ListReplicationExecutionsParams) SetPage(page *int64)

SetPage adds the page to the list replication executions params

func (*ListReplicationExecutionsParams) SetPageSize

func (o *ListReplicationExecutionsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list replication executions params

func (*ListReplicationExecutionsParams) SetPolicyID

func (o *ListReplicationExecutionsParams) SetPolicyID(policyID *int64)

SetPolicyID adds the policyId to the list replication executions params

func (*ListReplicationExecutionsParams) SetSort

func (o *ListReplicationExecutionsParams) SetSort(sort *string)

SetSort adds the sort to the list replication executions params

func (*ListReplicationExecutionsParams) SetStatus

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

SetStatus adds the status to the list replication executions params

func (*ListReplicationExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the list replication executions params

func (*ListReplicationExecutionsParams) SetTrigger

func (o *ListReplicationExecutionsParams) SetTrigger(trigger *string)

SetTrigger adds the trigger to the list replication executions params

func (*ListReplicationExecutionsParams) SetXRequestID

func (o *ListReplicationExecutionsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list replication executions params

func (*ListReplicationExecutionsParams) WithContext

WithContext adds the context to the list replication executions params

func (*ListReplicationExecutionsParams) WithDefaults

WithDefaults hydrates default values in the list replication executions params (not the query body).

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

func (*ListReplicationExecutionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list replication executions params

func (*ListReplicationExecutionsParams) WithPage

WithPage adds the page to the list replication executions params

func (*ListReplicationExecutionsParams) WithPageSize

WithPageSize adds the pageSize to the list replication executions params

func (*ListReplicationExecutionsParams) WithPolicyID

WithPolicyID adds the policyID to the list replication executions params

func (*ListReplicationExecutionsParams) WithSort

WithSort adds the sort to the list replication executions params

func (*ListReplicationExecutionsParams) WithStatus

WithStatus adds the status to the list replication executions params

func (*ListReplicationExecutionsParams) WithTimeout

WithTimeout adds the timeout to the list replication executions params

func (*ListReplicationExecutionsParams) WithTrigger

WithTrigger adds the trigger to the list replication executions params

func (*ListReplicationExecutionsParams) WithXRequestID

WithXRequestID adds the xRequestID to the list replication executions params

func (*ListReplicationExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListReplicationExecutionsReader

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

ListReplicationExecutionsReader is a Reader for the ListReplicationExecutions structure.

func (*ListReplicationExecutionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListReplicationExecutionsUnauthorized

type ListReplicationExecutionsUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListReplicationExecutionsUnauthorized

func NewListReplicationExecutionsUnauthorized() *ListReplicationExecutionsUnauthorized

NewListReplicationExecutionsUnauthorized creates a ListReplicationExecutionsUnauthorized with default headers values

func (*ListReplicationExecutionsUnauthorized) Error

func (*ListReplicationExecutionsUnauthorized) GetPayload

func (*ListReplicationExecutionsUnauthorized) IsClientError

func (o *ListReplicationExecutionsUnauthorized) IsClientError() bool

IsClientError returns true when this list replication executions unauthorized response has a 4xx status code

func (*ListReplicationExecutionsUnauthorized) IsCode

IsCode returns true when this list replication executions unauthorized response a status code equal to that given

func (*ListReplicationExecutionsUnauthorized) IsRedirect

IsRedirect returns true when this list replication executions unauthorized response has a 3xx status code

func (*ListReplicationExecutionsUnauthorized) IsServerError

func (o *ListReplicationExecutionsUnauthorized) IsServerError() bool

IsServerError returns true when this list replication executions unauthorized response has a 5xx status code

func (*ListReplicationExecutionsUnauthorized) IsSuccess

IsSuccess returns true when this list replication executions unauthorized response has a 2xx status code

func (*ListReplicationExecutionsUnauthorized) String

type ListReplicationPoliciesForbidden

type ListReplicationPoliciesForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListReplicationPoliciesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListReplicationPoliciesForbidden

func NewListReplicationPoliciesForbidden() *ListReplicationPoliciesForbidden

NewListReplicationPoliciesForbidden creates a ListReplicationPoliciesForbidden with default headers values

func (*ListReplicationPoliciesForbidden) Error

func (*ListReplicationPoliciesForbidden) GetPayload

func (*ListReplicationPoliciesForbidden) IsClientError

func (o *ListReplicationPoliciesForbidden) IsClientError() bool

IsClientError returns true when this list replication policies forbidden response has a 4xx status code

func (*ListReplicationPoliciesForbidden) IsCode

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

IsCode returns true when this list replication policies forbidden response a status code equal to that given

func (*ListReplicationPoliciesForbidden) IsRedirect

func (o *ListReplicationPoliciesForbidden) IsRedirect() bool

IsRedirect returns true when this list replication policies forbidden response has a 3xx status code

func (*ListReplicationPoliciesForbidden) IsServerError

func (o *ListReplicationPoliciesForbidden) IsServerError() bool

IsServerError returns true when this list replication policies forbidden response has a 5xx status code

func (*ListReplicationPoliciesForbidden) IsSuccess

func (o *ListReplicationPoliciesForbidden) IsSuccess() bool

IsSuccess returns true when this list replication policies forbidden response has a 2xx status code

func (*ListReplicationPoliciesForbidden) String

type ListReplicationPoliciesInternalServerError

type ListReplicationPoliciesInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewListReplicationPoliciesInternalServerError

func NewListReplicationPoliciesInternalServerError() *ListReplicationPoliciesInternalServerError

NewListReplicationPoliciesInternalServerError creates a ListReplicationPoliciesInternalServerError with default headers values

func (*ListReplicationPoliciesInternalServerError) Error

func (*ListReplicationPoliciesInternalServerError) GetPayload

func (*ListReplicationPoliciesInternalServerError) IsClientError

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

func (*ListReplicationPoliciesInternalServerError) IsCode

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

func (*ListReplicationPoliciesInternalServerError) IsRedirect

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

func (*ListReplicationPoliciesInternalServerError) IsServerError

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

func (*ListReplicationPoliciesInternalServerError) IsSuccess

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

func (*ListReplicationPoliciesInternalServerError) String

type ListReplicationPoliciesOK

type ListReplicationPoliciesOK struct {

	/* Link refers to the previous page and next page
	 */
	Link string

	/* The total count of the resources
	 */
	XTotalCount int64

	Payload []*models.ReplicationPolicy
}

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

Success

func NewListReplicationPoliciesOK

func NewListReplicationPoliciesOK() *ListReplicationPoliciesOK

NewListReplicationPoliciesOK creates a ListReplicationPoliciesOK with default headers values

func (*ListReplicationPoliciesOK) Error

func (o *ListReplicationPoliciesOK) Error() string

func (*ListReplicationPoliciesOK) GetPayload

func (*ListReplicationPoliciesOK) IsClientError

func (o *ListReplicationPoliciesOK) IsClientError() bool

IsClientError returns true when this list replication policies o k response has a 4xx status code

func (*ListReplicationPoliciesOK) IsCode

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

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

func (*ListReplicationPoliciesOK) IsRedirect

func (o *ListReplicationPoliciesOK) IsRedirect() bool

IsRedirect returns true when this list replication policies o k response has a 3xx status code

func (*ListReplicationPoliciesOK) IsServerError

func (o *ListReplicationPoliciesOK) IsServerError() bool

IsServerError returns true when this list replication policies o k response has a 5xx status code

func (*ListReplicationPoliciesOK) IsSuccess

func (o *ListReplicationPoliciesOK) IsSuccess() bool

IsSuccess returns true when this list replication policies o k response has a 2xx status code

func (*ListReplicationPoliciesOK) String

func (o *ListReplicationPoliciesOK) String() string

type ListReplicationPoliciesParams

type ListReplicationPoliciesParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Name.

	   Deprecated, use "query" instead. The policy name.
	*/
	Name *string

	/* Page.

	   The page number

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of per page

	   Format: int64
	   Default: 10
	*/
	PageSize *int64

	/* Q.

	   Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
	*/
	Q *string

	/* Sort.

	   Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2"
	*/
	Sort *string

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

ListReplicationPoliciesParams contains all the parameters to send to the API endpoint

for the list replication policies operation.

Typically these are written to a http.Request.

func NewListReplicationPoliciesParams

func NewListReplicationPoliciesParams() *ListReplicationPoliciesParams

NewListReplicationPoliciesParams creates a new ListReplicationPoliciesParams 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 NewListReplicationPoliciesParamsWithContext

func NewListReplicationPoliciesParamsWithContext(ctx context.Context) *ListReplicationPoliciesParams

NewListReplicationPoliciesParamsWithContext creates a new ListReplicationPoliciesParams object with the ability to set a context for a request.

func NewListReplicationPoliciesParamsWithHTTPClient

func NewListReplicationPoliciesParamsWithHTTPClient(client *http.Client) *ListReplicationPoliciesParams

NewListReplicationPoliciesParamsWithHTTPClient creates a new ListReplicationPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewListReplicationPoliciesParamsWithTimeout

func NewListReplicationPoliciesParamsWithTimeout(timeout time.Duration) *ListReplicationPoliciesParams

NewListReplicationPoliciesParamsWithTimeout creates a new ListReplicationPoliciesParams object with the ability to set a timeout on a request.

func (*ListReplicationPoliciesParams) SetContext

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

SetContext adds the context to the list replication policies params

func (*ListReplicationPoliciesParams) SetDefaults

func (o *ListReplicationPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the list replication policies params (not the query body).

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

func (*ListReplicationPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list replication policies params

func (*ListReplicationPoliciesParams) SetName

func (o *ListReplicationPoliciesParams) SetName(name *string)

SetName adds the name to the list replication policies params

func (*ListReplicationPoliciesParams) SetPage

func (o *ListReplicationPoliciesParams) SetPage(page *int64)

SetPage adds the page to the list replication policies params

func (*ListReplicationPoliciesParams) SetPageSize

func (o *ListReplicationPoliciesParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list replication policies params

func (*ListReplicationPoliciesParams) SetQ

SetQ adds the q to the list replication policies params

func (*ListReplicationPoliciesParams) SetSort

func (o *ListReplicationPoliciesParams) SetSort(sort *string)

SetSort adds the sort to the list replication policies params

func (*ListReplicationPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the list replication policies params

func (*ListReplicationPoliciesParams) SetXRequestID

func (o *ListReplicationPoliciesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list replication policies params

func (*ListReplicationPoliciesParams) WithContext

WithContext adds the context to the list replication policies params

func (*ListReplicationPoliciesParams) WithDefaults

WithDefaults hydrates default values in the list replication policies params (not the query body).

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

func (*ListReplicationPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list replication policies params

func (*ListReplicationPoliciesParams) WithName

WithName adds the name to the list replication policies params

func (*ListReplicationPoliciesParams) WithPage

WithPage adds the page to the list replication policies params

func (*ListReplicationPoliciesParams) WithPageSize

WithPageSize adds the pageSize to the list replication policies params

func (*ListReplicationPoliciesParams) WithQ

WithQ adds the q to the list replication policies params

func (*ListReplicationPoliciesParams) WithSort

WithSort adds the sort to the list replication policies params

func (*ListReplicationPoliciesParams) WithTimeout

WithTimeout adds the timeout to the list replication policies params

func (*ListReplicationPoliciesParams) WithXRequestID

func (o *ListReplicationPoliciesParams) WithXRequestID(xRequestID *string) *ListReplicationPoliciesParams

WithXRequestID adds the xRequestID to the list replication policies params

func (*ListReplicationPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListReplicationPoliciesReader

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

ListReplicationPoliciesReader is a Reader for the ListReplicationPolicies structure.

func (*ListReplicationPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListReplicationPoliciesUnauthorized

type ListReplicationPoliciesUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListReplicationPoliciesUnauthorized

func NewListReplicationPoliciesUnauthorized() *ListReplicationPoliciesUnauthorized

NewListReplicationPoliciesUnauthorized creates a ListReplicationPoliciesUnauthorized with default headers values

func (*ListReplicationPoliciesUnauthorized) Error

func (*ListReplicationPoliciesUnauthorized) GetPayload

func (*ListReplicationPoliciesUnauthorized) IsClientError

func (o *ListReplicationPoliciesUnauthorized) IsClientError() bool

IsClientError returns true when this list replication policies unauthorized response has a 4xx status code

func (*ListReplicationPoliciesUnauthorized) IsCode

IsCode returns true when this list replication policies unauthorized response a status code equal to that given

func (*ListReplicationPoliciesUnauthorized) IsRedirect

func (o *ListReplicationPoliciesUnauthorized) IsRedirect() bool

IsRedirect returns true when this list replication policies unauthorized response has a 3xx status code

func (*ListReplicationPoliciesUnauthorized) IsServerError

func (o *ListReplicationPoliciesUnauthorized) IsServerError() bool

IsServerError returns true when this list replication policies unauthorized response has a 5xx status code

func (*ListReplicationPoliciesUnauthorized) IsSuccess

IsSuccess returns true when this list replication policies unauthorized response has a 2xx status code

func (*ListReplicationPoliciesUnauthorized) String

type ListReplicationTasksForbidden

type ListReplicationTasksForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListReplicationTasksForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListReplicationTasksForbidden

func NewListReplicationTasksForbidden() *ListReplicationTasksForbidden

NewListReplicationTasksForbidden creates a ListReplicationTasksForbidden with default headers values

func (*ListReplicationTasksForbidden) Error

func (*ListReplicationTasksForbidden) GetPayload

func (o *ListReplicationTasksForbidden) GetPayload() *models.Errors

func (*ListReplicationTasksForbidden) IsClientError

func (o *ListReplicationTasksForbidden) IsClientError() bool

IsClientError returns true when this list replication tasks forbidden response has a 4xx status code

func (*ListReplicationTasksForbidden) IsCode

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

IsCode returns true when this list replication tasks forbidden response a status code equal to that given

func (*ListReplicationTasksForbidden) IsRedirect

func (o *ListReplicationTasksForbidden) IsRedirect() bool

IsRedirect returns true when this list replication tasks forbidden response has a 3xx status code

func (*ListReplicationTasksForbidden) IsServerError

func (o *ListReplicationTasksForbidden) IsServerError() bool

IsServerError returns true when this list replication tasks forbidden response has a 5xx status code

func (*ListReplicationTasksForbidden) IsSuccess

func (o *ListReplicationTasksForbidden) IsSuccess() bool

IsSuccess returns true when this list replication tasks forbidden response has a 2xx status code

func (*ListReplicationTasksForbidden) String

type ListReplicationTasksInternalServerError

type ListReplicationTasksInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewListReplicationTasksInternalServerError

func NewListReplicationTasksInternalServerError() *ListReplicationTasksInternalServerError

NewListReplicationTasksInternalServerError creates a ListReplicationTasksInternalServerError with default headers values

func (*ListReplicationTasksInternalServerError) Error

func (*ListReplicationTasksInternalServerError) GetPayload

func (*ListReplicationTasksInternalServerError) IsClientError

func (o *ListReplicationTasksInternalServerError) IsClientError() bool

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

func (*ListReplicationTasksInternalServerError) IsCode

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

func (*ListReplicationTasksInternalServerError) IsRedirect

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

func (*ListReplicationTasksInternalServerError) IsServerError

func (o *ListReplicationTasksInternalServerError) IsServerError() bool

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

func (*ListReplicationTasksInternalServerError) IsSuccess

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

func (*ListReplicationTasksInternalServerError) String

type ListReplicationTasksOK

type ListReplicationTasksOK struct {

	/* Link refers to the previous page and next page
	 */
	Link string

	/* The total count of the resources
	 */
	XTotalCount int64

	Payload []*models.ReplicationTask
}

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

Success

func NewListReplicationTasksOK

func NewListReplicationTasksOK() *ListReplicationTasksOK

NewListReplicationTasksOK creates a ListReplicationTasksOK with default headers values

func (*ListReplicationTasksOK) Error

func (o *ListReplicationTasksOK) Error() string

func (*ListReplicationTasksOK) GetPayload

func (o *ListReplicationTasksOK) GetPayload() []*models.ReplicationTask

func (*ListReplicationTasksOK) IsClientError

func (o *ListReplicationTasksOK) IsClientError() bool

IsClientError returns true when this list replication tasks o k response has a 4xx status code

func (*ListReplicationTasksOK) IsCode

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

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

func (*ListReplicationTasksOK) IsRedirect

func (o *ListReplicationTasksOK) IsRedirect() bool

IsRedirect returns true when this list replication tasks o k response has a 3xx status code

func (*ListReplicationTasksOK) IsServerError

func (o *ListReplicationTasksOK) IsServerError() bool

IsServerError returns true when this list replication tasks o k response has a 5xx status code

func (*ListReplicationTasksOK) IsSuccess

func (o *ListReplicationTasksOK) IsSuccess() bool

IsSuccess returns true when this list replication tasks o k response has a 2xx status code

func (*ListReplicationTasksOK) String

func (o *ListReplicationTasksOK) String() string

type ListReplicationTasksParams

type ListReplicationTasksParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ID.

	   The ID of the execution that the tasks belongs to.

	   Format: int64
	*/
	ID int64

	/* Page.

	   The page number

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of per page

	   Format: int64
	   Default: 10
	*/
	PageSize *int64

	/* ResourceType.

	   The resource type.
	*/
	ResourceType *string

	/* Sort.

	   Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2"
	*/
	Sort *string

	/* Status.

	   The task status.
	*/
	Status *string

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

ListReplicationTasksParams contains all the parameters to send to the API endpoint

for the list replication tasks operation.

Typically these are written to a http.Request.

func NewListReplicationTasksParams

func NewListReplicationTasksParams() *ListReplicationTasksParams

NewListReplicationTasksParams creates a new ListReplicationTasksParams 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 NewListReplicationTasksParamsWithContext

func NewListReplicationTasksParamsWithContext(ctx context.Context) *ListReplicationTasksParams

NewListReplicationTasksParamsWithContext creates a new ListReplicationTasksParams object with the ability to set a context for a request.

func NewListReplicationTasksParamsWithHTTPClient

func NewListReplicationTasksParamsWithHTTPClient(client *http.Client) *ListReplicationTasksParams

NewListReplicationTasksParamsWithHTTPClient creates a new ListReplicationTasksParams object with the ability to set a custom HTTPClient for a request.

func NewListReplicationTasksParamsWithTimeout

func NewListReplicationTasksParamsWithTimeout(timeout time.Duration) *ListReplicationTasksParams

NewListReplicationTasksParamsWithTimeout creates a new ListReplicationTasksParams object with the ability to set a timeout on a request.

func (*ListReplicationTasksParams) SetContext

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

SetContext adds the context to the list replication tasks params

func (*ListReplicationTasksParams) SetDefaults

func (o *ListReplicationTasksParams) SetDefaults()

SetDefaults hydrates default values in the list replication tasks params (not the query body).

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

func (*ListReplicationTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list replication tasks params

func (*ListReplicationTasksParams) SetID

func (o *ListReplicationTasksParams) SetID(id int64)

SetID adds the id to the list replication tasks params

func (*ListReplicationTasksParams) SetPage

func (o *ListReplicationTasksParams) SetPage(page *int64)

SetPage adds the page to the list replication tasks params

func (*ListReplicationTasksParams) SetPageSize

func (o *ListReplicationTasksParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list replication tasks params

func (*ListReplicationTasksParams) SetResourceType

func (o *ListReplicationTasksParams) SetResourceType(resourceType *string)

SetResourceType adds the resourceType to the list replication tasks params

func (*ListReplicationTasksParams) SetSort

func (o *ListReplicationTasksParams) SetSort(sort *string)

SetSort adds the sort to the list replication tasks params

func (*ListReplicationTasksParams) SetStatus

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

SetStatus adds the status to the list replication tasks params

func (*ListReplicationTasksParams) SetTimeout

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

SetTimeout adds the timeout to the list replication tasks params

func (*ListReplicationTasksParams) SetXRequestID

func (o *ListReplicationTasksParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list replication tasks params

func (*ListReplicationTasksParams) WithContext

WithContext adds the context to the list replication tasks params

func (*ListReplicationTasksParams) WithDefaults

WithDefaults hydrates default values in the list replication tasks params (not the query body).

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

func (*ListReplicationTasksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list replication tasks params

func (*ListReplicationTasksParams) WithID

WithID adds the id to the list replication tasks params

func (*ListReplicationTasksParams) WithPage

WithPage adds the page to the list replication tasks params

func (*ListReplicationTasksParams) WithPageSize

func (o *ListReplicationTasksParams) WithPageSize(pageSize *int64) *ListReplicationTasksParams

WithPageSize adds the pageSize to the list replication tasks params

func (*ListReplicationTasksParams) WithResourceType

func (o *ListReplicationTasksParams) WithResourceType(resourceType *string) *ListReplicationTasksParams

WithResourceType adds the resourceType to the list replication tasks params

func (*ListReplicationTasksParams) WithSort

WithSort adds the sort to the list replication tasks params

func (*ListReplicationTasksParams) WithStatus

WithStatus adds the status to the list replication tasks params

func (*ListReplicationTasksParams) WithTimeout

WithTimeout adds the timeout to the list replication tasks params

func (*ListReplicationTasksParams) WithXRequestID

func (o *ListReplicationTasksParams) WithXRequestID(xRequestID *string) *ListReplicationTasksParams

WithXRequestID adds the xRequestID to the list replication tasks params

func (*ListReplicationTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListReplicationTasksReader

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

ListReplicationTasksReader is a Reader for the ListReplicationTasks structure.

func (*ListReplicationTasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListReplicationTasksUnauthorized

type ListReplicationTasksUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewListReplicationTasksUnauthorized

func NewListReplicationTasksUnauthorized() *ListReplicationTasksUnauthorized

NewListReplicationTasksUnauthorized creates a ListReplicationTasksUnauthorized with default headers values

func (*ListReplicationTasksUnauthorized) Error

func (*ListReplicationTasksUnauthorized) GetPayload

func (*ListReplicationTasksUnauthorized) IsClientError

func (o *ListReplicationTasksUnauthorized) IsClientError() bool

IsClientError returns true when this list replication tasks unauthorized response has a 4xx status code

func (*ListReplicationTasksUnauthorized) IsCode

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

IsCode returns true when this list replication tasks unauthorized response a status code equal to that given

func (*ListReplicationTasksUnauthorized) IsRedirect

func (o *ListReplicationTasksUnauthorized) IsRedirect() bool

IsRedirect returns true when this list replication tasks unauthorized response has a 3xx status code

func (*ListReplicationTasksUnauthorized) IsServerError

func (o *ListReplicationTasksUnauthorized) IsServerError() bool

IsServerError returns true when this list replication tasks unauthorized response has a 5xx status code

func (*ListReplicationTasksUnauthorized) IsSuccess

func (o *ListReplicationTasksUnauthorized) IsSuccess() bool

IsSuccess returns true when this list replication tasks unauthorized response has a 2xx status code

func (*ListReplicationTasksUnauthorized) String

type StartReplicationBadRequest

type StartReplicationBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Bad request

func NewStartReplicationBadRequest

func NewStartReplicationBadRequest() *StartReplicationBadRequest

NewStartReplicationBadRequest creates a StartReplicationBadRequest with default headers values

func (*StartReplicationBadRequest) Error

func (*StartReplicationBadRequest) GetPayload

func (o *StartReplicationBadRequest) GetPayload() *models.Errors

func (*StartReplicationBadRequest) IsClientError

func (o *StartReplicationBadRequest) IsClientError() bool

IsClientError returns true when this start replication bad request response has a 4xx status code

func (*StartReplicationBadRequest) IsCode

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

IsCode returns true when this start replication bad request response a status code equal to that given

func (*StartReplicationBadRequest) IsRedirect

func (o *StartReplicationBadRequest) IsRedirect() bool

IsRedirect returns true when this start replication bad request response has a 3xx status code

func (*StartReplicationBadRequest) IsServerError

func (o *StartReplicationBadRequest) IsServerError() bool

IsServerError returns true when this start replication bad request response has a 5xx status code

func (*StartReplicationBadRequest) IsSuccess

func (o *StartReplicationBadRequest) IsSuccess() bool

IsSuccess returns true when this start replication bad request response has a 2xx status code

func (*StartReplicationBadRequest) String

func (o *StartReplicationBadRequest) String() string

type StartReplicationCreated

type StartReplicationCreated struct {

	/* The location of the resource
	 */
	Location string

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}

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

Created

func NewStartReplicationCreated

func NewStartReplicationCreated() *StartReplicationCreated

NewStartReplicationCreated creates a StartReplicationCreated with default headers values

func (*StartReplicationCreated) Error

func (o *StartReplicationCreated) Error() string

func (*StartReplicationCreated) IsClientError

func (o *StartReplicationCreated) IsClientError() bool

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

func (*StartReplicationCreated) IsCode

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

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

func (*StartReplicationCreated) IsRedirect

func (o *StartReplicationCreated) IsRedirect() bool

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

func (*StartReplicationCreated) IsServerError

func (o *StartReplicationCreated) IsServerError() bool

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

func (*StartReplicationCreated) IsSuccess

func (o *StartReplicationCreated) IsSuccess() bool

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

func (*StartReplicationCreated) String

func (o *StartReplicationCreated) String() string

type StartReplicationForbidden

type StartReplicationForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StartReplicationForbidden describes a response with status code 403, with default header values.

Forbidden

func NewStartReplicationForbidden

func NewStartReplicationForbidden() *StartReplicationForbidden

NewStartReplicationForbidden creates a StartReplicationForbidden with default headers values

func (*StartReplicationForbidden) Error

func (o *StartReplicationForbidden) Error() string

func (*StartReplicationForbidden) GetPayload

func (o *StartReplicationForbidden) GetPayload() *models.Errors

func (*StartReplicationForbidden) IsClientError

func (o *StartReplicationForbidden) IsClientError() bool

IsClientError returns true when this start replication forbidden response has a 4xx status code

func (*StartReplicationForbidden) IsCode

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

IsCode returns true when this start replication forbidden response a status code equal to that given

func (*StartReplicationForbidden) IsRedirect

func (o *StartReplicationForbidden) IsRedirect() bool

IsRedirect returns true when this start replication forbidden response has a 3xx status code

func (*StartReplicationForbidden) IsServerError

func (o *StartReplicationForbidden) IsServerError() bool

IsServerError returns true when this start replication forbidden response has a 5xx status code

func (*StartReplicationForbidden) IsSuccess

func (o *StartReplicationForbidden) IsSuccess() bool

IsSuccess returns true when this start replication forbidden response has a 2xx status code

func (*StartReplicationForbidden) String

func (o *StartReplicationForbidden) String() string

type StartReplicationInternalServerError

type StartReplicationInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewStartReplicationInternalServerError

func NewStartReplicationInternalServerError() *StartReplicationInternalServerError

NewStartReplicationInternalServerError creates a StartReplicationInternalServerError with default headers values

func (*StartReplicationInternalServerError) Error

func (*StartReplicationInternalServerError) GetPayload

func (*StartReplicationInternalServerError) IsClientError

func (o *StartReplicationInternalServerError) IsClientError() bool

IsClientError returns true when this start replication internal server error response has a 4xx status code

func (*StartReplicationInternalServerError) IsCode

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

func (*StartReplicationInternalServerError) IsRedirect

func (o *StartReplicationInternalServerError) IsRedirect() bool

IsRedirect returns true when this start replication internal server error response has a 3xx status code

func (*StartReplicationInternalServerError) IsServerError

func (o *StartReplicationInternalServerError) IsServerError() bool

IsServerError returns true when this start replication internal server error response has a 5xx status code

func (*StartReplicationInternalServerError) IsSuccess

IsSuccess returns true when this start replication internal server error response has a 2xx status code

func (*StartReplicationInternalServerError) String

type StartReplicationParams

type StartReplicationParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Execution.

	   The ID of policy that the execution belongs to
	*/
	Execution *models.StartReplicationExecution

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

StartReplicationParams contains all the parameters to send to the API endpoint

for the start replication operation.

Typically these are written to a http.Request.

func NewStartReplicationParams

func NewStartReplicationParams() *StartReplicationParams

NewStartReplicationParams creates a new StartReplicationParams 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 NewStartReplicationParamsWithContext

func NewStartReplicationParamsWithContext(ctx context.Context) *StartReplicationParams

NewStartReplicationParamsWithContext creates a new StartReplicationParams object with the ability to set a context for a request.

func NewStartReplicationParamsWithHTTPClient

func NewStartReplicationParamsWithHTTPClient(client *http.Client) *StartReplicationParams

NewStartReplicationParamsWithHTTPClient creates a new StartReplicationParams object with the ability to set a custom HTTPClient for a request.

func NewStartReplicationParamsWithTimeout

func NewStartReplicationParamsWithTimeout(timeout time.Duration) *StartReplicationParams

NewStartReplicationParamsWithTimeout creates a new StartReplicationParams object with the ability to set a timeout on a request.

func (*StartReplicationParams) SetContext

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

SetContext adds the context to the start replication params

func (*StartReplicationParams) SetDefaults

func (o *StartReplicationParams) SetDefaults()

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

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

func (*StartReplicationParams) SetExecution

func (o *StartReplicationParams) SetExecution(execution *models.StartReplicationExecution)

SetExecution adds the execution to the start replication params

func (*StartReplicationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start replication params

func (*StartReplicationParams) SetTimeout

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

SetTimeout adds the timeout to the start replication params

func (*StartReplicationParams) SetXRequestID

func (o *StartReplicationParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the start replication params

func (*StartReplicationParams) WithContext

WithContext adds the context to the start replication params

func (*StartReplicationParams) WithDefaults

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

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

func (*StartReplicationParams) WithExecution

WithExecution adds the execution to the start replication params

func (*StartReplicationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the start replication params

func (*StartReplicationParams) WithTimeout

WithTimeout adds the timeout to the start replication params

func (*StartReplicationParams) WithXRequestID

func (o *StartReplicationParams) WithXRequestID(xRequestID *string) *StartReplicationParams

WithXRequestID adds the xRequestID to the start replication params

func (*StartReplicationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartReplicationReader

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

StartReplicationReader is a Reader for the StartReplication structure.

func (*StartReplicationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartReplicationUnauthorized

type StartReplicationUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewStartReplicationUnauthorized

func NewStartReplicationUnauthorized() *StartReplicationUnauthorized

NewStartReplicationUnauthorized creates a StartReplicationUnauthorized with default headers values

func (*StartReplicationUnauthorized) Error

func (*StartReplicationUnauthorized) GetPayload

func (o *StartReplicationUnauthorized) GetPayload() *models.Errors

func (*StartReplicationUnauthorized) IsClientError

func (o *StartReplicationUnauthorized) IsClientError() bool

IsClientError returns true when this start replication unauthorized response has a 4xx status code

func (*StartReplicationUnauthorized) IsCode

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

IsCode returns true when this start replication unauthorized response a status code equal to that given

func (*StartReplicationUnauthorized) IsRedirect

func (o *StartReplicationUnauthorized) IsRedirect() bool

IsRedirect returns true when this start replication unauthorized response has a 3xx status code

func (*StartReplicationUnauthorized) IsServerError

func (o *StartReplicationUnauthorized) IsServerError() bool

IsServerError returns true when this start replication unauthorized response has a 5xx status code

func (*StartReplicationUnauthorized) IsSuccess

func (o *StartReplicationUnauthorized) IsSuccess() bool

IsSuccess returns true when this start replication unauthorized response has a 2xx status code

func (*StartReplicationUnauthorized) String

type StopReplicationForbidden

type StopReplicationForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopReplicationForbidden describes a response with status code 403, with default header values.

Forbidden

func NewStopReplicationForbidden

func NewStopReplicationForbidden() *StopReplicationForbidden

NewStopReplicationForbidden creates a StopReplicationForbidden with default headers values

func (*StopReplicationForbidden) Error

func (o *StopReplicationForbidden) Error() string

func (*StopReplicationForbidden) GetPayload

func (o *StopReplicationForbidden) GetPayload() *models.Errors

func (*StopReplicationForbidden) IsClientError

func (o *StopReplicationForbidden) IsClientError() bool

IsClientError returns true when this stop replication forbidden response has a 4xx status code

func (*StopReplicationForbidden) IsCode

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

IsCode returns true when this stop replication forbidden response a status code equal to that given

func (*StopReplicationForbidden) IsRedirect

func (o *StopReplicationForbidden) IsRedirect() bool

IsRedirect returns true when this stop replication forbidden response has a 3xx status code

func (*StopReplicationForbidden) IsServerError

func (o *StopReplicationForbidden) IsServerError() bool

IsServerError returns true when this stop replication forbidden response has a 5xx status code

func (*StopReplicationForbidden) IsSuccess

func (o *StopReplicationForbidden) IsSuccess() bool

IsSuccess returns true when this stop replication forbidden response has a 2xx status code

func (*StopReplicationForbidden) String

func (o *StopReplicationForbidden) String() string

type StopReplicationInternalServerError

type StopReplicationInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewStopReplicationInternalServerError

func NewStopReplicationInternalServerError() *StopReplicationInternalServerError

NewStopReplicationInternalServerError creates a StopReplicationInternalServerError with default headers values

func (*StopReplicationInternalServerError) Error

func (*StopReplicationInternalServerError) GetPayload

func (*StopReplicationInternalServerError) IsClientError

func (o *StopReplicationInternalServerError) IsClientError() bool

IsClientError returns true when this stop replication internal server error response has a 4xx status code

func (*StopReplicationInternalServerError) IsCode

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

func (*StopReplicationInternalServerError) IsRedirect

func (o *StopReplicationInternalServerError) IsRedirect() bool

IsRedirect returns true when this stop replication internal server error response has a 3xx status code

func (*StopReplicationInternalServerError) IsServerError

func (o *StopReplicationInternalServerError) IsServerError() bool

IsServerError returns true when this stop replication internal server error response has a 5xx status code

func (*StopReplicationInternalServerError) IsSuccess

IsSuccess returns true when this stop replication internal server error response has a 2xx status code

func (*StopReplicationInternalServerError) String

type StopReplicationNotFound

type StopReplicationNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewStopReplicationNotFound

func NewStopReplicationNotFound() *StopReplicationNotFound

NewStopReplicationNotFound creates a StopReplicationNotFound with default headers values

func (*StopReplicationNotFound) Error

func (o *StopReplicationNotFound) Error() string

func (*StopReplicationNotFound) GetPayload

func (o *StopReplicationNotFound) GetPayload() *models.Errors

func (*StopReplicationNotFound) IsClientError

func (o *StopReplicationNotFound) IsClientError() bool

IsClientError returns true when this stop replication not found response has a 4xx status code

func (*StopReplicationNotFound) IsCode

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

IsCode returns true when this stop replication not found response a status code equal to that given

func (*StopReplicationNotFound) IsRedirect

func (o *StopReplicationNotFound) IsRedirect() bool

IsRedirect returns true when this stop replication not found response has a 3xx status code

func (*StopReplicationNotFound) IsServerError

func (o *StopReplicationNotFound) IsServerError() bool

IsServerError returns true when this stop replication not found response has a 5xx status code

func (*StopReplicationNotFound) IsSuccess

func (o *StopReplicationNotFound) IsSuccess() bool

IsSuccess returns true when this stop replication not found response has a 2xx status code

func (*StopReplicationNotFound) String

func (o *StopReplicationNotFound) String() string

type StopReplicationOK

type StopReplicationOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}

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

Success

func NewStopReplicationOK

func NewStopReplicationOK() *StopReplicationOK

NewStopReplicationOK creates a StopReplicationOK with default headers values

func (*StopReplicationOK) Error

func (o *StopReplicationOK) Error() string

func (*StopReplicationOK) IsClientError

func (o *StopReplicationOK) IsClientError() bool

IsClientError returns true when this stop replication o k response has a 4xx status code

func (*StopReplicationOK) IsCode

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

IsCode returns true when this stop replication o k response a status code equal to that given

func (*StopReplicationOK) IsRedirect

func (o *StopReplicationOK) IsRedirect() bool

IsRedirect returns true when this stop replication o k response has a 3xx status code

func (*StopReplicationOK) IsServerError

func (o *StopReplicationOK) IsServerError() bool

IsServerError returns true when this stop replication o k response has a 5xx status code

func (*StopReplicationOK) IsSuccess

func (o *StopReplicationOK) IsSuccess() bool

IsSuccess returns true when this stop replication o k response has a 2xx status code

func (*StopReplicationOK) String

func (o *StopReplicationOK) String() string

type StopReplicationParams

type StopReplicationParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ID.

	   The ID of the execution.

	   Format: int64
	*/
	ID int64

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

StopReplicationParams contains all the parameters to send to the API endpoint

for the stop replication operation.

Typically these are written to a http.Request.

func NewStopReplicationParams

func NewStopReplicationParams() *StopReplicationParams

NewStopReplicationParams creates a new StopReplicationParams 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 NewStopReplicationParamsWithContext

func NewStopReplicationParamsWithContext(ctx context.Context) *StopReplicationParams

NewStopReplicationParamsWithContext creates a new StopReplicationParams object with the ability to set a context for a request.

func NewStopReplicationParamsWithHTTPClient

func NewStopReplicationParamsWithHTTPClient(client *http.Client) *StopReplicationParams

NewStopReplicationParamsWithHTTPClient creates a new StopReplicationParams object with the ability to set a custom HTTPClient for a request.

func NewStopReplicationParamsWithTimeout

func NewStopReplicationParamsWithTimeout(timeout time.Duration) *StopReplicationParams

NewStopReplicationParamsWithTimeout creates a new StopReplicationParams object with the ability to set a timeout on a request.

func (*StopReplicationParams) SetContext

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

SetContext adds the context to the stop replication params

func (*StopReplicationParams) SetDefaults

func (o *StopReplicationParams) SetDefaults()

SetDefaults hydrates default values in the stop replication params (not the query body).

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

func (*StopReplicationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop replication params

func (*StopReplicationParams) SetID

func (o *StopReplicationParams) SetID(id int64)

SetID adds the id to the stop replication params

func (*StopReplicationParams) SetTimeout

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

SetTimeout adds the timeout to the stop replication params

func (*StopReplicationParams) SetXRequestID

func (o *StopReplicationParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the stop replication params

func (*StopReplicationParams) WithContext

WithContext adds the context to the stop replication params

func (*StopReplicationParams) WithDefaults

func (o *StopReplicationParams) WithDefaults() *StopReplicationParams

WithDefaults hydrates default values in the stop replication params (not the query body).

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

func (*StopReplicationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop replication params

func (*StopReplicationParams) WithID

WithID adds the id to the stop replication params

func (*StopReplicationParams) WithTimeout

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

WithTimeout adds the timeout to the stop replication params

func (*StopReplicationParams) WithXRequestID

func (o *StopReplicationParams) WithXRequestID(xRequestID *string) *StopReplicationParams

WithXRequestID adds the xRequestID to the stop replication params

func (*StopReplicationParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopReplicationReader

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

StopReplicationReader is a Reader for the StopReplication structure.

func (*StopReplicationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopReplicationUnauthorized

type StopReplicationUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewStopReplicationUnauthorized

func NewStopReplicationUnauthorized() *StopReplicationUnauthorized

NewStopReplicationUnauthorized creates a StopReplicationUnauthorized with default headers values

func (*StopReplicationUnauthorized) Error

func (*StopReplicationUnauthorized) GetPayload

func (o *StopReplicationUnauthorized) GetPayload() *models.Errors

func (*StopReplicationUnauthorized) IsClientError

func (o *StopReplicationUnauthorized) IsClientError() bool

IsClientError returns true when this stop replication unauthorized response has a 4xx status code

func (*StopReplicationUnauthorized) IsCode

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

IsCode returns true when this stop replication unauthorized response a status code equal to that given

func (*StopReplicationUnauthorized) IsRedirect

func (o *StopReplicationUnauthorized) IsRedirect() bool

IsRedirect returns true when this stop replication unauthorized response has a 3xx status code

func (*StopReplicationUnauthorized) IsServerError

func (o *StopReplicationUnauthorized) IsServerError() bool

IsServerError returns true when this stop replication unauthorized response has a 5xx status code

func (*StopReplicationUnauthorized) IsSuccess

func (o *StopReplicationUnauthorized) IsSuccess() bool

IsSuccess returns true when this stop replication unauthorized response has a 2xx status code

func (*StopReplicationUnauthorized) String

func (o *StopReplicationUnauthorized) String() string

type UpdateReplicationPolicyConflict

type UpdateReplicationPolicyConflict struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdateReplicationPolicyConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateReplicationPolicyConflict

func NewUpdateReplicationPolicyConflict() *UpdateReplicationPolicyConflict

NewUpdateReplicationPolicyConflict creates a UpdateReplicationPolicyConflict with default headers values

func (*UpdateReplicationPolicyConflict) Error

func (*UpdateReplicationPolicyConflict) GetPayload

func (*UpdateReplicationPolicyConflict) IsClientError

func (o *UpdateReplicationPolicyConflict) IsClientError() bool

IsClientError returns true when this update replication policy conflict response has a 4xx status code

func (*UpdateReplicationPolicyConflict) IsCode

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

IsCode returns true when this update replication policy conflict response a status code equal to that given

func (*UpdateReplicationPolicyConflict) IsRedirect

func (o *UpdateReplicationPolicyConflict) IsRedirect() bool

IsRedirect returns true when this update replication policy conflict response has a 3xx status code

func (*UpdateReplicationPolicyConflict) IsServerError

func (o *UpdateReplicationPolicyConflict) IsServerError() bool

IsServerError returns true when this update replication policy conflict response has a 5xx status code

func (*UpdateReplicationPolicyConflict) IsSuccess

func (o *UpdateReplicationPolicyConflict) IsSuccess() bool

IsSuccess returns true when this update replication policy conflict response has a 2xx status code

func (*UpdateReplicationPolicyConflict) String

type UpdateReplicationPolicyForbidden

type UpdateReplicationPolicyForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdateReplicationPolicyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateReplicationPolicyForbidden

func NewUpdateReplicationPolicyForbidden() *UpdateReplicationPolicyForbidden

NewUpdateReplicationPolicyForbidden creates a UpdateReplicationPolicyForbidden with default headers values

func (*UpdateReplicationPolicyForbidden) Error

func (*UpdateReplicationPolicyForbidden) GetPayload

func (*UpdateReplicationPolicyForbidden) IsClientError

func (o *UpdateReplicationPolicyForbidden) IsClientError() bool

IsClientError returns true when this update replication policy forbidden response has a 4xx status code

func (*UpdateReplicationPolicyForbidden) IsCode

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

IsCode returns true when this update replication policy forbidden response a status code equal to that given

func (*UpdateReplicationPolicyForbidden) IsRedirect

func (o *UpdateReplicationPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this update replication policy forbidden response has a 3xx status code

func (*UpdateReplicationPolicyForbidden) IsServerError

func (o *UpdateReplicationPolicyForbidden) IsServerError() bool

IsServerError returns true when this update replication policy forbidden response has a 5xx status code

func (*UpdateReplicationPolicyForbidden) IsSuccess

func (o *UpdateReplicationPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this update replication policy forbidden response has a 2xx status code

func (*UpdateReplicationPolicyForbidden) String

type UpdateReplicationPolicyInternalServerError

type UpdateReplicationPolicyInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Internal server error

func NewUpdateReplicationPolicyInternalServerError

func NewUpdateReplicationPolicyInternalServerError() *UpdateReplicationPolicyInternalServerError

NewUpdateReplicationPolicyInternalServerError creates a UpdateReplicationPolicyInternalServerError with default headers values

func (*UpdateReplicationPolicyInternalServerError) Error

func (*UpdateReplicationPolicyInternalServerError) GetPayload

func (*UpdateReplicationPolicyInternalServerError) IsClientError

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

func (*UpdateReplicationPolicyInternalServerError) IsCode

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

func (*UpdateReplicationPolicyInternalServerError) IsRedirect

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

func (*UpdateReplicationPolicyInternalServerError) IsServerError

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

func (*UpdateReplicationPolicyInternalServerError) IsSuccess

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

func (*UpdateReplicationPolicyInternalServerError) String

type UpdateReplicationPolicyNotFound

type UpdateReplicationPolicyNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Not found

func NewUpdateReplicationPolicyNotFound

func NewUpdateReplicationPolicyNotFound() *UpdateReplicationPolicyNotFound

NewUpdateReplicationPolicyNotFound creates a UpdateReplicationPolicyNotFound with default headers values

func (*UpdateReplicationPolicyNotFound) Error

func (*UpdateReplicationPolicyNotFound) GetPayload

func (*UpdateReplicationPolicyNotFound) IsClientError

func (o *UpdateReplicationPolicyNotFound) IsClientError() bool

IsClientError returns true when this update replication policy not found response has a 4xx status code

func (*UpdateReplicationPolicyNotFound) IsCode

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

IsCode returns true when this update replication policy not found response a status code equal to that given

func (*UpdateReplicationPolicyNotFound) IsRedirect

func (o *UpdateReplicationPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this update replication policy not found response has a 3xx status code

func (*UpdateReplicationPolicyNotFound) IsServerError

func (o *UpdateReplicationPolicyNotFound) IsServerError() bool

IsServerError returns true when this update replication policy not found response has a 5xx status code

func (*UpdateReplicationPolicyNotFound) IsSuccess

func (o *UpdateReplicationPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this update replication policy not found response has a 2xx status code

func (*UpdateReplicationPolicyNotFound) String

type UpdateReplicationPolicyOK

type UpdateReplicationPolicyOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}

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

Success

func NewUpdateReplicationPolicyOK

func NewUpdateReplicationPolicyOK() *UpdateReplicationPolicyOK

NewUpdateReplicationPolicyOK creates a UpdateReplicationPolicyOK with default headers values

func (*UpdateReplicationPolicyOK) Error

func (o *UpdateReplicationPolicyOK) Error() string

func (*UpdateReplicationPolicyOK) IsClientError

func (o *UpdateReplicationPolicyOK) IsClientError() bool

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

func (*UpdateReplicationPolicyOK) IsCode

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

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

func (*UpdateReplicationPolicyOK) IsRedirect

func (o *UpdateReplicationPolicyOK) IsRedirect() bool

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

func (*UpdateReplicationPolicyOK) IsServerError

func (o *UpdateReplicationPolicyOK) IsServerError() bool

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

func (*UpdateReplicationPolicyOK) IsSuccess

func (o *UpdateReplicationPolicyOK) IsSuccess() bool

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

func (*UpdateReplicationPolicyOK) String

func (o *UpdateReplicationPolicyOK) String() string

type UpdateReplicationPolicyParams

type UpdateReplicationPolicyParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ID.

	   The policy ID

	   Format: int64
	*/
	ID int64

	/* Policy.

	   The replication policy
	*/
	Policy *models.ReplicationPolicy

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

UpdateReplicationPolicyParams contains all the parameters to send to the API endpoint

for the update replication policy operation.

Typically these are written to a http.Request.

func NewUpdateReplicationPolicyParams

func NewUpdateReplicationPolicyParams() *UpdateReplicationPolicyParams

NewUpdateReplicationPolicyParams creates a new UpdateReplicationPolicyParams 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 NewUpdateReplicationPolicyParamsWithContext

func NewUpdateReplicationPolicyParamsWithContext(ctx context.Context) *UpdateReplicationPolicyParams

NewUpdateReplicationPolicyParamsWithContext creates a new UpdateReplicationPolicyParams object with the ability to set a context for a request.

func NewUpdateReplicationPolicyParamsWithHTTPClient

func NewUpdateReplicationPolicyParamsWithHTTPClient(client *http.Client) *UpdateReplicationPolicyParams

NewUpdateReplicationPolicyParamsWithHTTPClient creates a new UpdateReplicationPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateReplicationPolicyParamsWithTimeout

func NewUpdateReplicationPolicyParamsWithTimeout(timeout time.Duration) *UpdateReplicationPolicyParams

NewUpdateReplicationPolicyParamsWithTimeout creates a new UpdateReplicationPolicyParams object with the ability to set a timeout on a request.

func (*UpdateReplicationPolicyParams) SetContext

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

SetContext adds the context to the update replication policy params

func (*UpdateReplicationPolicyParams) SetDefaults

func (o *UpdateReplicationPolicyParams) SetDefaults()

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

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

func (*UpdateReplicationPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update replication policy params

func (*UpdateReplicationPolicyParams) SetID

func (o *UpdateReplicationPolicyParams) SetID(id int64)

SetID adds the id to the update replication policy params

func (*UpdateReplicationPolicyParams) SetPolicy

SetPolicy adds the policy to the update replication policy params

func (*UpdateReplicationPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the update replication policy params

func (*UpdateReplicationPolicyParams) SetXRequestID

func (o *UpdateReplicationPolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update replication policy params

func (*UpdateReplicationPolicyParams) WithContext

WithContext adds the context to the update replication policy params

func (*UpdateReplicationPolicyParams) WithDefaults

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

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

func (*UpdateReplicationPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update replication policy params

func (*UpdateReplicationPolicyParams) WithID

WithID adds the id to the update replication policy params

func (*UpdateReplicationPolicyParams) WithPolicy

WithPolicy adds the policy to the update replication policy params

func (*UpdateReplicationPolicyParams) WithTimeout

WithTimeout adds the timeout to the update replication policy params

func (*UpdateReplicationPolicyParams) WithXRequestID

func (o *UpdateReplicationPolicyParams) WithXRequestID(xRequestID *string) *UpdateReplicationPolicyParams

WithXRequestID adds the xRequestID to the update replication policy params

func (*UpdateReplicationPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateReplicationPolicyReader

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

UpdateReplicationPolicyReader is a Reader for the UpdateReplicationPolicy structure.

func (*UpdateReplicationPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateReplicationPolicyUnauthorized

type UpdateReplicationPolicyUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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

Unauthorized

func NewUpdateReplicationPolicyUnauthorized

func NewUpdateReplicationPolicyUnauthorized() *UpdateReplicationPolicyUnauthorized

NewUpdateReplicationPolicyUnauthorized creates a UpdateReplicationPolicyUnauthorized with default headers values

func (*UpdateReplicationPolicyUnauthorized) Error

func (*UpdateReplicationPolicyUnauthorized) GetPayload

func (*UpdateReplicationPolicyUnauthorized) IsClientError

func (o *UpdateReplicationPolicyUnauthorized) IsClientError() bool

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

func (*UpdateReplicationPolicyUnauthorized) IsCode

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

func (*UpdateReplicationPolicyUnauthorized) IsRedirect

func (o *UpdateReplicationPolicyUnauthorized) IsRedirect() bool

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

func (*UpdateReplicationPolicyUnauthorized) IsServerError

func (o *UpdateReplicationPolicyUnauthorized) IsServerError() bool

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

func (*UpdateReplicationPolicyUnauthorized) IsSuccess

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

func (*UpdateReplicationPolicyUnauthorized) String

Jump to

Keyboard shortcuts

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