Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateIntegrationSubscription(params *CreateIntegrationSubscriptionParams, ...) (*CreateIntegrationSubscriptionOK, error)
- func (a *Client) DeleteIntegrationSubscription(params *DeleteIntegrationSubscriptionParams, ...) (*DeleteIntegrationSubscriptionOK, error)
- func (a *Client) GetIntegrationSubscriptionByID(params *GetIntegrationSubscriptionByIDParams, ...) (*GetIntegrationSubscriptionByIDOK, error)
- func (a *Client) GetIntegrationSubscriptionByName(params *GetIntegrationSubscriptionByNameParams, ...) (*GetIntegrationSubscriptionByNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateIntegrationSubscription(params *UpdateIntegrationSubscriptionParams, ...) (*UpdateIntegrationSubscriptionOK, error)
- type ClientOption
- type ClientService
- type CreateIntegrationSubscriptionBody
- func (o *CreateIntegrationSubscriptionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateIntegrationSubscriptionBody) MarshalBinary() ([]byte, error)
- func (o *CreateIntegrationSubscriptionBody) UnmarshalBinary(b []byte) error
- func (o *CreateIntegrationSubscriptionBody) Validate(formats strfmt.Registry) error
- type CreateIntegrationSubscriptionDefault
- func (o *CreateIntegrationSubscriptionDefault) Code() int
- func (o *CreateIntegrationSubscriptionDefault) Error() string
- func (o *CreateIntegrationSubscriptionDefault) GetPayload() *models.RPCStatus
- func (o *CreateIntegrationSubscriptionDefault) IsClientError() bool
- func (o *CreateIntegrationSubscriptionDefault) IsCode(code int) bool
- func (o *CreateIntegrationSubscriptionDefault) IsRedirect() bool
- func (o *CreateIntegrationSubscriptionDefault) IsServerError() bool
- func (o *CreateIntegrationSubscriptionDefault) IsSuccess() bool
- func (o *CreateIntegrationSubscriptionDefault) String() string
- type CreateIntegrationSubscriptionOK
- func (o *CreateIntegrationSubscriptionOK) Code() int
- func (o *CreateIntegrationSubscriptionOK) Error() string
- func (o *CreateIntegrationSubscriptionOK) GetPayload() *models.VaultRadar20230501CreateIntegrationSubscriptionResponse
- func (o *CreateIntegrationSubscriptionOK) IsClientError() bool
- func (o *CreateIntegrationSubscriptionOK) IsCode(code int) bool
- func (o *CreateIntegrationSubscriptionOK) IsRedirect() bool
- func (o *CreateIntegrationSubscriptionOK) IsServerError() bool
- func (o *CreateIntegrationSubscriptionOK) IsSuccess() bool
- func (o *CreateIntegrationSubscriptionOK) String() string
- type CreateIntegrationSubscriptionParams
- func NewCreateIntegrationSubscriptionParams() *CreateIntegrationSubscriptionParams
- func NewCreateIntegrationSubscriptionParamsWithContext(ctx context.Context) *CreateIntegrationSubscriptionParams
- func NewCreateIntegrationSubscriptionParamsWithHTTPClient(client *http.Client) *CreateIntegrationSubscriptionParams
- func NewCreateIntegrationSubscriptionParamsWithTimeout(timeout time.Duration) *CreateIntegrationSubscriptionParams
- func (o *CreateIntegrationSubscriptionParams) SetBody(body CreateIntegrationSubscriptionBody)
- func (o *CreateIntegrationSubscriptionParams) SetContext(ctx context.Context)
- func (o *CreateIntegrationSubscriptionParams) SetDefaults()
- func (o *CreateIntegrationSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CreateIntegrationSubscriptionParams) SetLocationProjectID(locationProjectID string)
- func (o *CreateIntegrationSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CreateIntegrationSubscriptionParams) WithBody(body CreateIntegrationSubscriptionBody) *CreateIntegrationSubscriptionParams
- func (o *CreateIntegrationSubscriptionParams) WithContext(ctx context.Context) *CreateIntegrationSubscriptionParams
- func (o *CreateIntegrationSubscriptionParams) WithDefaults() *CreateIntegrationSubscriptionParams
- func (o *CreateIntegrationSubscriptionParams) WithHTTPClient(client *http.Client) *CreateIntegrationSubscriptionParams
- func (o *CreateIntegrationSubscriptionParams) WithLocationProjectID(locationProjectID string) *CreateIntegrationSubscriptionParams
- func (o *CreateIntegrationSubscriptionParams) WithTimeout(timeout time.Duration) *CreateIntegrationSubscriptionParams
- func (o *CreateIntegrationSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateIntegrationSubscriptionParamsBodyLocation
- func (o *CreateIntegrationSubscriptionParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateIntegrationSubscriptionParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *CreateIntegrationSubscriptionParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *CreateIntegrationSubscriptionParamsBodyLocation) Validate(formats strfmt.Registry) error
- type CreateIntegrationSubscriptionReader
- type DeleteIntegrationSubscriptionDefault
- func (o *DeleteIntegrationSubscriptionDefault) Code() int
- func (o *DeleteIntegrationSubscriptionDefault) Error() string
- func (o *DeleteIntegrationSubscriptionDefault) GetPayload() *models.RPCStatus
- func (o *DeleteIntegrationSubscriptionDefault) IsClientError() bool
- func (o *DeleteIntegrationSubscriptionDefault) IsCode(code int) bool
- func (o *DeleteIntegrationSubscriptionDefault) IsRedirect() bool
- func (o *DeleteIntegrationSubscriptionDefault) IsServerError() bool
- func (o *DeleteIntegrationSubscriptionDefault) IsSuccess() bool
- func (o *DeleteIntegrationSubscriptionDefault) String() string
- type DeleteIntegrationSubscriptionOK
- func (o *DeleteIntegrationSubscriptionOK) Code() int
- func (o *DeleteIntegrationSubscriptionOK) Error() string
- func (o *DeleteIntegrationSubscriptionOK) GetPayload() interface{}
- func (o *DeleteIntegrationSubscriptionOK) IsClientError() bool
- func (o *DeleteIntegrationSubscriptionOK) IsCode(code int) bool
- func (o *DeleteIntegrationSubscriptionOK) IsRedirect() bool
- func (o *DeleteIntegrationSubscriptionOK) IsServerError() bool
- func (o *DeleteIntegrationSubscriptionOK) IsSuccess() bool
- func (o *DeleteIntegrationSubscriptionOK) String() string
- type DeleteIntegrationSubscriptionParams
- func NewDeleteIntegrationSubscriptionParams() *DeleteIntegrationSubscriptionParams
- func NewDeleteIntegrationSubscriptionParamsWithContext(ctx context.Context) *DeleteIntegrationSubscriptionParams
- func NewDeleteIntegrationSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteIntegrationSubscriptionParams
- func NewDeleteIntegrationSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) SetContext(ctx context.Context)
- func (o *DeleteIntegrationSubscriptionParams) SetDefaults()
- func (o *DeleteIntegrationSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIntegrationSubscriptionParams) SetID(id string)
- func (o *DeleteIntegrationSubscriptionParams) SetLocationOrganizationID(locationOrganizationID *string)
- func (o *DeleteIntegrationSubscriptionParams) SetLocationProjectID(locationProjectID string)
- func (o *DeleteIntegrationSubscriptionParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DeleteIntegrationSubscriptionParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DeleteIntegrationSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIntegrationSubscriptionParams) WithContext(ctx context.Context) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WithDefaults() *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WithID(id string) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WithLocationOrganizationID(locationOrganizationID *string) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WithLocationProjectID(locationProjectID string) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteIntegrationSubscriptionParams
- func (o *DeleteIntegrationSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIntegrationSubscriptionReader
- type GetIntegrationSubscriptionByIDDefault
- func (o *GetIntegrationSubscriptionByIDDefault) Code() int
- func (o *GetIntegrationSubscriptionByIDDefault) Error() string
- func (o *GetIntegrationSubscriptionByIDDefault) GetPayload() *models.RPCStatus
- func (o *GetIntegrationSubscriptionByIDDefault) IsClientError() bool
- func (o *GetIntegrationSubscriptionByIDDefault) IsCode(code int) bool
- func (o *GetIntegrationSubscriptionByIDDefault) IsRedirect() bool
- func (o *GetIntegrationSubscriptionByIDDefault) IsServerError() bool
- func (o *GetIntegrationSubscriptionByIDDefault) IsSuccess() bool
- func (o *GetIntegrationSubscriptionByIDDefault) String() string
- type GetIntegrationSubscriptionByIDOK
- func (o *GetIntegrationSubscriptionByIDOK) Code() int
- func (o *GetIntegrationSubscriptionByIDOK) Error() string
- func (o *GetIntegrationSubscriptionByIDOK) GetPayload() *models.VaultRadar20230501IntegrationSubscription
- func (o *GetIntegrationSubscriptionByIDOK) IsClientError() bool
- func (o *GetIntegrationSubscriptionByIDOK) IsCode(code int) bool
- func (o *GetIntegrationSubscriptionByIDOK) IsRedirect() bool
- func (o *GetIntegrationSubscriptionByIDOK) IsServerError() bool
- func (o *GetIntegrationSubscriptionByIDOK) IsSuccess() bool
- func (o *GetIntegrationSubscriptionByIDOK) String() string
- type GetIntegrationSubscriptionByIDParams
- func NewGetIntegrationSubscriptionByIDParams() *GetIntegrationSubscriptionByIDParams
- func NewGetIntegrationSubscriptionByIDParamsWithContext(ctx context.Context) *GetIntegrationSubscriptionByIDParams
- func NewGetIntegrationSubscriptionByIDParamsWithHTTPClient(client *http.Client) *GetIntegrationSubscriptionByIDParams
- func NewGetIntegrationSubscriptionByIDParamsWithTimeout(timeout time.Duration) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) SetContext(ctx context.Context)
- func (o *GetIntegrationSubscriptionByIDParams) SetDefaults()
- func (o *GetIntegrationSubscriptionByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetIntegrationSubscriptionByIDParams) SetID(id string)
- func (o *GetIntegrationSubscriptionByIDParams) SetLocationOrganizationID(locationOrganizationID *string)
- func (o *GetIntegrationSubscriptionByIDParams) SetLocationProjectID(locationProjectID string)
- func (o *GetIntegrationSubscriptionByIDParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetIntegrationSubscriptionByIDParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetIntegrationSubscriptionByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetIntegrationSubscriptionByIDParams) WithContext(ctx context.Context) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WithDefaults() *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WithHTTPClient(client *http.Client) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WithID(id string) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WithLocationOrganizationID(locationOrganizationID *string) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WithLocationProjectID(locationProjectID string) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WithLocationRegionProvider(locationRegionProvider *string) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WithLocationRegionRegion(locationRegionRegion *string) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetIntegrationSubscriptionByIDParams
- func (o *GetIntegrationSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIntegrationSubscriptionByIDReader
- type GetIntegrationSubscriptionByNameBody
- func (o *GetIntegrationSubscriptionByNameBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetIntegrationSubscriptionByNameBody) MarshalBinary() ([]byte, error)
- func (o *GetIntegrationSubscriptionByNameBody) UnmarshalBinary(b []byte) error
- func (o *GetIntegrationSubscriptionByNameBody) Validate(formats strfmt.Registry) error
- type GetIntegrationSubscriptionByNameDefault
- func (o *GetIntegrationSubscriptionByNameDefault) Code() int
- func (o *GetIntegrationSubscriptionByNameDefault) Error() string
- func (o *GetIntegrationSubscriptionByNameDefault) GetPayload() *models.RPCStatus
- func (o *GetIntegrationSubscriptionByNameDefault) IsClientError() bool
- func (o *GetIntegrationSubscriptionByNameDefault) IsCode(code int) bool
- func (o *GetIntegrationSubscriptionByNameDefault) IsRedirect() bool
- func (o *GetIntegrationSubscriptionByNameDefault) IsServerError() bool
- func (o *GetIntegrationSubscriptionByNameDefault) IsSuccess() bool
- func (o *GetIntegrationSubscriptionByNameDefault) String() string
- type GetIntegrationSubscriptionByNameOK
- func (o *GetIntegrationSubscriptionByNameOK) Code() int
- func (o *GetIntegrationSubscriptionByNameOK) Error() string
- func (o *GetIntegrationSubscriptionByNameOK) GetPayload() *models.VaultRadar20230501IntegrationSubscription
- func (o *GetIntegrationSubscriptionByNameOK) IsClientError() bool
- func (o *GetIntegrationSubscriptionByNameOK) IsCode(code int) bool
- func (o *GetIntegrationSubscriptionByNameOK) IsRedirect() bool
- func (o *GetIntegrationSubscriptionByNameOK) IsServerError() bool
- func (o *GetIntegrationSubscriptionByNameOK) IsSuccess() bool
- func (o *GetIntegrationSubscriptionByNameOK) String() string
- type GetIntegrationSubscriptionByNameParams
- func NewGetIntegrationSubscriptionByNameParams() *GetIntegrationSubscriptionByNameParams
- func NewGetIntegrationSubscriptionByNameParamsWithContext(ctx context.Context) *GetIntegrationSubscriptionByNameParams
- func NewGetIntegrationSubscriptionByNameParamsWithHTTPClient(client *http.Client) *GetIntegrationSubscriptionByNameParams
- func NewGetIntegrationSubscriptionByNameParamsWithTimeout(timeout time.Duration) *GetIntegrationSubscriptionByNameParams
- func (o *GetIntegrationSubscriptionByNameParams) SetBody(body GetIntegrationSubscriptionByNameBody)
- func (o *GetIntegrationSubscriptionByNameParams) SetContext(ctx context.Context)
- func (o *GetIntegrationSubscriptionByNameParams) SetDefaults()
- func (o *GetIntegrationSubscriptionByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetIntegrationSubscriptionByNameParams) SetLocationProjectID(locationProjectID string)
- func (o *GetIntegrationSubscriptionByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetIntegrationSubscriptionByNameParams) WithBody(body GetIntegrationSubscriptionByNameBody) *GetIntegrationSubscriptionByNameParams
- func (o *GetIntegrationSubscriptionByNameParams) WithContext(ctx context.Context) *GetIntegrationSubscriptionByNameParams
- func (o *GetIntegrationSubscriptionByNameParams) WithDefaults() *GetIntegrationSubscriptionByNameParams
- func (o *GetIntegrationSubscriptionByNameParams) WithHTTPClient(client *http.Client) *GetIntegrationSubscriptionByNameParams
- func (o *GetIntegrationSubscriptionByNameParams) WithLocationProjectID(locationProjectID string) *GetIntegrationSubscriptionByNameParams
- func (o *GetIntegrationSubscriptionByNameParams) WithTimeout(timeout time.Duration) *GetIntegrationSubscriptionByNameParams
- func (o *GetIntegrationSubscriptionByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIntegrationSubscriptionByNameParamsBodyLocation
- func (o *GetIntegrationSubscriptionByNameParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetIntegrationSubscriptionByNameParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *GetIntegrationSubscriptionByNameParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *GetIntegrationSubscriptionByNameParamsBodyLocation) Validate(formats strfmt.Registry) error
- type GetIntegrationSubscriptionByNameReader
- type UpdateIntegrationSubscriptionBody
- func (o *UpdateIntegrationSubscriptionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateIntegrationSubscriptionBody) MarshalBinary() ([]byte, error)
- func (o *UpdateIntegrationSubscriptionBody) UnmarshalBinary(b []byte) error
- func (o *UpdateIntegrationSubscriptionBody) Validate(formats strfmt.Registry) error
- type UpdateIntegrationSubscriptionDefault
- func (o *UpdateIntegrationSubscriptionDefault) Code() int
- func (o *UpdateIntegrationSubscriptionDefault) Error() string
- func (o *UpdateIntegrationSubscriptionDefault) GetPayload() *models.RPCStatus
- func (o *UpdateIntegrationSubscriptionDefault) IsClientError() bool
- func (o *UpdateIntegrationSubscriptionDefault) IsCode(code int) bool
- func (o *UpdateIntegrationSubscriptionDefault) IsRedirect() bool
- func (o *UpdateIntegrationSubscriptionDefault) IsServerError() bool
- func (o *UpdateIntegrationSubscriptionDefault) IsSuccess() bool
- func (o *UpdateIntegrationSubscriptionDefault) String() string
- type UpdateIntegrationSubscriptionOK
- func (o *UpdateIntegrationSubscriptionOK) Code() int
- func (o *UpdateIntegrationSubscriptionOK) Error() string
- func (o *UpdateIntegrationSubscriptionOK) GetPayload() interface{}
- func (o *UpdateIntegrationSubscriptionOK) IsClientError() bool
- func (o *UpdateIntegrationSubscriptionOK) IsCode(code int) bool
- func (o *UpdateIntegrationSubscriptionOK) IsRedirect() bool
- func (o *UpdateIntegrationSubscriptionOK) IsServerError() bool
- func (o *UpdateIntegrationSubscriptionOK) IsSuccess() bool
- func (o *UpdateIntegrationSubscriptionOK) String() string
- type UpdateIntegrationSubscriptionParams
- func NewUpdateIntegrationSubscriptionParams() *UpdateIntegrationSubscriptionParams
- func NewUpdateIntegrationSubscriptionParamsWithContext(ctx context.Context) *UpdateIntegrationSubscriptionParams
- func NewUpdateIntegrationSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateIntegrationSubscriptionParams
- func NewUpdateIntegrationSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateIntegrationSubscriptionParams
- func (o *UpdateIntegrationSubscriptionParams) SetBody(body UpdateIntegrationSubscriptionBody)
- func (o *UpdateIntegrationSubscriptionParams) SetContext(ctx context.Context)
- func (o *UpdateIntegrationSubscriptionParams) SetDefaults()
- func (o *UpdateIntegrationSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateIntegrationSubscriptionParams) SetLocationProjectID(locationProjectID string)
- func (o *UpdateIntegrationSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateIntegrationSubscriptionParams) WithBody(body UpdateIntegrationSubscriptionBody) *UpdateIntegrationSubscriptionParams
- func (o *UpdateIntegrationSubscriptionParams) WithContext(ctx context.Context) *UpdateIntegrationSubscriptionParams
- func (o *UpdateIntegrationSubscriptionParams) WithDefaults() *UpdateIntegrationSubscriptionParams
- func (o *UpdateIntegrationSubscriptionParams) WithHTTPClient(client *http.Client) *UpdateIntegrationSubscriptionParams
- func (o *UpdateIntegrationSubscriptionParams) WithLocationProjectID(locationProjectID string) *UpdateIntegrationSubscriptionParams
- func (o *UpdateIntegrationSubscriptionParams) WithTimeout(timeout time.Duration) *UpdateIntegrationSubscriptionParams
- func (o *UpdateIntegrationSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateIntegrationSubscriptionParamsBodyLocation
- func (o *UpdateIntegrationSubscriptionParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateIntegrationSubscriptionParamsBodyLocation) MarshalBinary() ([]byte, error)
- func (o *UpdateIntegrationSubscriptionParamsBodyLocation) UnmarshalBinary(b []byte) error
- func (o *UpdateIntegrationSubscriptionParamsBodyLocation) Validate(formats strfmt.Registry) error
- type UpdateIntegrationSubscriptionReader
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
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 ¶
func (o *CreateIntegrationSubscriptionDefault) Code() int
Code gets the status code for the create integration subscription default response
func (*CreateIntegrationSubscriptionDefault) Error ¶
func (o *CreateIntegrationSubscriptionDefault) Error() string
func (*CreateIntegrationSubscriptionDefault) GetPayload ¶
func (o *CreateIntegrationSubscriptionDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *CreateIntegrationSubscriptionDefault) IsCode(code int) bool
IsCode returns true when this create integration subscription default response a status code equal to that given
func (*CreateIntegrationSubscriptionDefault) IsRedirect ¶
func (o *CreateIntegrationSubscriptionDefault) IsRedirect() bool
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 ¶
func (o *CreateIntegrationSubscriptionDefault) IsSuccess() bool
IsSuccess returns true when this create integration subscription default response has a 2xx status code
func (*CreateIntegrationSubscriptionDefault) String ¶
func (o *CreateIntegrationSubscriptionDefault) String() 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 ¶
func (o *CreateIntegrationSubscriptionOK) Code() int
Code gets the status code for the create integration subscription o k response
func (*CreateIntegrationSubscriptionOK) Error ¶
func (o *CreateIntegrationSubscriptionOK) Error() string
func (*CreateIntegrationSubscriptionOK) GetPayload ¶
func (o *CreateIntegrationSubscriptionOK) GetPayload() *models.VaultRadar20230501CreateIntegrationSubscriptionResponse
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 ¶
func (o *CreateIntegrationSubscriptionOK) String() 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 ¶
func (o *CreateIntegrationSubscriptionParams) SetBody(body CreateIntegrationSubscriptionBody)
SetBody adds the body to the create integration subscription params
func (*CreateIntegrationSubscriptionParams) SetContext ¶
func (o *CreateIntegrationSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateIntegrationSubscriptionParams) WithBody(body CreateIntegrationSubscriptionBody) *CreateIntegrationSubscriptionParams
WithBody adds the body to the create integration subscription params
func (*CreateIntegrationSubscriptionParams) WithContext ¶
func (o *CreateIntegrationSubscriptionParams) WithContext(ctx context.Context) *CreateIntegrationSubscriptionParams
WithContext adds the context to the create integration subscription params
func (*CreateIntegrationSubscriptionParams) WithDefaults ¶
func (o *CreateIntegrationSubscriptionParams) WithDefaults() *CreateIntegrationSubscriptionParams
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 ¶
func (o *CreateIntegrationSubscriptionParams) WithHTTPClient(client *http.Client) *CreateIntegrationSubscriptionParams
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 ¶
func (o *CreateIntegrationSubscriptionParams) WithTimeout(timeout time.Duration) *CreateIntegrationSubscriptionParams
WithTimeout adds the timeout to the create integration subscription params
func (*CreateIntegrationSubscriptionParams) WriteToRequest ¶
func (o *CreateIntegrationSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateIntegrationSubscriptionParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create integration subscription params body location based on the context it is used
func (*CreateIntegrationSubscriptionParamsBodyLocation) MarshalBinary ¶
func (o *CreateIntegrationSubscriptionParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateIntegrationSubscriptionParamsBodyLocation) UnmarshalBinary ¶
func (o *CreateIntegrationSubscriptionParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *DeleteIntegrationSubscriptionDefault) Code() int
Code gets the status code for the delete integration subscription default response
func (*DeleteIntegrationSubscriptionDefault) Error ¶
func (o *DeleteIntegrationSubscriptionDefault) Error() string
func (*DeleteIntegrationSubscriptionDefault) GetPayload ¶
func (o *DeleteIntegrationSubscriptionDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *DeleteIntegrationSubscriptionDefault) IsCode(code int) bool
IsCode returns true when this delete integration subscription default response a status code equal to that given
func (*DeleteIntegrationSubscriptionDefault) IsRedirect ¶
func (o *DeleteIntegrationSubscriptionDefault) IsRedirect() bool
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 ¶
func (o *DeleteIntegrationSubscriptionDefault) IsSuccess() bool
IsSuccess returns true when this delete integration subscription default response has a 2xx status code
func (*DeleteIntegrationSubscriptionDefault) String ¶
func (o *DeleteIntegrationSubscriptionDefault) String() 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 ¶
func (o *DeleteIntegrationSubscriptionOK) Code() int
Code gets the status code for the delete integration subscription o k response
func (*DeleteIntegrationSubscriptionOK) Error ¶
func (o *DeleteIntegrationSubscriptionOK) Error() string
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 ¶
func (o *DeleteIntegrationSubscriptionOK) String() 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 ¶
func (o *DeleteIntegrationSubscriptionParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteIntegrationSubscriptionParams) SetID(id string)
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 ¶
func (o *DeleteIntegrationSubscriptionParams) WithContext(ctx context.Context) *DeleteIntegrationSubscriptionParams
WithContext adds the context to the delete integration subscription params
func (*DeleteIntegrationSubscriptionParams) WithDefaults ¶
func (o *DeleteIntegrationSubscriptionParams) WithDefaults() *DeleteIntegrationSubscriptionParams
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 ¶
func (o *DeleteIntegrationSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteIntegrationSubscriptionParams
WithHTTPClient adds the HTTPClient to the delete integration subscription params
func (*DeleteIntegrationSubscriptionParams) WithID ¶
func (o *DeleteIntegrationSubscriptionParams) WithID(id string) *DeleteIntegrationSubscriptionParams
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 ¶
func (o *DeleteIntegrationSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteIntegrationSubscriptionParams
WithTimeout adds the timeout to the delete integration subscription params
func (*DeleteIntegrationSubscriptionParams) WriteToRequest ¶
func (o *DeleteIntegrationSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetIntegrationSubscriptionByIDDefault) Code() int
Code gets the status code for the get integration subscription by ID default response
func (*GetIntegrationSubscriptionByIDDefault) Error ¶
func (o *GetIntegrationSubscriptionByIDDefault) Error() string
func (*GetIntegrationSubscriptionByIDDefault) GetPayload ¶
func (o *GetIntegrationSubscriptionByIDDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *GetIntegrationSubscriptionByIDDefault) IsCode(code int) bool
IsCode returns true when this get integration subscription by ID default response a status code equal to that given
func (*GetIntegrationSubscriptionByIDDefault) IsRedirect ¶
func (o *GetIntegrationSubscriptionByIDDefault) IsRedirect() bool
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 ¶
func (o *GetIntegrationSubscriptionByIDDefault) IsSuccess() bool
IsSuccess returns true when this get integration subscription by ID default response has a 2xx status code
func (*GetIntegrationSubscriptionByIDDefault) String ¶
func (o *GetIntegrationSubscriptionByIDDefault) String() 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 ¶
func (o *GetIntegrationSubscriptionByIDOK) Code() int
Code gets the status code for the get integration subscription by Id o k response
func (*GetIntegrationSubscriptionByIDOK) Error ¶
func (o *GetIntegrationSubscriptionByIDOK) Error() string
func (*GetIntegrationSubscriptionByIDOK) GetPayload ¶
func (o *GetIntegrationSubscriptionByIDOK) GetPayload() *models.VaultRadar20230501IntegrationSubscription
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 ¶
func (o *GetIntegrationSubscriptionByIDOK) String() 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 ¶
func (o *GetIntegrationSubscriptionByIDParams) SetContext(ctx context.Context)
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 ¶
func (o *GetIntegrationSubscriptionByIDParams) SetID(id string)
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 ¶
func (o *GetIntegrationSubscriptionByIDParams) WithContext(ctx context.Context) *GetIntegrationSubscriptionByIDParams
WithContext adds the context to the get integration subscription by ID params
func (*GetIntegrationSubscriptionByIDParams) WithDefaults ¶
func (o *GetIntegrationSubscriptionByIDParams) WithDefaults() *GetIntegrationSubscriptionByIDParams
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 ¶
func (o *GetIntegrationSubscriptionByIDParams) WithHTTPClient(client *http.Client) *GetIntegrationSubscriptionByIDParams
WithHTTPClient adds the HTTPClient to the get integration subscription by ID params
func (*GetIntegrationSubscriptionByIDParams) WithID ¶
func (o *GetIntegrationSubscriptionByIDParams) WithID(id string) *GetIntegrationSubscriptionByIDParams
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 ¶
func (o *GetIntegrationSubscriptionByIDParams) WithTimeout(timeout time.Duration) *GetIntegrationSubscriptionByIDParams
WithTimeout adds the timeout to the get integration subscription by ID params
func (*GetIntegrationSubscriptionByIDParams) WriteToRequest ¶
func (o *GetIntegrationSubscriptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *GetIntegrationSubscriptionByNameDefault) Code() int
Code gets the status code for the get integration subscription by name default response
func (*GetIntegrationSubscriptionByNameDefault) Error ¶
func (o *GetIntegrationSubscriptionByNameDefault) Error() string
func (*GetIntegrationSubscriptionByNameDefault) GetPayload ¶
func (o *GetIntegrationSubscriptionByNameDefault) GetPayload() *models.RPCStatus
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 ¶
func (o *GetIntegrationSubscriptionByNameDefault) IsCode(code int) bool
IsCode returns true when this get integration subscription by name default response a status code equal to that given
func (*GetIntegrationSubscriptionByNameDefault) IsRedirect ¶
func (o *GetIntegrationSubscriptionByNameDefault) IsRedirect() bool
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 ¶
func (o *GetIntegrationSubscriptionByNameDefault) IsSuccess() bool
IsSuccess returns true when this get integration subscription by name default response has a 2xx status code
func (*GetIntegrationSubscriptionByNameDefault) String ¶
func (o *GetIntegrationSubscriptionByNameDefault) String() 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 ¶
func (o *GetIntegrationSubscriptionByNameOK) Code() int
Code gets the status code for the get integration subscription by name o k response
func (*GetIntegrationSubscriptionByNameOK) Error ¶
func (o *GetIntegrationSubscriptionByNameOK) Error() string
func (*GetIntegrationSubscriptionByNameOK) GetPayload ¶
func (o *GetIntegrationSubscriptionByNameOK) GetPayload() *models.VaultRadar20230501IntegrationSubscription
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 ¶
func (o *GetIntegrationSubscriptionByNameOK) IsCode(code int) bool
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 ¶
func (o *GetIntegrationSubscriptionByNameOK) IsSuccess() bool
IsSuccess returns true when this get integration subscription by name o k response has a 2xx status code
func (*GetIntegrationSubscriptionByNameOK) String ¶
func (o *GetIntegrationSubscriptionByNameOK) String() 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 ¶
func (o *GetIntegrationSubscriptionByNameParams) SetBody(body GetIntegrationSubscriptionByNameBody)
SetBody adds the body to the get integration subscription by name params
func (*GetIntegrationSubscriptionByNameParams) SetContext ¶
func (o *GetIntegrationSubscriptionByNameParams) SetContext(ctx context.Context)
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 ¶
func (o *GetIntegrationSubscriptionByNameParams) WithBody(body GetIntegrationSubscriptionByNameBody) *GetIntegrationSubscriptionByNameParams
WithBody adds the body to the get integration subscription by name params
func (*GetIntegrationSubscriptionByNameParams) WithContext ¶
func (o *GetIntegrationSubscriptionByNameParams) WithContext(ctx context.Context) *GetIntegrationSubscriptionByNameParams
WithContext adds the context to the get integration subscription by name params
func (*GetIntegrationSubscriptionByNameParams) WithDefaults ¶
func (o *GetIntegrationSubscriptionByNameParams) WithDefaults() *GetIntegrationSubscriptionByNameParams
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 ¶
func (o *GetIntegrationSubscriptionByNameParams) WithHTTPClient(client *http.Client) *GetIntegrationSubscriptionByNameParams
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 ¶
func (o *GetIntegrationSubscriptionByNameParams) WithTimeout(timeout time.Duration) *GetIntegrationSubscriptionByNameParams
WithTimeout adds the timeout to the get integration subscription by name params
func (*GetIntegrationSubscriptionByNameParams) WriteToRequest ¶
func (o *GetIntegrationSubscriptionByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetIntegrationSubscriptionByNameParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get integration subscription by name params body location based on the context it is used
func (*GetIntegrationSubscriptionByNameParamsBodyLocation) MarshalBinary ¶
func (o *GetIntegrationSubscriptionByNameParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetIntegrationSubscriptionByNameParamsBodyLocation) UnmarshalBinary ¶
func (o *GetIntegrationSubscriptionByNameParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
func (o *UpdateIntegrationSubscriptionDefault) Code() int
Code gets the status code for the update integration subscription default response
func (*UpdateIntegrationSubscriptionDefault) Error ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionDefault) Error() string
func (*UpdateIntegrationSubscriptionDefault) GetPayload ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionDefault) GetPayload() *models.RPCStatus
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
func (o *UpdateIntegrationSubscriptionDefault) IsCode(code int) bool
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
func (o *UpdateIntegrationSubscriptionDefault) IsRedirect() bool
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
func (o *UpdateIntegrationSubscriptionDefault) IsSuccess() bool
IsSuccess returns true when this update integration subscription default response has a 2xx status code
func (*UpdateIntegrationSubscriptionDefault) String ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionDefault) String() string
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
func (o *UpdateIntegrationSubscriptionOK) Code() int
Code gets the status code for the update integration subscription o k response
func (*UpdateIntegrationSubscriptionOK) Error ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionOK) Error() string
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
func (o *UpdateIntegrationSubscriptionOK) String() string
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
func (o *UpdateIntegrationSubscriptionParams) SetBody(body UpdateIntegrationSubscriptionBody)
SetBody adds the body to the update integration subscription params
func (*UpdateIntegrationSubscriptionParams) SetContext ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionParams) SetContext(ctx context.Context)
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
func (o *UpdateIntegrationSubscriptionParams) WithBody(body UpdateIntegrationSubscriptionBody) *UpdateIntegrationSubscriptionParams
WithBody adds the body to the update integration subscription params
func (*UpdateIntegrationSubscriptionParams) WithContext ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionParams) WithContext(ctx context.Context) *UpdateIntegrationSubscriptionParams
WithContext adds the context to the update integration subscription params
func (*UpdateIntegrationSubscriptionParams) WithDefaults ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionParams) WithDefaults() *UpdateIntegrationSubscriptionParams
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
func (o *UpdateIntegrationSubscriptionParams) WithHTTPClient(client *http.Client) *UpdateIntegrationSubscriptionParams
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
func (o *UpdateIntegrationSubscriptionParams) WithTimeout(timeout time.Duration) *UpdateIntegrationSubscriptionParams
WithTimeout adds the timeout to the update integration subscription params
func (*UpdateIntegrationSubscriptionParams) WriteToRequest ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *UpdateIntegrationSubscriptionParamsBodyLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update integration subscription params body location based on the context it is used
func (*UpdateIntegrationSubscriptionParamsBodyLocation) MarshalBinary ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionParamsBodyLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateIntegrationSubscriptionParamsBodyLocation) UnmarshalBinary ¶ added in v0.122.0
func (o *UpdateIntegrationSubscriptionParamsBodyLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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.
Source Files ¶
- create_integration_subscription_parameters.go
- create_integration_subscription_responses.go
- delete_integration_subscription_parameters.go
- delete_integration_subscription_responses.go
- get_integration_subscription_by_id_parameters.go
- get_integration_subscription_by_id_responses.go
- get_integration_subscription_by_name_parameters.go
- get_integration_subscription_by_name_responses.go
- integration_subscription_service_client.go
- update_integration_subscription_parameters.go
- update_integration_subscription_responses.go