integration_subscription_service

package
v0.123.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 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 subscription service API

func (*Client) CreateIntegrationSubscription

func (a *Client) CreateIntegrationSubscription(params *CreateIntegrationSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIntegrationSubscriptionOK, error)

CreateIntegrationSubscription create integration subscription API

func (*Client) DeleteIntegrationSubscription

func (a *Client) DeleteIntegrationSubscription(params *DeleteIntegrationSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIntegrationSubscriptionOK, error)

DeleteIntegrationSubscription delete integration subscription API

func (*Client) GetIntegrationSubscriptionByID

func (a *Client) GetIntegrationSubscriptionByID(params *GetIntegrationSubscriptionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationSubscriptionByIDOK, error)

GetIntegrationSubscriptionByID get integration subscription by ID API

func (*Client) GetIntegrationSubscriptionByName

func (a *Client) GetIntegrationSubscriptionByName(params *GetIntegrationSubscriptionByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationSubscriptionByNameOK, error)

GetIntegrationSubscriptionByName get integration subscription by name API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateIntegrationSubscription added in v0.122.0

func (a *Client) UpdateIntegrationSubscription(params *UpdateIntegrationSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIntegrationSubscriptionOK, error)

UpdateIntegrationSubscription update integration subscription API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateIntegrationSubscription(params *CreateIntegrationSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIntegrationSubscriptionOK, error)

	DeleteIntegrationSubscription(params *DeleteIntegrationSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIntegrationSubscriptionOK, error)

	GetIntegrationSubscriptionByID(params *GetIntegrationSubscriptionByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationSubscriptionByIDOK, error)

	GetIntegrationSubscriptionByName(params *GetIntegrationSubscriptionByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationSubscriptionByNameOK, error)

	UpdateIntegrationSubscription(params *UpdateIntegrationSubscriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIntegrationSubscriptionOK, 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 subscription service API client.

type CreateIntegrationSubscriptionBody

type CreateIntegrationSubscriptionBody struct {

	// connection id
	ConnectionID string `json:"connection_id,omitempty"`

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

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

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

CreateIntegrationSubscriptionBody create integration subscription body swagger:model CreateIntegrationSubscriptionBody

func (*CreateIntegrationSubscriptionBody) ContextValidate

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

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

func (*CreateIntegrationSubscriptionBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateIntegrationSubscriptionBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateIntegrationSubscriptionBody) Validate

Validate validates this create integration subscription body

type CreateIntegrationSubscriptionDefault

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

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

An unexpected error response.

func NewCreateIntegrationSubscriptionDefault

func NewCreateIntegrationSubscriptionDefault(code int) *CreateIntegrationSubscriptionDefault

NewCreateIntegrationSubscriptionDefault creates a CreateIntegrationSubscriptionDefault with default headers values

func (*CreateIntegrationSubscriptionDefault) Code

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

func (*CreateIntegrationSubscriptionDefault) Error

func (*CreateIntegrationSubscriptionDefault) GetPayload

func (*CreateIntegrationSubscriptionDefault) IsClientError

func (o *CreateIntegrationSubscriptionDefault) IsClientError() bool

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

func (*CreateIntegrationSubscriptionDefault) IsCode

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

func (*CreateIntegrationSubscriptionDefault) IsRedirect

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

func (*CreateIntegrationSubscriptionDefault) IsServerError

func (o *CreateIntegrationSubscriptionDefault) IsServerError() bool

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

func (*CreateIntegrationSubscriptionDefault) IsSuccess

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

func (*CreateIntegrationSubscriptionDefault) String

type CreateIntegrationSubscriptionOK

type CreateIntegrationSubscriptionOK struct {
	Payload *models.VaultRadar20230501CreateIntegrationSubscriptionResponse
}

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

A successful response.

func NewCreateIntegrationSubscriptionOK

func NewCreateIntegrationSubscriptionOK() *CreateIntegrationSubscriptionOK

NewCreateIntegrationSubscriptionOK creates a CreateIntegrationSubscriptionOK with default headers values

func (*CreateIntegrationSubscriptionOK) Code

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

func (*CreateIntegrationSubscriptionOK) Error

func (*CreateIntegrationSubscriptionOK) GetPayload

func (*CreateIntegrationSubscriptionOK) IsClientError

func (o *CreateIntegrationSubscriptionOK) IsClientError() bool

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

func (*CreateIntegrationSubscriptionOK) IsCode

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

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

func (*CreateIntegrationSubscriptionOK) IsRedirect

func (o *CreateIntegrationSubscriptionOK) IsRedirect() bool

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

func (*CreateIntegrationSubscriptionOK) IsServerError

func (o *CreateIntegrationSubscriptionOK) IsServerError() bool

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

func (*CreateIntegrationSubscriptionOK) IsSuccess

func (o *CreateIntegrationSubscriptionOK) IsSuccess() bool

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

func (*CreateIntegrationSubscriptionOK) String

type CreateIntegrationSubscriptionParams

type CreateIntegrationSubscriptionParams struct {

	// Body.
	Body CreateIntegrationSubscriptionBody

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

CreateIntegrationSubscriptionParams contains all the parameters to send to the API endpoint

for the create integration subscription operation.

Typically these are written to a http.Request.

func NewCreateIntegrationSubscriptionParams

func NewCreateIntegrationSubscriptionParams() *CreateIntegrationSubscriptionParams

NewCreateIntegrationSubscriptionParams creates a new CreateIntegrationSubscriptionParams 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 NewCreateIntegrationSubscriptionParamsWithContext

func NewCreateIntegrationSubscriptionParamsWithContext(ctx context.Context) *CreateIntegrationSubscriptionParams

NewCreateIntegrationSubscriptionParamsWithContext creates a new CreateIntegrationSubscriptionParams object with the ability to set a context for a request.

func NewCreateIntegrationSubscriptionParamsWithHTTPClient

func NewCreateIntegrationSubscriptionParamsWithHTTPClient(client *http.Client) *CreateIntegrationSubscriptionParams

NewCreateIntegrationSubscriptionParamsWithHTTPClient creates a new CreateIntegrationSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateIntegrationSubscriptionParamsWithTimeout

func NewCreateIntegrationSubscriptionParamsWithTimeout(timeout time.Duration) *CreateIntegrationSubscriptionParams

NewCreateIntegrationSubscriptionParamsWithTimeout creates a new CreateIntegrationSubscriptionParams object with the ability to set a timeout on a request.

func (*CreateIntegrationSubscriptionParams) SetBody

SetBody adds the body to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) SetContext

SetContext adds the context to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) SetDefaults

func (o *CreateIntegrationSubscriptionParams) SetDefaults()

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

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

func (*CreateIntegrationSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) SetLocationProjectID

func (o *CreateIntegrationSubscriptionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) WithBody

WithBody adds the body to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) WithContext

WithContext adds the context to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) WithDefaults

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

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

func (*CreateIntegrationSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the create integration subscription params

func (*CreateIntegrationSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateIntegrationSubscriptionParamsBodyLocation

type CreateIntegrationSubscriptionParamsBodyLocation struct {

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

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

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

func (*CreateIntegrationSubscriptionParamsBodyLocation) ContextValidate

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

func (*CreateIntegrationSubscriptionParamsBodyLocation) MarshalBinary

MarshalBinary interface implementation

func (*CreateIntegrationSubscriptionParamsBodyLocation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateIntegrationSubscriptionParamsBodyLocation) Validate

Validate validates this create integration subscription params body location

type CreateIntegrationSubscriptionReader

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

CreateIntegrationSubscriptionReader is a Reader for the CreateIntegrationSubscription structure.

func (*CreateIntegrationSubscriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteIntegrationSubscriptionDefault

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

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

An unexpected error response.

func NewDeleteIntegrationSubscriptionDefault

func NewDeleteIntegrationSubscriptionDefault(code int) *DeleteIntegrationSubscriptionDefault

NewDeleteIntegrationSubscriptionDefault creates a DeleteIntegrationSubscriptionDefault with default headers values

func (*DeleteIntegrationSubscriptionDefault) Code

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

func (*DeleteIntegrationSubscriptionDefault) Error

func (*DeleteIntegrationSubscriptionDefault) GetPayload

func (*DeleteIntegrationSubscriptionDefault) IsClientError

func (o *DeleteIntegrationSubscriptionDefault) IsClientError() bool

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

func (*DeleteIntegrationSubscriptionDefault) IsCode

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

func (*DeleteIntegrationSubscriptionDefault) IsRedirect

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

func (*DeleteIntegrationSubscriptionDefault) IsServerError

func (o *DeleteIntegrationSubscriptionDefault) IsServerError() bool

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

func (*DeleteIntegrationSubscriptionDefault) IsSuccess

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

func (*DeleteIntegrationSubscriptionDefault) String

type DeleteIntegrationSubscriptionOK

type DeleteIntegrationSubscriptionOK struct {
	Payload interface{}
}

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

A successful response.

func NewDeleteIntegrationSubscriptionOK

func NewDeleteIntegrationSubscriptionOK() *DeleteIntegrationSubscriptionOK

NewDeleteIntegrationSubscriptionOK creates a DeleteIntegrationSubscriptionOK with default headers values

func (*DeleteIntegrationSubscriptionOK) Code

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

func (*DeleteIntegrationSubscriptionOK) Error

func (*DeleteIntegrationSubscriptionOK) GetPayload

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

func (*DeleteIntegrationSubscriptionOK) IsClientError

func (o *DeleteIntegrationSubscriptionOK) IsClientError() bool

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

func (*DeleteIntegrationSubscriptionOK) IsCode

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

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

func (*DeleteIntegrationSubscriptionOK) IsRedirect

func (o *DeleteIntegrationSubscriptionOK) IsRedirect() bool

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

func (*DeleteIntegrationSubscriptionOK) IsServerError

func (o *DeleteIntegrationSubscriptionOK) IsServerError() bool

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

func (*DeleteIntegrationSubscriptionOK) IsSuccess

func (o *DeleteIntegrationSubscriptionOK) IsSuccess() bool

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

func (*DeleteIntegrationSubscriptionOK) String

type DeleteIntegrationSubscriptionParams

type DeleteIntegrationSubscriptionParams struct {

	/* ID.

	   ID is the identifier of the integration subscription 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
}

DeleteIntegrationSubscriptionParams contains all the parameters to send to the API endpoint

for the delete integration subscription operation.

Typically these are written to a http.Request.

func NewDeleteIntegrationSubscriptionParams

func NewDeleteIntegrationSubscriptionParams() *DeleteIntegrationSubscriptionParams

NewDeleteIntegrationSubscriptionParams creates a new DeleteIntegrationSubscriptionParams 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 NewDeleteIntegrationSubscriptionParamsWithContext

func NewDeleteIntegrationSubscriptionParamsWithContext(ctx context.Context) *DeleteIntegrationSubscriptionParams

NewDeleteIntegrationSubscriptionParamsWithContext creates a new DeleteIntegrationSubscriptionParams object with the ability to set a context for a request.

func NewDeleteIntegrationSubscriptionParamsWithHTTPClient

func NewDeleteIntegrationSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteIntegrationSubscriptionParams

NewDeleteIntegrationSubscriptionParamsWithHTTPClient creates a new DeleteIntegrationSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIntegrationSubscriptionParamsWithTimeout

func NewDeleteIntegrationSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteIntegrationSubscriptionParams

NewDeleteIntegrationSubscriptionParamsWithTimeout creates a new DeleteIntegrationSubscriptionParams object with the ability to set a timeout on a request.

func (*DeleteIntegrationSubscriptionParams) SetContext

SetContext adds the context to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) SetDefaults

func (o *DeleteIntegrationSubscriptionParams) SetDefaults()

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

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

func (*DeleteIntegrationSubscriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) SetID

SetID adds the id to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) SetLocationOrganizationID

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

SetLocationOrganizationID adds the locationOrganizationId to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) SetLocationProjectID

func (o *DeleteIntegrationSubscriptionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) SetLocationRegionProvider

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

SetLocationRegionProvider adds the locationRegionProvider to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) SetLocationRegionRegion

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

SetLocationRegionRegion adds the locationRegionRegion to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) SetTimeout

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

SetTimeout adds the timeout to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WithContext

WithContext adds the context to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WithDefaults

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

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

func (*DeleteIntegrationSubscriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WithID

WithID adds the id to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WithLocationOrganizationID

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

WithLocationOrganizationID adds the locationOrganizationID to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WithLocationProjectID

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

WithLocationProjectID adds the locationProjectID to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WithLocationRegionProvider

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

WithLocationRegionProvider adds the locationRegionProvider to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WithLocationRegionRegion

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

WithLocationRegionRegion adds the locationRegionRegion to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WithTimeout

WithTimeout adds the timeout to the delete integration subscription params

func (*DeleteIntegrationSubscriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteIntegrationSubscriptionReader

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

DeleteIntegrationSubscriptionReader is a Reader for the DeleteIntegrationSubscription structure.

func (*DeleteIntegrationSubscriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIntegrationSubscriptionByIDDefault

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

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

An unexpected error response.

func NewGetIntegrationSubscriptionByIDDefault

func NewGetIntegrationSubscriptionByIDDefault(code int) *GetIntegrationSubscriptionByIDDefault

NewGetIntegrationSubscriptionByIDDefault creates a GetIntegrationSubscriptionByIDDefault with default headers values

func (*GetIntegrationSubscriptionByIDDefault) Code

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

func (*GetIntegrationSubscriptionByIDDefault) Error

func (*GetIntegrationSubscriptionByIDDefault) GetPayload

func (*GetIntegrationSubscriptionByIDDefault) IsClientError

func (o *GetIntegrationSubscriptionByIDDefault) IsClientError() bool

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

func (*GetIntegrationSubscriptionByIDDefault) IsCode

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

func (*GetIntegrationSubscriptionByIDDefault) IsRedirect

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

func (*GetIntegrationSubscriptionByIDDefault) IsServerError

func (o *GetIntegrationSubscriptionByIDDefault) IsServerError() bool

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

func (*GetIntegrationSubscriptionByIDDefault) IsSuccess

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

func (*GetIntegrationSubscriptionByIDDefault) String

type GetIntegrationSubscriptionByIDOK

type GetIntegrationSubscriptionByIDOK struct {
	Payload *models.VaultRadar20230501IntegrationSubscription
}

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

A successful response.

func NewGetIntegrationSubscriptionByIDOK

func NewGetIntegrationSubscriptionByIDOK() *GetIntegrationSubscriptionByIDOK

NewGetIntegrationSubscriptionByIDOK creates a GetIntegrationSubscriptionByIDOK with default headers values

func (*GetIntegrationSubscriptionByIDOK) Code

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

func (*GetIntegrationSubscriptionByIDOK) Error

func (*GetIntegrationSubscriptionByIDOK) GetPayload

func (*GetIntegrationSubscriptionByIDOK) IsClientError

func (o *GetIntegrationSubscriptionByIDOK) IsClientError() bool

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

func (*GetIntegrationSubscriptionByIDOK) IsCode

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

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

func (*GetIntegrationSubscriptionByIDOK) IsRedirect

func (o *GetIntegrationSubscriptionByIDOK) IsRedirect() bool

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

func (*GetIntegrationSubscriptionByIDOK) IsServerError

func (o *GetIntegrationSubscriptionByIDOK) IsServerError() bool

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

func (*GetIntegrationSubscriptionByIDOK) IsSuccess

func (o *GetIntegrationSubscriptionByIDOK) IsSuccess() bool

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

func (*GetIntegrationSubscriptionByIDOK) String

type GetIntegrationSubscriptionByIDParams

type GetIntegrationSubscriptionByIDParams struct {

	/* ID.

	   ID is the identifier of the integration subscription 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
}

GetIntegrationSubscriptionByIDParams contains all the parameters to send to the API endpoint

for the get integration subscription by ID operation.

Typically these are written to a http.Request.

func NewGetIntegrationSubscriptionByIDParams

func NewGetIntegrationSubscriptionByIDParams() *GetIntegrationSubscriptionByIDParams

NewGetIntegrationSubscriptionByIDParams creates a new GetIntegrationSubscriptionByIDParams 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 NewGetIntegrationSubscriptionByIDParamsWithContext

func NewGetIntegrationSubscriptionByIDParamsWithContext(ctx context.Context) *GetIntegrationSubscriptionByIDParams

NewGetIntegrationSubscriptionByIDParamsWithContext creates a new GetIntegrationSubscriptionByIDParams object with the ability to set a context for a request.

func NewGetIntegrationSubscriptionByIDParamsWithHTTPClient

func NewGetIntegrationSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetIntegrationSubscriptionByIDParams

NewGetIntegrationSubscriptionByIDParamsWithHTTPClient creates a new GetIntegrationSubscriptionByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetIntegrationSubscriptionByIDParamsWithTimeout

func NewGetIntegrationSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetIntegrationSubscriptionByIDParams

NewGetIntegrationSubscriptionByIDParamsWithTimeout creates a new GetIntegrationSubscriptionByIDParams object with the ability to set a timeout on a request.

func (*GetIntegrationSubscriptionByIDParams) SetContext

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

func (*GetIntegrationSubscriptionByIDParams) SetDefaults

func (o *GetIntegrationSubscriptionByIDParams) SetDefaults()

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

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

func (*GetIntegrationSubscriptionByIDParams) SetHTTPClient

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

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

func (*GetIntegrationSubscriptionByIDParams) SetID

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

func (*GetIntegrationSubscriptionByIDParams) SetLocationOrganizationID

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

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

func (*GetIntegrationSubscriptionByIDParams) SetLocationProjectID

func (o *GetIntegrationSubscriptionByIDParams) SetLocationProjectID(locationProjectID string)

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

func (*GetIntegrationSubscriptionByIDParams) SetLocationRegionProvider

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

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

func (*GetIntegrationSubscriptionByIDParams) SetLocationRegionRegion

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

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

func (*GetIntegrationSubscriptionByIDParams) SetTimeout

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

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

func (*GetIntegrationSubscriptionByIDParams) WithContext

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

func (*GetIntegrationSubscriptionByIDParams) WithDefaults

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

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

func (*GetIntegrationSubscriptionByIDParams) WithHTTPClient

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

func (*GetIntegrationSubscriptionByIDParams) WithID

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

func (*GetIntegrationSubscriptionByIDParams) WithLocationOrganizationID

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

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

func (*GetIntegrationSubscriptionByIDParams) WithLocationProjectID

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

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

func (*GetIntegrationSubscriptionByIDParams) WithLocationRegionProvider

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

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

func (*GetIntegrationSubscriptionByIDParams) WithLocationRegionRegion

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

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

func (*GetIntegrationSubscriptionByIDParams) WithTimeout

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

func (*GetIntegrationSubscriptionByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIntegrationSubscriptionByIDReader

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

GetIntegrationSubscriptionByIDReader is a Reader for the GetIntegrationSubscriptionByID structure.

func (*GetIntegrationSubscriptionByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIntegrationSubscriptionByNameBody

type GetIntegrationSubscriptionByNameBody struct {

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

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

GetIntegrationSubscriptionByNameBody get integration subscription by name body swagger:model GetIntegrationSubscriptionByNameBody

func (*GetIntegrationSubscriptionByNameBody) ContextValidate

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

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

func (*GetIntegrationSubscriptionByNameBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetIntegrationSubscriptionByNameBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetIntegrationSubscriptionByNameBody) Validate

Validate validates this get integration subscription by name body

type GetIntegrationSubscriptionByNameDefault

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

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

An unexpected error response.

func NewGetIntegrationSubscriptionByNameDefault

func NewGetIntegrationSubscriptionByNameDefault(code int) *GetIntegrationSubscriptionByNameDefault

NewGetIntegrationSubscriptionByNameDefault creates a GetIntegrationSubscriptionByNameDefault with default headers values

func (*GetIntegrationSubscriptionByNameDefault) Code

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

func (*GetIntegrationSubscriptionByNameDefault) Error

func (*GetIntegrationSubscriptionByNameDefault) GetPayload

func (*GetIntegrationSubscriptionByNameDefault) IsClientError

func (o *GetIntegrationSubscriptionByNameDefault) IsClientError() bool

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

func (*GetIntegrationSubscriptionByNameDefault) IsCode

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

func (*GetIntegrationSubscriptionByNameDefault) IsRedirect

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

func (*GetIntegrationSubscriptionByNameDefault) IsServerError

func (o *GetIntegrationSubscriptionByNameDefault) IsServerError() bool

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

func (*GetIntegrationSubscriptionByNameDefault) IsSuccess

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

func (*GetIntegrationSubscriptionByNameDefault) String

type GetIntegrationSubscriptionByNameOK

type GetIntegrationSubscriptionByNameOK struct {
	Payload *models.VaultRadar20230501IntegrationSubscription
}

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

A successful response.

func NewGetIntegrationSubscriptionByNameOK

func NewGetIntegrationSubscriptionByNameOK() *GetIntegrationSubscriptionByNameOK

NewGetIntegrationSubscriptionByNameOK creates a GetIntegrationSubscriptionByNameOK with default headers values

func (*GetIntegrationSubscriptionByNameOK) Code

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

func (*GetIntegrationSubscriptionByNameOK) Error

func (*GetIntegrationSubscriptionByNameOK) GetPayload

func (*GetIntegrationSubscriptionByNameOK) IsClientError

func (o *GetIntegrationSubscriptionByNameOK) IsClientError() bool

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

func (*GetIntegrationSubscriptionByNameOK) IsCode

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

func (*GetIntegrationSubscriptionByNameOK) IsRedirect

func (o *GetIntegrationSubscriptionByNameOK) IsRedirect() bool

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

func (*GetIntegrationSubscriptionByNameOK) IsServerError

func (o *GetIntegrationSubscriptionByNameOK) IsServerError() bool

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

func (*GetIntegrationSubscriptionByNameOK) IsSuccess

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

func (*GetIntegrationSubscriptionByNameOK) String

type GetIntegrationSubscriptionByNameParams

type GetIntegrationSubscriptionByNameParams struct {

	// Body.
	Body GetIntegrationSubscriptionByNameBody

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

GetIntegrationSubscriptionByNameParams contains all the parameters to send to the API endpoint

for the get integration subscription by name operation.

Typically these are written to a http.Request.

func NewGetIntegrationSubscriptionByNameParams

func NewGetIntegrationSubscriptionByNameParams() *GetIntegrationSubscriptionByNameParams

NewGetIntegrationSubscriptionByNameParams creates a new GetIntegrationSubscriptionByNameParams 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 NewGetIntegrationSubscriptionByNameParamsWithContext

func NewGetIntegrationSubscriptionByNameParamsWithContext(ctx context.Context) *GetIntegrationSubscriptionByNameParams

NewGetIntegrationSubscriptionByNameParamsWithContext creates a new GetIntegrationSubscriptionByNameParams object with the ability to set a context for a request.

func NewGetIntegrationSubscriptionByNameParamsWithHTTPClient

func NewGetIntegrationSubscriptionByNameParamsWithHTTPClient(client *http.Client) *GetIntegrationSubscriptionByNameParams

NewGetIntegrationSubscriptionByNameParamsWithHTTPClient creates a new GetIntegrationSubscriptionByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetIntegrationSubscriptionByNameParamsWithTimeout

func NewGetIntegrationSubscriptionByNameParamsWithTimeout(timeout time.Duration) *GetIntegrationSubscriptionByNameParams

NewGetIntegrationSubscriptionByNameParamsWithTimeout creates a new GetIntegrationSubscriptionByNameParams object with the ability to set a timeout on a request.

func (*GetIntegrationSubscriptionByNameParams) SetBody

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

func (*GetIntegrationSubscriptionByNameParams) SetContext

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

func (*GetIntegrationSubscriptionByNameParams) SetDefaults

func (o *GetIntegrationSubscriptionByNameParams) SetDefaults()

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

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

func (*GetIntegrationSubscriptionByNameParams) SetHTTPClient

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

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

func (*GetIntegrationSubscriptionByNameParams) SetLocationProjectID

func (o *GetIntegrationSubscriptionByNameParams) SetLocationProjectID(locationProjectID string)

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

func (*GetIntegrationSubscriptionByNameParams) SetTimeout

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

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

func (*GetIntegrationSubscriptionByNameParams) WithBody

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

func (*GetIntegrationSubscriptionByNameParams) WithContext

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

func (*GetIntegrationSubscriptionByNameParams) WithDefaults

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

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

func (*GetIntegrationSubscriptionByNameParams) WithHTTPClient

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

func (*GetIntegrationSubscriptionByNameParams) WithLocationProjectID

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

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

func (*GetIntegrationSubscriptionByNameParams) WithTimeout

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

func (*GetIntegrationSubscriptionByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIntegrationSubscriptionByNameParamsBodyLocation

type GetIntegrationSubscriptionByNameParamsBodyLocation struct {

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

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

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

func (*GetIntegrationSubscriptionByNameParamsBodyLocation) ContextValidate

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

func (*GetIntegrationSubscriptionByNameParamsBodyLocation) MarshalBinary

MarshalBinary interface implementation

func (*GetIntegrationSubscriptionByNameParamsBodyLocation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetIntegrationSubscriptionByNameParamsBodyLocation) Validate

Validate validates this get integration subscription by name params body location

type GetIntegrationSubscriptionByNameReader

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

GetIntegrationSubscriptionByNameReader is a Reader for the GetIntegrationSubscriptionByName structure.

func (*GetIntegrationSubscriptionByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateIntegrationSubscriptionBody added in v0.122.0

type UpdateIntegrationSubscriptionBody struct {

	// connection id
	ConnectionID string `json:"connection_id,omitempty"`

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

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

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

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

UpdateIntegrationSubscriptionBody update integration subscription body swagger:model UpdateIntegrationSubscriptionBody

func (*UpdateIntegrationSubscriptionBody) ContextValidate added in v0.122.0

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

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

func (*UpdateIntegrationSubscriptionBody) MarshalBinary added in v0.122.0

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

MarshalBinary interface implementation

func (*UpdateIntegrationSubscriptionBody) UnmarshalBinary added in v0.122.0

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

UnmarshalBinary interface implementation

func (*UpdateIntegrationSubscriptionBody) Validate added in v0.122.0

Validate validates this update integration subscription body

type UpdateIntegrationSubscriptionDefault added in v0.122.0

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

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

An unexpected error response.

func NewUpdateIntegrationSubscriptionDefault added in v0.122.0

func NewUpdateIntegrationSubscriptionDefault(code int) *UpdateIntegrationSubscriptionDefault

NewUpdateIntegrationSubscriptionDefault creates a UpdateIntegrationSubscriptionDefault with default headers values

func (*UpdateIntegrationSubscriptionDefault) Code added in v0.122.0

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

func (*UpdateIntegrationSubscriptionDefault) Error added in v0.122.0

func (*UpdateIntegrationSubscriptionDefault) GetPayload added in v0.122.0

func (*UpdateIntegrationSubscriptionDefault) IsClientError added in v0.122.0

func (o *UpdateIntegrationSubscriptionDefault) IsClientError() bool

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

func (*UpdateIntegrationSubscriptionDefault) IsCode added in v0.122.0

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

func (*UpdateIntegrationSubscriptionDefault) IsRedirect added in v0.122.0

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

func (*UpdateIntegrationSubscriptionDefault) IsServerError added in v0.122.0

func (o *UpdateIntegrationSubscriptionDefault) IsServerError() bool

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

func (*UpdateIntegrationSubscriptionDefault) IsSuccess added in v0.122.0

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

func (*UpdateIntegrationSubscriptionDefault) String added in v0.122.0

type UpdateIntegrationSubscriptionOK added in v0.122.0

type UpdateIntegrationSubscriptionOK struct {
	Payload interface{}
}

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

A successful response.

func NewUpdateIntegrationSubscriptionOK added in v0.122.0

func NewUpdateIntegrationSubscriptionOK() *UpdateIntegrationSubscriptionOK

NewUpdateIntegrationSubscriptionOK creates a UpdateIntegrationSubscriptionOK with default headers values

func (*UpdateIntegrationSubscriptionOK) Code added in v0.122.0

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

func (*UpdateIntegrationSubscriptionOK) Error added in v0.122.0

func (*UpdateIntegrationSubscriptionOK) GetPayload added in v0.122.0

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

func (*UpdateIntegrationSubscriptionOK) IsClientError added in v0.122.0

func (o *UpdateIntegrationSubscriptionOK) IsClientError() bool

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

func (*UpdateIntegrationSubscriptionOK) IsCode added in v0.122.0

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

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

func (*UpdateIntegrationSubscriptionOK) IsRedirect added in v0.122.0

func (o *UpdateIntegrationSubscriptionOK) IsRedirect() bool

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

func (*UpdateIntegrationSubscriptionOK) IsServerError added in v0.122.0

func (o *UpdateIntegrationSubscriptionOK) IsServerError() bool

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

func (*UpdateIntegrationSubscriptionOK) IsSuccess added in v0.122.0

func (o *UpdateIntegrationSubscriptionOK) IsSuccess() bool

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

func (*UpdateIntegrationSubscriptionOK) String added in v0.122.0

type UpdateIntegrationSubscriptionParams added in v0.122.0

type UpdateIntegrationSubscriptionParams struct {

	// Body.
	Body UpdateIntegrationSubscriptionBody

	/* LocationProjectID.

	   project_id is the projects id.
	*/
	LocationProjectID string

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

UpdateIntegrationSubscriptionParams contains all the parameters to send to the API endpoint

for the update integration subscription operation.

Typically these are written to a http.Request.

func NewUpdateIntegrationSubscriptionParams added in v0.122.0

func NewUpdateIntegrationSubscriptionParams() *UpdateIntegrationSubscriptionParams

NewUpdateIntegrationSubscriptionParams creates a new UpdateIntegrationSubscriptionParams 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 NewUpdateIntegrationSubscriptionParamsWithContext added in v0.122.0

func NewUpdateIntegrationSubscriptionParamsWithContext(ctx context.Context) *UpdateIntegrationSubscriptionParams

NewUpdateIntegrationSubscriptionParamsWithContext creates a new UpdateIntegrationSubscriptionParams object with the ability to set a context for a request.

func NewUpdateIntegrationSubscriptionParamsWithHTTPClient added in v0.122.0

func NewUpdateIntegrationSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateIntegrationSubscriptionParams

NewUpdateIntegrationSubscriptionParamsWithHTTPClient creates a new UpdateIntegrationSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateIntegrationSubscriptionParamsWithTimeout added in v0.122.0

func NewUpdateIntegrationSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateIntegrationSubscriptionParams

NewUpdateIntegrationSubscriptionParamsWithTimeout creates a new UpdateIntegrationSubscriptionParams object with the ability to set a timeout on a request.

func (*UpdateIntegrationSubscriptionParams) SetBody added in v0.122.0

SetBody adds the body to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) SetContext added in v0.122.0

SetContext adds the context to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) SetDefaults added in v0.122.0

func (o *UpdateIntegrationSubscriptionParams) SetDefaults()

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

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

func (*UpdateIntegrationSubscriptionParams) SetHTTPClient added in v0.122.0

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

SetHTTPClient adds the HTTPClient to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) SetLocationProjectID added in v0.122.0

func (o *UpdateIntegrationSubscriptionParams) SetLocationProjectID(locationProjectID string)

SetLocationProjectID adds the locationProjectId to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) SetTimeout added in v0.122.0

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

SetTimeout adds the timeout to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) WithBody added in v0.122.0

WithBody adds the body to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) WithContext added in v0.122.0

WithContext adds the context to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) WithDefaults added in v0.122.0

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

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

func (*UpdateIntegrationSubscriptionParams) WithHTTPClient added in v0.122.0

WithHTTPClient adds the HTTPClient to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) WithLocationProjectID added in v0.122.0

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

WithLocationProjectID adds the locationProjectID to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) WithTimeout added in v0.122.0

WithTimeout adds the timeout to the update integration subscription params

func (*UpdateIntegrationSubscriptionParams) WriteToRequest added in v0.122.0

WriteToRequest writes these params to a swagger request

type UpdateIntegrationSubscriptionParamsBodyLocation added in v0.122.0

type UpdateIntegrationSubscriptionParamsBodyLocation struct {

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

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

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

func (*UpdateIntegrationSubscriptionParamsBodyLocation) ContextValidate added in v0.122.0

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

func (*UpdateIntegrationSubscriptionParamsBodyLocation) MarshalBinary added in v0.122.0

MarshalBinary interface implementation

func (*UpdateIntegrationSubscriptionParamsBodyLocation) UnmarshalBinary added in v0.122.0

UnmarshalBinary interface implementation

func (*UpdateIntegrationSubscriptionParamsBodyLocation) Validate added in v0.122.0

Validate validates this update integration subscription params body location

type UpdateIntegrationSubscriptionReader added in v0.122.0

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

UpdateIntegrationSubscriptionReader is a Reader for the UpdateIntegrationSubscription structure.

func (*UpdateIntegrationSubscriptionReader) ReadResponse added in v0.122.0

func (o *UpdateIntegrationSubscriptionReader) 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