Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateScript(params *CreateScriptParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateScriptCreated, error)
- func (a *Client) DeleteScript(params *DeleteScriptParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteScriptNoContent, error)
- func (a *Client) GetScript(params *GetScriptParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetScriptOK, error)
- func (a *Client) ListScripts(params *ListScriptsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListScriptsOK, error)
- func (a *Client) PatchScript(params *PatchScriptParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchScriptOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateScript(params *UpdateScriptParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateScriptOK, error)
- type ClientOption
- type ClientService
- type CreateScriptBadRequest
- func (o *CreateScriptBadRequest) Code() int
- func (o *CreateScriptBadRequest) Error() string
- func (o *CreateScriptBadRequest) GetPayload() *models.Error
- func (o *CreateScriptBadRequest) IsClientError() bool
- func (o *CreateScriptBadRequest) IsCode(code int) bool
- func (o *CreateScriptBadRequest) IsRedirect() bool
- func (o *CreateScriptBadRequest) IsServerError() bool
- func (o *CreateScriptBadRequest) IsSuccess() bool
- func (o *CreateScriptBadRequest) String() string
- type CreateScriptCreated
- func (o *CreateScriptCreated) Code() int
- func (o *CreateScriptCreated) Error() string
- func (o *CreateScriptCreated) GetPayload() *models.Script
- func (o *CreateScriptCreated) IsClientError() bool
- func (o *CreateScriptCreated) IsCode(code int) bool
- func (o *CreateScriptCreated) IsRedirect() bool
- func (o *CreateScriptCreated) IsServerError() bool
- func (o *CreateScriptCreated) IsSuccess() bool
- func (o *CreateScriptCreated) String() string
- type CreateScriptForbidden
- func (o *CreateScriptForbidden) Code() int
- func (o *CreateScriptForbidden) Error() string
- func (o *CreateScriptForbidden) GetPayload() *models.Error
- func (o *CreateScriptForbidden) IsClientError() bool
- func (o *CreateScriptForbidden) IsCode(code int) bool
- func (o *CreateScriptForbidden) IsRedirect() bool
- func (o *CreateScriptForbidden) IsServerError() bool
- func (o *CreateScriptForbidden) IsSuccess() bool
- func (o *CreateScriptForbidden) String() string
- type CreateScriptParams
- func (o *CreateScriptParams) SetContext(ctx context.Context)
- func (o *CreateScriptParams) SetDefaults()
- func (o *CreateScriptParams) SetHTTPClient(client *http.Client)
- func (o *CreateScriptParams) SetIfMatch(ifMatch *string)
- func (o *CreateScriptParams) SetScript(script *models.Script)
- func (o *CreateScriptParams) SetTimeout(timeout time.Duration)
- func (o *CreateScriptParams) SetWid(wid string)
- func (o *CreateScriptParams) SetXCorrelationID(xCorrelationID *string)
- func (o *CreateScriptParams) SetXIdempotencyKey(xIdempotencyKey *string)
- func (o *CreateScriptParams) WithContext(ctx context.Context) *CreateScriptParams
- func (o *CreateScriptParams) WithDefaults() *CreateScriptParams
- func (o *CreateScriptParams) WithHTTPClient(client *http.Client) *CreateScriptParams
- func (o *CreateScriptParams) WithIfMatch(ifMatch *string) *CreateScriptParams
- func (o *CreateScriptParams) WithScript(script *models.Script) *CreateScriptParams
- func (o *CreateScriptParams) WithTimeout(timeout time.Duration) *CreateScriptParams
- func (o *CreateScriptParams) WithWid(wid string) *CreateScriptParams
- func (o *CreateScriptParams) WithXCorrelationID(xCorrelationID *string) *CreateScriptParams
- func (o *CreateScriptParams) WithXIdempotencyKey(xIdempotencyKey *string) *CreateScriptParams
- func (o *CreateScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateScriptReader
- type CreateScriptTooManyRequests
- func (o *CreateScriptTooManyRequests) Code() int
- func (o *CreateScriptTooManyRequests) Error() string
- func (o *CreateScriptTooManyRequests) GetPayload() *models.Error
- func (o *CreateScriptTooManyRequests) IsClientError() bool
- func (o *CreateScriptTooManyRequests) IsCode(code int) bool
- func (o *CreateScriptTooManyRequests) IsRedirect() bool
- func (o *CreateScriptTooManyRequests) IsServerError() bool
- func (o *CreateScriptTooManyRequests) IsSuccess() bool
- func (o *CreateScriptTooManyRequests) String() string
- type CreateScriptUnauthorized
- func (o *CreateScriptUnauthorized) Code() int
- func (o *CreateScriptUnauthorized) Error() string
- func (o *CreateScriptUnauthorized) GetPayload() *models.Error
- func (o *CreateScriptUnauthorized) IsClientError() bool
- func (o *CreateScriptUnauthorized) IsCode(code int) bool
- func (o *CreateScriptUnauthorized) IsRedirect() bool
- func (o *CreateScriptUnauthorized) IsServerError() bool
- func (o *CreateScriptUnauthorized) IsSuccess() bool
- func (o *CreateScriptUnauthorized) String() string
- type DeleteScriptBadRequest
- func (o *DeleteScriptBadRequest) Code() int
- func (o *DeleteScriptBadRequest) Error() string
- func (o *DeleteScriptBadRequest) GetPayload() *models.Error
- func (o *DeleteScriptBadRequest) IsClientError() bool
- func (o *DeleteScriptBadRequest) IsCode(code int) bool
- func (o *DeleteScriptBadRequest) IsRedirect() bool
- func (o *DeleteScriptBadRequest) IsServerError() bool
- func (o *DeleteScriptBadRequest) IsSuccess() bool
- func (o *DeleteScriptBadRequest) String() string
- type DeleteScriptForbidden
- func (o *DeleteScriptForbidden) Code() int
- func (o *DeleteScriptForbidden) Error() string
- func (o *DeleteScriptForbidden) GetPayload() *models.Error
- func (o *DeleteScriptForbidden) IsClientError() bool
- func (o *DeleteScriptForbidden) IsCode(code int) bool
- func (o *DeleteScriptForbidden) IsRedirect() bool
- func (o *DeleteScriptForbidden) IsServerError() bool
- func (o *DeleteScriptForbidden) IsSuccess() bool
- func (o *DeleteScriptForbidden) String() string
- type DeleteScriptNoContent
- func (o *DeleteScriptNoContent) Code() int
- func (o *DeleteScriptNoContent) Error() string
- func (o *DeleteScriptNoContent) IsClientError() bool
- func (o *DeleteScriptNoContent) IsCode(code int) bool
- func (o *DeleteScriptNoContent) IsRedirect() bool
- func (o *DeleteScriptNoContent) IsServerError() bool
- func (o *DeleteScriptNoContent) IsSuccess() bool
- func (o *DeleteScriptNoContent) String() string
- type DeleteScriptNotFound
- func (o *DeleteScriptNotFound) Code() int
- func (o *DeleteScriptNotFound) Error() string
- func (o *DeleteScriptNotFound) GetPayload() *models.Error
- func (o *DeleteScriptNotFound) IsClientError() bool
- func (o *DeleteScriptNotFound) IsCode(code int) bool
- func (o *DeleteScriptNotFound) IsRedirect() bool
- func (o *DeleteScriptNotFound) IsServerError() bool
- func (o *DeleteScriptNotFound) IsSuccess() bool
- func (o *DeleteScriptNotFound) String() string
- type DeleteScriptParams
- func (o *DeleteScriptParams) SetContext(ctx context.Context)
- func (o *DeleteScriptParams) SetDefaults()
- func (o *DeleteScriptParams) SetHTTPClient(client *http.Client)
- func (o *DeleteScriptParams) SetIfMatch(ifMatch *string)
- func (o *DeleteScriptParams) SetScript(script string)
- func (o *DeleteScriptParams) SetTimeout(timeout time.Duration)
- func (o *DeleteScriptParams) SetWid(wid string)
- func (o *DeleteScriptParams) SetXCorrelationID(xCorrelationID *string)
- func (o *DeleteScriptParams) SetXIdempotencyKey(xIdempotencyKey *string)
- func (o *DeleteScriptParams) WithContext(ctx context.Context) *DeleteScriptParams
- func (o *DeleteScriptParams) WithDefaults() *DeleteScriptParams
- func (o *DeleteScriptParams) WithHTTPClient(client *http.Client) *DeleteScriptParams
- func (o *DeleteScriptParams) WithIfMatch(ifMatch *string) *DeleteScriptParams
- func (o *DeleteScriptParams) WithScript(script string) *DeleteScriptParams
- func (o *DeleteScriptParams) WithTimeout(timeout time.Duration) *DeleteScriptParams
- func (o *DeleteScriptParams) WithWid(wid string) *DeleteScriptParams
- func (o *DeleteScriptParams) WithXCorrelationID(xCorrelationID *string) *DeleteScriptParams
- func (o *DeleteScriptParams) WithXIdempotencyKey(xIdempotencyKey *string) *DeleteScriptParams
- func (o *DeleteScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteScriptReader
- type DeleteScriptTooManyRequests
- func (o *DeleteScriptTooManyRequests) Code() int
- func (o *DeleteScriptTooManyRequests) Error() string
- func (o *DeleteScriptTooManyRequests) GetPayload() *models.Error
- func (o *DeleteScriptTooManyRequests) IsClientError() bool
- func (o *DeleteScriptTooManyRequests) IsCode(code int) bool
- func (o *DeleteScriptTooManyRequests) IsRedirect() bool
- func (o *DeleteScriptTooManyRequests) IsServerError() bool
- func (o *DeleteScriptTooManyRequests) IsSuccess() bool
- func (o *DeleteScriptTooManyRequests) String() string
- type DeleteScriptUnauthorized
- func (o *DeleteScriptUnauthorized) Code() int
- func (o *DeleteScriptUnauthorized) Error() string
- func (o *DeleteScriptUnauthorized) GetPayload() *models.Error
- func (o *DeleteScriptUnauthorized) IsClientError() bool
- func (o *DeleteScriptUnauthorized) IsCode(code int) bool
- func (o *DeleteScriptUnauthorized) IsRedirect() bool
- func (o *DeleteScriptUnauthorized) IsServerError() bool
- func (o *DeleteScriptUnauthorized) IsSuccess() bool
- func (o *DeleteScriptUnauthorized) String() string
- type GetScriptForbidden
- func (o *GetScriptForbidden) Code() int
- func (o *GetScriptForbidden) Error() string
- func (o *GetScriptForbidden) GetPayload() *models.Error
- func (o *GetScriptForbidden) IsClientError() bool
- func (o *GetScriptForbidden) IsCode(code int) bool
- func (o *GetScriptForbidden) IsRedirect() bool
- func (o *GetScriptForbidden) IsServerError() bool
- func (o *GetScriptForbidden) IsSuccess() bool
- func (o *GetScriptForbidden) String() string
- type GetScriptNotFound
- func (o *GetScriptNotFound) Code() int
- func (o *GetScriptNotFound) Error() string
- func (o *GetScriptNotFound) GetPayload() *models.Error
- func (o *GetScriptNotFound) IsClientError() bool
- func (o *GetScriptNotFound) IsCode(code int) bool
- func (o *GetScriptNotFound) IsRedirect() bool
- func (o *GetScriptNotFound) IsServerError() bool
- func (o *GetScriptNotFound) IsSuccess() bool
- func (o *GetScriptNotFound) String() string
- type GetScriptOK
- func (o *GetScriptOK) Code() int
- func (o *GetScriptOK) Error() string
- func (o *GetScriptOK) GetPayload() *models.Script
- func (o *GetScriptOK) IsClientError() bool
- func (o *GetScriptOK) IsCode(code int) bool
- func (o *GetScriptOK) IsRedirect() bool
- func (o *GetScriptOK) IsServerError() bool
- func (o *GetScriptOK) IsSuccess() bool
- func (o *GetScriptOK) String() string
- type GetScriptParams
- func (o *GetScriptParams) SetContext(ctx context.Context)
- func (o *GetScriptParams) SetDefaults()
- func (o *GetScriptParams) SetHTTPClient(client *http.Client)
- func (o *GetScriptParams) SetIfMatch(ifMatch *string)
- func (o *GetScriptParams) SetScript(script string)
- func (o *GetScriptParams) SetTimeout(timeout time.Duration)
- func (o *GetScriptParams) SetWid(wid string)
- func (o *GetScriptParams) SetXCorrelationID(xCorrelationID *string)
- func (o *GetScriptParams) SetXIdempotencyKey(xIdempotencyKey *string)
- func (o *GetScriptParams) WithContext(ctx context.Context) *GetScriptParams
- func (o *GetScriptParams) WithDefaults() *GetScriptParams
- func (o *GetScriptParams) WithHTTPClient(client *http.Client) *GetScriptParams
- func (o *GetScriptParams) WithIfMatch(ifMatch *string) *GetScriptParams
- func (o *GetScriptParams) WithScript(script string) *GetScriptParams
- func (o *GetScriptParams) WithTimeout(timeout time.Duration) *GetScriptParams
- func (o *GetScriptParams) WithWid(wid string) *GetScriptParams
- func (o *GetScriptParams) WithXCorrelationID(xCorrelationID *string) *GetScriptParams
- func (o *GetScriptParams) WithXIdempotencyKey(xIdempotencyKey *string) *GetScriptParams
- func (o *GetScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScriptReader
- type GetScriptTooManyRequests
- func (o *GetScriptTooManyRequests) Code() int
- func (o *GetScriptTooManyRequests) Error() string
- func (o *GetScriptTooManyRequests) GetPayload() *models.Error
- func (o *GetScriptTooManyRequests) IsClientError() bool
- func (o *GetScriptTooManyRequests) IsCode(code int) bool
- func (o *GetScriptTooManyRequests) IsRedirect() bool
- func (o *GetScriptTooManyRequests) IsServerError() bool
- func (o *GetScriptTooManyRequests) IsSuccess() bool
- func (o *GetScriptTooManyRequests) String() string
- type GetScriptUnauthorized
- func (o *GetScriptUnauthorized) Code() int
- func (o *GetScriptUnauthorized) Error() string
- func (o *GetScriptUnauthorized) GetPayload() *models.Error
- func (o *GetScriptUnauthorized) IsClientError() bool
- func (o *GetScriptUnauthorized) IsCode(code int) bool
- func (o *GetScriptUnauthorized) IsRedirect() bool
- func (o *GetScriptUnauthorized) IsServerError() bool
- func (o *GetScriptUnauthorized) IsSuccess() bool
- func (o *GetScriptUnauthorized) String() string
- type ListScriptsBadRequest
- func (o *ListScriptsBadRequest) Code() int
- func (o *ListScriptsBadRequest) Error() string
- func (o *ListScriptsBadRequest) GetPayload() *models.Error
- func (o *ListScriptsBadRequest) IsClientError() bool
- func (o *ListScriptsBadRequest) IsCode(code int) bool
- func (o *ListScriptsBadRequest) IsRedirect() bool
- func (o *ListScriptsBadRequest) IsServerError() bool
- func (o *ListScriptsBadRequest) IsSuccess() bool
- func (o *ListScriptsBadRequest) String() string
- type ListScriptsForbidden
- func (o *ListScriptsForbidden) Code() int
- func (o *ListScriptsForbidden) Error() string
- func (o *ListScriptsForbidden) GetPayload() *models.Error
- func (o *ListScriptsForbidden) IsClientError() bool
- func (o *ListScriptsForbidden) IsCode(code int) bool
- func (o *ListScriptsForbidden) IsRedirect() bool
- func (o *ListScriptsForbidden) IsServerError() bool
- func (o *ListScriptsForbidden) IsSuccess() bool
- func (o *ListScriptsForbidden) String() string
- type ListScriptsOK
- func (o *ListScriptsOK) Code() int
- func (o *ListScriptsOK) Error() string
- func (o *ListScriptsOK) GetPayload() *models.Scripts
- func (o *ListScriptsOK) IsClientError() bool
- func (o *ListScriptsOK) IsCode(code int) bool
- func (o *ListScriptsOK) IsRedirect() bool
- func (o *ListScriptsOK) IsServerError() bool
- func (o *ListScriptsOK) IsSuccess() bool
- func (o *ListScriptsOK) String() string
- type ListScriptsParams
- func (o *ListScriptsParams) SetAfterScriptID(afterScriptID *string)
- func (o *ListScriptsParams) SetBeforeScriptID(beforeScriptID *string)
- func (o *ListScriptsParams) SetContext(ctx context.Context)
- func (o *ListScriptsParams) SetDefaults()
- func (o *ListScriptsParams) SetHTTPClient(client *http.Client)
- func (o *ListScriptsParams) SetIfMatch(ifMatch *string)
- func (o *ListScriptsParams) SetLimit(limit *int64)
- func (o *ListScriptsParams) SetOrder(order *string)
- func (o *ListScriptsParams) SetSearchPhrase(searchPhrase *string)
- func (o *ListScriptsParams) SetSort(sort *string)
- func (o *ListScriptsParams) SetTimeout(timeout time.Duration)
- func (o *ListScriptsParams) SetWid(wid string)
- func (o *ListScriptsParams) SetXCorrelationID(xCorrelationID *string)
- func (o *ListScriptsParams) SetXIdempotencyKey(xIdempotencyKey *string)
- func (o *ListScriptsParams) WithAfterScriptID(afterScriptID *string) *ListScriptsParams
- func (o *ListScriptsParams) WithBeforeScriptID(beforeScriptID *string) *ListScriptsParams
- func (o *ListScriptsParams) WithContext(ctx context.Context) *ListScriptsParams
- func (o *ListScriptsParams) WithDefaults() *ListScriptsParams
- func (o *ListScriptsParams) WithHTTPClient(client *http.Client) *ListScriptsParams
- func (o *ListScriptsParams) WithIfMatch(ifMatch *string) *ListScriptsParams
- func (o *ListScriptsParams) WithLimit(limit *int64) *ListScriptsParams
- func (o *ListScriptsParams) WithOrder(order *string) *ListScriptsParams
- func (o *ListScriptsParams) WithSearchPhrase(searchPhrase *string) *ListScriptsParams
- func (o *ListScriptsParams) WithSort(sort *string) *ListScriptsParams
- func (o *ListScriptsParams) WithTimeout(timeout time.Duration) *ListScriptsParams
- func (o *ListScriptsParams) WithWid(wid string) *ListScriptsParams
- func (o *ListScriptsParams) WithXCorrelationID(xCorrelationID *string) *ListScriptsParams
- func (o *ListScriptsParams) WithXIdempotencyKey(xIdempotencyKey *string) *ListScriptsParams
- func (o *ListScriptsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListScriptsReader
- type ListScriptsTooManyRequests
- func (o *ListScriptsTooManyRequests) Code() int
- func (o *ListScriptsTooManyRequests) Error() string
- func (o *ListScriptsTooManyRequests) GetPayload() *models.Error
- func (o *ListScriptsTooManyRequests) IsClientError() bool
- func (o *ListScriptsTooManyRequests) IsCode(code int) bool
- func (o *ListScriptsTooManyRequests) IsRedirect() bool
- func (o *ListScriptsTooManyRequests) IsServerError() bool
- func (o *ListScriptsTooManyRequests) IsSuccess() bool
- func (o *ListScriptsTooManyRequests) String() string
- type ListScriptsUnauthorized
- func (o *ListScriptsUnauthorized) Code() int
- func (o *ListScriptsUnauthorized) Error() string
- func (o *ListScriptsUnauthorized) GetPayload() *models.Error
- func (o *ListScriptsUnauthorized) IsClientError() bool
- func (o *ListScriptsUnauthorized) IsCode(code int) bool
- func (o *ListScriptsUnauthorized) IsRedirect() bool
- func (o *ListScriptsUnauthorized) IsServerError() bool
- func (o *ListScriptsUnauthorized) IsSuccess() bool
- func (o *ListScriptsUnauthorized) String() string
- type PatchScriptBadRequest
- func (o *PatchScriptBadRequest) Code() int
- func (o *PatchScriptBadRequest) Error() string
- func (o *PatchScriptBadRequest) GetPayload() *models.Error
- func (o *PatchScriptBadRequest) IsClientError() bool
- func (o *PatchScriptBadRequest) IsCode(code int) bool
- func (o *PatchScriptBadRequest) IsRedirect() bool
- func (o *PatchScriptBadRequest) IsServerError() bool
- func (o *PatchScriptBadRequest) IsSuccess() bool
- func (o *PatchScriptBadRequest) String() string
- type PatchScriptForbidden
- func (o *PatchScriptForbidden) Code() int
- func (o *PatchScriptForbidden) Error() string
- func (o *PatchScriptForbidden) GetPayload() *models.Error
- func (o *PatchScriptForbidden) IsClientError() bool
- func (o *PatchScriptForbidden) IsCode(code int) bool
- func (o *PatchScriptForbidden) IsRedirect() bool
- func (o *PatchScriptForbidden) IsServerError() bool
- func (o *PatchScriptForbidden) IsSuccess() bool
- func (o *PatchScriptForbidden) String() string
- type PatchScriptNotFound
- func (o *PatchScriptNotFound) Code() int
- func (o *PatchScriptNotFound) Error() string
- func (o *PatchScriptNotFound) GetPayload() *models.Error
- func (o *PatchScriptNotFound) IsClientError() bool
- func (o *PatchScriptNotFound) IsCode(code int) bool
- func (o *PatchScriptNotFound) IsRedirect() bool
- func (o *PatchScriptNotFound) IsServerError() bool
- func (o *PatchScriptNotFound) IsSuccess() bool
- func (o *PatchScriptNotFound) String() string
- type PatchScriptOK
- func (o *PatchScriptOK) Code() int
- func (o *PatchScriptOK) Error() string
- func (o *PatchScriptOK) GetPayload() *models.Script
- func (o *PatchScriptOK) IsClientError() bool
- func (o *PatchScriptOK) IsCode(code int) bool
- func (o *PatchScriptOK) IsRedirect() bool
- func (o *PatchScriptOK) IsServerError() bool
- func (o *PatchScriptOK) IsSuccess() bool
- func (o *PatchScriptOK) String() string
- type PatchScriptParams
- func (o *PatchScriptParams) SetContext(ctx context.Context)
- func (o *PatchScriptParams) SetDefaults()
- func (o *PatchScriptParams) SetHTTPClient(client *http.Client)
- func (o *PatchScriptParams) SetPatch(patch models.Rfc6902PatchOperations)
- func (o *PatchScriptParams) SetScript(script string)
- func (o *PatchScriptParams) SetTimeout(timeout time.Duration)
- func (o *PatchScriptParams) SetWid(wid string)
- func (o *PatchScriptParams) WithContext(ctx context.Context) *PatchScriptParams
- func (o *PatchScriptParams) WithDefaults() *PatchScriptParams
- func (o *PatchScriptParams) WithHTTPClient(client *http.Client) *PatchScriptParams
- func (o *PatchScriptParams) WithPatch(patch models.Rfc6902PatchOperations) *PatchScriptParams
- func (o *PatchScriptParams) WithScript(script string) *PatchScriptParams
- func (o *PatchScriptParams) WithTimeout(timeout time.Duration) *PatchScriptParams
- func (o *PatchScriptParams) WithWid(wid string) *PatchScriptParams
- func (o *PatchScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchScriptReader
- type PatchScriptTooManyRequests
- func (o *PatchScriptTooManyRequests) Code() int
- func (o *PatchScriptTooManyRequests) Error() string
- func (o *PatchScriptTooManyRequests) GetPayload() *models.Error
- func (o *PatchScriptTooManyRequests) IsClientError() bool
- func (o *PatchScriptTooManyRequests) IsCode(code int) bool
- func (o *PatchScriptTooManyRequests) IsRedirect() bool
- func (o *PatchScriptTooManyRequests) IsServerError() bool
- func (o *PatchScriptTooManyRequests) IsSuccess() bool
- func (o *PatchScriptTooManyRequests) String() string
- type PatchScriptUnauthorized
- func (o *PatchScriptUnauthorized) Code() int
- func (o *PatchScriptUnauthorized) Error() string
- func (o *PatchScriptUnauthorized) GetPayload() *models.Error
- func (o *PatchScriptUnauthorized) IsClientError() bool
- func (o *PatchScriptUnauthorized) IsCode(code int) bool
- func (o *PatchScriptUnauthorized) IsRedirect() bool
- func (o *PatchScriptUnauthorized) IsServerError() bool
- func (o *PatchScriptUnauthorized) IsSuccess() bool
- func (o *PatchScriptUnauthorized) String() string
- type UpdateScriptBadRequest
- func (o *UpdateScriptBadRequest) Code() int
- func (o *UpdateScriptBadRequest) Error() string
- func (o *UpdateScriptBadRequest) GetPayload() *models.Error
- func (o *UpdateScriptBadRequest) IsClientError() bool
- func (o *UpdateScriptBadRequest) IsCode(code int) bool
- func (o *UpdateScriptBadRequest) IsRedirect() bool
- func (o *UpdateScriptBadRequest) IsServerError() bool
- func (o *UpdateScriptBadRequest) IsSuccess() bool
- func (o *UpdateScriptBadRequest) String() string
- type UpdateScriptForbidden
- func (o *UpdateScriptForbidden) Code() int
- func (o *UpdateScriptForbidden) Error() string
- func (o *UpdateScriptForbidden) GetPayload() *models.Error
- func (o *UpdateScriptForbidden) IsClientError() bool
- func (o *UpdateScriptForbidden) IsCode(code int) bool
- func (o *UpdateScriptForbidden) IsRedirect() bool
- func (o *UpdateScriptForbidden) IsServerError() bool
- func (o *UpdateScriptForbidden) IsSuccess() bool
- func (o *UpdateScriptForbidden) String() string
- type UpdateScriptNotFound
- func (o *UpdateScriptNotFound) Code() int
- func (o *UpdateScriptNotFound) Error() string
- func (o *UpdateScriptNotFound) GetPayload() *models.Error
- func (o *UpdateScriptNotFound) IsClientError() bool
- func (o *UpdateScriptNotFound) IsCode(code int) bool
- func (o *UpdateScriptNotFound) IsRedirect() bool
- func (o *UpdateScriptNotFound) IsServerError() bool
- func (o *UpdateScriptNotFound) IsSuccess() bool
- func (o *UpdateScriptNotFound) String() string
- type UpdateScriptOK
- func (o *UpdateScriptOK) Code() int
- func (o *UpdateScriptOK) Error() string
- func (o *UpdateScriptOK) GetPayload() *models.Script
- func (o *UpdateScriptOK) IsClientError() bool
- func (o *UpdateScriptOK) IsCode(code int) bool
- func (o *UpdateScriptOK) IsRedirect() bool
- func (o *UpdateScriptOK) IsServerError() bool
- func (o *UpdateScriptOK) IsSuccess() bool
- func (o *UpdateScriptOK) String() string
- type UpdateScriptParams
- func (o *UpdateScriptParams) SetContext(ctx context.Context)
- func (o *UpdateScriptParams) SetDefaults()
- func (o *UpdateScriptParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScriptParams) SetIfMatch(ifMatch *string)
- func (o *UpdateScriptParams) SetScript(script string)
- func (o *UpdateScriptParams) SetScriptBody(scriptBody *models.Script)
- func (o *UpdateScriptParams) SetTimeout(timeout time.Duration)
- func (o *UpdateScriptParams) SetWid(wid string)
- func (o *UpdateScriptParams) SetXCorrelationID(xCorrelationID *string)
- func (o *UpdateScriptParams) SetXIdempotencyKey(xIdempotencyKey *string)
- func (o *UpdateScriptParams) WithContext(ctx context.Context) *UpdateScriptParams
- func (o *UpdateScriptParams) WithDefaults() *UpdateScriptParams
- func (o *UpdateScriptParams) WithHTTPClient(client *http.Client) *UpdateScriptParams
- func (o *UpdateScriptParams) WithIfMatch(ifMatch *string) *UpdateScriptParams
- func (o *UpdateScriptParams) WithScript(script string) *UpdateScriptParams
- func (o *UpdateScriptParams) WithScriptBody(scriptBody *models.Script) *UpdateScriptParams
- func (o *UpdateScriptParams) WithTimeout(timeout time.Duration) *UpdateScriptParams
- func (o *UpdateScriptParams) WithWid(wid string) *UpdateScriptParams
- func (o *UpdateScriptParams) WithXCorrelationID(xCorrelationID *string) *UpdateScriptParams
- func (o *UpdateScriptParams) WithXIdempotencyKey(xIdempotencyKey *string) *UpdateScriptParams
- func (o *UpdateScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateScriptReader
- type UpdateScriptTooManyRequests
- func (o *UpdateScriptTooManyRequests) Code() int
- func (o *UpdateScriptTooManyRequests) Error() string
- func (o *UpdateScriptTooManyRequests) GetPayload() *models.Error
- func (o *UpdateScriptTooManyRequests) IsClientError() bool
- func (o *UpdateScriptTooManyRequests) IsCode(code int) bool
- func (o *UpdateScriptTooManyRequests) IsRedirect() bool
- func (o *UpdateScriptTooManyRequests) IsServerError() bool
- func (o *UpdateScriptTooManyRequests) IsSuccess() bool
- func (o *UpdateScriptTooManyRequests) String() string
- type UpdateScriptUnauthorized
- func (o *UpdateScriptUnauthorized) Code() int
- func (o *UpdateScriptUnauthorized) Error() string
- func (o *UpdateScriptUnauthorized) GetPayload() *models.Error
- func (o *UpdateScriptUnauthorized) IsClientError() bool
- func (o *UpdateScriptUnauthorized) IsCode(code int) bool
- func (o *UpdateScriptUnauthorized) IsRedirect() bool
- func (o *UpdateScriptUnauthorized) IsServerError() bool
- func (o *UpdateScriptUnauthorized) IsSuccess() bool
- func (o *UpdateScriptUnauthorized) String() string
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 scripts API
func (*Client) CreateScript ¶
func (a *Client) CreateScript(params *CreateScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateScriptCreated, error)
CreateScript creates script Creates a script that is used for enriching authentication context.
You can, for example, define additional authentication context attributes for mock users defined for a static identity provider. Your script should be written in JavaScript.
func (*Client) DeleteScript ¶
func (a *Client) DeleteScript(params *DeleteScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScriptNoContent, error)
DeleteScript deletes given script
Deleting a script is permanent and it cannot be undone.
func (*Client) GetScript ¶
func (a *Client) GetScript(params *GetScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScriptOK, error)
GetScript gets script
Returns a script and it's content.
func (*Client) ListScripts ¶
func (a *Client) ListScripts(params *ListScriptsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScriptsOK, error)
ListScripts lists scripts
Lists tenant's scripts.
func (*Client) PatchScript ¶
func (a *Client) PatchScript(params *PatchScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchScriptOK, error)
PatchScript patches script
Patch existing script.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateScript ¶
func (a *Client) UpdateScript(params *UpdateScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateScriptOK, error)
UpdateScript updates script
Update existing script.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
CreateScript(params *CreateScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateScriptCreated, error)
DeleteScript(params *DeleteScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteScriptNoContent, error)
GetScript(params *GetScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScriptOK, error)
ListScripts(params *ListScriptsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScriptsOK, error)
PatchScript(params *PatchScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchScriptOK, error)
UpdateScript(params *UpdateScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateScriptOK, 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 scripts API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new scripts API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new scripts API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateScriptBadRequest ¶
CreateScriptBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateScriptBadRequest ¶
func NewCreateScriptBadRequest() *CreateScriptBadRequest
NewCreateScriptBadRequest creates a CreateScriptBadRequest with default headers values
func (*CreateScriptBadRequest) Code ¶
func (o *CreateScriptBadRequest) Code() int
Code gets the status code for the create script bad request response
func (*CreateScriptBadRequest) Error ¶
func (o *CreateScriptBadRequest) Error() string
func (*CreateScriptBadRequest) GetPayload ¶
func (o *CreateScriptBadRequest) GetPayload() *models.Error
func (*CreateScriptBadRequest) IsClientError ¶
func (o *CreateScriptBadRequest) IsClientError() bool
IsClientError returns true when this create script bad request response has a 4xx status code
func (*CreateScriptBadRequest) IsCode ¶
func (o *CreateScriptBadRequest) IsCode(code int) bool
IsCode returns true when this create script bad request response a status code equal to that given
func (*CreateScriptBadRequest) IsRedirect ¶
func (o *CreateScriptBadRequest) IsRedirect() bool
IsRedirect returns true when this create script bad request response has a 3xx status code
func (*CreateScriptBadRequest) IsServerError ¶
func (o *CreateScriptBadRequest) IsServerError() bool
IsServerError returns true when this create script bad request response has a 5xx status code
func (*CreateScriptBadRequest) IsSuccess ¶
func (o *CreateScriptBadRequest) IsSuccess() bool
IsSuccess returns true when this create script bad request response has a 2xx status code
func (*CreateScriptBadRequest) String ¶
func (o *CreateScriptBadRequest) String() string
type CreateScriptCreated ¶
type CreateScriptCreated struct {
/* The ETag HTTP header is an identifier for a specific version of a resource
in:header
Format: etag
*/
Etag string
/* Indicates that a 5xx error was caused by tenant-provided code
in:header
*/
XExternalError string
/* OpenTelemetry trace identifier
in:header
*/
XTraceID string
Payload *models.Script
}
CreateScriptCreated describes a response with status code 201, with default header values.
Script
func NewCreateScriptCreated ¶
func NewCreateScriptCreated() *CreateScriptCreated
NewCreateScriptCreated creates a CreateScriptCreated with default headers values
func (*CreateScriptCreated) Code ¶
func (o *CreateScriptCreated) Code() int
Code gets the status code for the create script created response
func (*CreateScriptCreated) Error ¶
func (o *CreateScriptCreated) Error() string
func (*CreateScriptCreated) GetPayload ¶
func (o *CreateScriptCreated) GetPayload() *models.Script
func (*CreateScriptCreated) IsClientError ¶
func (o *CreateScriptCreated) IsClientError() bool
IsClientError returns true when this create script created response has a 4xx status code
func (*CreateScriptCreated) IsCode ¶
func (o *CreateScriptCreated) IsCode(code int) bool
IsCode returns true when this create script created response a status code equal to that given
func (*CreateScriptCreated) IsRedirect ¶
func (o *CreateScriptCreated) IsRedirect() bool
IsRedirect returns true when this create script created response has a 3xx status code
func (*CreateScriptCreated) IsServerError ¶
func (o *CreateScriptCreated) IsServerError() bool
IsServerError returns true when this create script created response has a 5xx status code
func (*CreateScriptCreated) IsSuccess ¶
func (o *CreateScriptCreated) IsSuccess() bool
IsSuccess returns true when this create script created response has a 2xx status code
func (*CreateScriptCreated) String ¶
func (o *CreateScriptCreated) String() string
type CreateScriptForbidden ¶
CreateScriptForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateScriptForbidden ¶
func NewCreateScriptForbidden() *CreateScriptForbidden
NewCreateScriptForbidden creates a CreateScriptForbidden with default headers values
func (*CreateScriptForbidden) Code ¶
func (o *CreateScriptForbidden) Code() int
Code gets the status code for the create script forbidden response
func (*CreateScriptForbidden) Error ¶
func (o *CreateScriptForbidden) Error() string
func (*CreateScriptForbidden) GetPayload ¶
func (o *CreateScriptForbidden) GetPayload() *models.Error
func (*CreateScriptForbidden) IsClientError ¶
func (o *CreateScriptForbidden) IsClientError() bool
IsClientError returns true when this create script forbidden response has a 4xx status code
func (*CreateScriptForbidden) IsCode ¶
func (o *CreateScriptForbidden) IsCode(code int) bool
IsCode returns true when this create script forbidden response a status code equal to that given
func (*CreateScriptForbidden) IsRedirect ¶
func (o *CreateScriptForbidden) IsRedirect() bool
IsRedirect returns true when this create script forbidden response has a 3xx status code
func (*CreateScriptForbidden) IsServerError ¶
func (o *CreateScriptForbidden) IsServerError() bool
IsServerError returns true when this create script forbidden response has a 5xx status code
func (*CreateScriptForbidden) IsSuccess ¶
func (o *CreateScriptForbidden) IsSuccess() bool
IsSuccess returns true when this create script forbidden response has a 2xx status code
func (*CreateScriptForbidden) String ¶
func (o *CreateScriptForbidden) String() string
type CreateScriptParams ¶
type CreateScriptParams struct {
// Script.
Script *models.Script
/* IfMatch.
A server will only return requested resources if the resource matches one of the listed ETag value
Format: etag
*/
IfMatch *string
/* Wid.
ID of your authorization server (workspace)
Default: "default"
*/
Wid string
/* XCorrelationID.
Unique identifier included in audit events for request tracking
*/
XCorrelationID *string
/* XIdempotencyKey.
Key used to safely retry failed requests without duplicate processing
*/
XIdempotencyKey *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateScriptParams contains all the parameters to send to the API endpoint
for the create script operation. Typically these are written to a http.Request.
func NewCreateScriptParams ¶
func NewCreateScriptParams() *CreateScriptParams
NewCreateScriptParams creates a new CreateScriptParams 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 NewCreateScriptParamsWithContext ¶
func NewCreateScriptParamsWithContext(ctx context.Context) *CreateScriptParams
NewCreateScriptParamsWithContext creates a new CreateScriptParams object with the ability to set a context for a request.
func NewCreateScriptParamsWithHTTPClient ¶
func NewCreateScriptParamsWithHTTPClient(client *http.Client) *CreateScriptParams
NewCreateScriptParamsWithHTTPClient creates a new CreateScriptParams object with the ability to set a custom HTTPClient for a request.
func NewCreateScriptParamsWithTimeout ¶
func NewCreateScriptParamsWithTimeout(timeout time.Duration) *CreateScriptParams
NewCreateScriptParamsWithTimeout creates a new CreateScriptParams object with the ability to set a timeout on a request.
func (*CreateScriptParams) SetContext ¶
func (o *CreateScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the create script params
func (*CreateScriptParams) SetDefaults ¶
func (o *CreateScriptParams) SetDefaults()
SetDefaults hydrates default values in the create script params (not the query body).
All values with no default are reset to their zero value.
func (*CreateScriptParams) SetHTTPClient ¶
func (o *CreateScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create script params
func (*CreateScriptParams) SetIfMatch ¶
func (o *CreateScriptParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the create script params
func (*CreateScriptParams) SetScript ¶
func (o *CreateScriptParams) SetScript(script *models.Script)
SetScript adds the script to the create script params
func (*CreateScriptParams) SetTimeout ¶
func (o *CreateScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create script params
func (*CreateScriptParams) SetWid ¶
func (o *CreateScriptParams) SetWid(wid string)
SetWid adds the wid to the create script params
func (*CreateScriptParams) SetXCorrelationID ¶
func (o *CreateScriptParams) SetXCorrelationID(xCorrelationID *string)
SetXCorrelationID adds the xCorrelationId to the create script params
func (*CreateScriptParams) SetXIdempotencyKey ¶
func (o *CreateScriptParams) SetXIdempotencyKey(xIdempotencyKey *string)
SetXIdempotencyKey adds the xIdempotencyKey to the create script params
func (*CreateScriptParams) WithContext ¶
func (o *CreateScriptParams) WithContext(ctx context.Context) *CreateScriptParams
WithContext adds the context to the create script params
func (*CreateScriptParams) WithDefaults ¶
func (o *CreateScriptParams) WithDefaults() *CreateScriptParams
WithDefaults hydrates default values in the create script params (not the query body).
All values with no default are reset to their zero value.
func (*CreateScriptParams) WithHTTPClient ¶
func (o *CreateScriptParams) WithHTTPClient(client *http.Client) *CreateScriptParams
WithHTTPClient adds the HTTPClient to the create script params
func (*CreateScriptParams) WithIfMatch ¶
func (o *CreateScriptParams) WithIfMatch(ifMatch *string) *CreateScriptParams
WithIfMatch adds the ifMatch to the create script params
func (*CreateScriptParams) WithScript ¶
func (o *CreateScriptParams) WithScript(script *models.Script) *CreateScriptParams
WithScript adds the script to the create script params
func (*CreateScriptParams) WithTimeout ¶
func (o *CreateScriptParams) WithTimeout(timeout time.Duration) *CreateScriptParams
WithTimeout adds the timeout to the create script params
func (*CreateScriptParams) WithWid ¶
func (o *CreateScriptParams) WithWid(wid string) *CreateScriptParams
WithWid adds the wid to the create script params
func (*CreateScriptParams) WithXCorrelationID ¶
func (o *CreateScriptParams) WithXCorrelationID(xCorrelationID *string) *CreateScriptParams
WithXCorrelationID adds the xCorrelationID to the create script params
func (*CreateScriptParams) WithXIdempotencyKey ¶
func (o *CreateScriptParams) WithXIdempotencyKey(xIdempotencyKey *string) *CreateScriptParams
WithXIdempotencyKey adds the xIdempotencyKey to the create script params
func (*CreateScriptParams) WriteToRequest ¶
func (o *CreateScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateScriptReader ¶
type CreateScriptReader struct {
// contains filtered or unexported fields
}
CreateScriptReader is a Reader for the CreateScript structure.
func (*CreateScriptReader) ReadResponse ¶
func (o *CreateScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateScriptTooManyRequests ¶
CreateScriptTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewCreateScriptTooManyRequests ¶
func NewCreateScriptTooManyRequests() *CreateScriptTooManyRequests
NewCreateScriptTooManyRequests creates a CreateScriptTooManyRequests with default headers values
func (*CreateScriptTooManyRequests) Code ¶
func (o *CreateScriptTooManyRequests) Code() int
Code gets the status code for the create script too many requests response
func (*CreateScriptTooManyRequests) Error ¶
func (o *CreateScriptTooManyRequests) Error() string
func (*CreateScriptTooManyRequests) GetPayload ¶
func (o *CreateScriptTooManyRequests) GetPayload() *models.Error
func (*CreateScriptTooManyRequests) IsClientError ¶
func (o *CreateScriptTooManyRequests) IsClientError() bool
IsClientError returns true when this create script too many requests response has a 4xx status code
func (*CreateScriptTooManyRequests) IsCode ¶
func (o *CreateScriptTooManyRequests) IsCode(code int) bool
IsCode returns true when this create script too many requests response a status code equal to that given
func (*CreateScriptTooManyRequests) IsRedirect ¶
func (o *CreateScriptTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create script too many requests response has a 3xx status code
func (*CreateScriptTooManyRequests) IsServerError ¶
func (o *CreateScriptTooManyRequests) IsServerError() bool
IsServerError returns true when this create script too many requests response has a 5xx status code
func (*CreateScriptTooManyRequests) IsSuccess ¶
func (o *CreateScriptTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create script too many requests response has a 2xx status code
func (*CreateScriptTooManyRequests) String ¶
func (o *CreateScriptTooManyRequests) String() string
type CreateScriptUnauthorized ¶
type CreateScriptUnauthorized struct {
}
CreateScriptUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateScriptUnauthorized ¶
func NewCreateScriptUnauthorized() *CreateScriptUnauthorized
NewCreateScriptUnauthorized creates a CreateScriptUnauthorized with default headers values
func (*CreateScriptUnauthorized) Code ¶
func (o *CreateScriptUnauthorized) Code() int
Code gets the status code for the create script unauthorized response
func (*CreateScriptUnauthorized) Error ¶
func (o *CreateScriptUnauthorized) Error() string
func (*CreateScriptUnauthorized) GetPayload ¶
func (o *CreateScriptUnauthorized) GetPayload() *models.Error
func (*CreateScriptUnauthorized) IsClientError ¶
func (o *CreateScriptUnauthorized) IsClientError() bool
IsClientError returns true when this create script unauthorized response has a 4xx status code
func (*CreateScriptUnauthorized) IsCode ¶
func (o *CreateScriptUnauthorized) IsCode(code int) bool
IsCode returns true when this create script unauthorized response a status code equal to that given
func (*CreateScriptUnauthorized) IsRedirect ¶
func (o *CreateScriptUnauthorized) IsRedirect() bool
IsRedirect returns true when this create script unauthorized response has a 3xx status code
func (*CreateScriptUnauthorized) IsServerError ¶
func (o *CreateScriptUnauthorized) IsServerError() bool
IsServerError returns true when this create script unauthorized response has a 5xx status code
func (*CreateScriptUnauthorized) IsSuccess ¶
func (o *CreateScriptUnauthorized) IsSuccess() bool
IsSuccess returns true when this create script unauthorized response has a 2xx status code
func (*CreateScriptUnauthorized) String ¶
func (o *CreateScriptUnauthorized) String() string
type DeleteScriptBadRequest ¶
DeleteScriptBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteScriptBadRequest ¶
func NewDeleteScriptBadRequest() *DeleteScriptBadRequest
NewDeleteScriptBadRequest creates a DeleteScriptBadRequest with default headers values
func (*DeleteScriptBadRequest) Code ¶
func (o *DeleteScriptBadRequest) Code() int
Code gets the status code for the delete script bad request response
func (*DeleteScriptBadRequest) Error ¶
func (o *DeleteScriptBadRequest) Error() string
func (*DeleteScriptBadRequest) GetPayload ¶
func (o *DeleteScriptBadRequest) GetPayload() *models.Error
func (*DeleteScriptBadRequest) IsClientError ¶
func (o *DeleteScriptBadRequest) IsClientError() bool
IsClientError returns true when this delete script bad request response has a 4xx status code
func (*DeleteScriptBadRequest) IsCode ¶
func (o *DeleteScriptBadRequest) IsCode(code int) bool
IsCode returns true when this delete script bad request response a status code equal to that given
func (*DeleteScriptBadRequest) IsRedirect ¶
func (o *DeleteScriptBadRequest) IsRedirect() bool
IsRedirect returns true when this delete script bad request response has a 3xx status code
func (*DeleteScriptBadRequest) IsServerError ¶
func (o *DeleteScriptBadRequest) IsServerError() bool
IsServerError returns true when this delete script bad request response has a 5xx status code
func (*DeleteScriptBadRequest) IsSuccess ¶
func (o *DeleteScriptBadRequest) IsSuccess() bool
IsSuccess returns true when this delete script bad request response has a 2xx status code
func (*DeleteScriptBadRequest) String ¶
func (o *DeleteScriptBadRequest) String() string
type DeleteScriptForbidden ¶
DeleteScriptForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteScriptForbidden ¶
func NewDeleteScriptForbidden() *DeleteScriptForbidden
NewDeleteScriptForbidden creates a DeleteScriptForbidden with default headers values
func (*DeleteScriptForbidden) Code ¶
func (o *DeleteScriptForbidden) Code() int
Code gets the status code for the delete script forbidden response
func (*DeleteScriptForbidden) Error ¶
func (o *DeleteScriptForbidden) Error() string
func (*DeleteScriptForbidden) GetPayload ¶
func (o *DeleteScriptForbidden) GetPayload() *models.Error
func (*DeleteScriptForbidden) IsClientError ¶
func (o *DeleteScriptForbidden) IsClientError() bool
IsClientError returns true when this delete script forbidden response has a 4xx status code
func (*DeleteScriptForbidden) IsCode ¶
func (o *DeleteScriptForbidden) IsCode(code int) bool
IsCode returns true when this delete script forbidden response a status code equal to that given
func (*DeleteScriptForbidden) IsRedirect ¶
func (o *DeleteScriptForbidden) IsRedirect() bool
IsRedirect returns true when this delete script forbidden response has a 3xx status code
func (*DeleteScriptForbidden) IsServerError ¶
func (o *DeleteScriptForbidden) IsServerError() bool
IsServerError returns true when this delete script forbidden response has a 5xx status code
func (*DeleteScriptForbidden) IsSuccess ¶
func (o *DeleteScriptForbidden) IsSuccess() bool
IsSuccess returns true when this delete script forbidden response has a 2xx status code
func (*DeleteScriptForbidden) String ¶
func (o *DeleteScriptForbidden) String() string
type DeleteScriptNoContent ¶
type DeleteScriptNoContent struct {
}
DeleteScriptNoContent describes a response with status code 204, with default header values.
Script has been deleted
func NewDeleteScriptNoContent ¶
func NewDeleteScriptNoContent() *DeleteScriptNoContent
NewDeleteScriptNoContent creates a DeleteScriptNoContent with default headers values
func (*DeleteScriptNoContent) Code ¶
func (o *DeleteScriptNoContent) Code() int
Code gets the status code for the delete script no content response
func (*DeleteScriptNoContent) Error ¶
func (o *DeleteScriptNoContent) Error() string
func (*DeleteScriptNoContent) IsClientError ¶
func (o *DeleteScriptNoContent) IsClientError() bool
IsClientError returns true when this delete script no content response has a 4xx status code
func (*DeleteScriptNoContent) IsCode ¶
func (o *DeleteScriptNoContent) IsCode(code int) bool
IsCode returns true when this delete script no content response a status code equal to that given
func (*DeleteScriptNoContent) IsRedirect ¶
func (o *DeleteScriptNoContent) IsRedirect() bool
IsRedirect returns true when this delete script no content response has a 3xx status code
func (*DeleteScriptNoContent) IsServerError ¶
func (o *DeleteScriptNoContent) IsServerError() bool
IsServerError returns true when this delete script no content response has a 5xx status code
func (*DeleteScriptNoContent) IsSuccess ¶
func (o *DeleteScriptNoContent) IsSuccess() bool
IsSuccess returns true when this delete script no content response has a 2xx status code
func (*DeleteScriptNoContent) String ¶
func (o *DeleteScriptNoContent) String() string
type DeleteScriptNotFound ¶
DeleteScriptNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteScriptNotFound ¶
func NewDeleteScriptNotFound() *DeleteScriptNotFound
NewDeleteScriptNotFound creates a DeleteScriptNotFound with default headers values
func (*DeleteScriptNotFound) Code ¶
func (o *DeleteScriptNotFound) Code() int
Code gets the status code for the delete script not found response
func (*DeleteScriptNotFound) Error ¶
func (o *DeleteScriptNotFound) Error() string
func (*DeleteScriptNotFound) GetPayload ¶
func (o *DeleteScriptNotFound) GetPayload() *models.Error
func (*DeleteScriptNotFound) IsClientError ¶
func (o *DeleteScriptNotFound) IsClientError() bool
IsClientError returns true when this delete script not found response has a 4xx status code
func (*DeleteScriptNotFound) IsCode ¶
func (o *DeleteScriptNotFound) IsCode(code int) bool
IsCode returns true when this delete script not found response a status code equal to that given
func (*DeleteScriptNotFound) IsRedirect ¶
func (o *DeleteScriptNotFound) IsRedirect() bool
IsRedirect returns true when this delete script not found response has a 3xx status code
func (*DeleteScriptNotFound) IsServerError ¶
func (o *DeleteScriptNotFound) IsServerError() bool
IsServerError returns true when this delete script not found response has a 5xx status code
func (*DeleteScriptNotFound) IsSuccess ¶
func (o *DeleteScriptNotFound) IsSuccess() bool
IsSuccess returns true when this delete script not found response has a 2xx status code
func (*DeleteScriptNotFound) String ¶
func (o *DeleteScriptNotFound) String() string
type DeleteScriptParams ¶
type DeleteScriptParams struct {
/* IfMatch.
A server will only return requested resources if the resource matches one of the listed ETag value
Format: etag
*/
IfMatch *string
/* Script.
ID of the script to be deleted
*/
Script string
/* Wid.
ID of your authorization server (workspace)
Default: "default"
*/
Wid string
/* XCorrelationID.
Unique identifier included in audit events for request tracking
*/
XCorrelationID *string
/* XIdempotencyKey.
Key used to safely retry failed requests without duplicate processing
*/
XIdempotencyKey *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteScriptParams contains all the parameters to send to the API endpoint
for the delete script operation. Typically these are written to a http.Request.
func NewDeleteScriptParams ¶
func NewDeleteScriptParams() *DeleteScriptParams
NewDeleteScriptParams creates a new DeleteScriptParams 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 NewDeleteScriptParamsWithContext ¶
func NewDeleteScriptParamsWithContext(ctx context.Context) *DeleteScriptParams
NewDeleteScriptParamsWithContext creates a new DeleteScriptParams object with the ability to set a context for a request.
func NewDeleteScriptParamsWithHTTPClient ¶
func NewDeleteScriptParamsWithHTTPClient(client *http.Client) *DeleteScriptParams
NewDeleteScriptParamsWithHTTPClient creates a new DeleteScriptParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteScriptParamsWithTimeout ¶
func NewDeleteScriptParamsWithTimeout(timeout time.Duration) *DeleteScriptParams
NewDeleteScriptParamsWithTimeout creates a new DeleteScriptParams object with the ability to set a timeout on a request.
func (*DeleteScriptParams) SetContext ¶
func (o *DeleteScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the delete script params
func (*DeleteScriptParams) SetDefaults ¶
func (o *DeleteScriptParams) SetDefaults()
SetDefaults hydrates default values in the delete script params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScriptParams) SetHTTPClient ¶
func (o *DeleteScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete script params
func (*DeleteScriptParams) SetIfMatch ¶
func (o *DeleteScriptParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete script params
func (*DeleteScriptParams) SetScript ¶
func (o *DeleteScriptParams) SetScript(script string)
SetScript adds the script to the delete script params
func (*DeleteScriptParams) SetTimeout ¶
func (o *DeleteScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete script params
func (*DeleteScriptParams) SetWid ¶
func (o *DeleteScriptParams) SetWid(wid string)
SetWid adds the wid to the delete script params
func (*DeleteScriptParams) SetXCorrelationID ¶
func (o *DeleteScriptParams) SetXCorrelationID(xCorrelationID *string)
SetXCorrelationID adds the xCorrelationId to the delete script params
func (*DeleteScriptParams) SetXIdempotencyKey ¶
func (o *DeleteScriptParams) SetXIdempotencyKey(xIdempotencyKey *string)
SetXIdempotencyKey adds the xIdempotencyKey to the delete script params
func (*DeleteScriptParams) WithContext ¶
func (o *DeleteScriptParams) WithContext(ctx context.Context) *DeleteScriptParams
WithContext adds the context to the delete script params
func (*DeleteScriptParams) WithDefaults ¶
func (o *DeleteScriptParams) WithDefaults() *DeleteScriptParams
WithDefaults hydrates default values in the delete script params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScriptParams) WithHTTPClient ¶
func (o *DeleteScriptParams) WithHTTPClient(client *http.Client) *DeleteScriptParams
WithHTTPClient adds the HTTPClient to the delete script params
func (*DeleteScriptParams) WithIfMatch ¶
func (o *DeleteScriptParams) WithIfMatch(ifMatch *string) *DeleteScriptParams
WithIfMatch adds the ifMatch to the delete script params
func (*DeleteScriptParams) WithScript ¶
func (o *DeleteScriptParams) WithScript(script string) *DeleteScriptParams
WithScript adds the script to the delete script params
func (*DeleteScriptParams) WithTimeout ¶
func (o *DeleteScriptParams) WithTimeout(timeout time.Duration) *DeleteScriptParams
WithTimeout adds the timeout to the delete script params
func (*DeleteScriptParams) WithWid ¶
func (o *DeleteScriptParams) WithWid(wid string) *DeleteScriptParams
WithWid adds the wid to the delete script params
func (*DeleteScriptParams) WithXCorrelationID ¶
func (o *DeleteScriptParams) WithXCorrelationID(xCorrelationID *string) *DeleteScriptParams
WithXCorrelationID adds the xCorrelationID to the delete script params
func (*DeleteScriptParams) WithXIdempotencyKey ¶
func (o *DeleteScriptParams) WithXIdempotencyKey(xIdempotencyKey *string) *DeleteScriptParams
WithXIdempotencyKey adds the xIdempotencyKey to the delete script params
func (*DeleteScriptParams) WriteToRequest ¶
func (o *DeleteScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteScriptReader ¶
type DeleteScriptReader struct {
// contains filtered or unexported fields
}
DeleteScriptReader is a Reader for the DeleteScript structure.
func (*DeleteScriptReader) ReadResponse ¶
func (o *DeleteScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteScriptTooManyRequests ¶
DeleteScriptTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteScriptTooManyRequests ¶
func NewDeleteScriptTooManyRequests() *DeleteScriptTooManyRequests
NewDeleteScriptTooManyRequests creates a DeleteScriptTooManyRequests with default headers values
func (*DeleteScriptTooManyRequests) Code ¶
func (o *DeleteScriptTooManyRequests) Code() int
Code gets the status code for the delete script too many requests response
func (*DeleteScriptTooManyRequests) Error ¶
func (o *DeleteScriptTooManyRequests) Error() string
func (*DeleteScriptTooManyRequests) GetPayload ¶
func (o *DeleteScriptTooManyRequests) GetPayload() *models.Error
func (*DeleteScriptTooManyRequests) IsClientError ¶
func (o *DeleteScriptTooManyRequests) IsClientError() bool
IsClientError returns true when this delete script too many requests response has a 4xx status code
func (*DeleteScriptTooManyRequests) IsCode ¶
func (o *DeleteScriptTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete script too many requests response a status code equal to that given
func (*DeleteScriptTooManyRequests) IsRedirect ¶
func (o *DeleteScriptTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete script too many requests response has a 3xx status code
func (*DeleteScriptTooManyRequests) IsServerError ¶
func (o *DeleteScriptTooManyRequests) IsServerError() bool
IsServerError returns true when this delete script too many requests response has a 5xx status code
func (*DeleteScriptTooManyRequests) IsSuccess ¶
func (o *DeleteScriptTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete script too many requests response has a 2xx status code
func (*DeleteScriptTooManyRequests) String ¶
func (o *DeleteScriptTooManyRequests) String() string
type DeleteScriptUnauthorized ¶
type DeleteScriptUnauthorized struct {
}
DeleteScriptUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteScriptUnauthorized ¶
func NewDeleteScriptUnauthorized() *DeleteScriptUnauthorized
NewDeleteScriptUnauthorized creates a DeleteScriptUnauthorized with default headers values
func (*DeleteScriptUnauthorized) Code ¶
func (o *DeleteScriptUnauthorized) Code() int
Code gets the status code for the delete script unauthorized response
func (*DeleteScriptUnauthorized) Error ¶
func (o *DeleteScriptUnauthorized) Error() string
func (*DeleteScriptUnauthorized) GetPayload ¶
func (o *DeleteScriptUnauthorized) GetPayload() *models.Error
func (*DeleteScriptUnauthorized) IsClientError ¶
func (o *DeleteScriptUnauthorized) IsClientError() bool
IsClientError returns true when this delete script unauthorized response has a 4xx status code
func (*DeleteScriptUnauthorized) IsCode ¶
func (o *DeleteScriptUnauthorized) IsCode(code int) bool
IsCode returns true when this delete script unauthorized response a status code equal to that given
func (*DeleteScriptUnauthorized) IsRedirect ¶
func (o *DeleteScriptUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete script unauthorized response has a 3xx status code
func (*DeleteScriptUnauthorized) IsServerError ¶
func (o *DeleteScriptUnauthorized) IsServerError() bool
IsServerError returns true when this delete script unauthorized response has a 5xx status code
func (*DeleteScriptUnauthorized) IsSuccess ¶
func (o *DeleteScriptUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete script unauthorized response has a 2xx status code
func (*DeleteScriptUnauthorized) String ¶
func (o *DeleteScriptUnauthorized) String() string
type GetScriptForbidden ¶
GetScriptForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetScriptForbidden ¶
func NewGetScriptForbidden() *GetScriptForbidden
NewGetScriptForbidden creates a GetScriptForbidden with default headers values
func (*GetScriptForbidden) Code ¶
func (o *GetScriptForbidden) Code() int
Code gets the status code for the get script forbidden response
func (*GetScriptForbidden) Error ¶
func (o *GetScriptForbidden) Error() string
func (*GetScriptForbidden) GetPayload ¶
func (o *GetScriptForbidden) GetPayload() *models.Error
func (*GetScriptForbidden) IsClientError ¶
func (o *GetScriptForbidden) IsClientError() bool
IsClientError returns true when this get script forbidden response has a 4xx status code
func (*GetScriptForbidden) IsCode ¶
func (o *GetScriptForbidden) IsCode(code int) bool
IsCode returns true when this get script forbidden response a status code equal to that given
func (*GetScriptForbidden) IsRedirect ¶
func (o *GetScriptForbidden) IsRedirect() bool
IsRedirect returns true when this get script forbidden response has a 3xx status code
func (*GetScriptForbidden) IsServerError ¶
func (o *GetScriptForbidden) IsServerError() bool
IsServerError returns true when this get script forbidden response has a 5xx status code
func (*GetScriptForbidden) IsSuccess ¶
func (o *GetScriptForbidden) IsSuccess() bool
IsSuccess returns true when this get script forbidden response has a 2xx status code
func (*GetScriptForbidden) String ¶
func (o *GetScriptForbidden) String() string
type GetScriptNotFound ¶
GetScriptNotFound describes a response with status code 404, with default header values.
Not found
func NewGetScriptNotFound ¶
func NewGetScriptNotFound() *GetScriptNotFound
NewGetScriptNotFound creates a GetScriptNotFound with default headers values
func (*GetScriptNotFound) Code ¶
func (o *GetScriptNotFound) Code() int
Code gets the status code for the get script not found response
func (*GetScriptNotFound) Error ¶
func (o *GetScriptNotFound) Error() string
func (*GetScriptNotFound) GetPayload ¶
func (o *GetScriptNotFound) GetPayload() *models.Error
func (*GetScriptNotFound) IsClientError ¶
func (o *GetScriptNotFound) IsClientError() bool
IsClientError returns true when this get script not found response has a 4xx status code
func (*GetScriptNotFound) IsCode ¶
func (o *GetScriptNotFound) IsCode(code int) bool
IsCode returns true when this get script not found response a status code equal to that given
func (*GetScriptNotFound) IsRedirect ¶
func (o *GetScriptNotFound) IsRedirect() bool
IsRedirect returns true when this get script not found response has a 3xx status code
func (*GetScriptNotFound) IsServerError ¶
func (o *GetScriptNotFound) IsServerError() bool
IsServerError returns true when this get script not found response has a 5xx status code
func (*GetScriptNotFound) IsSuccess ¶
func (o *GetScriptNotFound) IsSuccess() bool
IsSuccess returns true when this get script not found response has a 2xx status code
func (*GetScriptNotFound) String ¶
func (o *GetScriptNotFound) String() string
type GetScriptOK ¶
type GetScriptOK struct {
/* The ETag HTTP header is an identifier for a specific version of a resource
in:header
Format: etag
*/
Etag string
/* Indicates that a 5xx error was caused by tenant-provided code
in:header
*/
XExternalError string
/* OpenTelemetry trace identifier
in:header
*/
XTraceID string
Payload *models.Script
}
GetScriptOK describes a response with status code 200, with default header values.
Script
func NewGetScriptOK ¶
func NewGetScriptOK() *GetScriptOK
NewGetScriptOK creates a GetScriptOK with default headers values
func (*GetScriptOK) Code ¶
func (o *GetScriptOK) Code() int
Code gets the status code for the get script o k response
func (*GetScriptOK) Error ¶
func (o *GetScriptOK) Error() string
func (*GetScriptOK) GetPayload ¶
func (o *GetScriptOK) GetPayload() *models.Script
func (*GetScriptOK) IsClientError ¶
func (o *GetScriptOK) IsClientError() bool
IsClientError returns true when this get script o k response has a 4xx status code
func (*GetScriptOK) IsCode ¶
func (o *GetScriptOK) IsCode(code int) bool
IsCode returns true when this get script o k response a status code equal to that given
func (*GetScriptOK) IsRedirect ¶
func (o *GetScriptOK) IsRedirect() bool
IsRedirect returns true when this get script o k response has a 3xx status code
func (*GetScriptOK) IsServerError ¶
func (o *GetScriptOK) IsServerError() bool
IsServerError returns true when this get script o k response has a 5xx status code
func (*GetScriptOK) IsSuccess ¶
func (o *GetScriptOK) IsSuccess() bool
IsSuccess returns true when this get script o k response has a 2xx status code
func (*GetScriptOK) String ¶
func (o *GetScriptOK) String() string
type GetScriptParams ¶
type GetScriptParams struct {
/* IfMatch.
A server will only return requested resources if the resource matches one of the listed ETag value
Format: etag
*/
IfMatch *string
/* Script.
ID of your script
*/
Script string
/* Wid.
ID of your authorization server (workspace)
Default: "default"
*/
Wid string
/* XCorrelationID.
Unique identifier included in audit events for request tracking
*/
XCorrelationID *string
/* XIdempotencyKey.
Key used to safely retry failed requests without duplicate processing
*/
XIdempotencyKey *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetScriptParams contains all the parameters to send to the API endpoint
for the get script operation. Typically these are written to a http.Request.
func NewGetScriptParams ¶
func NewGetScriptParams() *GetScriptParams
NewGetScriptParams creates a new GetScriptParams 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 NewGetScriptParamsWithContext ¶
func NewGetScriptParamsWithContext(ctx context.Context) *GetScriptParams
NewGetScriptParamsWithContext creates a new GetScriptParams object with the ability to set a context for a request.
func NewGetScriptParamsWithHTTPClient ¶
func NewGetScriptParamsWithHTTPClient(client *http.Client) *GetScriptParams
NewGetScriptParamsWithHTTPClient creates a new GetScriptParams object with the ability to set a custom HTTPClient for a request.
func NewGetScriptParamsWithTimeout ¶
func NewGetScriptParamsWithTimeout(timeout time.Duration) *GetScriptParams
NewGetScriptParamsWithTimeout creates a new GetScriptParams object with the ability to set a timeout on a request.
func (*GetScriptParams) SetContext ¶
func (o *GetScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the get script params
func (*GetScriptParams) SetDefaults ¶
func (o *GetScriptParams) SetDefaults()
SetDefaults hydrates default values in the get script params (not the query body).
All values with no default are reset to their zero value.
func (*GetScriptParams) SetHTTPClient ¶
func (o *GetScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get script params
func (*GetScriptParams) SetIfMatch ¶
func (o *GetScriptParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get script params
func (*GetScriptParams) SetScript ¶
func (o *GetScriptParams) SetScript(script string)
SetScript adds the script to the get script params
func (*GetScriptParams) SetTimeout ¶
func (o *GetScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get script params
func (*GetScriptParams) SetWid ¶
func (o *GetScriptParams) SetWid(wid string)
SetWid adds the wid to the get script params
func (*GetScriptParams) SetXCorrelationID ¶
func (o *GetScriptParams) SetXCorrelationID(xCorrelationID *string)
SetXCorrelationID adds the xCorrelationId to the get script params
func (*GetScriptParams) SetXIdempotencyKey ¶
func (o *GetScriptParams) SetXIdempotencyKey(xIdempotencyKey *string)
SetXIdempotencyKey adds the xIdempotencyKey to the get script params
func (*GetScriptParams) WithContext ¶
func (o *GetScriptParams) WithContext(ctx context.Context) *GetScriptParams
WithContext adds the context to the get script params
func (*GetScriptParams) WithDefaults ¶
func (o *GetScriptParams) WithDefaults() *GetScriptParams
WithDefaults hydrates default values in the get script params (not the query body).
All values with no default are reset to their zero value.
func (*GetScriptParams) WithHTTPClient ¶
func (o *GetScriptParams) WithHTTPClient(client *http.Client) *GetScriptParams
WithHTTPClient adds the HTTPClient to the get script params
func (*GetScriptParams) WithIfMatch ¶
func (o *GetScriptParams) WithIfMatch(ifMatch *string) *GetScriptParams
WithIfMatch adds the ifMatch to the get script params
func (*GetScriptParams) WithScript ¶
func (o *GetScriptParams) WithScript(script string) *GetScriptParams
WithScript adds the script to the get script params
func (*GetScriptParams) WithTimeout ¶
func (o *GetScriptParams) WithTimeout(timeout time.Duration) *GetScriptParams
WithTimeout adds the timeout to the get script params
func (*GetScriptParams) WithWid ¶
func (o *GetScriptParams) WithWid(wid string) *GetScriptParams
WithWid adds the wid to the get script params
func (*GetScriptParams) WithXCorrelationID ¶
func (o *GetScriptParams) WithXCorrelationID(xCorrelationID *string) *GetScriptParams
WithXCorrelationID adds the xCorrelationID to the get script params
func (*GetScriptParams) WithXIdempotencyKey ¶
func (o *GetScriptParams) WithXIdempotencyKey(xIdempotencyKey *string) *GetScriptParams
WithXIdempotencyKey adds the xIdempotencyKey to the get script params
func (*GetScriptParams) WriteToRequest ¶
func (o *GetScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScriptReader ¶
type GetScriptReader struct {
// contains filtered or unexported fields
}
GetScriptReader is a Reader for the GetScript structure.
func (*GetScriptReader) ReadResponse ¶
func (o *GetScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScriptTooManyRequests ¶
GetScriptTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetScriptTooManyRequests ¶
func NewGetScriptTooManyRequests() *GetScriptTooManyRequests
NewGetScriptTooManyRequests creates a GetScriptTooManyRequests with default headers values
func (*GetScriptTooManyRequests) Code ¶
func (o *GetScriptTooManyRequests) Code() int
Code gets the status code for the get script too many requests response
func (*GetScriptTooManyRequests) Error ¶
func (o *GetScriptTooManyRequests) Error() string
func (*GetScriptTooManyRequests) GetPayload ¶
func (o *GetScriptTooManyRequests) GetPayload() *models.Error
func (*GetScriptTooManyRequests) IsClientError ¶
func (o *GetScriptTooManyRequests) IsClientError() bool
IsClientError returns true when this get script too many requests response has a 4xx status code
func (*GetScriptTooManyRequests) IsCode ¶
func (o *GetScriptTooManyRequests) IsCode(code int) bool
IsCode returns true when this get script too many requests response a status code equal to that given
func (*GetScriptTooManyRequests) IsRedirect ¶
func (o *GetScriptTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get script too many requests response has a 3xx status code
func (*GetScriptTooManyRequests) IsServerError ¶
func (o *GetScriptTooManyRequests) IsServerError() bool
IsServerError returns true when this get script too many requests response has a 5xx status code
func (*GetScriptTooManyRequests) IsSuccess ¶
func (o *GetScriptTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get script too many requests response has a 2xx status code
func (*GetScriptTooManyRequests) String ¶
func (o *GetScriptTooManyRequests) String() string
type GetScriptUnauthorized ¶
type GetScriptUnauthorized struct {
}
GetScriptUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetScriptUnauthorized ¶
func NewGetScriptUnauthorized() *GetScriptUnauthorized
NewGetScriptUnauthorized creates a GetScriptUnauthorized with default headers values
func (*GetScriptUnauthorized) Code ¶
func (o *GetScriptUnauthorized) Code() int
Code gets the status code for the get script unauthorized response
func (*GetScriptUnauthorized) Error ¶
func (o *GetScriptUnauthorized) Error() string
func (*GetScriptUnauthorized) GetPayload ¶
func (o *GetScriptUnauthorized) GetPayload() *models.Error
func (*GetScriptUnauthorized) IsClientError ¶
func (o *GetScriptUnauthorized) IsClientError() bool
IsClientError returns true when this get script unauthorized response has a 4xx status code
func (*GetScriptUnauthorized) IsCode ¶
func (o *GetScriptUnauthorized) IsCode(code int) bool
IsCode returns true when this get script unauthorized response a status code equal to that given
func (*GetScriptUnauthorized) IsRedirect ¶
func (o *GetScriptUnauthorized) IsRedirect() bool
IsRedirect returns true when this get script unauthorized response has a 3xx status code
func (*GetScriptUnauthorized) IsServerError ¶
func (o *GetScriptUnauthorized) IsServerError() bool
IsServerError returns true when this get script unauthorized response has a 5xx status code
func (*GetScriptUnauthorized) IsSuccess ¶
func (o *GetScriptUnauthorized) IsSuccess() bool
IsSuccess returns true when this get script unauthorized response has a 2xx status code
func (*GetScriptUnauthorized) String ¶
func (o *GetScriptUnauthorized) String() string
type ListScriptsBadRequest ¶
ListScriptsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListScriptsBadRequest ¶
func NewListScriptsBadRequest() *ListScriptsBadRequest
NewListScriptsBadRequest creates a ListScriptsBadRequest with default headers values
func (*ListScriptsBadRequest) Code ¶
func (o *ListScriptsBadRequest) Code() int
Code gets the status code for the list scripts bad request response
func (*ListScriptsBadRequest) Error ¶
func (o *ListScriptsBadRequest) Error() string
func (*ListScriptsBadRequest) GetPayload ¶
func (o *ListScriptsBadRequest) GetPayload() *models.Error
func (*ListScriptsBadRequest) IsClientError ¶
func (o *ListScriptsBadRequest) IsClientError() bool
IsClientError returns true when this list scripts bad request response has a 4xx status code
func (*ListScriptsBadRequest) IsCode ¶
func (o *ListScriptsBadRequest) IsCode(code int) bool
IsCode returns true when this list scripts bad request response a status code equal to that given
func (*ListScriptsBadRequest) IsRedirect ¶
func (o *ListScriptsBadRequest) IsRedirect() bool
IsRedirect returns true when this list scripts bad request response has a 3xx status code
func (*ListScriptsBadRequest) IsServerError ¶
func (o *ListScriptsBadRequest) IsServerError() bool
IsServerError returns true when this list scripts bad request response has a 5xx status code
func (*ListScriptsBadRequest) IsSuccess ¶
func (o *ListScriptsBadRequest) IsSuccess() bool
IsSuccess returns true when this list scripts bad request response has a 2xx status code
func (*ListScriptsBadRequest) String ¶
func (o *ListScriptsBadRequest) String() string
type ListScriptsForbidden ¶
ListScriptsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListScriptsForbidden ¶
func NewListScriptsForbidden() *ListScriptsForbidden
NewListScriptsForbidden creates a ListScriptsForbidden with default headers values
func (*ListScriptsForbidden) Code ¶
func (o *ListScriptsForbidden) Code() int
Code gets the status code for the list scripts forbidden response
func (*ListScriptsForbidden) Error ¶
func (o *ListScriptsForbidden) Error() string
func (*ListScriptsForbidden) GetPayload ¶
func (o *ListScriptsForbidden) GetPayload() *models.Error
func (*ListScriptsForbidden) IsClientError ¶
func (o *ListScriptsForbidden) IsClientError() bool
IsClientError returns true when this list scripts forbidden response has a 4xx status code
func (*ListScriptsForbidden) IsCode ¶
func (o *ListScriptsForbidden) IsCode(code int) bool
IsCode returns true when this list scripts forbidden response a status code equal to that given
func (*ListScriptsForbidden) IsRedirect ¶
func (o *ListScriptsForbidden) IsRedirect() bool
IsRedirect returns true when this list scripts forbidden response has a 3xx status code
func (*ListScriptsForbidden) IsServerError ¶
func (o *ListScriptsForbidden) IsServerError() bool
IsServerError returns true when this list scripts forbidden response has a 5xx status code
func (*ListScriptsForbidden) IsSuccess ¶
func (o *ListScriptsForbidden) IsSuccess() bool
IsSuccess returns true when this list scripts forbidden response has a 2xx status code
func (*ListScriptsForbidden) String ¶
func (o *ListScriptsForbidden) String() string
type ListScriptsOK ¶
type ListScriptsOK struct {
/* The ETag HTTP header is an identifier for a specific version of a resource
in:header
Format: etag
*/
Etag string
/* Indicates that a 5xx error was caused by tenant-provided code
in:header
*/
XExternalError string
/* OpenTelemetry trace identifier
in:header
*/
XTraceID string
Payload *models.Scripts
}
ListScriptsOK describes a response with status code 200, with default header values.
Scripts
func NewListScriptsOK ¶
func NewListScriptsOK() *ListScriptsOK
NewListScriptsOK creates a ListScriptsOK with default headers values
func (*ListScriptsOK) Code ¶
func (o *ListScriptsOK) Code() int
Code gets the status code for the list scripts o k response
func (*ListScriptsOK) Error ¶
func (o *ListScriptsOK) Error() string
func (*ListScriptsOK) GetPayload ¶
func (o *ListScriptsOK) GetPayload() *models.Scripts
func (*ListScriptsOK) IsClientError ¶
func (o *ListScriptsOK) IsClientError() bool
IsClientError returns true when this list scripts o k response has a 4xx status code
func (*ListScriptsOK) IsCode ¶
func (o *ListScriptsOK) IsCode(code int) bool
IsCode returns true when this list scripts o k response a status code equal to that given
func (*ListScriptsOK) IsRedirect ¶
func (o *ListScriptsOK) IsRedirect() bool
IsRedirect returns true when this list scripts o k response has a 3xx status code
func (*ListScriptsOK) IsServerError ¶
func (o *ListScriptsOK) IsServerError() bool
IsServerError returns true when this list scripts o k response has a 5xx status code
func (*ListScriptsOK) IsSuccess ¶
func (o *ListScriptsOK) IsSuccess() bool
IsSuccess returns true when this list scripts o k response has a 2xx status code
func (*ListScriptsOK) String ¶
func (o *ListScriptsOK) String() string
type ListScriptsParams ¶
type ListScriptsParams struct {
/* AfterScriptID.
optional list scripts after given id
AfterScriptID
*/
AfterScriptID *string
/* BeforeScriptID.
optional list scripts before given id
BeforeScriptID
*/
BeforeScriptID *string
/* IfMatch.
A server will only return requested resources if the resource matches one of the listed ETag value
Format: etag
*/
IfMatch *string
/* Limit.
optional limit results
Limit
Format: int64
Default: 20
*/
Limit *int64
/* Order.
optional order scripts by given direction
Order
*/
Order *string
/* SearchPhrase.
Optional search phrase: script id OR script name substring (case insensitive)
SearchPhrase
*/
SearchPhrase *string
/* Sort.
optional sort scripts by given field
Sort
*/
Sort *string
/* Wid.
ID of your authorization server (workspace)
Default: "default"
*/
Wid string
/* XCorrelationID.
Unique identifier included in audit events for request tracking
*/
XCorrelationID *string
/* XIdempotencyKey.
Key used to safely retry failed requests without duplicate processing
*/
XIdempotencyKey *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListScriptsParams contains all the parameters to send to the API endpoint
for the list scripts operation. Typically these are written to a http.Request.
func NewListScriptsParams ¶
func NewListScriptsParams() *ListScriptsParams
NewListScriptsParams creates a new ListScriptsParams 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 NewListScriptsParamsWithContext ¶
func NewListScriptsParamsWithContext(ctx context.Context) *ListScriptsParams
NewListScriptsParamsWithContext creates a new ListScriptsParams object with the ability to set a context for a request.
func NewListScriptsParamsWithHTTPClient ¶
func NewListScriptsParamsWithHTTPClient(client *http.Client) *ListScriptsParams
NewListScriptsParamsWithHTTPClient creates a new ListScriptsParams object with the ability to set a custom HTTPClient for a request.
func NewListScriptsParamsWithTimeout ¶
func NewListScriptsParamsWithTimeout(timeout time.Duration) *ListScriptsParams
NewListScriptsParamsWithTimeout creates a new ListScriptsParams object with the ability to set a timeout on a request.
func (*ListScriptsParams) SetAfterScriptID ¶
func (o *ListScriptsParams) SetAfterScriptID(afterScriptID *string)
SetAfterScriptID adds the afterScriptId to the list scripts params
func (*ListScriptsParams) SetBeforeScriptID ¶
func (o *ListScriptsParams) SetBeforeScriptID(beforeScriptID *string)
SetBeforeScriptID adds the beforeScriptId to the list scripts params
func (*ListScriptsParams) SetContext ¶
func (o *ListScriptsParams) SetContext(ctx context.Context)
SetContext adds the context to the list scripts params
func (*ListScriptsParams) SetDefaults ¶
func (o *ListScriptsParams) SetDefaults()
SetDefaults hydrates default values in the list scripts params (not the query body).
All values with no default are reset to their zero value.
func (*ListScriptsParams) SetHTTPClient ¶
func (o *ListScriptsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list scripts params
func (*ListScriptsParams) SetIfMatch ¶
func (o *ListScriptsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list scripts params
func (*ListScriptsParams) SetLimit ¶
func (o *ListScriptsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list scripts params
func (*ListScriptsParams) SetOrder ¶
func (o *ListScriptsParams) SetOrder(order *string)
SetOrder adds the order to the list scripts params
func (*ListScriptsParams) SetSearchPhrase ¶
func (o *ListScriptsParams) SetSearchPhrase(searchPhrase *string)
SetSearchPhrase adds the searchPhrase to the list scripts params
func (*ListScriptsParams) SetSort ¶
func (o *ListScriptsParams) SetSort(sort *string)
SetSort adds the sort to the list scripts params
func (*ListScriptsParams) SetTimeout ¶
func (o *ListScriptsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list scripts params
func (*ListScriptsParams) SetWid ¶
func (o *ListScriptsParams) SetWid(wid string)
SetWid adds the wid to the list scripts params
func (*ListScriptsParams) SetXCorrelationID ¶
func (o *ListScriptsParams) SetXCorrelationID(xCorrelationID *string)
SetXCorrelationID adds the xCorrelationId to the list scripts params
func (*ListScriptsParams) SetXIdempotencyKey ¶
func (o *ListScriptsParams) SetXIdempotencyKey(xIdempotencyKey *string)
SetXIdempotencyKey adds the xIdempotencyKey to the list scripts params
func (*ListScriptsParams) WithAfterScriptID ¶
func (o *ListScriptsParams) WithAfterScriptID(afterScriptID *string) *ListScriptsParams
WithAfterScriptID adds the afterScriptID to the list scripts params
func (*ListScriptsParams) WithBeforeScriptID ¶
func (o *ListScriptsParams) WithBeforeScriptID(beforeScriptID *string) *ListScriptsParams
WithBeforeScriptID adds the beforeScriptID to the list scripts params
func (*ListScriptsParams) WithContext ¶
func (o *ListScriptsParams) WithContext(ctx context.Context) *ListScriptsParams
WithContext adds the context to the list scripts params
func (*ListScriptsParams) WithDefaults ¶
func (o *ListScriptsParams) WithDefaults() *ListScriptsParams
WithDefaults hydrates default values in the list scripts params (not the query body).
All values with no default are reset to their zero value.
func (*ListScriptsParams) WithHTTPClient ¶
func (o *ListScriptsParams) WithHTTPClient(client *http.Client) *ListScriptsParams
WithHTTPClient adds the HTTPClient to the list scripts params
func (*ListScriptsParams) WithIfMatch ¶
func (o *ListScriptsParams) WithIfMatch(ifMatch *string) *ListScriptsParams
WithIfMatch adds the ifMatch to the list scripts params
func (*ListScriptsParams) WithLimit ¶
func (o *ListScriptsParams) WithLimit(limit *int64) *ListScriptsParams
WithLimit adds the limit to the list scripts params
func (*ListScriptsParams) WithOrder ¶
func (o *ListScriptsParams) WithOrder(order *string) *ListScriptsParams
WithOrder adds the order to the list scripts params
func (*ListScriptsParams) WithSearchPhrase ¶
func (o *ListScriptsParams) WithSearchPhrase(searchPhrase *string) *ListScriptsParams
WithSearchPhrase adds the searchPhrase to the list scripts params
func (*ListScriptsParams) WithSort ¶
func (o *ListScriptsParams) WithSort(sort *string) *ListScriptsParams
WithSort adds the sort to the list scripts params
func (*ListScriptsParams) WithTimeout ¶
func (o *ListScriptsParams) WithTimeout(timeout time.Duration) *ListScriptsParams
WithTimeout adds the timeout to the list scripts params
func (*ListScriptsParams) WithWid ¶
func (o *ListScriptsParams) WithWid(wid string) *ListScriptsParams
WithWid adds the wid to the list scripts params
func (*ListScriptsParams) WithXCorrelationID ¶
func (o *ListScriptsParams) WithXCorrelationID(xCorrelationID *string) *ListScriptsParams
WithXCorrelationID adds the xCorrelationID to the list scripts params
func (*ListScriptsParams) WithXIdempotencyKey ¶
func (o *ListScriptsParams) WithXIdempotencyKey(xIdempotencyKey *string) *ListScriptsParams
WithXIdempotencyKey adds the xIdempotencyKey to the list scripts params
func (*ListScriptsParams) WriteToRequest ¶
func (o *ListScriptsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListScriptsReader ¶
type ListScriptsReader struct {
// contains filtered or unexported fields
}
ListScriptsReader is a Reader for the ListScripts structure.
func (*ListScriptsReader) ReadResponse ¶
func (o *ListScriptsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListScriptsTooManyRequests ¶
ListScriptsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListScriptsTooManyRequests ¶
func NewListScriptsTooManyRequests() *ListScriptsTooManyRequests
NewListScriptsTooManyRequests creates a ListScriptsTooManyRequests with default headers values
func (*ListScriptsTooManyRequests) Code ¶
func (o *ListScriptsTooManyRequests) Code() int
Code gets the status code for the list scripts too many requests response
func (*ListScriptsTooManyRequests) Error ¶
func (o *ListScriptsTooManyRequests) Error() string
func (*ListScriptsTooManyRequests) GetPayload ¶
func (o *ListScriptsTooManyRequests) GetPayload() *models.Error
func (*ListScriptsTooManyRequests) IsClientError ¶
func (o *ListScriptsTooManyRequests) IsClientError() bool
IsClientError returns true when this list scripts too many requests response has a 4xx status code
func (*ListScriptsTooManyRequests) IsCode ¶
func (o *ListScriptsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list scripts too many requests response a status code equal to that given
func (*ListScriptsTooManyRequests) IsRedirect ¶
func (o *ListScriptsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list scripts too many requests response has a 3xx status code
func (*ListScriptsTooManyRequests) IsServerError ¶
func (o *ListScriptsTooManyRequests) IsServerError() bool
IsServerError returns true when this list scripts too many requests response has a 5xx status code
func (*ListScriptsTooManyRequests) IsSuccess ¶
func (o *ListScriptsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list scripts too many requests response has a 2xx status code
func (*ListScriptsTooManyRequests) String ¶
func (o *ListScriptsTooManyRequests) String() string
type ListScriptsUnauthorized ¶
type ListScriptsUnauthorized struct {
}
ListScriptsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListScriptsUnauthorized ¶
func NewListScriptsUnauthorized() *ListScriptsUnauthorized
NewListScriptsUnauthorized creates a ListScriptsUnauthorized with default headers values
func (*ListScriptsUnauthorized) Code ¶
func (o *ListScriptsUnauthorized) Code() int
Code gets the status code for the list scripts unauthorized response
func (*ListScriptsUnauthorized) Error ¶
func (o *ListScriptsUnauthorized) Error() string
func (*ListScriptsUnauthorized) GetPayload ¶
func (o *ListScriptsUnauthorized) GetPayload() *models.Error
func (*ListScriptsUnauthorized) IsClientError ¶
func (o *ListScriptsUnauthorized) IsClientError() bool
IsClientError returns true when this list scripts unauthorized response has a 4xx status code
func (*ListScriptsUnauthorized) IsCode ¶
func (o *ListScriptsUnauthorized) IsCode(code int) bool
IsCode returns true when this list scripts unauthorized response a status code equal to that given
func (*ListScriptsUnauthorized) IsRedirect ¶
func (o *ListScriptsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list scripts unauthorized response has a 3xx status code
func (*ListScriptsUnauthorized) IsServerError ¶
func (o *ListScriptsUnauthorized) IsServerError() bool
IsServerError returns true when this list scripts unauthorized response has a 5xx status code
func (*ListScriptsUnauthorized) IsSuccess ¶
func (o *ListScriptsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list scripts unauthorized response has a 2xx status code
func (*ListScriptsUnauthorized) String ¶
func (o *ListScriptsUnauthorized) String() string
type PatchScriptBadRequest ¶
PatchScriptBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPatchScriptBadRequest ¶
func NewPatchScriptBadRequest() *PatchScriptBadRequest
NewPatchScriptBadRequest creates a PatchScriptBadRequest with default headers values
func (*PatchScriptBadRequest) Code ¶
func (o *PatchScriptBadRequest) Code() int
Code gets the status code for the patch script bad request response
func (*PatchScriptBadRequest) Error ¶
func (o *PatchScriptBadRequest) Error() string
func (*PatchScriptBadRequest) GetPayload ¶
func (o *PatchScriptBadRequest) GetPayload() *models.Error
func (*PatchScriptBadRequest) IsClientError ¶
func (o *PatchScriptBadRequest) IsClientError() bool
IsClientError returns true when this patch script bad request response has a 4xx status code
func (*PatchScriptBadRequest) IsCode ¶
func (o *PatchScriptBadRequest) IsCode(code int) bool
IsCode returns true when this patch script bad request response a status code equal to that given
func (*PatchScriptBadRequest) IsRedirect ¶
func (o *PatchScriptBadRequest) IsRedirect() bool
IsRedirect returns true when this patch script bad request response has a 3xx status code
func (*PatchScriptBadRequest) IsServerError ¶
func (o *PatchScriptBadRequest) IsServerError() bool
IsServerError returns true when this patch script bad request response has a 5xx status code
func (*PatchScriptBadRequest) IsSuccess ¶
func (o *PatchScriptBadRequest) IsSuccess() bool
IsSuccess returns true when this patch script bad request response has a 2xx status code
func (*PatchScriptBadRequest) String ¶
func (o *PatchScriptBadRequest) String() string
type PatchScriptForbidden ¶
PatchScriptForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPatchScriptForbidden ¶
func NewPatchScriptForbidden() *PatchScriptForbidden
NewPatchScriptForbidden creates a PatchScriptForbidden with default headers values
func (*PatchScriptForbidden) Code ¶
func (o *PatchScriptForbidden) Code() int
Code gets the status code for the patch script forbidden response
func (*PatchScriptForbidden) Error ¶
func (o *PatchScriptForbidden) Error() string
func (*PatchScriptForbidden) GetPayload ¶
func (o *PatchScriptForbidden) GetPayload() *models.Error
func (*PatchScriptForbidden) IsClientError ¶
func (o *PatchScriptForbidden) IsClientError() bool
IsClientError returns true when this patch script forbidden response has a 4xx status code
func (*PatchScriptForbidden) IsCode ¶
func (o *PatchScriptForbidden) IsCode(code int) bool
IsCode returns true when this patch script forbidden response a status code equal to that given
func (*PatchScriptForbidden) IsRedirect ¶
func (o *PatchScriptForbidden) IsRedirect() bool
IsRedirect returns true when this patch script forbidden response has a 3xx status code
func (*PatchScriptForbidden) IsServerError ¶
func (o *PatchScriptForbidden) IsServerError() bool
IsServerError returns true when this patch script forbidden response has a 5xx status code
func (*PatchScriptForbidden) IsSuccess ¶
func (o *PatchScriptForbidden) IsSuccess() bool
IsSuccess returns true when this patch script forbidden response has a 2xx status code
func (*PatchScriptForbidden) String ¶
func (o *PatchScriptForbidden) String() string
type PatchScriptNotFound ¶
PatchScriptNotFound describes a response with status code 404, with default header values.
Not found
func NewPatchScriptNotFound ¶
func NewPatchScriptNotFound() *PatchScriptNotFound
NewPatchScriptNotFound creates a PatchScriptNotFound with default headers values
func (*PatchScriptNotFound) Code ¶
func (o *PatchScriptNotFound) Code() int
Code gets the status code for the patch script not found response
func (*PatchScriptNotFound) Error ¶
func (o *PatchScriptNotFound) Error() string
func (*PatchScriptNotFound) GetPayload ¶
func (o *PatchScriptNotFound) GetPayload() *models.Error
func (*PatchScriptNotFound) IsClientError ¶
func (o *PatchScriptNotFound) IsClientError() bool
IsClientError returns true when this patch script not found response has a 4xx status code
func (*PatchScriptNotFound) IsCode ¶
func (o *PatchScriptNotFound) IsCode(code int) bool
IsCode returns true when this patch script not found response a status code equal to that given
func (*PatchScriptNotFound) IsRedirect ¶
func (o *PatchScriptNotFound) IsRedirect() bool
IsRedirect returns true when this patch script not found response has a 3xx status code
func (*PatchScriptNotFound) IsServerError ¶
func (o *PatchScriptNotFound) IsServerError() bool
IsServerError returns true when this patch script not found response has a 5xx status code
func (*PatchScriptNotFound) IsSuccess ¶
func (o *PatchScriptNotFound) IsSuccess() bool
IsSuccess returns true when this patch script not found response has a 2xx status code
func (*PatchScriptNotFound) String ¶
func (o *PatchScriptNotFound) String() string
type PatchScriptOK ¶
type PatchScriptOK struct {
/* The ETag HTTP header is an identifier for a specific version of a resource
in:header
Format: etag
*/
Etag string
/* Indicates that a 5xx error was caused by tenant-provided code
in:header
*/
XExternalError string
/* OpenTelemetry trace identifier
in:header
*/
XTraceID string
Payload *models.Script
}
PatchScriptOK describes a response with status code 200, with default header values.
Script
func NewPatchScriptOK ¶
func NewPatchScriptOK() *PatchScriptOK
NewPatchScriptOK creates a PatchScriptOK with default headers values
func (*PatchScriptOK) Code ¶
func (o *PatchScriptOK) Code() int
Code gets the status code for the patch script o k response
func (*PatchScriptOK) Error ¶
func (o *PatchScriptOK) Error() string
func (*PatchScriptOK) GetPayload ¶
func (o *PatchScriptOK) GetPayload() *models.Script
func (*PatchScriptOK) IsClientError ¶
func (o *PatchScriptOK) IsClientError() bool
IsClientError returns true when this patch script o k response has a 4xx status code
func (*PatchScriptOK) IsCode ¶
func (o *PatchScriptOK) IsCode(code int) bool
IsCode returns true when this patch script o k response a status code equal to that given
func (*PatchScriptOK) IsRedirect ¶
func (o *PatchScriptOK) IsRedirect() bool
IsRedirect returns true when this patch script o k response has a 3xx status code
func (*PatchScriptOK) IsServerError ¶
func (o *PatchScriptOK) IsServerError() bool
IsServerError returns true when this patch script o k response has a 5xx status code
func (*PatchScriptOK) IsSuccess ¶
func (o *PatchScriptOK) IsSuccess() bool
IsSuccess returns true when this patch script o k response has a 2xx status code
func (*PatchScriptOK) String ¶
func (o *PatchScriptOK) String() string
type PatchScriptParams ¶
type PatchScriptParams struct {
/* Patch.
Patch spec in RFC6902 JSON format
*/
Patch models.Rfc6902PatchOperations
/* Script.
ID of the script to be updated
*/
Script string
/* Wid.
ID of your authorization server (workspace)
Default: "default"
*/
Wid string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchScriptParams contains all the parameters to send to the API endpoint
for the patch script operation. Typically these are written to a http.Request.
func NewPatchScriptParams ¶
func NewPatchScriptParams() *PatchScriptParams
NewPatchScriptParams creates a new PatchScriptParams 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 NewPatchScriptParamsWithContext ¶
func NewPatchScriptParamsWithContext(ctx context.Context) *PatchScriptParams
NewPatchScriptParamsWithContext creates a new PatchScriptParams object with the ability to set a context for a request.
func NewPatchScriptParamsWithHTTPClient ¶
func NewPatchScriptParamsWithHTTPClient(client *http.Client) *PatchScriptParams
NewPatchScriptParamsWithHTTPClient creates a new PatchScriptParams object with the ability to set a custom HTTPClient for a request.
func NewPatchScriptParamsWithTimeout ¶
func NewPatchScriptParamsWithTimeout(timeout time.Duration) *PatchScriptParams
NewPatchScriptParamsWithTimeout creates a new PatchScriptParams object with the ability to set a timeout on a request.
func (*PatchScriptParams) SetContext ¶
func (o *PatchScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the patch script params
func (*PatchScriptParams) SetDefaults ¶
func (o *PatchScriptParams) SetDefaults()
SetDefaults hydrates default values in the patch script params (not the query body).
All values with no default are reset to their zero value.
func (*PatchScriptParams) SetHTTPClient ¶
func (o *PatchScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch script params
func (*PatchScriptParams) SetPatch ¶
func (o *PatchScriptParams) SetPatch(patch models.Rfc6902PatchOperations)
SetPatch adds the patch to the patch script params
func (*PatchScriptParams) SetScript ¶
func (o *PatchScriptParams) SetScript(script string)
SetScript adds the script to the patch script params
func (*PatchScriptParams) SetTimeout ¶
func (o *PatchScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch script params
func (*PatchScriptParams) SetWid ¶
func (o *PatchScriptParams) SetWid(wid string)
SetWid adds the wid to the patch script params
func (*PatchScriptParams) WithContext ¶
func (o *PatchScriptParams) WithContext(ctx context.Context) *PatchScriptParams
WithContext adds the context to the patch script params
func (*PatchScriptParams) WithDefaults ¶
func (o *PatchScriptParams) WithDefaults() *PatchScriptParams
WithDefaults hydrates default values in the patch script params (not the query body).
All values with no default are reset to their zero value.
func (*PatchScriptParams) WithHTTPClient ¶
func (o *PatchScriptParams) WithHTTPClient(client *http.Client) *PatchScriptParams
WithHTTPClient adds the HTTPClient to the patch script params
func (*PatchScriptParams) WithPatch ¶
func (o *PatchScriptParams) WithPatch(patch models.Rfc6902PatchOperations) *PatchScriptParams
WithPatch adds the patch to the patch script params
func (*PatchScriptParams) WithScript ¶
func (o *PatchScriptParams) WithScript(script string) *PatchScriptParams
WithScript adds the script to the patch script params
func (*PatchScriptParams) WithTimeout ¶
func (o *PatchScriptParams) WithTimeout(timeout time.Duration) *PatchScriptParams
WithTimeout adds the timeout to the patch script params
func (*PatchScriptParams) WithWid ¶
func (o *PatchScriptParams) WithWid(wid string) *PatchScriptParams
WithWid adds the wid to the patch script params
func (*PatchScriptParams) WriteToRequest ¶
func (o *PatchScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchScriptReader ¶
type PatchScriptReader struct {
// contains filtered or unexported fields
}
PatchScriptReader is a Reader for the PatchScript structure.
func (*PatchScriptReader) ReadResponse ¶
func (o *PatchScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchScriptTooManyRequests ¶
PatchScriptTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewPatchScriptTooManyRequests ¶
func NewPatchScriptTooManyRequests() *PatchScriptTooManyRequests
NewPatchScriptTooManyRequests creates a PatchScriptTooManyRequests with default headers values
func (*PatchScriptTooManyRequests) Code ¶
func (o *PatchScriptTooManyRequests) Code() int
Code gets the status code for the patch script too many requests response
func (*PatchScriptTooManyRequests) Error ¶
func (o *PatchScriptTooManyRequests) Error() string
func (*PatchScriptTooManyRequests) GetPayload ¶
func (o *PatchScriptTooManyRequests) GetPayload() *models.Error
func (*PatchScriptTooManyRequests) IsClientError ¶
func (o *PatchScriptTooManyRequests) IsClientError() bool
IsClientError returns true when this patch script too many requests response has a 4xx status code
func (*PatchScriptTooManyRequests) IsCode ¶
func (o *PatchScriptTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch script too many requests response a status code equal to that given
func (*PatchScriptTooManyRequests) IsRedirect ¶
func (o *PatchScriptTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch script too many requests response has a 3xx status code
func (*PatchScriptTooManyRequests) IsServerError ¶
func (o *PatchScriptTooManyRequests) IsServerError() bool
IsServerError returns true when this patch script too many requests response has a 5xx status code
func (*PatchScriptTooManyRequests) IsSuccess ¶
func (o *PatchScriptTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch script too many requests response has a 2xx status code
func (*PatchScriptTooManyRequests) String ¶
func (o *PatchScriptTooManyRequests) String() string
type PatchScriptUnauthorized ¶
type PatchScriptUnauthorized struct {
}
PatchScriptUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPatchScriptUnauthorized ¶
func NewPatchScriptUnauthorized() *PatchScriptUnauthorized
NewPatchScriptUnauthorized creates a PatchScriptUnauthorized with default headers values
func (*PatchScriptUnauthorized) Code ¶
func (o *PatchScriptUnauthorized) Code() int
Code gets the status code for the patch script unauthorized response
func (*PatchScriptUnauthorized) Error ¶
func (o *PatchScriptUnauthorized) Error() string
func (*PatchScriptUnauthorized) GetPayload ¶
func (o *PatchScriptUnauthorized) GetPayload() *models.Error
func (*PatchScriptUnauthorized) IsClientError ¶
func (o *PatchScriptUnauthorized) IsClientError() bool
IsClientError returns true when this patch script unauthorized response has a 4xx status code
func (*PatchScriptUnauthorized) IsCode ¶
func (o *PatchScriptUnauthorized) IsCode(code int) bool
IsCode returns true when this patch script unauthorized response a status code equal to that given
func (*PatchScriptUnauthorized) IsRedirect ¶
func (o *PatchScriptUnauthorized) IsRedirect() bool
IsRedirect returns true when this patch script unauthorized response has a 3xx status code
func (*PatchScriptUnauthorized) IsServerError ¶
func (o *PatchScriptUnauthorized) IsServerError() bool
IsServerError returns true when this patch script unauthorized response has a 5xx status code
func (*PatchScriptUnauthorized) IsSuccess ¶
func (o *PatchScriptUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch script unauthorized response has a 2xx status code
func (*PatchScriptUnauthorized) String ¶
func (o *PatchScriptUnauthorized) String() string
type UpdateScriptBadRequest ¶
UpdateScriptBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateScriptBadRequest ¶
func NewUpdateScriptBadRequest() *UpdateScriptBadRequest
NewUpdateScriptBadRequest creates a UpdateScriptBadRequest with default headers values
func (*UpdateScriptBadRequest) Code ¶
func (o *UpdateScriptBadRequest) Code() int
Code gets the status code for the update script bad request response
func (*UpdateScriptBadRequest) Error ¶
func (o *UpdateScriptBadRequest) Error() string
func (*UpdateScriptBadRequest) GetPayload ¶
func (o *UpdateScriptBadRequest) GetPayload() *models.Error
func (*UpdateScriptBadRequest) IsClientError ¶
func (o *UpdateScriptBadRequest) IsClientError() bool
IsClientError returns true when this update script bad request response has a 4xx status code
func (*UpdateScriptBadRequest) IsCode ¶
func (o *UpdateScriptBadRequest) IsCode(code int) bool
IsCode returns true when this update script bad request response a status code equal to that given
func (*UpdateScriptBadRequest) IsRedirect ¶
func (o *UpdateScriptBadRequest) IsRedirect() bool
IsRedirect returns true when this update script bad request response has a 3xx status code
func (*UpdateScriptBadRequest) IsServerError ¶
func (o *UpdateScriptBadRequest) IsServerError() bool
IsServerError returns true when this update script bad request response has a 5xx status code
func (*UpdateScriptBadRequest) IsSuccess ¶
func (o *UpdateScriptBadRequest) IsSuccess() bool
IsSuccess returns true when this update script bad request response has a 2xx status code
func (*UpdateScriptBadRequest) String ¶
func (o *UpdateScriptBadRequest) String() string
type UpdateScriptForbidden ¶
UpdateScriptForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateScriptForbidden ¶
func NewUpdateScriptForbidden() *UpdateScriptForbidden
NewUpdateScriptForbidden creates a UpdateScriptForbidden with default headers values
func (*UpdateScriptForbidden) Code ¶
func (o *UpdateScriptForbidden) Code() int
Code gets the status code for the update script forbidden response
func (*UpdateScriptForbidden) Error ¶
func (o *UpdateScriptForbidden) Error() string
func (*UpdateScriptForbidden) GetPayload ¶
func (o *UpdateScriptForbidden) GetPayload() *models.Error
func (*UpdateScriptForbidden) IsClientError ¶
func (o *UpdateScriptForbidden) IsClientError() bool
IsClientError returns true when this update script forbidden response has a 4xx status code
func (*UpdateScriptForbidden) IsCode ¶
func (o *UpdateScriptForbidden) IsCode(code int) bool
IsCode returns true when this update script forbidden response a status code equal to that given
func (*UpdateScriptForbidden) IsRedirect ¶
func (o *UpdateScriptForbidden) IsRedirect() bool
IsRedirect returns true when this update script forbidden response has a 3xx status code
func (*UpdateScriptForbidden) IsServerError ¶
func (o *UpdateScriptForbidden) IsServerError() bool
IsServerError returns true when this update script forbidden response has a 5xx status code
func (*UpdateScriptForbidden) IsSuccess ¶
func (o *UpdateScriptForbidden) IsSuccess() bool
IsSuccess returns true when this update script forbidden response has a 2xx status code
func (*UpdateScriptForbidden) String ¶
func (o *UpdateScriptForbidden) String() string
type UpdateScriptNotFound ¶
UpdateScriptNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateScriptNotFound ¶
func NewUpdateScriptNotFound() *UpdateScriptNotFound
NewUpdateScriptNotFound creates a UpdateScriptNotFound with default headers values
func (*UpdateScriptNotFound) Code ¶
func (o *UpdateScriptNotFound) Code() int
Code gets the status code for the update script not found response
func (*UpdateScriptNotFound) Error ¶
func (o *UpdateScriptNotFound) Error() string
func (*UpdateScriptNotFound) GetPayload ¶
func (o *UpdateScriptNotFound) GetPayload() *models.Error
func (*UpdateScriptNotFound) IsClientError ¶
func (o *UpdateScriptNotFound) IsClientError() bool
IsClientError returns true when this update script not found response has a 4xx status code
func (*UpdateScriptNotFound) IsCode ¶
func (o *UpdateScriptNotFound) IsCode(code int) bool
IsCode returns true when this update script not found response a status code equal to that given
func (*UpdateScriptNotFound) IsRedirect ¶
func (o *UpdateScriptNotFound) IsRedirect() bool
IsRedirect returns true when this update script not found response has a 3xx status code
func (*UpdateScriptNotFound) IsServerError ¶
func (o *UpdateScriptNotFound) IsServerError() bool
IsServerError returns true when this update script not found response has a 5xx status code
func (*UpdateScriptNotFound) IsSuccess ¶
func (o *UpdateScriptNotFound) IsSuccess() bool
IsSuccess returns true when this update script not found response has a 2xx status code
func (*UpdateScriptNotFound) String ¶
func (o *UpdateScriptNotFound) String() string
type UpdateScriptOK ¶
type UpdateScriptOK struct {
/* The ETag HTTP header is an identifier for a specific version of a resource
in:header
Format: etag
*/
Etag string
/* Indicates that a 5xx error was caused by tenant-provided code
in:header
*/
XExternalError string
/* OpenTelemetry trace identifier
in:header
*/
XTraceID string
Payload *models.Script
}
UpdateScriptOK describes a response with status code 200, with default header values.
Script
func NewUpdateScriptOK ¶
func NewUpdateScriptOK() *UpdateScriptOK
NewUpdateScriptOK creates a UpdateScriptOK with default headers values
func (*UpdateScriptOK) Code ¶
func (o *UpdateScriptOK) Code() int
Code gets the status code for the update script o k response
func (*UpdateScriptOK) Error ¶
func (o *UpdateScriptOK) Error() string
func (*UpdateScriptOK) GetPayload ¶
func (o *UpdateScriptOK) GetPayload() *models.Script
func (*UpdateScriptOK) IsClientError ¶
func (o *UpdateScriptOK) IsClientError() bool
IsClientError returns true when this update script o k response has a 4xx status code
func (*UpdateScriptOK) IsCode ¶
func (o *UpdateScriptOK) IsCode(code int) bool
IsCode returns true when this update script o k response a status code equal to that given
func (*UpdateScriptOK) IsRedirect ¶
func (o *UpdateScriptOK) IsRedirect() bool
IsRedirect returns true when this update script o k response has a 3xx status code
func (*UpdateScriptOK) IsServerError ¶
func (o *UpdateScriptOK) IsServerError() bool
IsServerError returns true when this update script o k response has a 5xx status code
func (*UpdateScriptOK) IsSuccess ¶
func (o *UpdateScriptOK) IsSuccess() bool
IsSuccess returns true when this update script o k response has a 2xx status code
func (*UpdateScriptOK) String ¶
func (o *UpdateScriptOK) String() string
type UpdateScriptParams ¶
type UpdateScriptParams struct {
// ScriptBody.
ScriptBody *models.Script
/* IfMatch.
A server will only return requested resources if the resource matches one of the listed ETag value
Format: etag
*/
IfMatch *string
/* Script.
ID of the script to be updated
*/
Script string
/* Wid.
ID of your authorization server (workspace)
Default: "default"
*/
Wid string
/* XCorrelationID.
Unique identifier included in audit events for request tracking
*/
XCorrelationID *string
/* XIdempotencyKey.
Key used to safely retry failed requests without duplicate processing
*/
XIdempotencyKey *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateScriptParams contains all the parameters to send to the API endpoint
for the update script operation. Typically these are written to a http.Request.
func NewUpdateScriptParams ¶
func NewUpdateScriptParams() *UpdateScriptParams
NewUpdateScriptParams creates a new UpdateScriptParams 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 NewUpdateScriptParamsWithContext ¶
func NewUpdateScriptParamsWithContext(ctx context.Context) *UpdateScriptParams
NewUpdateScriptParamsWithContext creates a new UpdateScriptParams object with the ability to set a context for a request.
func NewUpdateScriptParamsWithHTTPClient ¶
func NewUpdateScriptParamsWithHTTPClient(client *http.Client) *UpdateScriptParams
NewUpdateScriptParamsWithHTTPClient creates a new UpdateScriptParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateScriptParamsWithTimeout ¶
func NewUpdateScriptParamsWithTimeout(timeout time.Duration) *UpdateScriptParams
NewUpdateScriptParamsWithTimeout creates a new UpdateScriptParams object with the ability to set a timeout on a request.
func (*UpdateScriptParams) SetContext ¶
func (o *UpdateScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the update script params
func (*UpdateScriptParams) SetDefaults ¶
func (o *UpdateScriptParams) SetDefaults()
SetDefaults hydrates default values in the update script params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScriptParams) SetHTTPClient ¶
func (o *UpdateScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update script params
func (*UpdateScriptParams) SetIfMatch ¶
func (o *UpdateScriptParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update script params
func (*UpdateScriptParams) SetScript ¶
func (o *UpdateScriptParams) SetScript(script string)
SetScript adds the script to the update script params
func (*UpdateScriptParams) SetScriptBody ¶
func (o *UpdateScriptParams) SetScriptBody(scriptBody *models.Script)
SetScriptBody adds the scriptBody to the update script params
func (*UpdateScriptParams) SetTimeout ¶
func (o *UpdateScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update script params
func (*UpdateScriptParams) SetWid ¶
func (o *UpdateScriptParams) SetWid(wid string)
SetWid adds the wid to the update script params
func (*UpdateScriptParams) SetXCorrelationID ¶
func (o *UpdateScriptParams) SetXCorrelationID(xCorrelationID *string)
SetXCorrelationID adds the xCorrelationId to the update script params
func (*UpdateScriptParams) SetXIdempotencyKey ¶
func (o *UpdateScriptParams) SetXIdempotencyKey(xIdempotencyKey *string)
SetXIdempotencyKey adds the xIdempotencyKey to the update script params
func (*UpdateScriptParams) WithContext ¶
func (o *UpdateScriptParams) WithContext(ctx context.Context) *UpdateScriptParams
WithContext adds the context to the update script params
func (*UpdateScriptParams) WithDefaults ¶
func (o *UpdateScriptParams) WithDefaults() *UpdateScriptParams
WithDefaults hydrates default values in the update script params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScriptParams) WithHTTPClient ¶
func (o *UpdateScriptParams) WithHTTPClient(client *http.Client) *UpdateScriptParams
WithHTTPClient adds the HTTPClient to the update script params
func (*UpdateScriptParams) WithIfMatch ¶
func (o *UpdateScriptParams) WithIfMatch(ifMatch *string) *UpdateScriptParams
WithIfMatch adds the ifMatch to the update script params
func (*UpdateScriptParams) WithScript ¶
func (o *UpdateScriptParams) WithScript(script string) *UpdateScriptParams
WithScript adds the script to the update script params
func (*UpdateScriptParams) WithScriptBody ¶
func (o *UpdateScriptParams) WithScriptBody(scriptBody *models.Script) *UpdateScriptParams
WithScriptBody adds the scriptBody to the update script params
func (*UpdateScriptParams) WithTimeout ¶
func (o *UpdateScriptParams) WithTimeout(timeout time.Duration) *UpdateScriptParams
WithTimeout adds the timeout to the update script params
func (*UpdateScriptParams) WithWid ¶
func (o *UpdateScriptParams) WithWid(wid string) *UpdateScriptParams
WithWid adds the wid to the update script params
func (*UpdateScriptParams) WithXCorrelationID ¶
func (o *UpdateScriptParams) WithXCorrelationID(xCorrelationID *string) *UpdateScriptParams
WithXCorrelationID adds the xCorrelationID to the update script params
func (*UpdateScriptParams) WithXIdempotencyKey ¶
func (o *UpdateScriptParams) WithXIdempotencyKey(xIdempotencyKey *string) *UpdateScriptParams
WithXIdempotencyKey adds the xIdempotencyKey to the update script params
func (*UpdateScriptParams) WriteToRequest ¶
func (o *UpdateScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateScriptReader ¶
type UpdateScriptReader struct {
// contains filtered or unexported fields
}
UpdateScriptReader is a Reader for the UpdateScript structure.
func (*UpdateScriptReader) ReadResponse ¶
func (o *UpdateScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateScriptTooManyRequests ¶
UpdateScriptTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateScriptTooManyRequests ¶
func NewUpdateScriptTooManyRequests() *UpdateScriptTooManyRequests
NewUpdateScriptTooManyRequests creates a UpdateScriptTooManyRequests with default headers values
func (*UpdateScriptTooManyRequests) Code ¶
func (o *UpdateScriptTooManyRequests) Code() int
Code gets the status code for the update script too many requests response
func (*UpdateScriptTooManyRequests) Error ¶
func (o *UpdateScriptTooManyRequests) Error() string
func (*UpdateScriptTooManyRequests) GetPayload ¶
func (o *UpdateScriptTooManyRequests) GetPayload() *models.Error
func (*UpdateScriptTooManyRequests) IsClientError ¶
func (o *UpdateScriptTooManyRequests) IsClientError() bool
IsClientError returns true when this update script too many requests response has a 4xx status code
func (*UpdateScriptTooManyRequests) IsCode ¶
func (o *UpdateScriptTooManyRequests) IsCode(code int) bool
IsCode returns true when this update script too many requests response a status code equal to that given
func (*UpdateScriptTooManyRequests) IsRedirect ¶
func (o *UpdateScriptTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update script too many requests response has a 3xx status code
func (*UpdateScriptTooManyRequests) IsServerError ¶
func (o *UpdateScriptTooManyRequests) IsServerError() bool
IsServerError returns true when this update script too many requests response has a 5xx status code
func (*UpdateScriptTooManyRequests) IsSuccess ¶
func (o *UpdateScriptTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update script too many requests response has a 2xx status code
func (*UpdateScriptTooManyRequests) String ¶
func (o *UpdateScriptTooManyRequests) String() string
type UpdateScriptUnauthorized ¶
type UpdateScriptUnauthorized struct {
}
UpdateScriptUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateScriptUnauthorized ¶
func NewUpdateScriptUnauthorized() *UpdateScriptUnauthorized
NewUpdateScriptUnauthorized creates a UpdateScriptUnauthorized with default headers values
func (*UpdateScriptUnauthorized) Code ¶
func (o *UpdateScriptUnauthorized) Code() int
Code gets the status code for the update script unauthorized response
func (*UpdateScriptUnauthorized) Error ¶
func (o *UpdateScriptUnauthorized) Error() string
func (*UpdateScriptUnauthorized) GetPayload ¶
func (o *UpdateScriptUnauthorized) GetPayload() *models.Error
func (*UpdateScriptUnauthorized) IsClientError ¶
func (o *UpdateScriptUnauthorized) IsClientError() bool
IsClientError returns true when this update script unauthorized response has a 4xx status code
func (*UpdateScriptUnauthorized) IsCode ¶
func (o *UpdateScriptUnauthorized) IsCode(code int) bool
IsCode returns true when this update script unauthorized response a status code equal to that given
func (*UpdateScriptUnauthorized) IsRedirect ¶
func (o *UpdateScriptUnauthorized) IsRedirect() bool
IsRedirect returns true when this update script unauthorized response has a 3xx status code
func (*UpdateScriptUnauthorized) IsServerError ¶
func (o *UpdateScriptUnauthorized) IsServerError() bool
IsServerError returns true when this update script unauthorized response has a 5xx status code
func (*UpdateScriptUnauthorized) IsSuccess ¶
func (o *UpdateScriptUnauthorized) IsSuccess() bool
IsSuccess returns true when this update script unauthorized response has a 2xx status code
func (*UpdateScriptUnauthorized) String ¶
func (o *UpdateScriptUnauthorized) String() string
Source Files
¶
- create_script_parameters.go
- create_script_responses.go
- delete_script_parameters.go
- delete_script_responses.go
- get_script_parameters.go
- get_script_responses.go
- list_scripts_parameters.go
- list_scripts_responses.go
- patch_script_parameters.go
- patch_script_responses.go
- scripts_client.go
- update_script_parameters.go
- update_script_responses.go