integration_connection_service

package
v0.128.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for integration connection service API

func (*Client) CreateIntegrationConnection

func (a *Client) CreateIntegrationConnection(params *CreateIntegrationConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIntegrationConnectionOK, error)

CreateIntegrationConnection create integration connection API

func (*Client) DeleteIntegrationConnection

func (a *Client) DeleteIntegrationConnection(params *DeleteIntegrationConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIntegrationConnectionOK, error)

DeleteIntegrationConnection delete integration connection API

func (*Client) GetIntegrationConnectionByID

func (a *Client) GetIntegrationConnectionByID(params *GetIntegrationConnectionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationConnectionByIDOK, error)

GetIntegrationConnectionByID get integration connection by ID API

func (*Client) GetIntegrationConnectionByName

func (a *Client) GetIntegrationConnectionByName(params *GetIntegrationConnectionByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationConnectionByNameOK, error)

GetIntegrationConnectionByName get integration connection by name API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateIntegrationConnection added in v0.122.0

func (a *Client) UpdateIntegrationConnection(params *UpdateIntegrationConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIntegrationConnectionOK, error)

UpdateIntegrationConnection update integration connection API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateIntegrationConnection(params *CreateIntegrationConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIntegrationConnectionOK, error)

	DeleteIntegrationConnection(params *DeleteIntegrationConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIntegrationConnectionOK, error)

	GetIntegrationConnectionByID(params *GetIntegrationConnectionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationConnectionByIDOK, error)

	GetIntegrationConnectionByName(params *GetIntegrationConnectionByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationConnectionByNameOK, error)

	UpdateIntegrationConnection(params *UpdateIntegrationConnectionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIntegrationConnectionOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new integration connection service API client.

type CreateIntegrationConnectionBody

type CreateIntegrationConnectionBody struct {

	// auth key
	AuthKey string `json:"auth_key,omitempty"`

	// details
	Details string `json:"details,omitempty"`

	// integration type
	IntegrationType string `json:"integration_type,omitempty"`

	// is sink
	IsSink bool `json:"is_sink,omitempty"`

	// is source
	IsSource bool `json:"is_source,omitempty"`

	// location
	Location *CreateIntegrationConnectionParamsBodyLocation `json:"location,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

CreateIntegrationConnectionBody create integration connection body swagger:model CreateIntegrationConnectionBody

func (*CreateIntegrationConnectionBody) ContextValidate

func (o *CreateIntegrationConnectionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create integration connection body based on the context it is used

func (*CreateIntegrationConnectionBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateIntegrationConnectionBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateIntegrationConnectionBody) Validate

Validate validates this create integration connection body

type CreateIntegrationConnectionDefault

type CreateIntegrationConnectionDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewCreateIntegrationConnectionDefault

func NewCreateIntegrationConnectionDefault(code int) *CreateIntegrationConnectionDefault

NewCreateIntegrationConnectionDefault creates a CreateIntegrationConnectionDefault with default headers values

func (*CreateIntegrationConnectionDefault) Code

Code gets the status code for the create integration connection default response

func (*CreateIntegrationConnectionDefault) Error

func (*CreateIntegrationConnectionDefault) GetPayload

func (*CreateIntegrationConnectionDefault) IsClientError

func (o *CreateIntegrationConnectionDefault) IsClientError() bool

IsClientError returns true when this create integration connection default response has a 4xx status code

func (*CreateIntegrationConnectionDefault) IsCode

IsCode returns true when this create integration connection default response a status code equal to that given

func (*CreateIntegrationConnectionDefault) IsRedirect

func (o *CreateIntegrationConnectionDefault) IsRedirect() bool

IsRedirect returns true when this create integration connection default response has a 3xx status code

func (*CreateIntegrationConnectionDefault) IsServerError

func (o *CreateIntegrationConnectionDefault) IsServerError() bool

IsServerError returns true when this create integration connection default response has a 5xx status code

func (*CreateIntegrationConnectionDefault) IsSuccess

IsSuccess returns true when this create integration connection default response has a 2xx status code

func (*CreateIntegrationConnectionDefault) String

type CreateIntegrationConnectionOK

type CreateIntegrationConnectionOK struct {
	Payload *models.VaultRadar20230501CreateIntegrationConnectionResponse
}

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

A successful response.

func NewCreateIntegrationConnectionOK

func NewCreateIntegrationConnectionOK() *CreateIntegrationConnectionOK

NewCreateIntegrationConnectionOK creates a CreateIntegrationConnectionOK with default headers values

func (*CreateIntegrationConnectionOK) Code

Code gets the status code for the create integration connection o k response

func (*CreateIntegrationConnectionOK) Error

func (*CreateIntegrationConnectionOK) GetPayload

func (*CreateIntegrationConnectionOK) IsClientError

func (o *CreateIntegrationConnectionOK) IsClientError() bool

IsClientError returns true when this create integration connection o k response has a 4xx status code

func (*CreateIntegrationConnectionOK) IsCode

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

IsCode returns true when this create integration connection o k response a status code equal to that given

func (*CreateIntegrationConnectionOK) IsRedirect

func (o *CreateIntegrationConnectionOK) IsRedirect() bool

IsRedirect returns true when this create integration connection o k response has a 3xx status code

func (*CreateIntegrationConnectionOK) IsServerError

func (o *CreateIntegrationConnectionOK) IsServerError() bool

IsServerError returns true when this create integration connection o k response has a 5xx status code

func (*CreateIntegrationConnectionOK) IsSuccess

func (o *CreateIntegrationConnectionOK) IsSuccess() bool

IsSuccess returns true when this create integration connection o k response has a 2xx status code

func (*CreateIntegrationConnectionOK) String

type CreateIntegrationConnectionParams

type CreateIntegrationConnectionParams struct {

	// Body.
	Body CreateIntegrationConnectionBody

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

CreateIntegrationConnectionParams contains all the parameters to send to the API endpoint

for the create integration connection operation.

Typically these are written to a http.Request.

func NewCreateIntegrationConnectionParams

func NewCreateIntegrationConnectionParams() *CreateIntegrationConnectionParams

NewCreateIntegrationConnectionParams creates a new CreateIntegrationConnectionParams 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 NewCreateIntegrationConnectionParamsWithContext

func NewCreateIntegrationConnectionParamsWithContext(ctx context.Context) *CreateIntegrationConnectionParams

NewCreateIntegrationConnectionParamsWithContext creates a new CreateIntegrationConnectionParams object with the ability to set a context for a request.

func NewCreateIntegrationConnectionParamsWithHTTPClient

func NewCreateIntegrationConnectionParamsWithHTTPClient(client *http.Client) *CreateIntegrationConnectionParams

NewCreateIntegrationConnectionParamsWithHTTPClient creates a new CreateIntegrationConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateIntegrationConnectionParamsWithTimeout

func NewCreateIntegrationConnectionParamsWithTimeout(timeout time.Duration) *CreateIntegrationConnectionParams

NewCreateIntegrationConnectionParamsWithTimeout creates a new CreateIntegrationConnectionParams object with the ability to set a timeout on a request.

func (*CreateIntegrationConnectionParams) SetBody

SetBody adds the body to the create integration connection params

func (*CreateIntegrationConnectionParams) SetContext

SetContext adds the context to the create integration connection params

func (*CreateIntegrationConnectionParams) SetDefaults

func (o *CreateIntegrationConnectionParams) SetDefaults()

SetDefaults hydrates default values in the create integration connection params (not the query body).

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

func (*CreateIntegrationConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create integration connection params

func (*CreateIntegrationConnectionParams) SetLocationProjectID

func (o *CreateIntegrationConnectionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the create integration connection params

func (*CreateIntegrationConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the create integration connection params

func (*CreateIntegrationConnectionParams) WithBody

WithBody adds the body to the create integration connection params

func (*CreateIntegrationConnectionParams) WithContext

WithContext adds the context to the create integration connection params

func (*CreateIntegrationConnectionParams) WithDefaults

WithDefaults hydrates default values in the create integration connection params (not the query body).

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

func (*CreateIntegrationConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create integration connection params

func (*CreateIntegrationConnectionParams) WithLocationProjectID

func (o *CreateIntegrationConnectionParams) WithLocationProjectID(locationProjectID string) *CreateIntegrationConnectionParams

WithLocationProjectID adds the locationProjectID to the create integration connection params

func (*CreateIntegrationConnectionParams) WithTimeout

WithTimeout adds the timeout to the create integration connection params

func (*CreateIntegrationConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateIntegrationConnectionParamsBodyLocation

type CreateIntegrationConnectionParamsBodyLocation struct {

	// organization_id is the id of the organization.
	OrganizationID string `json:"organization_id,omitempty"`

	// region
	Region *models.LocationRegion `json:"region,omitempty"`
}

CreateIntegrationConnectionParamsBodyLocation Location represents a target for an operation in HCP. swagger:model CreateIntegrationConnectionParamsBodyLocation

func (*CreateIntegrationConnectionParamsBodyLocation) ContextValidate

ContextValidate validate this create integration connection params body location based on the context it is used

func (*CreateIntegrationConnectionParamsBodyLocation) MarshalBinary

MarshalBinary interface implementation

func (*CreateIntegrationConnectionParamsBodyLocation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateIntegrationConnectionParamsBodyLocation) Validate

Validate validates this create integration connection params body location

type CreateIntegrationConnectionReader

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

CreateIntegrationConnectionReader is a Reader for the CreateIntegrationConnection structure.

func (*CreateIntegrationConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteIntegrationConnectionDefault

type DeleteIntegrationConnectionDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewDeleteIntegrationConnectionDefault

func NewDeleteIntegrationConnectionDefault(code int) *DeleteIntegrationConnectionDefault

NewDeleteIntegrationConnectionDefault creates a DeleteIntegrationConnectionDefault with default headers values

func (*DeleteIntegrationConnectionDefault) Code

Code gets the status code for the delete integration connection default response

func (*DeleteIntegrationConnectionDefault) Error

func (*DeleteIntegrationConnectionDefault) GetPayload

func (*DeleteIntegrationConnectionDefault) IsClientError

func (o *DeleteIntegrationConnectionDefault) IsClientError() bool

IsClientError returns true when this delete integration connection default response has a 4xx status code

func (*DeleteIntegrationConnectionDefault) IsCode

IsCode returns true when this delete integration connection default response a status code equal to that given

func (*DeleteIntegrationConnectionDefault) IsRedirect

func (o *DeleteIntegrationConnectionDefault) IsRedirect() bool

IsRedirect returns true when this delete integration connection default response has a 3xx status code

func (*DeleteIntegrationConnectionDefault) IsServerError

func (o *DeleteIntegrationConnectionDefault) IsServerError() bool

IsServerError returns true when this delete integration connection default response has a 5xx status code

func (*DeleteIntegrationConnectionDefault) IsSuccess

IsSuccess returns true when this delete integration connection default response has a 2xx status code

func (*DeleteIntegrationConnectionDefault) String

type DeleteIntegrationConnectionOK

type DeleteIntegrationConnectionOK struct {
	Payload interface{}
}

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

A successful response.

func NewDeleteIntegrationConnectionOK

func NewDeleteIntegrationConnectionOK() *DeleteIntegrationConnectionOK

NewDeleteIntegrationConnectionOK creates a DeleteIntegrationConnectionOK with default headers values

func (*DeleteIntegrationConnectionOK) Code

Code gets the status code for the delete integration connection o k response

func (*DeleteIntegrationConnectionOK) Error

func (*DeleteIntegrationConnectionOK) GetPayload

func (o *DeleteIntegrationConnectionOK) GetPayload() interface{}

func (*DeleteIntegrationConnectionOK) IsClientError

func (o *DeleteIntegrationConnectionOK) IsClientError() bool

IsClientError returns true when this delete integration connection o k response has a 4xx status code

func (*DeleteIntegrationConnectionOK) IsCode

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

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

func (*DeleteIntegrationConnectionOK) IsRedirect

func (o *DeleteIntegrationConnectionOK) IsRedirect() bool

IsRedirect returns true when this delete integration connection o k response has a 3xx status code

func (*DeleteIntegrationConnectionOK) IsServerError

func (o *DeleteIntegrationConnectionOK) IsServerError() bool

IsServerError returns true when this delete integration connection o k response has a 5xx status code

func (*DeleteIntegrationConnectionOK) IsSuccess

func (o *DeleteIntegrationConnectionOK) IsSuccess() bool

IsSuccess returns true when this delete integration connection o k response has a 2xx status code

func (*DeleteIntegrationConnectionOK) String

type DeleteIntegrationConnectionParams

type DeleteIntegrationConnectionParams struct {

	/* ID.

	   ID is the identifier of the integration connection to delete.
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID *string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

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

DeleteIntegrationConnectionParams contains all the parameters to send to the API endpoint

for the delete integration connection operation.

Typically these are written to a http.Request.

func NewDeleteIntegrationConnectionParams

func NewDeleteIntegrationConnectionParams() *DeleteIntegrationConnectionParams

NewDeleteIntegrationConnectionParams creates a new DeleteIntegrationConnectionParams 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 NewDeleteIntegrationConnectionParamsWithContext

func NewDeleteIntegrationConnectionParamsWithContext(ctx context.Context) *DeleteIntegrationConnectionParams

NewDeleteIntegrationConnectionParamsWithContext creates a new DeleteIntegrationConnectionParams object with the ability to set a context for a request.

func NewDeleteIntegrationConnectionParamsWithHTTPClient

func NewDeleteIntegrationConnectionParamsWithHTTPClient(client *http.Client) *DeleteIntegrationConnectionParams

NewDeleteIntegrationConnectionParamsWithHTTPClient creates a new DeleteIntegrationConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIntegrationConnectionParamsWithTimeout

func NewDeleteIntegrationConnectionParamsWithTimeout(timeout time.Duration) *DeleteIntegrationConnectionParams

NewDeleteIntegrationConnectionParamsWithTimeout creates a new DeleteIntegrationConnectionParams object with the ability to set a timeout on a request.

func (*DeleteIntegrationConnectionParams) SetContext

SetContext adds the context to the delete integration connection params

func (*DeleteIntegrationConnectionParams) SetDefaults

func (o *DeleteIntegrationConnectionParams) SetDefaults()

SetDefaults hydrates default values in the delete integration connection params (not the query body).

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

func (*DeleteIntegrationConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete integration connection params

func (*DeleteIntegrationConnectionParams) SetID

SetID adds the id to the delete integration connection params

func (*DeleteIntegrationConnectionParams) SetLocationOrganizationID

func (o *DeleteIntegrationConnectionParams) SetLocationOrganizationID(locationOrganizationID *string)

SetLocationOrganizationID adds the locationOrganizationId to the delete integration connection params

func (*DeleteIntegrationConnectionParams) SetLocationProjectID

func (o *DeleteIntegrationConnectionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the delete integration connection params

func (*DeleteIntegrationConnectionParams) SetLocationRegionProvider

func (o *DeleteIntegrationConnectionParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the delete integration connection params

func (*DeleteIntegrationConnectionParams) SetLocationRegionRegion

func (o *DeleteIntegrationConnectionParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the delete integration connection params

func (*DeleteIntegrationConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WithContext

WithContext adds the context to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WithDefaults

WithDefaults hydrates default values in the delete integration connection params (not the query body).

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

func (*DeleteIntegrationConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WithID

WithID adds the id to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WithLocationOrganizationID

func (o *DeleteIntegrationConnectionParams) WithLocationOrganizationID(locationOrganizationID *string) *DeleteIntegrationConnectionParams

WithLocationOrganizationID adds the locationOrganizationID to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WithLocationProjectID

func (o *DeleteIntegrationConnectionParams) WithLocationProjectID(locationProjectID string) *DeleteIntegrationConnectionParams

WithLocationProjectID adds the locationProjectID to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WithLocationRegionProvider

func (o *DeleteIntegrationConnectionParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteIntegrationConnectionParams

WithLocationRegionProvider adds the locationRegionProvider to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WithLocationRegionRegion

func (o *DeleteIntegrationConnectionParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteIntegrationConnectionParams

WithLocationRegionRegion adds the locationRegionRegion to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WithTimeout

WithTimeout adds the timeout to the delete integration connection params

func (*DeleteIntegrationConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteIntegrationConnectionReader

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

DeleteIntegrationConnectionReader is a Reader for the DeleteIntegrationConnection structure.

func (*DeleteIntegrationConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIntegrationConnectionByIDDefault

type GetIntegrationConnectionByIDDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewGetIntegrationConnectionByIDDefault

func NewGetIntegrationConnectionByIDDefault(code int) *GetIntegrationConnectionByIDDefault

NewGetIntegrationConnectionByIDDefault creates a GetIntegrationConnectionByIDDefault with default headers values

func (*GetIntegrationConnectionByIDDefault) Code

Code gets the status code for the get integration connection by ID default response

func (*GetIntegrationConnectionByIDDefault) Error

func (*GetIntegrationConnectionByIDDefault) GetPayload

func (*GetIntegrationConnectionByIDDefault) IsClientError

func (o *GetIntegrationConnectionByIDDefault) IsClientError() bool

IsClientError returns true when this get integration connection by ID default response has a 4xx status code

func (*GetIntegrationConnectionByIDDefault) IsCode

IsCode returns true when this get integration connection by ID default response a status code equal to that given

func (*GetIntegrationConnectionByIDDefault) IsRedirect

func (o *GetIntegrationConnectionByIDDefault) IsRedirect() bool

IsRedirect returns true when this get integration connection by ID default response has a 3xx status code

func (*GetIntegrationConnectionByIDDefault) IsServerError

func (o *GetIntegrationConnectionByIDDefault) IsServerError() bool

IsServerError returns true when this get integration connection by ID default response has a 5xx status code

func (*GetIntegrationConnectionByIDDefault) IsSuccess

IsSuccess returns true when this get integration connection by ID default response has a 2xx status code

func (*GetIntegrationConnectionByIDDefault) String

type GetIntegrationConnectionByIDOK

type GetIntegrationConnectionByIDOK struct {
	Payload *models.VaultRadar20230501IntegrationConnection
}

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

A successful response.

func NewGetIntegrationConnectionByIDOK

func NewGetIntegrationConnectionByIDOK() *GetIntegrationConnectionByIDOK

NewGetIntegrationConnectionByIDOK creates a GetIntegrationConnectionByIDOK with default headers values

func (*GetIntegrationConnectionByIDOK) Code

Code gets the status code for the get integration connection by Id o k response

func (*GetIntegrationConnectionByIDOK) Error

func (*GetIntegrationConnectionByIDOK) GetPayload

func (*GetIntegrationConnectionByIDOK) IsClientError

func (o *GetIntegrationConnectionByIDOK) IsClientError() bool

IsClientError returns true when this get integration connection by Id o k response has a 4xx status code

func (*GetIntegrationConnectionByIDOK) IsCode

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

IsCode returns true when this get integration connection by Id o k response a status code equal to that given

func (*GetIntegrationConnectionByIDOK) IsRedirect

func (o *GetIntegrationConnectionByIDOK) IsRedirect() bool

IsRedirect returns true when this get integration connection by Id o k response has a 3xx status code

func (*GetIntegrationConnectionByIDOK) IsServerError

func (o *GetIntegrationConnectionByIDOK) IsServerError() bool

IsServerError returns true when this get integration connection by Id o k response has a 5xx status code

func (*GetIntegrationConnectionByIDOK) IsSuccess

func (o *GetIntegrationConnectionByIDOK) IsSuccess() bool

IsSuccess returns true when this get integration connection by Id o k response has a 2xx status code

func (*GetIntegrationConnectionByIDOK) String

type GetIntegrationConnectionByIDParams

type GetIntegrationConnectionByIDParams struct {

	/* ID.

	   ID is the identifier of the integration connection to retrieve.
	*/
	ID string

	/* LocationOrganizationID.

	   organization_id is the id of the organization.
	*/
	LocationOrganizationID *string

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

	/* LocationRegionProvider.

	   provider is the named cloud provider ("aws", "gcp", "azure")
	*/
	LocationRegionProvider *string

	/* LocationRegionRegion.

	   region is the cloud region ("us-west1", "us-east1")
	*/
	LocationRegionRegion *string

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

GetIntegrationConnectionByIDParams contains all the parameters to send to the API endpoint

for the get integration connection by ID operation.

Typically these are written to a http.Request.

func NewGetIntegrationConnectionByIDParams

func NewGetIntegrationConnectionByIDParams() *GetIntegrationConnectionByIDParams

NewGetIntegrationConnectionByIDParams creates a new GetIntegrationConnectionByIDParams 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 NewGetIntegrationConnectionByIDParamsWithContext

func NewGetIntegrationConnectionByIDParamsWithContext(ctx context.Context) *GetIntegrationConnectionByIDParams

NewGetIntegrationConnectionByIDParamsWithContext creates a new GetIntegrationConnectionByIDParams object with the ability to set a context for a request.

func NewGetIntegrationConnectionByIDParamsWithHTTPClient

func NewGetIntegrationConnectionByIDParamsWithHTTPClient(client *http.Client) *GetIntegrationConnectionByIDParams

NewGetIntegrationConnectionByIDParamsWithHTTPClient creates a new GetIntegrationConnectionByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetIntegrationConnectionByIDParamsWithTimeout

func NewGetIntegrationConnectionByIDParamsWithTimeout(timeout time.Duration) *GetIntegrationConnectionByIDParams

NewGetIntegrationConnectionByIDParamsWithTimeout creates a new GetIntegrationConnectionByIDParams object with the ability to set a timeout on a request.

func (*GetIntegrationConnectionByIDParams) SetContext

SetContext adds the context to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) SetDefaults

func (o *GetIntegrationConnectionByIDParams) SetDefaults()

SetDefaults hydrates default values in the get integration connection by ID params (not the query body).

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

func (*GetIntegrationConnectionByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) SetID

SetID adds the id to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) SetLocationOrganizationID

func (o *GetIntegrationConnectionByIDParams) SetLocationOrganizationID(locationOrganizationID *string)

SetLocationOrganizationID adds the locationOrganizationId to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) SetLocationProjectID

func (o *GetIntegrationConnectionByIDParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) SetLocationRegionProvider

func (o *GetIntegrationConnectionByIDParams) SetLocationRegionProvider(locationRegionProvider *string)

SetLocationRegionProvider adds the locationRegionProvider to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) SetLocationRegionRegion

func (o *GetIntegrationConnectionByIDParams) SetLocationRegionRegion(locationRegionRegion *string)

SetLocationRegionRegion adds the locationRegionRegion to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WithContext

WithContext adds the context to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WithDefaults

WithDefaults hydrates default values in the get integration connection by ID params (not the query body).

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

func (*GetIntegrationConnectionByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WithID

WithID adds the id to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WithLocationOrganizationID

func (o *GetIntegrationConnectionByIDParams) WithLocationOrganizationID(locationOrganizationID *string) *GetIntegrationConnectionByIDParams

WithLocationOrganizationID adds the locationOrganizationID to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WithLocationProjectID

func (o *GetIntegrationConnectionByIDParams) WithLocationProjectID(locationProjectID string) *GetIntegrationConnectionByIDParams

WithLocationProjectID adds the locationProjectID to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WithLocationRegionProvider

func (o *GetIntegrationConnectionByIDParams) WithLocationRegionProvider(locationRegionProvider *string) *GetIntegrationConnectionByIDParams

WithLocationRegionProvider adds the locationRegionProvider to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WithLocationRegionRegion

func (o *GetIntegrationConnectionByIDParams) WithLocationRegionRegion(locationRegionRegion *string) *GetIntegrationConnectionByIDParams

WithLocationRegionRegion adds the locationRegionRegion to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WithTimeout

WithTimeout adds the timeout to the get integration connection by ID params

func (*GetIntegrationConnectionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIntegrationConnectionByIDReader

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

GetIntegrationConnectionByIDReader is a Reader for the GetIntegrationConnectionByID structure.

func (*GetIntegrationConnectionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIntegrationConnectionByNameBody

type GetIntegrationConnectionByNameBody struct {

	// location
	Location *GetIntegrationConnectionByNameParamsBodyLocation `json:"location,omitempty"`

	// Name is the unique name of the integration connection to retrieve.
	Name string `json:"name,omitempty"`
}

GetIntegrationConnectionByNameBody get integration connection by name body swagger:model GetIntegrationConnectionByNameBody

func (*GetIntegrationConnectionByNameBody) ContextValidate

func (o *GetIntegrationConnectionByNameBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get integration connection by name body based on the context it is used

func (*GetIntegrationConnectionByNameBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetIntegrationConnectionByNameBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetIntegrationConnectionByNameBody) Validate

Validate validates this get integration connection by name body

type GetIntegrationConnectionByNameDefault

type GetIntegrationConnectionByNameDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewGetIntegrationConnectionByNameDefault

func NewGetIntegrationConnectionByNameDefault(code int) *GetIntegrationConnectionByNameDefault

NewGetIntegrationConnectionByNameDefault creates a GetIntegrationConnectionByNameDefault with default headers values

func (*GetIntegrationConnectionByNameDefault) Code

Code gets the status code for the get integration connection by name default response

func (*GetIntegrationConnectionByNameDefault) Error

func (*GetIntegrationConnectionByNameDefault) GetPayload

func (*GetIntegrationConnectionByNameDefault) IsClientError

func (o *GetIntegrationConnectionByNameDefault) IsClientError() bool

IsClientError returns true when this get integration connection by name default response has a 4xx status code

func (*GetIntegrationConnectionByNameDefault) IsCode

IsCode returns true when this get integration connection by name default response a status code equal to that given

func (*GetIntegrationConnectionByNameDefault) IsRedirect

IsRedirect returns true when this get integration connection by name default response has a 3xx status code

func (*GetIntegrationConnectionByNameDefault) IsServerError

func (o *GetIntegrationConnectionByNameDefault) IsServerError() bool

IsServerError returns true when this get integration connection by name default response has a 5xx status code

func (*GetIntegrationConnectionByNameDefault) IsSuccess

IsSuccess returns true when this get integration connection by name default response has a 2xx status code

func (*GetIntegrationConnectionByNameDefault) String

type GetIntegrationConnectionByNameOK

type GetIntegrationConnectionByNameOK struct {
	Payload *models.VaultRadar20230501IntegrationConnection
}

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

A successful response.

func NewGetIntegrationConnectionByNameOK

func NewGetIntegrationConnectionByNameOK() *GetIntegrationConnectionByNameOK

NewGetIntegrationConnectionByNameOK creates a GetIntegrationConnectionByNameOK with default headers values

func (*GetIntegrationConnectionByNameOK) Code

Code gets the status code for the get integration connection by name o k response

func (*GetIntegrationConnectionByNameOK) Error

func (*GetIntegrationConnectionByNameOK) GetPayload

func (*GetIntegrationConnectionByNameOK) IsClientError

func (o *GetIntegrationConnectionByNameOK) IsClientError() bool

IsClientError returns true when this get integration connection by name o k response has a 4xx status code

func (*GetIntegrationConnectionByNameOK) IsCode

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

IsCode returns true when this get integration connection by name o k response a status code equal to that given

func (*GetIntegrationConnectionByNameOK) IsRedirect

func (o *GetIntegrationConnectionByNameOK) IsRedirect() bool

IsRedirect returns true when this get integration connection by name o k response has a 3xx status code

func (*GetIntegrationConnectionByNameOK) IsServerError

func (o *GetIntegrationConnectionByNameOK) IsServerError() bool

IsServerError returns true when this get integration connection by name o k response has a 5xx status code

func (*GetIntegrationConnectionByNameOK) IsSuccess

func (o *GetIntegrationConnectionByNameOK) IsSuccess() bool

IsSuccess returns true when this get integration connection by name o k response has a 2xx status code

func (*GetIntegrationConnectionByNameOK) String

type GetIntegrationConnectionByNameParams

type GetIntegrationConnectionByNameParams struct {

	// Body.
	Body GetIntegrationConnectionByNameBody

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

GetIntegrationConnectionByNameParams contains all the parameters to send to the API endpoint

for the get integration connection by name operation.

Typically these are written to a http.Request.

func NewGetIntegrationConnectionByNameParams

func NewGetIntegrationConnectionByNameParams() *GetIntegrationConnectionByNameParams

NewGetIntegrationConnectionByNameParams creates a new GetIntegrationConnectionByNameParams 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 NewGetIntegrationConnectionByNameParamsWithContext

func NewGetIntegrationConnectionByNameParamsWithContext(ctx context.Context) *GetIntegrationConnectionByNameParams

NewGetIntegrationConnectionByNameParamsWithContext creates a new GetIntegrationConnectionByNameParams object with the ability to set a context for a request.

func NewGetIntegrationConnectionByNameParamsWithHTTPClient

func NewGetIntegrationConnectionByNameParamsWithHTTPClient(client *http.Client) *GetIntegrationConnectionByNameParams

NewGetIntegrationConnectionByNameParamsWithHTTPClient creates a new GetIntegrationConnectionByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetIntegrationConnectionByNameParamsWithTimeout

func NewGetIntegrationConnectionByNameParamsWithTimeout(timeout time.Duration) *GetIntegrationConnectionByNameParams

NewGetIntegrationConnectionByNameParamsWithTimeout creates a new GetIntegrationConnectionByNameParams object with the ability to set a timeout on a request.

func (*GetIntegrationConnectionByNameParams) SetBody

SetBody adds the body to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) SetContext

SetContext adds the context to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) SetDefaults

func (o *GetIntegrationConnectionByNameParams) SetDefaults()

SetDefaults hydrates default values in the get integration connection by name params (not the query body).

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

func (*GetIntegrationConnectionByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) SetLocationProjectID

func (o *GetIntegrationConnectionByNameParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) WithBody

WithBody adds the body to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) WithContext

WithContext adds the context to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) WithDefaults

WithDefaults hydrates default values in the get integration connection by name params (not the query body).

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

func (*GetIntegrationConnectionByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) WithLocationProjectID

func (o *GetIntegrationConnectionByNameParams) WithLocationProjectID(locationProjectID string) *GetIntegrationConnectionByNameParams

WithLocationProjectID adds the locationProjectID to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) WithTimeout

WithTimeout adds the timeout to the get integration connection by name params

func (*GetIntegrationConnectionByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIntegrationConnectionByNameParamsBodyLocation

type GetIntegrationConnectionByNameParamsBodyLocation struct {

	// organization_id is the id of the organization.
	OrganizationID string `json:"organization_id,omitempty"`

	// region
	Region *models.LocationRegion `json:"region,omitempty"`
}

GetIntegrationConnectionByNameParamsBodyLocation Location represents a target for an operation in HCP. swagger:model GetIntegrationConnectionByNameParamsBodyLocation

func (*GetIntegrationConnectionByNameParamsBodyLocation) ContextValidate

ContextValidate validate this get integration connection by name params body location based on the context it is used

func (*GetIntegrationConnectionByNameParamsBodyLocation) MarshalBinary

MarshalBinary interface implementation

func (*GetIntegrationConnectionByNameParamsBodyLocation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetIntegrationConnectionByNameParamsBodyLocation) Validate

Validate validates this get integration connection by name params body location

type GetIntegrationConnectionByNameReader

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

GetIntegrationConnectionByNameReader is a Reader for the GetIntegrationConnectionByName structure.

func (*GetIntegrationConnectionByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateIntegrationConnectionBody added in v0.122.0

type UpdateIntegrationConnectionBody struct {

	// auth key
	AuthKey string `json:"auth_key,omitempty"`

	// details
	Details string `json:"details,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// location
	Location *UpdateIntegrationConnectionParamsBodyLocation `json:"location,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

UpdateIntegrationConnectionBody update integration connection body swagger:model UpdateIntegrationConnectionBody

func (*UpdateIntegrationConnectionBody) ContextValidate added in v0.122.0

func (o *UpdateIntegrationConnectionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update integration connection body based on the context it is used

func (*UpdateIntegrationConnectionBody) MarshalBinary added in v0.122.0

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

MarshalBinary interface implementation

func (*UpdateIntegrationConnectionBody) UnmarshalBinary added in v0.122.0

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

UnmarshalBinary interface implementation

func (*UpdateIntegrationConnectionBody) Validate added in v0.122.0

Validate validates this update integration connection body

type UpdateIntegrationConnectionDefault added in v0.122.0

type UpdateIntegrationConnectionDefault struct {
	Payload *models.RPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewUpdateIntegrationConnectionDefault added in v0.122.0

func NewUpdateIntegrationConnectionDefault(code int) *UpdateIntegrationConnectionDefault

NewUpdateIntegrationConnectionDefault creates a UpdateIntegrationConnectionDefault with default headers values

func (*UpdateIntegrationConnectionDefault) Code added in v0.122.0

Code gets the status code for the update integration connection default response

func (*UpdateIntegrationConnectionDefault) Error added in v0.122.0

func (*UpdateIntegrationConnectionDefault) GetPayload added in v0.122.0

func (*UpdateIntegrationConnectionDefault) IsClientError added in v0.122.0

func (o *UpdateIntegrationConnectionDefault) IsClientError() bool

IsClientError returns true when this update integration connection default response has a 4xx status code

func (*UpdateIntegrationConnectionDefault) IsCode added in v0.122.0

IsCode returns true when this update integration connection default response a status code equal to that given

func (*UpdateIntegrationConnectionDefault) IsRedirect added in v0.122.0

func (o *UpdateIntegrationConnectionDefault) IsRedirect() bool

IsRedirect returns true when this update integration connection default response has a 3xx status code

func (*UpdateIntegrationConnectionDefault) IsServerError added in v0.122.0

func (o *UpdateIntegrationConnectionDefault) IsServerError() bool

IsServerError returns true when this update integration connection default response has a 5xx status code

func (*UpdateIntegrationConnectionDefault) IsSuccess added in v0.122.0

IsSuccess returns true when this update integration connection default response has a 2xx status code

func (*UpdateIntegrationConnectionDefault) String added in v0.122.0

type UpdateIntegrationConnectionOK added in v0.122.0

type UpdateIntegrationConnectionOK struct {
	Payload interface{}
}

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

A successful response.

func NewUpdateIntegrationConnectionOK added in v0.122.0

func NewUpdateIntegrationConnectionOK() *UpdateIntegrationConnectionOK

NewUpdateIntegrationConnectionOK creates a UpdateIntegrationConnectionOK with default headers values

func (*UpdateIntegrationConnectionOK) Code added in v0.122.0

Code gets the status code for the update integration connection o k response

func (*UpdateIntegrationConnectionOK) Error added in v0.122.0

func (*UpdateIntegrationConnectionOK) GetPayload added in v0.122.0

func (o *UpdateIntegrationConnectionOK) GetPayload() interface{}

func (*UpdateIntegrationConnectionOK) IsClientError added in v0.122.0

func (o *UpdateIntegrationConnectionOK) IsClientError() bool

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

func (*UpdateIntegrationConnectionOK) IsCode added in v0.122.0

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

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

func (*UpdateIntegrationConnectionOK) IsRedirect added in v0.122.0

func (o *UpdateIntegrationConnectionOK) IsRedirect() bool

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

func (*UpdateIntegrationConnectionOK) IsServerError added in v0.122.0

func (o *UpdateIntegrationConnectionOK) IsServerError() bool

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

func (*UpdateIntegrationConnectionOK) IsSuccess added in v0.122.0

func (o *UpdateIntegrationConnectionOK) IsSuccess() bool

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

func (*UpdateIntegrationConnectionOK) String added in v0.122.0

type UpdateIntegrationConnectionParams added in v0.122.0

type UpdateIntegrationConnectionParams struct {

	// Body.
	Body UpdateIntegrationConnectionBody

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

UpdateIntegrationConnectionParams contains all the parameters to send to the API endpoint

for the update integration connection operation.

Typically these are written to a http.Request.

func NewUpdateIntegrationConnectionParams added in v0.122.0

func NewUpdateIntegrationConnectionParams() *UpdateIntegrationConnectionParams

NewUpdateIntegrationConnectionParams creates a new UpdateIntegrationConnectionParams 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 NewUpdateIntegrationConnectionParamsWithContext added in v0.122.0

func NewUpdateIntegrationConnectionParamsWithContext(ctx context.Context) *UpdateIntegrationConnectionParams

NewUpdateIntegrationConnectionParamsWithContext creates a new UpdateIntegrationConnectionParams object with the ability to set a context for a request.

func NewUpdateIntegrationConnectionParamsWithHTTPClient added in v0.122.0

func NewUpdateIntegrationConnectionParamsWithHTTPClient(client *http.Client) *UpdateIntegrationConnectionParams

NewUpdateIntegrationConnectionParamsWithHTTPClient creates a new UpdateIntegrationConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateIntegrationConnectionParamsWithTimeout added in v0.122.0

func NewUpdateIntegrationConnectionParamsWithTimeout(timeout time.Duration) *UpdateIntegrationConnectionParams

NewUpdateIntegrationConnectionParamsWithTimeout creates a new UpdateIntegrationConnectionParams object with the ability to set a timeout on a request.

func (*UpdateIntegrationConnectionParams) SetBody added in v0.122.0

SetBody adds the body to the update integration connection params

func (*UpdateIntegrationConnectionParams) SetContext added in v0.122.0

SetContext adds the context to the update integration connection params

func (*UpdateIntegrationConnectionParams) SetDefaults added in v0.122.0

func (o *UpdateIntegrationConnectionParams) SetDefaults()

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

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

func (*UpdateIntegrationConnectionParams) SetHTTPClient added in v0.122.0

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

SetHTTPClient adds the HTTPClient to the update integration connection params

func (*UpdateIntegrationConnectionParams) SetLocationProjectID added in v0.122.0

func (o *UpdateIntegrationConnectionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the update integration connection params

func (*UpdateIntegrationConnectionParams) SetTimeout added in v0.122.0

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

SetTimeout adds the timeout to the update integration connection params

func (*UpdateIntegrationConnectionParams) WithBody added in v0.122.0

WithBody adds the body to the update integration connection params

func (*UpdateIntegrationConnectionParams) WithContext added in v0.122.0

WithContext adds the context to the update integration connection params

func (*UpdateIntegrationConnectionParams) WithDefaults added in v0.122.0

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

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

func (*UpdateIntegrationConnectionParams) WithHTTPClient added in v0.122.0

WithHTTPClient adds the HTTPClient to the update integration connection params

func (*UpdateIntegrationConnectionParams) WithLocationProjectID added in v0.122.0

func (o *UpdateIntegrationConnectionParams) WithLocationProjectID(locationProjectID string) *UpdateIntegrationConnectionParams

WithLocationProjectID adds the locationProjectID to the update integration connection params

func (*UpdateIntegrationConnectionParams) WithTimeout added in v0.122.0

WithTimeout adds the timeout to the update integration connection params

func (*UpdateIntegrationConnectionParams) WriteToRequest added in v0.122.0

WriteToRequest writes these params to a swagger request

type UpdateIntegrationConnectionParamsBodyLocation added in v0.122.0

type UpdateIntegrationConnectionParamsBodyLocation struct {

	// organization_id is the id of the organization.
	OrganizationID string `json:"organization_id,omitempty"`

	// region
	Region *models.LocationRegion `json:"region,omitempty"`
}

UpdateIntegrationConnectionParamsBodyLocation Location represents a target for an operation in HCP. swagger:model UpdateIntegrationConnectionParamsBodyLocation

func (*UpdateIntegrationConnectionParamsBodyLocation) ContextValidate added in v0.122.0

ContextValidate validate this update integration connection params body location based on the context it is used

func (*UpdateIntegrationConnectionParamsBodyLocation) MarshalBinary added in v0.122.0

MarshalBinary interface implementation

func (*UpdateIntegrationConnectionParamsBodyLocation) UnmarshalBinary added in v0.122.0

UnmarshalBinary interface implementation

func (*UpdateIntegrationConnectionParamsBodyLocation) Validate added in v0.122.0

Validate validates this update integration connection params body location

type UpdateIntegrationConnectionReader added in v0.122.0

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

UpdateIntegrationConnectionReader is a Reader for the UpdateIntegrationConnection structure.

func (*UpdateIntegrationConnectionReader) ReadResponse added in v0.122.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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