Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) WebhookServiceCreateWebhook(params *WebhookServiceCreateWebhookParams, ...) (*WebhookServiceCreateWebhookOK, error)
- func (a *Client) WebhookServiceDeleteWebhook(params *WebhookServiceDeleteWebhookParams, ...) (*WebhookServiceDeleteWebhookOK, error)
- func (a *Client) WebhookServiceGetWebhook(params *WebhookServiceGetWebhookParams, authInfo runtime.ClientAuthInfoWriter, ...) (*WebhookServiceGetWebhookOK, error)
- func (a *Client) WebhookServiceListWebhookDeliveries(params *WebhookServiceListWebhookDeliveriesParams, ...) (*WebhookServiceListWebhookDeliveriesOK, error)
- func (a *Client) WebhookServiceListWebhooks(params *WebhookServiceListWebhooksParams, ...) (*WebhookServiceListWebhooksOK, error)
- func (a *Client) WebhookServiceUpdateWebhook(params *WebhookServiceUpdateWebhookParams, ...) (*WebhookServiceUpdateWebhookOK, error)
- func (a *Client) WebhookServiceUpdateWebhookName(params *WebhookServiceUpdateWebhookNameParams, ...) (*WebhookServiceUpdateWebhookNameOK, error)
- type ClientOption
- type ClientService
- type WebhookServiceCreateWebhookDefault
- func (o *WebhookServiceCreateWebhookDefault) Code() int
- func (o *WebhookServiceCreateWebhookDefault) Error() string
- func (o *WebhookServiceCreateWebhookDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *WebhookServiceCreateWebhookDefault) IsClientError() bool
- func (o *WebhookServiceCreateWebhookDefault) IsCode(code int) bool
- func (o *WebhookServiceCreateWebhookDefault) IsRedirect() bool
- func (o *WebhookServiceCreateWebhookDefault) IsServerError() bool
- func (o *WebhookServiceCreateWebhookDefault) IsSuccess() bool
- func (o *WebhookServiceCreateWebhookDefault) String() string
- type WebhookServiceCreateWebhookOK
- func (o *WebhookServiceCreateWebhookOK) Code() int
- func (o *WebhookServiceCreateWebhookOK) Error() string
- func (o *WebhookServiceCreateWebhookOK) GetPayload() *models.HashicorpCloudWebhookCreateWebhookResponse
- func (o *WebhookServiceCreateWebhookOK) IsClientError() bool
- func (o *WebhookServiceCreateWebhookOK) IsCode(code int) bool
- func (o *WebhookServiceCreateWebhookOK) IsRedirect() bool
- func (o *WebhookServiceCreateWebhookOK) IsServerError() bool
- func (o *WebhookServiceCreateWebhookOK) IsSuccess() bool
- func (o *WebhookServiceCreateWebhookOK) String() string
- type WebhookServiceCreateWebhookParams
- func NewWebhookServiceCreateWebhookParams() *WebhookServiceCreateWebhookParams
- func NewWebhookServiceCreateWebhookParamsWithContext(ctx context.Context) *WebhookServiceCreateWebhookParams
- func NewWebhookServiceCreateWebhookParamsWithHTTPClient(client *http.Client) *WebhookServiceCreateWebhookParams
- func NewWebhookServiceCreateWebhookParamsWithTimeout(timeout time.Duration) *WebhookServiceCreateWebhookParams
- func (o *WebhookServiceCreateWebhookParams) SetBody(body *models.HashicorpCloudWebhookCreateWebhookRequestBody)
- func (o *WebhookServiceCreateWebhookParams) SetContext(ctx context.Context)
- func (o *WebhookServiceCreateWebhookParams) SetDefaults()
- func (o *WebhookServiceCreateWebhookParams) SetHTTPClient(client *http.Client)
- func (o *WebhookServiceCreateWebhookParams) SetParentResourceName(parentResourceName string)
- func (o *WebhookServiceCreateWebhookParams) SetTimeout(timeout time.Duration)
- func (o *WebhookServiceCreateWebhookParams) WithBody(body *models.HashicorpCloudWebhookCreateWebhookRequestBody) *WebhookServiceCreateWebhookParams
- func (o *WebhookServiceCreateWebhookParams) WithContext(ctx context.Context) *WebhookServiceCreateWebhookParams
- func (o *WebhookServiceCreateWebhookParams) WithDefaults() *WebhookServiceCreateWebhookParams
- func (o *WebhookServiceCreateWebhookParams) WithHTTPClient(client *http.Client) *WebhookServiceCreateWebhookParams
- func (o *WebhookServiceCreateWebhookParams) WithParentResourceName(parentResourceName string) *WebhookServiceCreateWebhookParams
- func (o *WebhookServiceCreateWebhookParams) WithTimeout(timeout time.Duration) *WebhookServiceCreateWebhookParams
- func (o *WebhookServiceCreateWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WebhookServiceCreateWebhookReader
- type WebhookServiceDeleteWebhookDefault
- func (o *WebhookServiceDeleteWebhookDefault) Code() int
- func (o *WebhookServiceDeleteWebhookDefault) Error() string
- func (o *WebhookServiceDeleteWebhookDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *WebhookServiceDeleteWebhookDefault) IsClientError() bool
- func (o *WebhookServiceDeleteWebhookDefault) IsCode(code int) bool
- func (o *WebhookServiceDeleteWebhookDefault) IsRedirect() bool
- func (o *WebhookServiceDeleteWebhookDefault) IsServerError() bool
- func (o *WebhookServiceDeleteWebhookDefault) IsSuccess() bool
- func (o *WebhookServiceDeleteWebhookDefault) String() string
- type WebhookServiceDeleteWebhookOK
- func (o *WebhookServiceDeleteWebhookOK) Code() int
- func (o *WebhookServiceDeleteWebhookOK) Error() string
- func (o *WebhookServiceDeleteWebhookOK) GetPayload() models.HashicorpCloudWebhookDeleteWebhookResponse
- func (o *WebhookServiceDeleteWebhookOK) IsClientError() bool
- func (o *WebhookServiceDeleteWebhookOK) IsCode(code int) bool
- func (o *WebhookServiceDeleteWebhookOK) IsRedirect() bool
- func (o *WebhookServiceDeleteWebhookOK) IsServerError() bool
- func (o *WebhookServiceDeleteWebhookOK) IsSuccess() bool
- func (o *WebhookServiceDeleteWebhookOK) String() string
- type WebhookServiceDeleteWebhookParams
- func NewWebhookServiceDeleteWebhookParams() *WebhookServiceDeleteWebhookParams
- func NewWebhookServiceDeleteWebhookParamsWithContext(ctx context.Context) *WebhookServiceDeleteWebhookParams
- func NewWebhookServiceDeleteWebhookParamsWithHTTPClient(client *http.Client) *WebhookServiceDeleteWebhookParams
- func NewWebhookServiceDeleteWebhookParamsWithTimeout(timeout time.Duration) *WebhookServiceDeleteWebhookParams
- func (o *WebhookServiceDeleteWebhookParams) SetContext(ctx context.Context)
- func (o *WebhookServiceDeleteWebhookParams) SetDefaults()
- func (o *WebhookServiceDeleteWebhookParams) SetHTTPClient(client *http.Client)
- func (o *WebhookServiceDeleteWebhookParams) SetResourceName(resourceName string)
- func (o *WebhookServiceDeleteWebhookParams) SetTimeout(timeout time.Duration)
- func (o *WebhookServiceDeleteWebhookParams) WithContext(ctx context.Context) *WebhookServiceDeleteWebhookParams
- func (o *WebhookServiceDeleteWebhookParams) WithDefaults() *WebhookServiceDeleteWebhookParams
- func (o *WebhookServiceDeleteWebhookParams) WithHTTPClient(client *http.Client) *WebhookServiceDeleteWebhookParams
- func (o *WebhookServiceDeleteWebhookParams) WithResourceName(resourceName string) *WebhookServiceDeleteWebhookParams
- func (o *WebhookServiceDeleteWebhookParams) WithTimeout(timeout time.Duration) *WebhookServiceDeleteWebhookParams
- func (o *WebhookServiceDeleteWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WebhookServiceDeleteWebhookReader
- type WebhookServiceGetWebhookDefault
- func (o *WebhookServiceGetWebhookDefault) Code() int
- func (o *WebhookServiceGetWebhookDefault) Error() string
- func (o *WebhookServiceGetWebhookDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *WebhookServiceGetWebhookDefault) IsClientError() bool
- func (o *WebhookServiceGetWebhookDefault) IsCode(code int) bool
- func (o *WebhookServiceGetWebhookDefault) IsRedirect() bool
- func (o *WebhookServiceGetWebhookDefault) IsServerError() bool
- func (o *WebhookServiceGetWebhookDefault) IsSuccess() bool
- func (o *WebhookServiceGetWebhookDefault) String() string
- type WebhookServiceGetWebhookOK
- func (o *WebhookServiceGetWebhookOK) Code() int
- func (o *WebhookServiceGetWebhookOK) Error() string
- func (o *WebhookServiceGetWebhookOK) GetPayload() *models.HashicorpCloudWebhookGetWebhookResponse
- func (o *WebhookServiceGetWebhookOK) IsClientError() bool
- func (o *WebhookServiceGetWebhookOK) IsCode(code int) bool
- func (o *WebhookServiceGetWebhookOK) IsRedirect() bool
- func (o *WebhookServiceGetWebhookOK) IsServerError() bool
- func (o *WebhookServiceGetWebhookOK) IsSuccess() bool
- func (o *WebhookServiceGetWebhookOK) String() string
- type WebhookServiceGetWebhookParams
- func NewWebhookServiceGetWebhookParams() *WebhookServiceGetWebhookParams
- func NewWebhookServiceGetWebhookParamsWithContext(ctx context.Context) *WebhookServiceGetWebhookParams
- func NewWebhookServiceGetWebhookParamsWithHTTPClient(client *http.Client) *WebhookServiceGetWebhookParams
- func NewWebhookServiceGetWebhookParamsWithTimeout(timeout time.Duration) *WebhookServiceGetWebhookParams
- func (o *WebhookServiceGetWebhookParams) SetContext(ctx context.Context)
- func (o *WebhookServiceGetWebhookParams) SetDefaults()
- func (o *WebhookServiceGetWebhookParams) SetHTTPClient(client *http.Client)
- func (o *WebhookServiceGetWebhookParams) SetResourceName(resourceName string)
- func (o *WebhookServiceGetWebhookParams) SetTimeout(timeout time.Duration)
- func (o *WebhookServiceGetWebhookParams) WithContext(ctx context.Context) *WebhookServiceGetWebhookParams
- func (o *WebhookServiceGetWebhookParams) WithDefaults() *WebhookServiceGetWebhookParams
- func (o *WebhookServiceGetWebhookParams) WithHTTPClient(client *http.Client) *WebhookServiceGetWebhookParams
- func (o *WebhookServiceGetWebhookParams) WithResourceName(resourceName string) *WebhookServiceGetWebhookParams
- func (o *WebhookServiceGetWebhookParams) WithTimeout(timeout time.Duration) *WebhookServiceGetWebhookParams
- func (o *WebhookServiceGetWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WebhookServiceGetWebhookReader
- type WebhookServiceListWebhookDeliveriesDefault
- func (o *WebhookServiceListWebhookDeliveriesDefault) Code() int
- func (o *WebhookServiceListWebhookDeliveriesDefault) Error() string
- func (o *WebhookServiceListWebhookDeliveriesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *WebhookServiceListWebhookDeliveriesDefault) IsClientError() bool
- func (o *WebhookServiceListWebhookDeliveriesDefault) IsCode(code int) bool
- func (o *WebhookServiceListWebhookDeliveriesDefault) IsRedirect() bool
- func (o *WebhookServiceListWebhookDeliveriesDefault) IsServerError() bool
- func (o *WebhookServiceListWebhookDeliveriesDefault) IsSuccess() bool
- func (o *WebhookServiceListWebhookDeliveriesDefault) String() string
- type WebhookServiceListWebhookDeliveriesOK
- func (o *WebhookServiceListWebhookDeliveriesOK) Code() int
- func (o *WebhookServiceListWebhookDeliveriesOK) Error() string
- func (o *WebhookServiceListWebhookDeliveriesOK) GetPayload() *models.HashicorpCloudWebhookListWebhookDeliveriesResponse
- func (o *WebhookServiceListWebhookDeliveriesOK) IsClientError() bool
- func (o *WebhookServiceListWebhookDeliveriesOK) IsCode(code int) bool
- func (o *WebhookServiceListWebhookDeliveriesOK) IsRedirect() bool
- func (o *WebhookServiceListWebhookDeliveriesOK) IsServerError() bool
- func (o *WebhookServiceListWebhookDeliveriesOK) IsSuccess() bool
- func (o *WebhookServiceListWebhookDeliveriesOK) String() string
- type WebhookServiceListWebhookDeliveriesParams
- func NewWebhookServiceListWebhookDeliveriesParams() *WebhookServiceListWebhookDeliveriesParams
- func NewWebhookServiceListWebhookDeliveriesParamsWithContext(ctx context.Context) *WebhookServiceListWebhookDeliveriesParams
- func NewWebhookServiceListWebhookDeliveriesParamsWithHTTPClient(client *http.Client) *WebhookServiceListWebhookDeliveriesParams
- func NewWebhookServiceListWebhookDeliveriesParamsWithTimeout(timeout time.Duration) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) SetContext(ctx context.Context)
- func (o *WebhookServiceListWebhookDeliveriesParams) SetDefaults()
- func (o *WebhookServiceListWebhookDeliveriesParams) SetHTTPClient(client *http.Client)
- func (o *WebhookServiceListWebhookDeliveriesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *WebhookServiceListWebhookDeliveriesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *WebhookServiceListWebhookDeliveriesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *WebhookServiceListWebhookDeliveriesParams) SetParentResourceName(parentResourceName string)
- func (o *WebhookServiceListWebhookDeliveriesParams) SetSortingOrderBy(sortingOrderBy []string)
- func (o *WebhookServiceListWebhookDeliveriesParams) SetTimeout(timeout time.Duration)
- func (o *WebhookServiceListWebhookDeliveriesParams) WithContext(ctx context.Context) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WithDefaults() *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WithHTTPClient(client *http.Client) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WithPaginationPageSize(paginationPageSize *int64) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WithParentResourceName(parentResourceName string) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WithSortingOrderBy(sortingOrderBy []string) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WithTimeout(timeout time.Duration) *WebhookServiceListWebhookDeliveriesParams
- func (o *WebhookServiceListWebhookDeliveriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WebhookServiceListWebhookDeliveriesReader
- type WebhookServiceListWebhooksDefault
- func (o *WebhookServiceListWebhooksDefault) Code() int
- func (o *WebhookServiceListWebhooksDefault) Error() string
- func (o *WebhookServiceListWebhooksDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *WebhookServiceListWebhooksDefault) IsClientError() bool
- func (o *WebhookServiceListWebhooksDefault) IsCode(code int) bool
- func (o *WebhookServiceListWebhooksDefault) IsRedirect() bool
- func (o *WebhookServiceListWebhooksDefault) IsServerError() bool
- func (o *WebhookServiceListWebhooksDefault) IsSuccess() bool
- func (o *WebhookServiceListWebhooksDefault) String() string
- type WebhookServiceListWebhooksOK
- func (o *WebhookServiceListWebhooksOK) Code() int
- func (o *WebhookServiceListWebhooksOK) Error() string
- func (o *WebhookServiceListWebhooksOK) GetPayload() *models.HashicorpCloudWebhookListWebhooksResponse
- func (o *WebhookServiceListWebhooksOK) IsClientError() bool
- func (o *WebhookServiceListWebhooksOK) IsCode(code int) bool
- func (o *WebhookServiceListWebhooksOK) IsRedirect() bool
- func (o *WebhookServiceListWebhooksOK) IsServerError() bool
- func (o *WebhookServiceListWebhooksOK) IsSuccess() bool
- func (o *WebhookServiceListWebhooksOK) String() string
- type WebhookServiceListWebhooksParams
- func NewWebhookServiceListWebhooksParams() *WebhookServiceListWebhooksParams
- func NewWebhookServiceListWebhooksParamsWithContext(ctx context.Context) *WebhookServiceListWebhooksParams
- func NewWebhookServiceListWebhooksParamsWithHTTPClient(client *http.Client) *WebhookServiceListWebhooksParams
- func NewWebhookServiceListWebhooksParamsWithTimeout(timeout time.Duration) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) SetContext(ctx context.Context)
- func (o *WebhookServiceListWebhooksParams) SetDefaults()
- func (o *WebhookServiceListWebhooksParams) SetHTTPClient(client *http.Client)
- func (o *WebhookServiceListWebhooksParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *WebhookServiceListWebhooksParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *WebhookServiceListWebhooksParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *WebhookServiceListWebhooksParams) SetParentResourceName(parentResourceName string)
- func (o *WebhookServiceListWebhooksParams) SetSortingOrderBy(sortingOrderBy []string)
- func (o *WebhookServiceListWebhooksParams) SetTimeout(timeout time.Duration)
- func (o *WebhookServiceListWebhooksParams) WithContext(ctx context.Context) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WithDefaults() *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WithHTTPClient(client *http.Client) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WithPaginationNextPageToken(paginationNextPageToken *string) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WithPaginationPageSize(paginationPageSize *int64) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WithParentResourceName(parentResourceName string) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WithSortingOrderBy(sortingOrderBy []string) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WithTimeout(timeout time.Duration) *WebhookServiceListWebhooksParams
- func (o *WebhookServiceListWebhooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WebhookServiceListWebhooksReader
- type WebhookServiceUpdateWebhookDefault
- func (o *WebhookServiceUpdateWebhookDefault) Code() int
- func (o *WebhookServiceUpdateWebhookDefault) Error() string
- func (o *WebhookServiceUpdateWebhookDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *WebhookServiceUpdateWebhookDefault) IsClientError() bool
- func (o *WebhookServiceUpdateWebhookDefault) IsCode(code int) bool
- func (o *WebhookServiceUpdateWebhookDefault) IsRedirect() bool
- func (o *WebhookServiceUpdateWebhookDefault) IsServerError() bool
- func (o *WebhookServiceUpdateWebhookDefault) IsSuccess() bool
- func (o *WebhookServiceUpdateWebhookDefault) String() string
- type WebhookServiceUpdateWebhookNameDefault
- func (o *WebhookServiceUpdateWebhookNameDefault) Code() int
- func (o *WebhookServiceUpdateWebhookNameDefault) Error() string
- func (o *WebhookServiceUpdateWebhookNameDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *WebhookServiceUpdateWebhookNameDefault) IsClientError() bool
- func (o *WebhookServiceUpdateWebhookNameDefault) IsCode(code int) bool
- func (o *WebhookServiceUpdateWebhookNameDefault) IsRedirect() bool
- func (o *WebhookServiceUpdateWebhookNameDefault) IsServerError() bool
- func (o *WebhookServiceUpdateWebhookNameDefault) IsSuccess() bool
- func (o *WebhookServiceUpdateWebhookNameDefault) String() string
- type WebhookServiceUpdateWebhookNameOK
- func (o *WebhookServiceUpdateWebhookNameOK) Code() int
- func (o *WebhookServiceUpdateWebhookNameOK) Error() string
- func (o *WebhookServiceUpdateWebhookNameOK) GetPayload() *models.HashicorpCloudWebhookUpdateWebhookNameResponse
- func (o *WebhookServiceUpdateWebhookNameOK) IsClientError() bool
- func (o *WebhookServiceUpdateWebhookNameOK) IsCode(code int) bool
- func (o *WebhookServiceUpdateWebhookNameOK) IsRedirect() bool
- func (o *WebhookServiceUpdateWebhookNameOK) IsServerError() bool
- func (o *WebhookServiceUpdateWebhookNameOK) IsSuccess() bool
- func (o *WebhookServiceUpdateWebhookNameOK) String() string
- type WebhookServiceUpdateWebhookNameParams
- func NewWebhookServiceUpdateWebhookNameParams() *WebhookServiceUpdateWebhookNameParams
- func NewWebhookServiceUpdateWebhookNameParamsWithContext(ctx context.Context) *WebhookServiceUpdateWebhookNameParams
- func NewWebhookServiceUpdateWebhookNameParamsWithHTTPClient(client *http.Client) *WebhookServiceUpdateWebhookNameParams
- func NewWebhookServiceUpdateWebhookNameParamsWithTimeout(timeout time.Duration) *WebhookServiceUpdateWebhookNameParams
- func (o *WebhookServiceUpdateWebhookNameParams) SetBody(body *models.HashicorpCloudWebhookUpdateWebhookNameRequestBody)
- func (o *WebhookServiceUpdateWebhookNameParams) SetContext(ctx context.Context)
- func (o *WebhookServiceUpdateWebhookNameParams) SetDefaults()
- func (o *WebhookServiceUpdateWebhookNameParams) SetHTTPClient(client *http.Client)
- func (o *WebhookServiceUpdateWebhookNameParams) SetResourceName(resourceName string)
- func (o *WebhookServiceUpdateWebhookNameParams) SetTimeout(timeout time.Duration)
- func (o *WebhookServiceUpdateWebhookNameParams) WithBody(body *models.HashicorpCloudWebhookUpdateWebhookNameRequestBody) *WebhookServiceUpdateWebhookNameParams
- func (o *WebhookServiceUpdateWebhookNameParams) WithContext(ctx context.Context) *WebhookServiceUpdateWebhookNameParams
- func (o *WebhookServiceUpdateWebhookNameParams) WithDefaults() *WebhookServiceUpdateWebhookNameParams
- func (o *WebhookServiceUpdateWebhookNameParams) WithHTTPClient(client *http.Client) *WebhookServiceUpdateWebhookNameParams
- func (o *WebhookServiceUpdateWebhookNameParams) WithResourceName(resourceName string) *WebhookServiceUpdateWebhookNameParams
- func (o *WebhookServiceUpdateWebhookNameParams) WithTimeout(timeout time.Duration) *WebhookServiceUpdateWebhookNameParams
- func (o *WebhookServiceUpdateWebhookNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WebhookServiceUpdateWebhookNameReader
- type WebhookServiceUpdateWebhookOK
- func (o *WebhookServiceUpdateWebhookOK) Code() int
- func (o *WebhookServiceUpdateWebhookOK) Error() string
- func (o *WebhookServiceUpdateWebhookOK) GetPayload() *models.HashicorpCloudWebhookUpdateWebhookResponse
- func (o *WebhookServiceUpdateWebhookOK) IsClientError() bool
- func (o *WebhookServiceUpdateWebhookOK) IsCode(code int) bool
- func (o *WebhookServiceUpdateWebhookOK) IsRedirect() bool
- func (o *WebhookServiceUpdateWebhookOK) IsServerError() bool
- func (o *WebhookServiceUpdateWebhookOK) IsSuccess() bool
- func (o *WebhookServiceUpdateWebhookOK) String() string
- type WebhookServiceUpdateWebhookParams
- func NewWebhookServiceUpdateWebhookParams() *WebhookServiceUpdateWebhookParams
- func NewWebhookServiceUpdateWebhookParamsWithContext(ctx context.Context) *WebhookServiceUpdateWebhookParams
- func NewWebhookServiceUpdateWebhookParamsWithHTTPClient(client *http.Client) *WebhookServiceUpdateWebhookParams
- func NewWebhookServiceUpdateWebhookParamsWithTimeout(timeout time.Duration) *WebhookServiceUpdateWebhookParams
- func (o *WebhookServiceUpdateWebhookParams) SetBody(body *models.HashicorpCloudWebhookUpdateWebhookRequestBody)
- func (o *WebhookServiceUpdateWebhookParams) SetContext(ctx context.Context)
- func (o *WebhookServiceUpdateWebhookParams) SetDefaults()
- func (o *WebhookServiceUpdateWebhookParams) SetHTTPClient(client *http.Client)
- func (o *WebhookServiceUpdateWebhookParams) SetResourceName(resourceName string)
- func (o *WebhookServiceUpdateWebhookParams) SetTimeout(timeout time.Duration)
- func (o *WebhookServiceUpdateWebhookParams) WithBody(body *models.HashicorpCloudWebhookUpdateWebhookRequestBody) *WebhookServiceUpdateWebhookParams
- func (o *WebhookServiceUpdateWebhookParams) WithContext(ctx context.Context) *WebhookServiceUpdateWebhookParams
- func (o *WebhookServiceUpdateWebhookParams) WithDefaults() *WebhookServiceUpdateWebhookParams
- func (o *WebhookServiceUpdateWebhookParams) WithHTTPClient(client *http.Client) *WebhookServiceUpdateWebhookParams
- func (o *WebhookServiceUpdateWebhookParams) WithResourceName(resourceName string) *WebhookServiceUpdateWebhookParams
- func (o *WebhookServiceUpdateWebhookParams) WithTimeout(timeout time.Duration) *WebhookServiceUpdateWebhookParams
- func (o *WebhookServiceUpdateWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WebhookServiceUpdateWebhookReader
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 webhook service API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) WebhookServiceCreateWebhook ¶
func (a *Client) WebhookServiceCreateWebhook(params *WebhookServiceCreateWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceCreateWebhookOK, error)
WebhookServiceCreateWebhook creates an enabled webhook that is optionally subscribed to the resources lifecycle events
func (*Client) WebhookServiceDeleteWebhook ¶
func (a *Client) WebhookServiceDeleteWebhook(params *WebhookServiceDeleteWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceDeleteWebhookOK, error)
WebhookServiceDeleteWebhook deletes a webhook and all of its delivery records
func (*Client) WebhookServiceGetWebhook ¶
func (a *Client) WebhookServiceGetWebhook(params *WebhookServiceGetWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceGetWebhookOK, error)
WebhookServiceGetWebhook gets an existing webhook
func (*Client) WebhookServiceListWebhookDeliveries ¶
func (a *Client) WebhookServiceListWebhookDeliveries(params *WebhookServiceListWebhookDeliveriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceListWebhookDeliveriesOK, error)
WebhookServiceListWebhookDeliveries lists all the deliveries from the last 90 days for a webhook
func (*Client) WebhookServiceListWebhooks ¶
func (a *Client) WebhookServiceListWebhooks(params *WebhookServiceListWebhooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceListWebhooksOK, error)
WebhookServiceListWebhooks lists all existing webhooks in an h c p project
func (*Client) WebhookServiceUpdateWebhook ¶
func (a *Client) WebhookServiceUpdateWebhook(params *WebhookServiceUpdateWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceUpdateWebhookOK, error)
WebhookServiceUpdateWebhook updates a webhook configuration and subscriptions and sets the status to enabled or disabled
func (*Client) WebhookServiceUpdateWebhookName ¶
func (a *Client) WebhookServiceUpdateWebhookName(params *WebhookServiceUpdateWebhookNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceUpdateWebhookNameOK, error)
WebhookServiceUpdateWebhookName updates a webhook name updating a webhook name changes its resource name
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { WebhookServiceCreateWebhook(params *WebhookServiceCreateWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceCreateWebhookOK, error) WebhookServiceDeleteWebhook(params *WebhookServiceDeleteWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceDeleteWebhookOK, error) WebhookServiceGetWebhook(params *WebhookServiceGetWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceGetWebhookOK, error) WebhookServiceListWebhookDeliveries(params *WebhookServiceListWebhookDeliveriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceListWebhookDeliveriesOK, error) WebhookServiceListWebhooks(params *WebhookServiceListWebhooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceListWebhooksOK, error) WebhookServiceUpdateWebhook(params *WebhookServiceUpdateWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceUpdateWebhookOK, error) WebhookServiceUpdateWebhookName(params *WebhookServiceUpdateWebhookNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebhookServiceUpdateWebhookNameOK, 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 webhook service API client.
type WebhookServiceCreateWebhookDefault ¶
type WebhookServiceCreateWebhookDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
WebhookServiceCreateWebhookDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWebhookServiceCreateWebhookDefault ¶
func NewWebhookServiceCreateWebhookDefault(code int) *WebhookServiceCreateWebhookDefault
NewWebhookServiceCreateWebhookDefault creates a WebhookServiceCreateWebhookDefault with default headers values
func (*WebhookServiceCreateWebhookDefault) Code ¶
func (o *WebhookServiceCreateWebhookDefault) Code() int
Code gets the status code for the webhook service create webhook default response
func (*WebhookServiceCreateWebhookDefault) Error ¶
func (o *WebhookServiceCreateWebhookDefault) Error() string
func (*WebhookServiceCreateWebhookDefault) GetPayload ¶
func (o *WebhookServiceCreateWebhookDefault) GetPayload() *cloud.GoogleRPCStatus
func (*WebhookServiceCreateWebhookDefault) IsClientError ¶
func (o *WebhookServiceCreateWebhookDefault) IsClientError() bool
IsClientError returns true when this webhook service create webhook default response has a 4xx status code
func (*WebhookServiceCreateWebhookDefault) IsCode ¶
func (o *WebhookServiceCreateWebhookDefault) IsCode(code int) bool
IsCode returns true when this webhook service create webhook default response a status code equal to that given
func (*WebhookServiceCreateWebhookDefault) IsRedirect ¶
func (o *WebhookServiceCreateWebhookDefault) IsRedirect() bool
IsRedirect returns true when this webhook service create webhook default response has a 3xx status code
func (*WebhookServiceCreateWebhookDefault) IsServerError ¶
func (o *WebhookServiceCreateWebhookDefault) IsServerError() bool
IsServerError returns true when this webhook service create webhook default response has a 5xx status code
func (*WebhookServiceCreateWebhookDefault) IsSuccess ¶
func (o *WebhookServiceCreateWebhookDefault) IsSuccess() bool
IsSuccess returns true when this webhook service create webhook default response has a 2xx status code
func (*WebhookServiceCreateWebhookDefault) String ¶
func (o *WebhookServiceCreateWebhookDefault) String() string
type WebhookServiceCreateWebhookOK ¶
type WebhookServiceCreateWebhookOK struct {
Payload *models.HashicorpCloudWebhookCreateWebhookResponse
}
WebhookServiceCreateWebhookOK describes a response with status code 200, with default header values.
A successful response.
func NewWebhookServiceCreateWebhookOK ¶
func NewWebhookServiceCreateWebhookOK() *WebhookServiceCreateWebhookOK
NewWebhookServiceCreateWebhookOK creates a WebhookServiceCreateWebhookOK with default headers values
func (*WebhookServiceCreateWebhookOK) Code ¶
func (o *WebhookServiceCreateWebhookOK) Code() int
Code gets the status code for the webhook service create webhook o k response
func (*WebhookServiceCreateWebhookOK) Error ¶
func (o *WebhookServiceCreateWebhookOK) Error() string
func (*WebhookServiceCreateWebhookOK) GetPayload ¶
func (o *WebhookServiceCreateWebhookOK) GetPayload() *models.HashicorpCloudWebhookCreateWebhookResponse
func (*WebhookServiceCreateWebhookOK) IsClientError ¶
func (o *WebhookServiceCreateWebhookOK) IsClientError() bool
IsClientError returns true when this webhook service create webhook o k response has a 4xx status code
func (*WebhookServiceCreateWebhookOK) IsCode ¶
func (o *WebhookServiceCreateWebhookOK) IsCode(code int) bool
IsCode returns true when this webhook service create webhook o k response a status code equal to that given
func (*WebhookServiceCreateWebhookOK) IsRedirect ¶
func (o *WebhookServiceCreateWebhookOK) IsRedirect() bool
IsRedirect returns true when this webhook service create webhook o k response has a 3xx status code
func (*WebhookServiceCreateWebhookOK) IsServerError ¶
func (o *WebhookServiceCreateWebhookOK) IsServerError() bool
IsServerError returns true when this webhook service create webhook o k response has a 5xx status code
func (*WebhookServiceCreateWebhookOK) IsSuccess ¶
func (o *WebhookServiceCreateWebhookOK) IsSuccess() bool
IsSuccess returns true when this webhook service create webhook o k response has a 2xx status code
func (*WebhookServiceCreateWebhookOK) String ¶
func (o *WebhookServiceCreateWebhookOK) String() string
type WebhookServiceCreateWebhookParams ¶
type WebhookServiceCreateWebhookParams struct { /* Body. The information to create a webhook. */ Body *models.HashicorpCloudWebhookCreateWebhookRequestBody /* ParentResourceName. The parent resource of a webhook is an HCP project. A project's resource name format is `project/<project-id>`. */ ParentResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WebhookServiceCreateWebhookParams contains all the parameters to send to the API endpoint
for the webhook service create webhook operation. Typically these are written to a http.Request.
func NewWebhookServiceCreateWebhookParams ¶
func NewWebhookServiceCreateWebhookParams() *WebhookServiceCreateWebhookParams
NewWebhookServiceCreateWebhookParams creates a new WebhookServiceCreateWebhookParams 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 NewWebhookServiceCreateWebhookParamsWithContext ¶
func NewWebhookServiceCreateWebhookParamsWithContext(ctx context.Context) *WebhookServiceCreateWebhookParams
NewWebhookServiceCreateWebhookParamsWithContext creates a new WebhookServiceCreateWebhookParams object with the ability to set a context for a request.
func NewWebhookServiceCreateWebhookParamsWithHTTPClient ¶
func NewWebhookServiceCreateWebhookParamsWithHTTPClient(client *http.Client) *WebhookServiceCreateWebhookParams
NewWebhookServiceCreateWebhookParamsWithHTTPClient creates a new WebhookServiceCreateWebhookParams object with the ability to set a custom HTTPClient for a request.
func NewWebhookServiceCreateWebhookParamsWithTimeout ¶
func NewWebhookServiceCreateWebhookParamsWithTimeout(timeout time.Duration) *WebhookServiceCreateWebhookParams
NewWebhookServiceCreateWebhookParamsWithTimeout creates a new WebhookServiceCreateWebhookParams object with the ability to set a timeout on a request.
func (*WebhookServiceCreateWebhookParams) SetBody ¶
func (o *WebhookServiceCreateWebhookParams) SetBody(body *models.HashicorpCloudWebhookCreateWebhookRequestBody)
SetBody adds the body to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) SetContext ¶
func (o *WebhookServiceCreateWebhookParams) SetContext(ctx context.Context)
SetContext adds the context to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) SetDefaults ¶
func (o *WebhookServiceCreateWebhookParams) SetDefaults()
SetDefaults hydrates default values in the webhook service create webhook params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceCreateWebhookParams) SetHTTPClient ¶
func (o *WebhookServiceCreateWebhookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) SetParentResourceName ¶
func (o *WebhookServiceCreateWebhookParams) SetParentResourceName(parentResourceName string)
SetParentResourceName adds the parentResourceName to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) SetTimeout ¶
func (o *WebhookServiceCreateWebhookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) WithBody ¶
func (o *WebhookServiceCreateWebhookParams) WithBody(body *models.HashicorpCloudWebhookCreateWebhookRequestBody) *WebhookServiceCreateWebhookParams
WithBody adds the body to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) WithContext ¶
func (o *WebhookServiceCreateWebhookParams) WithContext(ctx context.Context) *WebhookServiceCreateWebhookParams
WithContext adds the context to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) WithDefaults ¶
func (o *WebhookServiceCreateWebhookParams) WithDefaults() *WebhookServiceCreateWebhookParams
WithDefaults hydrates default values in the webhook service create webhook params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceCreateWebhookParams) WithHTTPClient ¶
func (o *WebhookServiceCreateWebhookParams) WithHTTPClient(client *http.Client) *WebhookServiceCreateWebhookParams
WithHTTPClient adds the HTTPClient to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) WithParentResourceName ¶
func (o *WebhookServiceCreateWebhookParams) WithParentResourceName(parentResourceName string) *WebhookServiceCreateWebhookParams
WithParentResourceName adds the parentResourceName to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) WithTimeout ¶
func (o *WebhookServiceCreateWebhookParams) WithTimeout(timeout time.Duration) *WebhookServiceCreateWebhookParams
WithTimeout adds the timeout to the webhook service create webhook params
func (*WebhookServiceCreateWebhookParams) WriteToRequest ¶
func (o *WebhookServiceCreateWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WebhookServiceCreateWebhookReader ¶
type WebhookServiceCreateWebhookReader struct {
// contains filtered or unexported fields
}
WebhookServiceCreateWebhookReader is a Reader for the WebhookServiceCreateWebhook structure.
func (*WebhookServiceCreateWebhookReader) ReadResponse ¶
func (o *WebhookServiceCreateWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WebhookServiceDeleteWebhookDefault ¶
type WebhookServiceDeleteWebhookDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
WebhookServiceDeleteWebhookDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWebhookServiceDeleteWebhookDefault ¶
func NewWebhookServiceDeleteWebhookDefault(code int) *WebhookServiceDeleteWebhookDefault
NewWebhookServiceDeleteWebhookDefault creates a WebhookServiceDeleteWebhookDefault with default headers values
func (*WebhookServiceDeleteWebhookDefault) Code ¶
func (o *WebhookServiceDeleteWebhookDefault) Code() int
Code gets the status code for the webhook service delete webhook default response
func (*WebhookServiceDeleteWebhookDefault) Error ¶
func (o *WebhookServiceDeleteWebhookDefault) Error() string
func (*WebhookServiceDeleteWebhookDefault) GetPayload ¶
func (o *WebhookServiceDeleteWebhookDefault) GetPayload() *cloud.GoogleRPCStatus
func (*WebhookServiceDeleteWebhookDefault) IsClientError ¶
func (o *WebhookServiceDeleteWebhookDefault) IsClientError() bool
IsClientError returns true when this webhook service delete webhook default response has a 4xx status code
func (*WebhookServiceDeleteWebhookDefault) IsCode ¶
func (o *WebhookServiceDeleteWebhookDefault) IsCode(code int) bool
IsCode returns true when this webhook service delete webhook default response a status code equal to that given
func (*WebhookServiceDeleteWebhookDefault) IsRedirect ¶
func (o *WebhookServiceDeleteWebhookDefault) IsRedirect() bool
IsRedirect returns true when this webhook service delete webhook default response has a 3xx status code
func (*WebhookServiceDeleteWebhookDefault) IsServerError ¶
func (o *WebhookServiceDeleteWebhookDefault) IsServerError() bool
IsServerError returns true when this webhook service delete webhook default response has a 5xx status code
func (*WebhookServiceDeleteWebhookDefault) IsSuccess ¶
func (o *WebhookServiceDeleteWebhookDefault) IsSuccess() bool
IsSuccess returns true when this webhook service delete webhook default response has a 2xx status code
func (*WebhookServiceDeleteWebhookDefault) String ¶
func (o *WebhookServiceDeleteWebhookDefault) String() string
type WebhookServiceDeleteWebhookOK ¶
type WebhookServiceDeleteWebhookOK struct {
Payload models.HashicorpCloudWebhookDeleteWebhookResponse
}
WebhookServiceDeleteWebhookOK describes a response with status code 200, with default header values.
A successful response.
func NewWebhookServiceDeleteWebhookOK ¶
func NewWebhookServiceDeleteWebhookOK() *WebhookServiceDeleteWebhookOK
NewWebhookServiceDeleteWebhookOK creates a WebhookServiceDeleteWebhookOK with default headers values
func (*WebhookServiceDeleteWebhookOK) Code ¶
func (o *WebhookServiceDeleteWebhookOK) Code() int
Code gets the status code for the webhook service delete webhook o k response
func (*WebhookServiceDeleteWebhookOK) Error ¶
func (o *WebhookServiceDeleteWebhookOK) Error() string
func (*WebhookServiceDeleteWebhookOK) GetPayload ¶
func (o *WebhookServiceDeleteWebhookOK) GetPayload() models.HashicorpCloudWebhookDeleteWebhookResponse
func (*WebhookServiceDeleteWebhookOK) IsClientError ¶
func (o *WebhookServiceDeleteWebhookOK) IsClientError() bool
IsClientError returns true when this webhook service delete webhook o k response has a 4xx status code
func (*WebhookServiceDeleteWebhookOK) IsCode ¶
func (o *WebhookServiceDeleteWebhookOK) IsCode(code int) bool
IsCode returns true when this webhook service delete webhook o k response a status code equal to that given
func (*WebhookServiceDeleteWebhookOK) IsRedirect ¶
func (o *WebhookServiceDeleteWebhookOK) IsRedirect() bool
IsRedirect returns true when this webhook service delete webhook o k response has a 3xx status code
func (*WebhookServiceDeleteWebhookOK) IsServerError ¶
func (o *WebhookServiceDeleteWebhookOK) IsServerError() bool
IsServerError returns true when this webhook service delete webhook o k response has a 5xx status code
func (*WebhookServiceDeleteWebhookOK) IsSuccess ¶
func (o *WebhookServiceDeleteWebhookOK) IsSuccess() bool
IsSuccess returns true when this webhook service delete webhook o k response has a 2xx status code
func (*WebhookServiceDeleteWebhookOK) String ¶
func (o *WebhookServiceDeleteWebhookOK) String() string
type WebhookServiceDeleteWebhookParams ¶
type WebhookServiceDeleteWebhookParams struct { /* ResourceName. The webhook resource name. A webhook's resource name format name is `webhook/project/<project-id>/geo/<geography>/webhook/<webhook-name>`. */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WebhookServiceDeleteWebhookParams contains all the parameters to send to the API endpoint
for the webhook service delete webhook operation. Typically these are written to a http.Request.
func NewWebhookServiceDeleteWebhookParams ¶
func NewWebhookServiceDeleteWebhookParams() *WebhookServiceDeleteWebhookParams
NewWebhookServiceDeleteWebhookParams creates a new WebhookServiceDeleteWebhookParams 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 NewWebhookServiceDeleteWebhookParamsWithContext ¶
func NewWebhookServiceDeleteWebhookParamsWithContext(ctx context.Context) *WebhookServiceDeleteWebhookParams
NewWebhookServiceDeleteWebhookParamsWithContext creates a new WebhookServiceDeleteWebhookParams object with the ability to set a context for a request.
func NewWebhookServiceDeleteWebhookParamsWithHTTPClient ¶
func NewWebhookServiceDeleteWebhookParamsWithHTTPClient(client *http.Client) *WebhookServiceDeleteWebhookParams
NewWebhookServiceDeleteWebhookParamsWithHTTPClient creates a new WebhookServiceDeleteWebhookParams object with the ability to set a custom HTTPClient for a request.
func NewWebhookServiceDeleteWebhookParamsWithTimeout ¶
func NewWebhookServiceDeleteWebhookParamsWithTimeout(timeout time.Duration) *WebhookServiceDeleteWebhookParams
NewWebhookServiceDeleteWebhookParamsWithTimeout creates a new WebhookServiceDeleteWebhookParams object with the ability to set a timeout on a request.
func (*WebhookServiceDeleteWebhookParams) SetContext ¶
func (o *WebhookServiceDeleteWebhookParams) SetContext(ctx context.Context)
SetContext adds the context to the webhook service delete webhook params
func (*WebhookServiceDeleteWebhookParams) SetDefaults ¶
func (o *WebhookServiceDeleteWebhookParams) SetDefaults()
SetDefaults hydrates default values in the webhook service delete webhook params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceDeleteWebhookParams) SetHTTPClient ¶
func (o *WebhookServiceDeleteWebhookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the webhook service delete webhook params
func (*WebhookServiceDeleteWebhookParams) SetResourceName ¶
func (o *WebhookServiceDeleteWebhookParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the webhook service delete webhook params
func (*WebhookServiceDeleteWebhookParams) SetTimeout ¶
func (o *WebhookServiceDeleteWebhookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the webhook service delete webhook params
func (*WebhookServiceDeleteWebhookParams) WithContext ¶
func (o *WebhookServiceDeleteWebhookParams) WithContext(ctx context.Context) *WebhookServiceDeleteWebhookParams
WithContext adds the context to the webhook service delete webhook params
func (*WebhookServiceDeleteWebhookParams) WithDefaults ¶
func (o *WebhookServiceDeleteWebhookParams) WithDefaults() *WebhookServiceDeleteWebhookParams
WithDefaults hydrates default values in the webhook service delete webhook params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceDeleteWebhookParams) WithHTTPClient ¶
func (o *WebhookServiceDeleteWebhookParams) WithHTTPClient(client *http.Client) *WebhookServiceDeleteWebhookParams
WithHTTPClient adds the HTTPClient to the webhook service delete webhook params
func (*WebhookServiceDeleteWebhookParams) WithResourceName ¶
func (o *WebhookServiceDeleteWebhookParams) WithResourceName(resourceName string) *WebhookServiceDeleteWebhookParams
WithResourceName adds the resourceName to the webhook service delete webhook params
func (*WebhookServiceDeleteWebhookParams) WithTimeout ¶
func (o *WebhookServiceDeleteWebhookParams) WithTimeout(timeout time.Duration) *WebhookServiceDeleteWebhookParams
WithTimeout adds the timeout to the webhook service delete webhook params
func (*WebhookServiceDeleteWebhookParams) WriteToRequest ¶
func (o *WebhookServiceDeleteWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WebhookServiceDeleteWebhookReader ¶
type WebhookServiceDeleteWebhookReader struct {
// contains filtered or unexported fields
}
WebhookServiceDeleteWebhookReader is a Reader for the WebhookServiceDeleteWebhook structure.
func (*WebhookServiceDeleteWebhookReader) ReadResponse ¶
func (o *WebhookServiceDeleteWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WebhookServiceGetWebhookDefault ¶
type WebhookServiceGetWebhookDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
WebhookServiceGetWebhookDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWebhookServiceGetWebhookDefault ¶
func NewWebhookServiceGetWebhookDefault(code int) *WebhookServiceGetWebhookDefault
NewWebhookServiceGetWebhookDefault creates a WebhookServiceGetWebhookDefault with default headers values
func (*WebhookServiceGetWebhookDefault) Code ¶
func (o *WebhookServiceGetWebhookDefault) Code() int
Code gets the status code for the webhook service get webhook default response
func (*WebhookServiceGetWebhookDefault) Error ¶
func (o *WebhookServiceGetWebhookDefault) Error() string
func (*WebhookServiceGetWebhookDefault) GetPayload ¶
func (o *WebhookServiceGetWebhookDefault) GetPayload() *cloud.GoogleRPCStatus
func (*WebhookServiceGetWebhookDefault) IsClientError ¶
func (o *WebhookServiceGetWebhookDefault) IsClientError() bool
IsClientError returns true when this webhook service get webhook default response has a 4xx status code
func (*WebhookServiceGetWebhookDefault) IsCode ¶
func (o *WebhookServiceGetWebhookDefault) IsCode(code int) bool
IsCode returns true when this webhook service get webhook default response a status code equal to that given
func (*WebhookServiceGetWebhookDefault) IsRedirect ¶
func (o *WebhookServiceGetWebhookDefault) IsRedirect() bool
IsRedirect returns true when this webhook service get webhook default response has a 3xx status code
func (*WebhookServiceGetWebhookDefault) IsServerError ¶
func (o *WebhookServiceGetWebhookDefault) IsServerError() bool
IsServerError returns true when this webhook service get webhook default response has a 5xx status code
func (*WebhookServiceGetWebhookDefault) IsSuccess ¶
func (o *WebhookServiceGetWebhookDefault) IsSuccess() bool
IsSuccess returns true when this webhook service get webhook default response has a 2xx status code
func (*WebhookServiceGetWebhookDefault) String ¶
func (o *WebhookServiceGetWebhookDefault) String() string
type WebhookServiceGetWebhookOK ¶
type WebhookServiceGetWebhookOK struct {
Payload *models.HashicorpCloudWebhookGetWebhookResponse
}
WebhookServiceGetWebhookOK describes a response with status code 200, with default header values.
A successful response.
func NewWebhookServiceGetWebhookOK ¶
func NewWebhookServiceGetWebhookOK() *WebhookServiceGetWebhookOK
NewWebhookServiceGetWebhookOK creates a WebhookServiceGetWebhookOK with default headers values
func (*WebhookServiceGetWebhookOK) Code ¶
func (o *WebhookServiceGetWebhookOK) Code() int
Code gets the status code for the webhook service get webhook o k response
func (*WebhookServiceGetWebhookOK) Error ¶
func (o *WebhookServiceGetWebhookOK) Error() string
func (*WebhookServiceGetWebhookOK) GetPayload ¶
func (o *WebhookServiceGetWebhookOK) GetPayload() *models.HashicorpCloudWebhookGetWebhookResponse
func (*WebhookServiceGetWebhookOK) IsClientError ¶
func (o *WebhookServiceGetWebhookOK) IsClientError() bool
IsClientError returns true when this webhook service get webhook o k response has a 4xx status code
func (*WebhookServiceGetWebhookOK) IsCode ¶
func (o *WebhookServiceGetWebhookOK) IsCode(code int) bool
IsCode returns true when this webhook service get webhook o k response a status code equal to that given
func (*WebhookServiceGetWebhookOK) IsRedirect ¶
func (o *WebhookServiceGetWebhookOK) IsRedirect() bool
IsRedirect returns true when this webhook service get webhook o k response has a 3xx status code
func (*WebhookServiceGetWebhookOK) IsServerError ¶
func (o *WebhookServiceGetWebhookOK) IsServerError() bool
IsServerError returns true when this webhook service get webhook o k response has a 5xx status code
func (*WebhookServiceGetWebhookOK) IsSuccess ¶
func (o *WebhookServiceGetWebhookOK) IsSuccess() bool
IsSuccess returns true when this webhook service get webhook o k response has a 2xx status code
func (*WebhookServiceGetWebhookOK) String ¶
func (o *WebhookServiceGetWebhookOK) String() string
type WebhookServiceGetWebhookParams ¶
type WebhookServiceGetWebhookParams struct { /* ResourceName. The webhook resource name. A webhook's resource name format name is `webhook/project/<project-id>/geo/<geography>/webhook/<webhook-name>`. */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WebhookServiceGetWebhookParams contains all the parameters to send to the API endpoint
for the webhook service get webhook operation. Typically these are written to a http.Request.
func NewWebhookServiceGetWebhookParams ¶
func NewWebhookServiceGetWebhookParams() *WebhookServiceGetWebhookParams
NewWebhookServiceGetWebhookParams creates a new WebhookServiceGetWebhookParams 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 NewWebhookServiceGetWebhookParamsWithContext ¶
func NewWebhookServiceGetWebhookParamsWithContext(ctx context.Context) *WebhookServiceGetWebhookParams
NewWebhookServiceGetWebhookParamsWithContext creates a new WebhookServiceGetWebhookParams object with the ability to set a context for a request.
func NewWebhookServiceGetWebhookParamsWithHTTPClient ¶
func NewWebhookServiceGetWebhookParamsWithHTTPClient(client *http.Client) *WebhookServiceGetWebhookParams
NewWebhookServiceGetWebhookParamsWithHTTPClient creates a new WebhookServiceGetWebhookParams object with the ability to set a custom HTTPClient for a request.
func NewWebhookServiceGetWebhookParamsWithTimeout ¶
func NewWebhookServiceGetWebhookParamsWithTimeout(timeout time.Duration) *WebhookServiceGetWebhookParams
NewWebhookServiceGetWebhookParamsWithTimeout creates a new WebhookServiceGetWebhookParams object with the ability to set a timeout on a request.
func (*WebhookServiceGetWebhookParams) SetContext ¶
func (o *WebhookServiceGetWebhookParams) SetContext(ctx context.Context)
SetContext adds the context to the webhook service get webhook params
func (*WebhookServiceGetWebhookParams) SetDefaults ¶
func (o *WebhookServiceGetWebhookParams) SetDefaults()
SetDefaults hydrates default values in the webhook service get webhook params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceGetWebhookParams) SetHTTPClient ¶
func (o *WebhookServiceGetWebhookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the webhook service get webhook params
func (*WebhookServiceGetWebhookParams) SetResourceName ¶
func (o *WebhookServiceGetWebhookParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the webhook service get webhook params
func (*WebhookServiceGetWebhookParams) SetTimeout ¶
func (o *WebhookServiceGetWebhookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the webhook service get webhook params
func (*WebhookServiceGetWebhookParams) WithContext ¶
func (o *WebhookServiceGetWebhookParams) WithContext(ctx context.Context) *WebhookServiceGetWebhookParams
WithContext adds the context to the webhook service get webhook params
func (*WebhookServiceGetWebhookParams) WithDefaults ¶
func (o *WebhookServiceGetWebhookParams) WithDefaults() *WebhookServiceGetWebhookParams
WithDefaults hydrates default values in the webhook service get webhook params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceGetWebhookParams) WithHTTPClient ¶
func (o *WebhookServiceGetWebhookParams) WithHTTPClient(client *http.Client) *WebhookServiceGetWebhookParams
WithHTTPClient adds the HTTPClient to the webhook service get webhook params
func (*WebhookServiceGetWebhookParams) WithResourceName ¶
func (o *WebhookServiceGetWebhookParams) WithResourceName(resourceName string) *WebhookServiceGetWebhookParams
WithResourceName adds the resourceName to the webhook service get webhook params
func (*WebhookServiceGetWebhookParams) WithTimeout ¶
func (o *WebhookServiceGetWebhookParams) WithTimeout(timeout time.Duration) *WebhookServiceGetWebhookParams
WithTimeout adds the timeout to the webhook service get webhook params
func (*WebhookServiceGetWebhookParams) WriteToRequest ¶
func (o *WebhookServiceGetWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WebhookServiceGetWebhookReader ¶
type WebhookServiceGetWebhookReader struct {
// contains filtered or unexported fields
}
WebhookServiceGetWebhookReader is a Reader for the WebhookServiceGetWebhook structure.
func (*WebhookServiceGetWebhookReader) ReadResponse ¶
func (o *WebhookServiceGetWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WebhookServiceListWebhookDeliveriesDefault ¶
type WebhookServiceListWebhookDeliveriesDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
WebhookServiceListWebhookDeliveriesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWebhookServiceListWebhookDeliveriesDefault ¶
func NewWebhookServiceListWebhookDeliveriesDefault(code int) *WebhookServiceListWebhookDeliveriesDefault
NewWebhookServiceListWebhookDeliveriesDefault creates a WebhookServiceListWebhookDeliveriesDefault with default headers values
func (*WebhookServiceListWebhookDeliveriesDefault) Code ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) Code() int
Code gets the status code for the webhook service list webhook deliveries default response
func (*WebhookServiceListWebhookDeliveriesDefault) Error ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) Error() string
func (*WebhookServiceListWebhookDeliveriesDefault) GetPayload ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*WebhookServiceListWebhookDeliveriesDefault) IsClientError ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) IsClientError() bool
IsClientError returns true when this webhook service list webhook deliveries default response has a 4xx status code
func (*WebhookServiceListWebhookDeliveriesDefault) IsCode ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) IsCode(code int) bool
IsCode returns true when this webhook service list webhook deliveries default response a status code equal to that given
func (*WebhookServiceListWebhookDeliveriesDefault) IsRedirect ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) IsRedirect() bool
IsRedirect returns true when this webhook service list webhook deliveries default response has a 3xx status code
func (*WebhookServiceListWebhookDeliveriesDefault) IsServerError ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) IsServerError() bool
IsServerError returns true when this webhook service list webhook deliveries default response has a 5xx status code
func (*WebhookServiceListWebhookDeliveriesDefault) IsSuccess ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) IsSuccess() bool
IsSuccess returns true when this webhook service list webhook deliveries default response has a 2xx status code
func (*WebhookServiceListWebhookDeliveriesDefault) String ¶
func (o *WebhookServiceListWebhookDeliveriesDefault) String() string
type WebhookServiceListWebhookDeliveriesOK ¶
type WebhookServiceListWebhookDeliveriesOK struct {
Payload *models.HashicorpCloudWebhookListWebhookDeliveriesResponse
}
WebhookServiceListWebhookDeliveriesOK describes a response with status code 200, with default header values.
A successful response.
func NewWebhookServiceListWebhookDeliveriesOK ¶
func NewWebhookServiceListWebhookDeliveriesOK() *WebhookServiceListWebhookDeliveriesOK
NewWebhookServiceListWebhookDeliveriesOK creates a WebhookServiceListWebhookDeliveriesOK with default headers values
func (*WebhookServiceListWebhookDeliveriesOK) Code ¶
func (o *WebhookServiceListWebhookDeliveriesOK) Code() int
Code gets the status code for the webhook service list webhook deliveries o k response
func (*WebhookServiceListWebhookDeliveriesOK) Error ¶
func (o *WebhookServiceListWebhookDeliveriesOK) Error() string
func (*WebhookServiceListWebhookDeliveriesOK) GetPayload ¶
func (o *WebhookServiceListWebhookDeliveriesOK) GetPayload() *models.HashicorpCloudWebhookListWebhookDeliveriesResponse
func (*WebhookServiceListWebhookDeliveriesOK) IsClientError ¶
func (o *WebhookServiceListWebhookDeliveriesOK) IsClientError() bool
IsClientError returns true when this webhook service list webhook deliveries o k response has a 4xx status code
func (*WebhookServiceListWebhookDeliveriesOK) IsCode ¶
func (o *WebhookServiceListWebhookDeliveriesOK) IsCode(code int) bool
IsCode returns true when this webhook service list webhook deliveries o k response a status code equal to that given
func (*WebhookServiceListWebhookDeliveriesOK) IsRedirect ¶
func (o *WebhookServiceListWebhookDeliveriesOK) IsRedirect() bool
IsRedirect returns true when this webhook service list webhook deliveries o k response has a 3xx status code
func (*WebhookServiceListWebhookDeliveriesOK) IsServerError ¶
func (o *WebhookServiceListWebhookDeliveriesOK) IsServerError() bool
IsServerError returns true when this webhook service list webhook deliveries o k response has a 5xx status code
func (*WebhookServiceListWebhookDeliveriesOK) IsSuccess ¶
func (o *WebhookServiceListWebhookDeliveriesOK) IsSuccess() bool
IsSuccess returns true when this webhook service list webhook deliveries o k response has a 2xx status code
func (*WebhookServiceListWebhookDeliveriesOK) String ¶
func (o *WebhookServiceListWebhookDeliveriesOK) String() string
type WebhookServiceListWebhookDeliveriesParams ¶
type WebhookServiceListWebhookDeliveriesParams struct { /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* ParentResourceName. The parent resource of webhook deliveries is a webhook. A webhook's resource name format name is `webhook/project/<project-id>/geo/<geography>/webhook/<webhook-name>`. */ ParentResourceName string /* SortingOrderBy. Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending. The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed. Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order. */ SortingOrderBy []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WebhookServiceListWebhookDeliveriesParams contains all the parameters to send to the API endpoint
for the webhook service list webhook deliveries operation. Typically these are written to a http.Request.
func NewWebhookServiceListWebhookDeliveriesParams ¶
func NewWebhookServiceListWebhookDeliveriesParams() *WebhookServiceListWebhookDeliveriesParams
NewWebhookServiceListWebhookDeliveriesParams creates a new WebhookServiceListWebhookDeliveriesParams 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 NewWebhookServiceListWebhookDeliveriesParamsWithContext ¶
func NewWebhookServiceListWebhookDeliveriesParamsWithContext(ctx context.Context) *WebhookServiceListWebhookDeliveriesParams
NewWebhookServiceListWebhookDeliveriesParamsWithContext creates a new WebhookServiceListWebhookDeliveriesParams object with the ability to set a context for a request.
func NewWebhookServiceListWebhookDeliveriesParamsWithHTTPClient ¶
func NewWebhookServiceListWebhookDeliveriesParamsWithHTTPClient(client *http.Client) *WebhookServiceListWebhookDeliveriesParams
NewWebhookServiceListWebhookDeliveriesParamsWithHTTPClient creates a new WebhookServiceListWebhookDeliveriesParams object with the ability to set a custom HTTPClient for a request.
func NewWebhookServiceListWebhookDeliveriesParamsWithTimeout ¶
func NewWebhookServiceListWebhookDeliveriesParamsWithTimeout(timeout time.Duration) *WebhookServiceListWebhookDeliveriesParams
NewWebhookServiceListWebhookDeliveriesParamsWithTimeout creates a new WebhookServiceListWebhookDeliveriesParams object with the ability to set a timeout on a request.
func (*WebhookServiceListWebhookDeliveriesParams) SetContext ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetContext(ctx context.Context)
SetContext adds the context to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) SetDefaults ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetDefaults()
SetDefaults hydrates default values in the webhook service list webhook deliveries params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceListWebhookDeliveriesParams) SetHTTPClient ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) SetPaginationNextPageToken ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) SetPaginationPageSize ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) SetPaginationPreviousPageToken ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) SetParentResourceName ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetParentResourceName(parentResourceName string)
SetParentResourceName adds the parentResourceName to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) SetSortingOrderBy ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetSortingOrderBy(sortingOrderBy []string)
SetSortingOrderBy adds the sortingOrderBy to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) SetTimeout ¶
func (o *WebhookServiceListWebhookDeliveriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WithContext ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithContext(ctx context.Context) *WebhookServiceListWebhookDeliveriesParams
WithContext adds the context to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WithDefaults ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithDefaults() *WebhookServiceListWebhookDeliveriesParams
WithDefaults hydrates default values in the webhook service list webhook deliveries params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceListWebhookDeliveriesParams) WithHTTPClient ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithHTTPClient(client *http.Client) *WebhookServiceListWebhookDeliveriesParams
WithHTTPClient adds the HTTPClient to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WithPaginationNextPageToken ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *WebhookServiceListWebhookDeliveriesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WithPaginationPageSize ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithPaginationPageSize(paginationPageSize *int64) *WebhookServiceListWebhookDeliveriesParams
WithPaginationPageSize adds the paginationPageSize to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WithPaginationPreviousPageToken ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *WebhookServiceListWebhookDeliveriesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WithParentResourceName ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithParentResourceName(parentResourceName string) *WebhookServiceListWebhookDeliveriesParams
WithParentResourceName adds the parentResourceName to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WithSortingOrderBy ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithSortingOrderBy(sortingOrderBy []string) *WebhookServiceListWebhookDeliveriesParams
WithSortingOrderBy adds the sortingOrderBy to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WithTimeout ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WithTimeout(timeout time.Duration) *WebhookServiceListWebhookDeliveriesParams
WithTimeout adds the timeout to the webhook service list webhook deliveries params
func (*WebhookServiceListWebhookDeliveriesParams) WriteToRequest ¶
func (o *WebhookServiceListWebhookDeliveriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WebhookServiceListWebhookDeliveriesReader ¶
type WebhookServiceListWebhookDeliveriesReader struct {
// contains filtered or unexported fields
}
WebhookServiceListWebhookDeliveriesReader is a Reader for the WebhookServiceListWebhookDeliveries structure.
func (*WebhookServiceListWebhookDeliveriesReader) ReadResponse ¶
func (o *WebhookServiceListWebhookDeliveriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WebhookServiceListWebhooksDefault ¶
type WebhookServiceListWebhooksDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
WebhookServiceListWebhooksDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWebhookServiceListWebhooksDefault ¶
func NewWebhookServiceListWebhooksDefault(code int) *WebhookServiceListWebhooksDefault
NewWebhookServiceListWebhooksDefault creates a WebhookServiceListWebhooksDefault with default headers values
func (*WebhookServiceListWebhooksDefault) Code ¶
func (o *WebhookServiceListWebhooksDefault) Code() int
Code gets the status code for the webhook service list webhooks default response
func (*WebhookServiceListWebhooksDefault) Error ¶
func (o *WebhookServiceListWebhooksDefault) Error() string
func (*WebhookServiceListWebhooksDefault) GetPayload ¶
func (o *WebhookServiceListWebhooksDefault) GetPayload() *cloud.GoogleRPCStatus
func (*WebhookServiceListWebhooksDefault) IsClientError ¶
func (o *WebhookServiceListWebhooksDefault) IsClientError() bool
IsClientError returns true when this webhook service list webhooks default response has a 4xx status code
func (*WebhookServiceListWebhooksDefault) IsCode ¶
func (o *WebhookServiceListWebhooksDefault) IsCode(code int) bool
IsCode returns true when this webhook service list webhooks default response a status code equal to that given
func (*WebhookServiceListWebhooksDefault) IsRedirect ¶
func (o *WebhookServiceListWebhooksDefault) IsRedirect() bool
IsRedirect returns true when this webhook service list webhooks default response has a 3xx status code
func (*WebhookServiceListWebhooksDefault) IsServerError ¶
func (o *WebhookServiceListWebhooksDefault) IsServerError() bool
IsServerError returns true when this webhook service list webhooks default response has a 5xx status code
func (*WebhookServiceListWebhooksDefault) IsSuccess ¶
func (o *WebhookServiceListWebhooksDefault) IsSuccess() bool
IsSuccess returns true when this webhook service list webhooks default response has a 2xx status code
func (*WebhookServiceListWebhooksDefault) String ¶
func (o *WebhookServiceListWebhooksDefault) String() string
type WebhookServiceListWebhooksOK ¶
type WebhookServiceListWebhooksOK struct {
Payload *models.HashicorpCloudWebhookListWebhooksResponse
}
WebhookServiceListWebhooksOK describes a response with status code 200, with default header values.
A successful response.
func NewWebhookServiceListWebhooksOK ¶
func NewWebhookServiceListWebhooksOK() *WebhookServiceListWebhooksOK
NewWebhookServiceListWebhooksOK creates a WebhookServiceListWebhooksOK with default headers values
func (*WebhookServiceListWebhooksOK) Code ¶
func (o *WebhookServiceListWebhooksOK) Code() int
Code gets the status code for the webhook service list webhooks o k response
func (*WebhookServiceListWebhooksOK) Error ¶
func (o *WebhookServiceListWebhooksOK) Error() string
func (*WebhookServiceListWebhooksOK) GetPayload ¶
func (o *WebhookServiceListWebhooksOK) GetPayload() *models.HashicorpCloudWebhookListWebhooksResponse
func (*WebhookServiceListWebhooksOK) IsClientError ¶
func (o *WebhookServiceListWebhooksOK) IsClientError() bool
IsClientError returns true when this webhook service list webhooks o k response has a 4xx status code
func (*WebhookServiceListWebhooksOK) IsCode ¶
func (o *WebhookServiceListWebhooksOK) IsCode(code int) bool
IsCode returns true when this webhook service list webhooks o k response a status code equal to that given
func (*WebhookServiceListWebhooksOK) IsRedirect ¶
func (o *WebhookServiceListWebhooksOK) IsRedirect() bool
IsRedirect returns true when this webhook service list webhooks o k response has a 3xx status code
func (*WebhookServiceListWebhooksOK) IsServerError ¶
func (o *WebhookServiceListWebhooksOK) IsServerError() bool
IsServerError returns true when this webhook service list webhooks o k response has a 5xx status code
func (*WebhookServiceListWebhooksOK) IsSuccess ¶
func (o *WebhookServiceListWebhooksOK) IsSuccess() bool
IsSuccess returns true when this webhook service list webhooks o k response has a 2xx status code
func (*WebhookServiceListWebhooksOK) String ¶
func (o *WebhookServiceListWebhooksOK) String() string
type WebhookServiceListWebhooksParams ¶
type WebhookServiceListWebhooksParams struct { /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* ParentResourceName. The parent resource of a webhook is an HCP project. A project's resource name format is `project/<project-id>`. */ ParentResourceName string /* SortingOrderBy. Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending. The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed. Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order. */ SortingOrderBy []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WebhookServiceListWebhooksParams contains all the parameters to send to the API endpoint
for the webhook service list webhooks operation. Typically these are written to a http.Request.
func NewWebhookServiceListWebhooksParams ¶
func NewWebhookServiceListWebhooksParams() *WebhookServiceListWebhooksParams
NewWebhookServiceListWebhooksParams creates a new WebhookServiceListWebhooksParams 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 NewWebhookServiceListWebhooksParamsWithContext ¶
func NewWebhookServiceListWebhooksParamsWithContext(ctx context.Context) *WebhookServiceListWebhooksParams
NewWebhookServiceListWebhooksParamsWithContext creates a new WebhookServiceListWebhooksParams object with the ability to set a context for a request.
func NewWebhookServiceListWebhooksParamsWithHTTPClient ¶
func NewWebhookServiceListWebhooksParamsWithHTTPClient(client *http.Client) *WebhookServiceListWebhooksParams
NewWebhookServiceListWebhooksParamsWithHTTPClient creates a new WebhookServiceListWebhooksParams object with the ability to set a custom HTTPClient for a request.
func NewWebhookServiceListWebhooksParamsWithTimeout ¶
func NewWebhookServiceListWebhooksParamsWithTimeout(timeout time.Duration) *WebhookServiceListWebhooksParams
NewWebhookServiceListWebhooksParamsWithTimeout creates a new WebhookServiceListWebhooksParams object with the ability to set a timeout on a request.
func (*WebhookServiceListWebhooksParams) SetContext ¶
func (o *WebhookServiceListWebhooksParams) SetContext(ctx context.Context)
SetContext adds the context to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) SetDefaults ¶
func (o *WebhookServiceListWebhooksParams) SetDefaults()
SetDefaults hydrates default values in the webhook service list webhooks params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceListWebhooksParams) SetHTTPClient ¶
func (o *WebhookServiceListWebhooksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) SetPaginationNextPageToken ¶
func (o *WebhookServiceListWebhooksParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) SetPaginationPageSize ¶
func (o *WebhookServiceListWebhooksParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) SetPaginationPreviousPageToken ¶
func (o *WebhookServiceListWebhooksParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) SetParentResourceName ¶
func (o *WebhookServiceListWebhooksParams) SetParentResourceName(parentResourceName string)
SetParentResourceName adds the parentResourceName to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) SetSortingOrderBy ¶
func (o *WebhookServiceListWebhooksParams) SetSortingOrderBy(sortingOrderBy []string)
SetSortingOrderBy adds the sortingOrderBy to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) SetTimeout ¶
func (o *WebhookServiceListWebhooksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WithContext ¶
func (o *WebhookServiceListWebhooksParams) WithContext(ctx context.Context) *WebhookServiceListWebhooksParams
WithContext adds the context to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WithDefaults ¶
func (o *WebhookServiceListWebhooksParams) WithDefaults() *WebhookServiceListWebhooksParams
WithDefaults hydrates default values in the webhook service list webhooks params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceListWebhooksParams) WithHTTPClient ¶
func (o *WebhookServiceListWebhooksParams) WithHTTPClient(client *http.Client) *WebhookServiceListWebhooksParams
WithHTTPClient adds the HTTPClient to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WithPaginationNextPageToken ¶
func (o *WebhookServiceListWebhooksParams) WithPaginationNextPageToken(paginationNextPageToken *string) *WebhookServiceListWebhooksParams
WithPaginationNextPageToken adds the paginationNextPageToken to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WithPaginationPageSize ¶
func (o *WebhookServiceListWebhooksParams) WithPaginationPageSize(paginationPageSize *int64) *WebhookServiceListWebhooksParams
WithPaginationPageSize adds the paginationPageSize to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WithPaginationPreviousPageToken ¶
func (o *WebhookServiceListWebhooksParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *WebhookServiceListWebhooksParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WithParentResourceName ¶
func (o *WebhookServiceListWebhooksParams) WithParentResourceName(parentResourceName string) *WebhookServiceListWebhooksParams
WithParentResourceName adds the parentResourceName to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WithSortingOrderBy ¶
func (o *WebhookServiceListWebhooksParams) WithSortingOrderBy(sortingOrderBy []string) *WebhookServiceListWebhooksParams
WithSortingOrderBy adds the sortingOrderBy to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WithTimeout ¶
func (o *WebhookServiceListWebhooksParams) WithTimeout(timeout time.Duration) *WebhookServiceListWebhooksParams
WithTimeout adds the timeout to the webhook service list webhooks params
func (*WebhookServiceListWebhooksParams) WriteToRequest ¶
func (o *WebhookServiceListWebhooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WebhookServiceListWebhooksReader ¶
type WebhookServiceListWebhooksReader struct {
// contains filtered or unexported fields
}
WebhookServiceListWebhooksReader is a Reader for the WebhookServiceListWebhooks structure.
func (*WebhookServiceListWebhooksReader) ReadResponse ¶
func (o *WebhookServiceListWebhooksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WebhookServiceUpdateWebhookDefault ¶
type WebhookServiceUpdateWebhookDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
WebhookServiceUpdateWebhookDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWebhookServiceUpdateWebhookDefault ¶
func NewWebhookServiceUpdateWebhookDefault(code int) *WebhookServiceUpdateWebhookDefault
NewWebhookServiceUpdateWebhookDefault creates a WebhookServiceUpdateWebhookDefault with default headers values
func (*WebhookServiceUpdateWebhookDefault) Code ¶
func (o *WebhookServiceUpdateWebhookDefault) Code() int
Code gets the status code for the webhook service update webhook default response
func (*WebhookServiceUpdateWebhookDefault) Error ¶
func (o *WebhookServiceUpdateWebhookDefault) Error() string
func (*WebhookServiceUpdateWebhookDefault) GetPayload ¶
func (o *WebhookServiceUpdateWebhookDefault) GetPayload() *cloud.GoogleRPCStatus
func (*WebhookServiceUpdateWebhookDefault) IsClientError ¶
func (o *WebhookServiceUpdateWebhookDefault) IsClientError() bool
IsClientError returns true when this webhook service update webhook default response has a 4xx status code
func (*WebhookServiceUpdateWebhookDefault) IsCode ¶
func (o *WebhookServiceUpdateWebhookDefault) IsCode(code int) bool
IsCode returns true when this webhook service update webhook default response a status code equal to that given
func (*WebhookServiceUpdateWebhookDefault) IsRedirect ¶
func (o *WebhookServiceUpdateWebhookDefault) IsRedirect() bool
IsRedirect returns true when this webhook service update webhook default response has a 3xx status code
func (*WebhookServiceUpdateWebhookDefault) IsServerError ¶
func (o *WebhookServiceUpdateWebhookDefault) IsServerError() bool
IsServerError returns true when this webhook service update webhook default response has a 5xx status code
func (*WebhookServiceUpdateWebhookDefault) IsSuccess ¶
func (o *WebhookServiceUpdateWebhookDefault) IsSuccess() bool
IsSuccess returns true when this webhook service update webhook default response has a 2xx status code
func (*WebhookServiceUpdateWebhookDefault) String ¶
func (o *WebhookServiceUpdateWebhookDefault) String() string
type WebhookServiceUpdateWebhookNameDefault ¶
type WebhookServiceUpdateWebhookNameDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
WebhookServiceUpdateWebhookNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewWebhookServiceUpdateWebhookNameDefault ¶
func NewWebhookServiceUpdateWebhookNameDefault(code int) *WebhookServiceUpdateWebhookNameDefault
NewWebhookServiceUpdateWebhookNameDefault creates a WebhookServiceUpdateWebhookNameDefault with default headers values
func (*WebhookServiceUpdateWebhookNameDefault) Code ¶
func (o *WebhookServiceUpdateWebhookNameDefault) Code() int
Code gets the status code for the webhook service update webhook name default response
func (*WebhookServiceUpdateWebhookNameDefault) Error ¶
func (o *WebhookServiceUpdateWebhookNameDefault) Error() string
func (*WebhookServiceUpdateWebhookNameDefault) GetPayload ¶
func (o *WebhookServiceUpdateWebhookNameDefault) GetPayload() *cloud.GoogleRPCStatus
func (*WebhookServiceUpdateWebhookNameDefault) IsClientError ¶
func (o *WebhookServiceUpdateWebhookNameDefault) IsClientError() bool
IsClientError returns true when this webhook service update webhook name default response has a 4xx status code
func (*WebhookServiceUpdateWebhookNameDefault) IsCode ¶
func (o *WebhookServiceUpdateWebhookNameDefault) IsCode(code int) bool
IsCode returns true when this webhook service update webhook name default response a status code equal to that given
func (*WebhookServiceUpdateWebhookNameDefault) IsRedirect ¶
func (o *WebhookServiceUpdateWebhookNameDefault) IsRedirect() bool
IsRedirect returns true when this webhook service update webhook name default response has a 3xx status code
func (*WebhookServiceUpdateWebhookNameDefault) IsServerError ¶
func (o *WebhookServiceUpdateWebhookNameDefault) IsServerError() bool
IsServerError returns true when this webhook service update webhook name default response has a 5xx status code
func (*WebhookServiceUpdateWebhookNameDefault) IsSuccess ¶
func (o *WebhookServiceUpdateWebhookNameDefault) IsSuccess() bool
IsSuccess returns true when this webhook service update webhook name default response has a 2xx status code
func (*WebhookServiceUpdateWebhookNameDefault) String ¶
func (o *WebhookServiceUpdateWebhookNameDefault) String() string
type WebhookServiceUpdateWebhookNameOK ¶
type WebhookServiceUpdateWebhookNameOK struct {
Payload *models.HashicorpCloudWebhookUpdateWebhookNameResponse
}
WebhookServiceUpdateWebhookNameOK describes a response with status code 200, with default header values.
A successful response.
func NewWebhookServiceUpdateWebhookNameOK ¶
func NewWebhookServiceUpdateWebhookNameOK() *WebhookServiceUpdateWebhookNameOK
NewWebhookServiceUpdateWebhookNameOK creates a WebhookServiceUpdateWebhookNameOK with default headers values
func (*WebhookServiceUpdateWebhookNameOK) Code ¶
func (o *WebhookServiceUpdateWebhookNameOK) Code() int
Code gets the status code for the webhook service update webhook name o k response
func (*WebhookServiceUpdateWebhookNameOK) Error ¶
func (o *WebhookServiceUpdateWebhookNameOK) Error() string
func (*WebhookServiceUpdateWebhookNameOK) GetPayload ¶
func (o *WebhookServiceUpdateWebhookNameOK) GetPayload() *models.HashicorpCloudWebhookUpdateWebhookNameResponse
func (*WebhookServiceUpdateWebhookNameOK) IsClientError ¶
func (o *WebhookServiceUpdateWebhookNameOK) IsClientError() bool
IsClientError returns true when this webhook service update webhook name o k response has a 4xx status code
func (*WebhookServiceUpdateWebhookNameOK) IsCode ¶
func (o *WebhookServiceUpdateWebhookNameOK) IsCode(code int) bool
IsCode returns true when this webhook service update webhook name o k response a status code equal to that given
func (*WebhookServiceUpdateWebhookNameOK) IsRedirect ¶
func (o *WebhookServiceUpdateWebhookNameOK) IsRedirect() bool
IsRedirect returns true when this webhook service update webhook name o k response has a 3xx status code
func (*WebhookServiceUpdateWebhookNameOK) IsServerError ¶
func (o *WebhookServiceUpdateWebhookNameOK) IsServerError() bool
IsServerError returns true when this webhook service update webhook name o k response has a 5xx status code
func (*WebhookServiceUpdateWebhookNameOK) IsSuccess ¶
func (o *WebhookServiceUpdateWebhookNameOK) IsSuccess() bool
IsSuccess returns true when this webhook service update webhook name o k response has a 2xx status code
func (*WebhookServiceUpdateWebhookNameOK) String ¶
func (o *WebhookServiceUpdateWebhookNameOK) String() string
type WebhookServiceUpdateWebhookNameParams ¶
type WebhookServiceUpdateWebhookNameParams struct { /* Body. The information to update a webhook name. */ Body *models.HashicorpCloudWebhookUpdateWebhookNameRequestBody /* ResourceName. The webhook resource name. A webhook's resource name format name is `webhook/project/<project-id>/geo/<geography>/webhook/<webhook-name>`. */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WebhookServiceUpdateWebhookNameParams contains all the parameters to send to the API endpoint
for the webhook service update webhook name operation. Typically these are written to a http.Request.
func NewWebhookServiceUpdateWebhookNameParams ¶
func NewWebhookServiceUpdateWebhookNameParams() *WebhookServiceUpdateWebhookNameParams
NewWebhookServiceUpdateWebhookNameParams creates a new WebhookServiceUpdateWebhookNameParams 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 NewWebhookServiceUpdateWebhookNameParamsWithContext ¶
func NewWebhookServiceUpdateWebhookNameParamsWithContext(ctx context.Context) *WebhookServiceUpdateWebhookNameParams
NewWebhookServiceUpdateWebhookNameParamsWithContext creates a new WebhookServiceUpdateWebhookNameParams object with the ability to set a context for a request.
func NewWebhookServiceUpdateWebhookNameParamsWithHTTPClient ¶
func NewWebhookServiceUpdateWebhookNameParamsWithHTTPClient(client *http.Client) *WebhookServiceUpdateWebhookNameParams
NewWebhookServiceUpdateWebhookNameParamsWithHTTPClient creates a new WebhookServiceUpdateWebhookNameParams object with the ability to set a custom HTTPClient for a request.
func NewWebhookServiceUpdateWebhookNameParamsWithTimeout ¶
func NewWebhookServiceUpdateWebhookNameParamsWithTimeout(timeout time.Duration) *WebhookServiceUpdateWebhookNameParams
NewWebhookServiceUpdateWebhookNameParamsWithTimeout creates a new WebhookServiceUpdateWebhookNameParams object with the ability to set a timeout on a request.
func (*WebhookServiceUpdateWebhookNameParams) SetBody ¶
func (o *WebhookServiceUpdateWebhookNameParams) SetBody(body *models.HashicorpCloudWebhookUpdateWebhookNameRequestBody)
SetBody adds the body to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) SetContext ¶
func (o *WebhookServiceUpdateWebhookNameParams) SetContext(ctx context.Context)
SetContext adds the context to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) SetDefaults ¶
func (o *WebhookServiceUpdateWebhookNameParams) SetDefaults()
SetDefaults hydrates default values in the webhook service update webhook name params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceUpdateWebhookNameParams) SetHTTPClient ¶
func (o *WebhookServiceUpdateWebhookNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) SetResourceName ¶
func (o *WebhookServiceUpdateWebhookNameParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) SetTimeout ¶
func (o *WebhookServiceUpdateWebhookNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) WithBody ¶
func (o *WebhookServiceUpdateWebhookNameParams) WithBody(body *models.HashicorpCloudWebhookUpdateWebhookNameRequestBody) *WebhookServiceUpdateWebhookNameParams
WithBody adds the body to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) WithContext ¶
func (o *WebhookServiceUpdateWebhookNameParams) WithContext(ctx context.Context) *WebhookServiceUpdateWebhookNameParams
WithContext adds the context to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) WithDefaults ¶
func (o *WebhookServiceUpdateWebhookNameParams) WithDefaults() *WebhookServiceUpdateWebhookNameParams
WithDefaults hydrates default values in the webhook service update webhook name params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceUpdateWebhookNameParams) WithHTTPClient ¶
func (o *WebhookServiceUpdateWebhookNameParams) WithHTTPClient(client *http.Client) *WebhookServiceUpdateWebhookNameParams
WithHTTPClient adds the HTTPClient to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) WithResourceName ¶
func (o *WebhookServiceUpdateWebhookNameParams) WithResourceName(resourceName string) *WebhookServiceUpdateWebhookNameParams
WithResourceName adds the resourceName to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) WithTimeout ¶
func (o *WebhookServiceUpdateWebhookNameParams) WithTimeout(timeout time.Duration) *WebhookServiceUpdateWebhookNameParams
WithTimeout adds the timeout to the webhook service update webhook name params
func (*WebhookServiceUpdateWebhookNameParams) WriteToRequest ¶
func (o *WebhookServiceUpdateWebhookNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WebhookServiceUpdateWebhookNameReader ¶
type WebhookServiceUpdateWebhookNameReader struct {
// contains filtered or unexported fields
}
WebhookServiceUpdateWebhookNameReader is a Reader for the WebhookServiceUpdateWebhookName structure.
func (*WebhookServiceUpdateWebhookNameReader) ReadResponse ¶
func (o *WebhookServiceUpdateWebhookNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WebhookServiceUpdateWebhookOK ¶
type WebhookServiceUpdateWebhookOK struct {
Payload *models.HashicorpCloudWebhookUpdateWebhookResponse
}
WebhookServiceUpdateWebhookOK describes a response with status code 200, with default header values.
A successful response.
func NewWebhookServiceUpdateWebhookOK ¶
func NewWebhookServiceUpdateWebhookOK() *WebhookServiceUpdateWebhookOK
NewWebhookServiceUpdateWebhookOK creates a WebhookServiceUpdateWebhookOK with default headers values
func (*WebhookServiceUpdateWebhookOK) Code ¶
func (o *WebhookServiceUpdateWebhookOK) Code() int
Code gets the status code for the webhook service update webhook o k response
func (*WebhookServiceUpdateWebhookOK) Error ¶
func (o *WebhookServiceUpdateWebhookOK) Error() string
func (*WebhookServiceUpdateWebhookOK) GetPayload ¶
func (o *WebhookServiceUpdateWebhookOK) GetPayload() *models.HashicorpCloudWebhookUpdateWebhookResponse
func (*WebhookServiceUpdateWebhookOK) IsClientError ¶
func (o *WebhookServiceUpdateWebhookOK) IsClientError() bool
IsClientError returns true when this webhook service update webhook o k response has a 4xx status code
func (*WebhookServiceUpdateWebhookOK) IsCode ¶
func (o *WebhookServiceUpdateWebhookOK) IsCode(code int) bool
IsCode returns true when this webhook service update webhook o k response a status code equal to that given
func (*WebhookServiceUpdateWebhookOK) IsRedirect ¶
func (o *WebhookServiceUpdateWebhookOK) IsRedirect() bool
IsRedirect returns true when this webhook service update webhook o k response has a 3xx status code
func (*WebhookServiceUpdateWebhookOK) IsServerError ¶
func (o *WebhookServiceUpdateWebhookOK) IsServerError() bool
IsServerError returns true when this webhook service update webhook o k response has a 5xx status code
func (*WebhookServiceUpdateWebhookOK) IsSuccess ¶
func (o *WebhookServiceUpdateWebhookOK) IsSuccess() bool
IsSuccess returns true when this webhook service update webhook o k response has a 2xx status code
func (*WebhookServiceUpdateWebhookOK) String ¶
func (o *WebhookServiceUpdateWebhookOK) String() string
type WebhookServiceUpdateWebhookParams ¶
type WebhookServiceUpdateWebhookParams struct { /* Body. The information to update a webhook. */ Body *models.HashicorpCloudWebhookUpdateWebhookRequestBody /* ResourceName. The webhook resource name. A webhook's resource name format name is `webhook/project/<project-id>/geo/<geography>/webhook/<webhook-name>`. */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WebhookServiceUpdateWebhookParams contains all the parameters to send to the API endpoint
for the webhook service update webhook operation. Typically these are written to a http.Request.
func NewWebhookServiceUpdateWebhookParams ¶
func NewWebhookServiceUpdateWebhookParams() *WebhookServiceUpdateWebhookParams
NewWebhookServiceUpdateWebhookParams creates a new WebhookServiceUpdateWebhookParams 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 NewWebhookServiceUpdateWebhookParamsWithContext ¶
func NewWebhookServiceUpdateWebhookParamsWithContext(ctx context.Context) *WebhookServiceUpdateWebhookParams
NewWebhookServiceUpdateWebhookParamsWithContext creates a new WebhookServiceUpdateWebhookParams object with the ability to set a context for a request.
func NewWebhookServiceUpdateWebhookParamsWithHTTPClient ¶
func NewWebhookServiceUpdateWebhookParamsWithHTTPClient(client *http.Client) *WebhookServiceUpdateWebhookParams
NewWebhookServiceUpdateWebhookParamsWithHTTPClient creates a new WebhookServiceUpdateWebhookParams object with the ability to set a custom HTTPClient for a request.
func NewWebhookServiceUpdateWebhookParamsWithTimeout ¶
func NewWebhookServiceUpdateWebhookParamsWithTimeout(timeout time.Duration) *WebhookServiceUpdateWebhookParams
NewWebhookServiceUpdateWebhookParamsWithTimeout creates a new WebhookServiceUpdateWebhookParams object with the ability to set a timeout on a request.
func (*WebhookServiceUpdateWebhookParams) SetBody ¶
func (o *WebhookServiceUpdateWebhookParams) SetBody(body *models.HashicorpCloudWebhookUpdateWebhookRequestBody)
SetBody adds the body to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) SetContext ¶
func (o *WebhookServiceUpdateWebhookParams) SetContext(ctx context.Context)
SetContext adds the context to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) SetDefaults ¶
func (o *WebhookServiceUpdateWebhookParams) SetDefaults()
SetDefaults hydrates default values in the webhook service update webhook params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceUpdateWebhookParams) SetHTTPClient ¶
func (o *WebhookServiceUpdateWebhookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) SetResourceName ¶
func (o *WebhookServiceUpdateWebhookParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) SetTimeout ¶
func (o *WebhookServiceUpdateWebhookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) WithBody ¶
func (o *WebhookServiceUpdateWebhookParams) WithBody(body *models.HashicorpCloudWebhookUpdateWebhookRequestBody) *WebhookServiceUpdateWebhookParams
WithBody adds the body to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) WithContext ¶
func (o *WebhookServiceUpdateWebhookParams) WithContext(ctx context.Context) *WebhookServiceUpdateWebhookParams
WithContext adds the context to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) WithDefaults ¶
func (o *WebhookServiceUpdateWebhookParams) WithDefaults() *WebhookServiceUpdateWebhookParams
WithDefaults hydrates default values in the webhook service update webhook params (not the query body).
All values with no default are reset to their zero value.
func (*WebhookServiceUpdateWebhookParams) WithHTTPClient ¶
func (o *WebhookServiceUpdateWebhookParams) WithHTTPClient(client *http.Client) *WebhookServiceUpdateWebhookParams
WithHTTPClient adds the HTTPClient to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) WithResourceName ¶
func (o *WebhookServiceUpdateWebhookParams) WithResourceName(resourceName string) *WebhookServiceUpdateWebhookParams
WithResourceName adds the resourceName to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) WithTimeout ¶
func (o *WebhookServiceUpdateWebhookParams) WithTimeout(timeout time.Duration) *WebhookServiceUpdateWebhookParams
WithTimeout adds the timeout to the webhook service update webhook params
func (*WebhookServiceUpdateWebhookParams) WriteToRequest ¶
func (o *WebhookServiceUpdateWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WebhookServiceUpdateWebhookReader ¶
type WebhookServiceUpdateWebhookReader struct {
// contains filtered or unexported fields
}
WebhookServiceUpdateWebhookReader is a Reader for the WebhookServiceUpdateWebhook structure.
func (*WebhookServiceUpdateWebhookReader) ReadResponse ¶
func (o *WebhookServiceUpdateWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- webhook_service_client.go
- webhook_service_create_webhook_parameters.go
- webhook_service_create_webhook_responses.go
- webhook_service_delete_webhook_parameters.go
- webhook_service_delete_webhook_responses.go
- webhook_service_get_webhook_parameters.go
- webhook_service_get_webhook_responses.go
- webhook_service_list_webhook_deliveries_parameters.go
- webhook_service_list_webhook_deliveries_responses.go
- webhook_service_list_webhooks_parameters.go
- webhook_service_list_webhooks_responses.go
- webhook_service_update_webhook_name_parameters.go
- webhook_service_update_webhook_name_responses.go
- webhook_service_update_webhook_parameters.go
- webhook_service_update_webhook_responses.go