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) DisableScriptDebug(params *DisableScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DisableScriptDebugNoContent, error)
- func (a *Client) EnableScriptDebug(params *EnableScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnableScriptDebugOK, error)
- func (a *Client) GetScript(params *GetScriptParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetScriptOK, error)
- func (a *Client) GetScriptDebug(params *GetScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetScriptDebugOK, error)
- func (a *Client) ListScriptDebugs(params *ListScriptDebugsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListScriptDebugsOK, error)
- func (a *Client) ListScriptExecutionPoints(params *ListScriptExecutionPointsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListScriptExecutionPointsOK, 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) SetScriptExecutionPoints(params *SetScriptExecutionPointsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetScriptExecutionPointsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestScript(params *TestScriptParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TestScriptOK, error)
- 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) 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) 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) 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) 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 DisableScriptDebugForbidden
- func (o *DisableScriptDebugForbidden) Code() int
- func (o *DisableScriptDebugForbidden) Error() string
- func (o *DisableScriptDebugForbidden) GetPayload() *models.Error
- func (o *DisableScriptDebugForbidden) IsClientError() bool
- func (o *DisableScriptDebugForbidden) IsCode(code int) bool
- func (o *DisableScriptDebugForbidden) IsRedirect() bool
- func (o *DisableScriptDebugForbidden) IsServerError() bool
- func (o *DisableScriptDebugForbidden) IsSuccess() bool
- func (o *DisableScriptDebugForbidden) String() string
- type DisableScriptDebugNoContent
- func (o *DisableScriptDebugNoContent) Code() int
- func (o *DisableScriptDebugNoContent) Error() string
- func (o *DisableScriptDebugNoContent) IsClientError() bool
- func (o *DisableScriptDebugNoContent) IsCode(code int) bool
- func (o *DisableScriptDebugNoContent) IsRedirect() bool
- func (o *DisableScriptDebugNoContent) IsServerError() bool
- func (o *DisableScriptDebugNoContent) IsSuccess() bool
- func (o *DisableScriptDebugNoContent) String() string
- type DisableScriptDebugNotFound
- func (o *DisableScriptDebugNotFound) Code() int
- func (o *DisableScriptDebugNotFound) Error() string
- func (o *DisableScriptDebugNotFound) GetPayload() *models.Error
- func (o *DisableScriptDebugNotFound) IsClientError() bool
- func (o *DisableScriptDebugNotFound) IsCode(code int) bool
- func (o *DisableScriptDebugNotFound) IsRedirect() bool
- func (o *DisableScriptDebugNotFound) IsServerError() bool
- func (o *DisableScriptDebugNotFound) IsSuccess() bool
- func (o *DisableScriptDebugNotFound) String() string
- type DisableScriptDebugParams
- func NewDisableScriptDebugParams() *DisableScriptDebugParams
- func NewDisableScriptDebugParamsWithContext(ctx context.Context) *DisableScriptDebugParams
- func NewDisableScriptDebugParamsWithHTTPClient(client *http.Client) *DisableScriptDebugParams
- func NewDisableScriptDebugParamsWithTimeout(timeout time.Duration) *DisableScriptDebugParams
- func (o *DisableScriptDebugParams) SetContext(ctx context.Context)
- func (o *DisableScriptDebugParams) SetDefaults()
- func (o *DisableScriptDebugParams) SetHTTPClient(client *http.Client)
- func (o *DisableScriptDebugParams) SetIfMatch(ifMatch *string)
- func (o *DisableScriptDebugParams) SetScript(script string)
- func (o *DisableScriptDebugParams) SetTimeout(timeout time.Duration)
- func (o *DisableScriptDebugParams) SetWid(wid string)
- func (o *DisableScriptDebugParams) WithContext(ctx context.Context) *DisableScriptDebugParams
- func (o *DisableScriptDebugParams) WithDefaults() *DisableScriptDebugParams
- func (o *DisableScriptDebugParams) WithHTTPClient(client *http.Client) *DisableScriptDebugParams
- func (o *DisableScriptDebugParams) WithIfMatch(ifMatch *string) *DisableScriptDebugParams
- func (o *DisableScriptDebugParams) WithScript(script string) *DisableScriptDebugParams
- func (o *DisableScriptDebugParams) WithTimeout(timeout time.Duration) *DisableScriptDebugParams
- func (o *DisableScriptDebugParams) WithWid(wid string) *DisableScriptDebugParams
- func (o *DisableScriptDebugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableScriptDebugReader
- type DisableScriptDebugTooManyRequests
- func (o *DisableScriptDebugTooManyRequests) Code() int
- func (o *DisableScriptDebugTooManyRequests) Error() string
- func (o *DisableScriptDebugTooManyRequests) GetPayload() *models.Error
- func (o *DisableScriptDebugTooManyRequests) IsClientError() bool
- func (o *DisableScriptDebugTooManyRequests) IsCode(code int) bool
- func (o *DisableScriptDebugTooManyRequests) IsRedirect() bool
- func (o *DisableScriptDebugTooManyRequests) IsServerError() bool
- func (o *DisableScriptDebugTooManyRequests) IsSuccess() bool
- func (o *DisableScriptDebugTooManyRequests) String() string
- type DisableScriptDebugUnauthorized
- func (o *DisableScriptDebugUnauthorized) Code() int
- func (o *DisableScriptDebugUnauthorized) Error() string
- func (o *DisableScriptDebugUnauthorized) GetPayload() *models.Error
- func (o *DisableScriptDebugUnauthorized) IsClientError() bool
- func (o *DisableScriptDebugUnauthorized) IsCode(code int) bool
- func (o *DisableScriptDebugUnauthorized) IsRedirect() bool
- func (o *DisableScriptDebugUnauthorized) IsServerError() bool
- func (o *DisableScriptDebugUnauthorized) IsSuccess() bool
- func (o *DisableScriptDebugUnauthorized) String() string
- type EnableScriptDebugBadRequest
- func (o *EnableScriptDebugBadRequest) Code() int
- func (o *EnableScriptDebugBadRequest) Error() string
- func (o *EnableScriptDebugBadRequest) GetPayload() *models.Error
- func (o *EnableScriptDebugBadRequest) IsClientError() bool
- func (o *EnableScriptDebugBadRequest) IsCode(code int) bool
- func (o *EnableScriptDebugBadRequest) IsRedirect() bool
- func (o *EnableScriptDebugBadRequest) IsServerError() bool
- func (o *EnableScriptDebugBadRequest) IsSuccess() bool
- func (o *EnableScriptDebugBadRequest) String() string
- type EnableScriptDebugForbidden
- func (o *EnableScriptDebugForbidden) Code() int
- func (o *EnableScriptDebugForbidden) Error() string
- func (o *EnableScriptDebugForbidden) GetPayload() *models.Error
- func (o *EnableScriptDebugForbidden) IsClientError() bool
- func (o *EnableScriptDebugForbidden) IsCode(code int) bool
- func (o *EnableScriptDebugForbidden) IsRedirect() bool
- func (o *EnableScriptDebugForbidden) IsServerError() bool
- func (o *EnableScriptDebugForbidden) IsSuccess() bool
- func (o *EnableScriptDebugForbidden) String() string
- type EnableScriptDebugNotFound
- func (o *EnableScriptDebugNotFound) Code() int
- func (o *EnableScriptDebugNotFound) Error() string
- func (o *EnableScriptDebugNotFound) GetPayload() *models.Error
- func (o *EnableScriptDebugNotFound) IsClientError() bool
- func (o *EnableScriptDebugNotFound) IsCode(code int) bool
- func (o *EnableScriptDebugNotFound) IsRedirect() bool
- func (o *EnableScriptDebugNotFound) IsServerError() bool
- func (o *EnableScriptDebugNotFound) IsSuccess() bool
- func (o *EnableScriptDebugNotFound) String() string
- type EnableScriptDebugOK
- func (o *EnableScriptDebugOK) Code() int
- func (o *EnableScriptDebugOK) Error() string
- func (o *EnableScriptDebugOK) GetPayload() *models.ScriptDebug
- func (o *EnableScriptDebugOK) IsClientError() bool
- func (o *EnableScriptDebugOK) IsCode(code int) bool
- func (o *EnableScriptDebugOK) IsRedirect() bool
- func (o *EnableScriptDebugOK) IsServerError() bool
- func (o *EnableScriptDebugOK) IsSuccess() bool
- func (o *EnableScriptDebugOK) String() string
- type EnableScriptDebugParams
- func NewEnableScriptDebugParams() *EnableScriptDebugParams
- func NewEnableScriptDebugParamsWithContext(ctx context.Context) *EnableScriptDebugParams
- func NewEnableScriptDebugParamsWithHTTPClient(client *http.Client) *EnableScriptDebugParams
- func NewEnableScriptDebugParamsWithTimeout(timeout time.Duration) *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) SetContext(ctx context.Context)
- func (o *EnableScriptDebugParams) SetDefaults()
- func (o *EnableScriptDebugParams) SetDuration(duration *string)
- func (o *EnableScriptDebugParams) SetHTTPClient(client *http.Client)
- func (o *EnableScriptDebugParams) SetIfMatch(ifMatch *string)
- func (o *EnableScriptDebugParams) SetScript(script string)
- func (o *EnableScriptDebugParams) SetTimeout(timeout time.Duration)
- func (o *EnableScriptDebugParams) SetWid(wid string)
- func (o *EnableScriptDebugParams) WithContext(ctx context.Context) *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) WithDefaults() *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) WithDuration(duration *string) *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) WithHTTPClient(client *http.Client) *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) WithIfMatch(ifMatch *string) *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) WithScript(script string) *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) WithTimeout(timeout time.Duration) *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) WithWid(wid string) *EnableScriptDebugParams
- func (o *EnableScriptDebugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableScriptDebugReader
- type EnableScriptDebugTooManyRequests
- func (o *EnableScriptDebugTooManyRequests) Code() int
- func (o *EnableScriptDebugTooManyRequests) Error() string
- func (o *EnableScriptDebugTooManyRequests) GetPayload() *models.Error
- func (o *EnableScriptDebugTooManyRequests) IsClientError() bool
- func (o *EnableScriptDebugTooManyRequests) IsCode(code int) bool
- func (o *EnableScriptDebugTooManyRequests) IsRedirect() bool
- func (o *EnableScriptDebugTooManyRequests) IsServerError() bool
- func (o *EnableScriptDebugTooManyRequests) IsSuccess() bool
- func (o *EnableScriptDebugTooManyRequests) String() string
- type EnableScriptDebugUnauthorized
- func (o *EnableScriptDebugUnauthorized) Code() int
- func (o *EnableScriptDebugUnauthorized) Error() string
- func (o *EnableScriptDebugUnauthorized) GetPayload() *models.Error
- func (o *EnableScriptDebugUnauthorized) IsClientError() bool
- func (o *EnableScriptDebugUnauthorized) IsCode(code int) bool
- func (o *EnableScriptDebugUnauthorized) IsRedirect() bool
- func (o *EnableScriptDebugUnauthorized) IsServerError() bool
- func (o *EnableScriptDebugUnauthorized) IsSuccess() bool
- func (o *EnableScriptDebugUnauthorized) String() string
- type GetScriptDebugForbidden
- func (o *GetScriptDebugForbidden) Code() int
- func (o *GetScriptDebugForbidden) Error() string
- func (o *GetScriptDebugForbidden) GetPayload() *models.Error
- func (o *GetScriptDebugForbidden) IsClientError() bool
- func (o *GetScriptDebugForbidden) IsCode(code int) bool
- func (o *GetScriptDebugForbidden) IsRedirect() bool
- func (o *GetScriptDebugForbidden) IsServerError() bool
- func (o *GetScriptDebugForbidden) IsSuccess() bool
- func (o *GetScriptDebugForbidden) String() string
- type GetScriptDebugNotFound
- func (o *GetScriptDebugNotFound) Code() int
- func (o *GetScriptDebugNotFound) Error() string
- func (o *GetScriptDebugNotFound) GetPayload() *models.Error
- func (o *GetScriptDebugNotFound) IsClientError() bool
- func (o *GetScriptDebugNotFound) IsCode(code int) bool
- func (o *GetScriptDebugNotFound) IsRedirect() bool
- func (o *GetScriptDebugNotFound) IsServerError() bool
- func (o *GetScriptDebugNotFound) IsSuccess() bool
- func (o *GetScriptDebugNotFound) String() string
- type GetScriptDebugOK
- func (o *GetScriptDebugOK) Code() int
- func (o *GetScriptDebugOK) Error() string
- func (o *GetScriptDebugOK) GetPayload() *models.ScriptDebug
- func (o *GetScriptDebugOK) IsClientError() bool
- func (o *GetScriptDebugOK) IsCode(code int) bool
- func (o *GetScriptDebugOK) IsRedirect() bool
- func (o *GetScriptDebugOK) IsServerError() bool
- func (o *GetScriptDebugOK) IsSuccess() bool
- func (o *GetScriptDebugOK) String() string
- type GetScriptDebugParams
- func NewGetScriptDebugParams() *GetScriptDebugParams
- func NewGetScriptDebugParamsWithContext(ctx context.Context) *GetScriptDebugParams
- func NewGetScriptDebugParamsWithHTTPClient(client *http.Client) *GetScriptDebugParams
- func NewGetScriptDebugParamsWithTimeout(timeout time.Duration) *GetScriptDebugParams
- func (o *GetScriptDebugParams) SetContext(ctx context.Context)
- func (o *GetScriptDebugParams) SetDefaults()
- func (o *GetScriptDebugParams) SetHTTPClient(client *http.Client)
- func (o *GetScriptDebugParams) SetIfMatch(ifMatch *string)
- func (o *GetScriptDebugParams) SetScript(script string)
- func (o *GetScriptDebugParams) SetTimeout(timeout time.Duration)
- func (o *GetScriptDebugParams) SetWid(wid string)
- func (o *GetScriptDebugParams) WithContext(ctx context.Context) *GetScriptDebugParams
- func (o *GetScriptDebugParams) WithDefaults() *GetScriptDebugParams
- func (o *GetScriptDebugParams) WithHTTPClient(client *http.Client) *GetScriptDebugParams
- func (o *GetScriptDebugParams) WithIfMatch(ifMatch *string) *GetScriptDebugParams
- func (o *GetScriptDebugParams) WithScript(script string) *GetScriptDebugParams
- func (o *GetScriptDebugParams) WithTimeout(timeout time.Duration) *GetScriptDebugParams
- func (o *GetScriptDebugParams) WithWid(wid string) *GetScriptDebugParams
- func (o *GetScriptDebugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScriptDebugReader
- type GetScriptDebugTooManyRequests
- func (o *GetScriptDebugTooManyRequests) Code() int
- func (o *GetScriptDebugTooManyRequests) Error() string
- func (o *GetScriptDebugTooManyRequests) GetPayload() *models.Error
- func (o *GetScriptDebugTooManyRequests) IsClientError() bool
- func (o *GetScriptDebugTooManyRequests) IsCode(code int) bool
- func (o *GetScriptDebugTooManyRequests) IsRedirect() bool
- func (o *GetScriptDebugTooManyRequests) IsServerError() bool
- func (o *GetScriptDebugTooManyRequests) IsSuccess() bool
- func (o *GetScriptDebugTooManyRequests) String() string
- type GetScriptDebugUnauthorized
- func (o *GetScriptDebugUnauthorized) Code() int
- func (o *GetScriptDebugUnauthorized) Error() string
- func (o *GetScriptDebugUnauthorized) GetPayload() *models.Error
- func (o *GetScriptDebugUnauthorized) IsClientError() bool
- func (o *GetScriptDebugUnauthorized) IsCode(code int) bool
- func (o *GetScriptDebugUnauthorized) IsRedirect() bool
- func (o *GetScriptDebugUnauthorized) IsServerError() bool
- func (o *GetScriptDebugUnauthorized) IsSuccess() bool
- func (o *GetScriptDebugUnauthorized) 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) 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) 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 ListScriptDebugsForbidden
- func (o *ListScriptDebugsForbidden) Code() int
- func (o *ListScriptDebugsForbidden) Error() string
- func (o *ListScriptDebugsForbidden) GetPayload() *models.Error
- func (o *ListScriptDebugsForbidden) IsClientError() bool
- func (o *ListScriptDebugsForbidden) IsCode(code int) bool
- func (o *ListScriptDebugsForbidden) IsRedirect() bool
- func (o *ListScriptDebugsForbidden) IsServerError() bool
- func (o *ListScriptDebugsForbidden) IsSuccess() bool
- func (o *ListScriptDebugsForbidden) String() string
- type ListScriptDebugsOK
- func (o *ListScriptDebugsOK) Code() int
- func (o *ListScriptDebugsOK) Error() string
- func (o *ListScriptDebugsOK) GetPayload() *models.ScriptDebugs
- func (o *ListScriptDebugsOK) IsClientError() bool
- func (o *ListScriptDebugsOK) IsCode(code int) bool
- func (o *ListScriptDebugsOK) IsRedirect() bool
- func (o *ListScriptDebugsOK) IsServerError() bool
- func (o *ListScriptDebugsOK) IsSuccess() bool
- func (o *ListScriptDebugsOK) String() string
- type ListScriptDebugsParams
- func NewListScriptDebugsParams() *ListScriptDebugsParams
- func NewListScriptDebugsParamsWithContext(ctx context.Context) *ListScriptDebugsParams
- func NewListScriptDebugsParamsWithHTTPClient(client *http.Client) *ListScriptDebugsParams
- func NewListScriptDebugsParamsWithTimeout(timeout time.Duration) *ListScriptDebugsParams
- func (o *ListScriptDebugsParams) SetContext(ctx context.Context)
- func (o *ListScriptDebugsParams) SetDefaults()
- func (o *ListScriptDebugsParams) SetHTTPClient(client *http.Client)
- func (o *ListScriptDebugsParams) SetIfMatch(ifMatch *string)
- func (o *ListScriptDebugsParams) SetTimeout(timeout time.Duration)
- func (o *ListScriptDebugsParams) SetWid(wid string)
- func (o *ListScriptDebugsParams) WithContext(ctx context.Context) *ListScriptDebugsParams
- func (o *ListScriptDebugsParams) WithDefaults() *ListScriptDebugsParams
- func (o *ListScriptDebugsParams) WithHTTPClient(client *http.Client) *ListScriptDebugsParams
- func (o *ListScriptDebugsParams) WithIfMatch(ifMatch *string) *ListScriptDebugsParams
- func (o *ListScriptDebugsParams) WithTimeout(timeout time.Duration) *ListScriptDebugsParams
- func (o *ListScriptDebugsParams) WithWid(wid string) *ListScriptDebugsParams
- func (o *ListScriptDebugsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListScriptDebugsReader
- type ListScriptDebugsTooManyRequests
- func (o *ListScriptDebugsTooManyRequests) Code() int
- func (o *ListScriptDebugsTooManyRequests) Error() string
- func (o *ListScriptDebugsTooManyRequests) GetPayload() *models.Error
- func (o *ListScriptDebugsTooManyRequests) IsClientError() bool
- func (o *ListScriptDebugsTooManyRequests) IsCode(code int) bool
- func (o *ListScriptDebugsTooManyRequests) IsRedirect() bool
- func (o *ListScriptDebugsTooManyRequests) IsServerError() bool
- func (o *ListScriptDebugsTooManyRequests) IsSuccess() bool
- func (o *ListScriptDebugsTooManyRequests) String() string
- type ListScriptDebugsUnauthorized
- func (o *ListScriptDebugsUnauthorized) Code() int
- func (o *ListScriptDebugsUnauthorized) Error() string
- func (o *ListScriptDebugsUnauthorized) GetPayload() *models.Error
- func (o *ListScriptDebugsUnauthorized) IsClientError() bool
- func (o *ListScriptDebugsUnauthorized) IsCode(code int) bool
- func (o *ListScriptDebugsUnauthorized) IsRedirect() bool
- func (o *ListScriptDebugsUnauthorized) IsServerError() bool
- func (o *ListScriptDebugsUnauthorized) IsSuccess() bool
- func (o *ListScriptDebugsUnauthorized) String() string
- type ListScriptExecutionPointsForbidden
- func (o *ListScriptExecutionPointsForbidden) Code() int
- func (o *ListScriptExecutionPointsForbidden) Error() string
- func (o *ListScriptExecutionPointsForbidden) GetPayload() *models.Error
- func (o *ListScriptExecutionPointsForbidden) IsClientError() bool
- func (o *ListScriptExecutionPointsForbidden) IsCode(code int) bool
- func (o *ListScriptExecutionPointsForbidden) IsRedirect() bool
- func (o *ListScriptExecutionPointsForbidden) IsServerError() bool
- func (o *ListScriptExecutionPointsForbidden) IsSuccess() bool
- func (o *ListScriptExecutionPointsForbidden) String() string
- type ListScriptExecutionPointsOK
- func (o *ListScriptExecutionPointsOK) Code() int
- func (o *ListScriptExecutionPointsOK) Error() string
- func (o *ListScriptExecutionPointsOK) GetPayload() *models.ScriptExecutionPoints
- func (o *ListScriptExecutionPointsOK) IsClientError() bool
- func (o *ListScriptExecutionPointsOK) IsCode(code int) bool
- func (o *ListScriptExecutionPointsOK) IsRedirect() bool
- func (o *ListScriptExecutionPointsOK) IsServerError() bool
- func (o *ListScriptExecutionPointsOK) IsSuccess() bool
- func (o *ListScriptExecutionPointsOK) String() string
- type ListScriptExecutionPointsParams
- func NewListScriptExecutionPointsParams() *ListScriptExecutionPointsParams
- func NewListScriptExecutionPointsParamsWithContext(ctx context.Context) *ListScriptExecutionPointsParams
- func NewListScriptExecutionPointsParamsWithHTTPClient(client *http.Client) *ListScriptExecutionPointsParams
- func NewListScriptExecutionPointsParamsWithTimeout(timeout time.Duration) *ListScriptExecutionPointsParams
- func (o *ListScriptExecutionPointsParams) SetContext(ctx context.Context)
- func (o *ListScriptExecutionPointsParams) SetDefaults()
- func (o *ListScriptExecutionPointsParams) SetHTTPClient(client *http.Client)
- func (o *ListScriptExecutionPointsParams) SetIfMatch(ifMatch *string)
- func (o *ListScriptExecutionPointsParams) SetTimeout(timeout time.Duration)
- func (o *ListScriptExecutionPointsParams) SetWid(wid string)
- func (o *ListScriptExecutionPointsParams) WithContext(ctx context.Context) *ListScriptExecutionPointsParams
- func (o *ListScriptExecutionPointsParams) WithDefaults() *ListScriptExecutionPointsParams
- func (o *ListScriptExecutionPointsParams) WithHTTPClient(client *http.Client) *ListScriptExecutionPointsParams
- func (o *ListScriptExecutionPointsParams) WithIfMatch(ifMatch *string) *ListScriptExecutionPointsParams
- func (o *ListScriptExecutionPointsParams) WithTimeout(timeout time.Duration) *ListScriptExecutionPointsParams
- func (o *ListScriptExecutionPointsParams) WithWid(wid string) *ListScriptExecutionPointsParams
- func (o *ListScriptExecutionPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListScriptExecutionPointsReader
- type ListScriptExecutionPointsTooManyRequests
- func (o *ListScriptExecutionPointsTooManyRequests) Code() int
- func (o *ListScriptExecutionPointsTooManyRequests) Error() string
- func (o *ListScriptExecutionPointsTooManyRequests) GetPayload() *models.Error
- func (o *ListScriptExecutionPointsTooManyRequests) IsClientError() bool
- func (o *ListScriptExecutionPointsTooManyRequests) IsCode(code int) bool
- func (o *ListScriptExecutionPointsTooManyRequests) IsRedirect() bool
- func (o *ListScriptExecutionPointsTooManyRequests) IsServerError() bool
- func (o *ListScriptExecutionPointsTooManyRequests) IsSuccess() bool
- func (o *ListScriptExecutionPointsTooManyRequests) String() string
- type ListScriptExecutionPointsUnauthorized
- func (o *ListScriptExecutionPointsUnauthorized) Code() int
- func (o *ListScriptExecutionPointsUnauthorized) Error() string
- func (o *ListScriptExecutionPointsUnauthorized) GetPayload() *models.Error
- func (o *ListScriptExecutionPointsUnauthorized) IsClientError() bool
- func (o *ListScriptExecutionPointsUnauthorized) IsCode(code int) bool
- func (o *ListScriptExecutionPointsUnauthorized) IsRedirect() bool
- func (o *ListScriptExecutionPointsUnauthorized) IsServerError() bool
- func (o *ListScriptExecutionPointsUnauthorized) IsSuccess() bool
- func (o *ListScriptExecutionPointsUnauthorized) 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) 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) 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 SetScriptExecutionPointsBadRequest
- func (o *SetScriptExecutionPointsBadRequest) Code() int
- func (o *SetScriptExecutionPointsBadRequest) Error() string
- func (o *SetScriptExecutionPointsBadRequest) GetPayload() *models.Error
- func (o *SetScriptExecutionPointsBadRequest) IsClientError() bool
- func (o *SetScriptExecutionPointsBadRequest) IsCode(code int) bool
- func (o *SetScriptExecutionPointsBadRequest) IsRedirect() bool
- func (o *SetScriptExecutionPointsBadRequest) IsServerError() bool
- func (o *SetScriptExecutionPointsBadRequest) IsSuccess() bool
- func (o *SetScriptExecutionPointsBadRequest) String() string
- type SetScriptExecutionPointsConflict
- func (o *SetScriptExecutionPointsConflict) Code() int
- func (o *SetScriptExecutionPointsConflict) Error() string
- func (o *SetScriptExecutionPointsConflict) GetPayload() *models.Error
- func (o *SetScriptExecutionPointsConflict) IsClientError() bool
- func (o *SetScriptExecutionPointsConflict) IsCode(code int) bool
- func (o *SetScriptExecutionPointsConflict) IsRedirect() bool
- func (o *SetScriptExecutionPointsConflict) IsServerError() bool
- func (o *SetScriptExecutionPointsConflict) IsSuccess() bool
- func (o *SetScriptExecutionPointsConflict) String() string
- type SetScriptExecutionPointsForbidden
- func (o *SetScriptExecutionPointsForbidden) Code() int
- func (o *SetScriptExecutionPointsForbidden) Error() string
- func (o *SetScriptExecutionPointsForbidden) GetPayload() *models.Error
- func (o *SetScriptExecutionPointsForbidden) IsClientError() bool
- func (o *SetScriptExecutionPointsForbidden) IsCode(code int) bool
- func (o *SetScriptExecutionPointsForbidden) IsRedirect() bool
- func (o *SetScriptExecutionPointsForbidden) IsServerError() bool
- func (o *SetScriptExecutionPointsForbidden) IsSuccess() bool
- func (o *SetScriptExecutionPointsForbidden) String() string
- type SetScriptExecutionPointsNotFound
- func (o *SetScriptExecutionPointsNotFound) Code() int
- func (o *SetScriptExecutionPointsNotFound) Error() string
- func (o *SetScriptExecutionPointsNotFound) GetPayload() *models.Error
- func (o *SetScriptExecutionPointsNotFound) IsClientError() bool
- func (o *SetScriptExecutionPointsNotFound) IsCode(code int) bool
- func (o *SetScriptExecutionPointsNotFound) IsRedirect() bool
- func (o *SetScriptExecutionPointsNotFound) IsServerError() bool
- func (o *SetScriptExecutionPointsNotFound) IsSuccess() bool
- func (o *SetScriptExecutionPointsNotFound) String() string
- type SetScriptExecutionPointsOK
- func (o *SetScriptExecutionPointsOK) Code() int
- func (o *SetScriptExecutionPointsOK) Error() string
- func (o *SetScriptExecutionPointsOK) GetPayload() *models.ScriptExecutionPoints
- func (o *SetScriptExecutionPointsOK) IsClientError() bool
- func (o *SetScriptExecutionPointsOK) IsCode(code int) bool
- func (o *SetScriptExecutionPointsOK) IsRedirect() bool
- func (o *SetScriptExecutionPointsOK) IsServerError() bool
- func (o *SetScriptExecutionPointsOK) IsSuccess() bool
- func (o *SetScriptExecutionPointsOK) String() string
- type SetScriptExecutionPointsParams
- func NewSetScriptExecutionPointsParams() *SetScriptExecutionPointsParams
- func NewSetScriptExecutionPointsParamsWithContext(ctx context.Context) *SetScriptExecutionPointsParams
- func NewSetScriptExecutionPointsParamsWithHTTPClient(client *http.Client) *SetScriptExecutionPointsParams
- func NewSetScriptExecutionPointsParamsWithTimeout(timeout time.Duration) *SetScriptExecutionPointsParams
- func (o *SetScriptExecutionPointsParams) SetContext(ctx context.Context)
- func (o *SetScriptExecutionPointsParams) SetDefaults()
- func (o *SetScriptExecutionPointsParams) SetEtag(etag *string)
- func (o *SetScriptExecutionPointsParams) SetExecutions(executions *models.ScriptExecutionPoints)
- func (o *SetScriptExecutionPointsParams) SetHTTPClient(client *http.Client)
- func (o *SetScriptExecutionPointsParams) SetTimeout(timeout time.Duration)
- func (o *SetScriptExecutionPointsParams) SetWid(wid string)
- func (o *SetScriptExecutionPointsParams) WithContext(ctx context.Context) *SetScriptExecutionPointsParams
- func (o *SetScriptExecutionPointsParams) WithDefaults() *SetScriptExecutionPointsParams
- func (o *SetScriptExecutionPointsParams) WithEtag(etag *string) *SetScriptExecutionPointsParams
- func (o *SetScriptExecutionPointsParams) WithExecutions(executions *models.ScriptExecutionPoints) *SetScriptExecutionPointsParams
- func (o *SetScriptExecutionPointsParams) WithHTTPClient(client *http.Client) *SetScriptExecutionPointsParams
- func (o *SetScriptExecutionPointsParams) WithTimeout(timeout time.Duration) *SetScriptExecutionPointsParams
- func (o *SetScriptExecutionPointsParams) WithWid(wid string) *SetScriptExecutionPointsParams
- func (o *SetScriptExecutionPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetScriptExecutionPointsReader
- type SetScriptExecutionPointsTooManyRequests
- func (o *SetScriptExecutionPointsTooManyRequests) Code() int
- func (o *SetScriptExecutionPointsTooManyRequests) Error() string
- func (o *SetScriptExecutionPointsTooManyRequests) GetPayload() *models.Error
- func (o *SetScriptExecutionPointsTooManyRequests) IsClientError() bool
- func (o *SetScriptExecutionPointsTooManyRequests) IsCode(code int) bool
- func (o *SetScriptExecutionPointsTooManyRequests) IsRedirect() bool
- func (o *SetScriptExecutionPointsTooManyRequests) IsServerError() bool
- func (o *SetScriptExecutionPointsTooManyRequests) IsSuccess() bool
- func (o *SetScriptExecutionPointsTooManyRequests) String() string
- type SetScriptExecutionPointsUnauthorized
- func (o *SetScriptExecutionPointsUnauthorized) Code() int
- func (o *SetScriptExecutionPointsUnauthorized) Error() string
- func (o *SetScriptExecutionPointsUnauthorized) GetPayload() *models.Error
- func (o *SetScriptExecutionPointsUnauthorized) IsClientError() bool
- func (o *SetScriptExecutionPointsUnauthorized) IsCode(code int) bool
- func (o *SetScriptExecutionPointsUnauthorized) IsRedirect() bool
- func (o *SetScriptExecutionPointsUnauthorized) IsServerError() bool
- func (o *SetScriptExecutionPointsUnauthorized) IsSuccess() bool
- func (o *SetScriptExecutionPointsUnauthorized) String() string
- type SetScriptExecutionPointsUnprocessableEntity
- func (o *SetScriptExecutionPointsUnprocessableEntity) Code() int
- func (o *SetScriptExecutionPointsUnprocessableEntity) Error() string
- func (o *SetScriptExecutionPointsUnprocessableEntity) GetPayload() *models.Error
- func (o *SetScriptExecutionPointsUnprocessableEntity) IsClientError() bool
- func (o *SetScriptExecutionPointsUnprocessableEntity) IsCode(code int) bool
- func (o *SetScriptExecutionPointsUnprocessableEntity) IsRedirect() bool
- func (o *SetScriptExecutionPointsUnprocessableEntity) IsServerError() bool
- func (o *SetScriptExecutionPointsUnprocessableEntity) IsSuccess() bool
- func (o *SetScriptExecutionPointsUnprocessableEntity) String() string
- type TestScriptBadRequest
- func (o *TestScriptBadRequest) Code() int
- func (o *TestScriptBadRequest) Error() string
- func (o *TestScriptBadRequest) GetPayload() *models.Error
- func (o *TestScriptBadRequest) IsClientError() bool
- func (o *TestScriptBadRequest) IsCode(code int) bool
- func (o *TestScriptBadRequest) IsRedirect() bool
- func (o *TestScriptBadRequest) IsServerError() bool
- func (o *TestScriptBadRequest) IsSuccess() bool
- func (o *TestScriptBadRequest) String() string
- type TestScriptConflict
- func (o *TestScriptConflict) Code() int
- func (o *TestScriptConflict) Error() string
- func (o *TestScriptConflict) GetPayload() *models.Error
- func (o *TestScriptConflict) IsClientError() bool
- func (o *TestScriptConflict) IsCode(code int) bool
- func (o *TestScriptConflict) IsRedirect() bool
- func (o *TestScriptConflict) IsServerError() bool
- func (o *TestScriptConflict) IsSuccess() bool
- func (o *TestScriptConflict) String() string
- type TestScriptForbidden
- func (o *TestScriptForbidden) Code() int
- func (o *TestScriptForbidden) Error() string
- func (o *TestScriptForbidden) GetPayload() *models.Error
- func (o *TestScriptForbidden) IsClientError() bool
- func (o *TestScriptForbidden) IsCode(code int) bool
- func (o *TestScriptForbidden) IsRedirect() bool
- func (o *TestScriptForbidden) IsServerError() bool
- func (o *TestScriptForbidden) IsSuccess() bool
- func (o *TestScriptForbidden) String() string
- type TestScriptNotFound
- func (o *TestScriptNotFound) Code() int
- func (o *TestScriptNotFound) Error() string
- func (o *TestScriptNotFound) GetPayload() *models.Error
- func (o *TestScriptNotFound) IsClientError() bool
- func (o *TestScriptNotFound) IsCode(code int) bool
- func (o *TestScriptNotFound) IsRedirect() bool
- func (o *TestScriptNotFound) IsServerError() bool
- func (o *TestScriptNotFound) IsSuccess() bool
- func (o *TestScriptNotFound) String() string
- type TestScriptOK
- func (o *TestScriptOK) Code() int
- func (o *TestScriptOK) Error() string
- func (o *TestScriptOK) GetPayload() *models.ScriptExecutionResult
- func (o *TestScriptOK) IsClientError() bool
- func (o *TestScriptOK) IsCode(code int) bool
- func (o *TestScriptOK) IsRedirect() bool
- func (o *TestScriptOK) IsServerError() bool
- func (o *TestScriptOK) IsSuccess() bool
- func (o *TestScriptOK) String() string
- type TestScriptParams
- func (o *TestScriptParams) SetContext(ctx context.Context)
- func (o *TestScriptParams) SetDefaults()
- func (o *TestScriptParams) SetHTTPClient(client *http.Client)
- func (o *TestScriptParams) SetIfMatch(ifMatch *string)
- func (o *TestScriptParams) SetTestScriptRequest(testScriptRequest *models.TestScriptRequest)
- func (o *TestScriptParams) SetTimeout(timeout time.Duration)
- func (o *TestScriptParams) SetWid(wid string)
- func (o *TestScriptParams) WithContext(ctx context.Context) *TestScriptParams
- func (o *TestScriptParams) WithDefaults() *TestScriptParams
- func (o *TestScriptParams) WithHTTPClient(client *http.Client) *TestScriptParams
- func (o *TestScriptParams) WithIfMatch(ifMatch *string) *TestScriptParams
- func (o *TestScriptParams) WithTestScriptRequest(testScriptRequest *models.TestScriptRequest) *TestScriptParams
- func (o *TestScriptParams) WithTimeout(timeout time.Duration) *TestScriptParams
- func (o *TestScriptParams) WithWid(wid string) *TestScriptParams
- func (o *TestScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestScriptReader
- type TestScriptTooManyRequests
- func (o *TestScriptTooManyRequests) Code() int
- func (o *TestScriptTooManyRequests) Error() string
- func (o *TestScriptTooManyRequests) GetPayload() *models.Error
- func (o *TestScriptTooManyRequests) IsClientError() bool
- func (o *TestScriptTooManyRequests) IsCode(code int) bool
- func (o *TestScriptTooManyRequests) IsRedirect() bool
- func (o *TestScriptTooManyRequests) IsServerError() bool
- func (o *TestScriptTooManyRequests) IsSuccess() bool
- func (o *TestScriptTooManyRequests) String() string
- type TestScriptUnauthorized
- func (o *TestScriptUnauthorized) Code() int
- func (o *TestScriptUnauthorized) Error() string
- func (o *TestScriptUnauthorized) GetPayload() *models.Error
- func (o *TestScriptUnauthorized) IsClientError() bool
- func (o *TestScriptUnauthorized) IsCode(code int) bool
- func (o *TestScriptUnauthorized) IsRedirect() bool
- func (o *TestScriptUnauthorized) IsServerError() bool
- func (o *TestScriptUnauthorized) IsSuccess() bool
- func (o *TestScriptUnauthorized) String() string
- type TestScriptUnprocessableEntity
- func (o *TestScriptUnprocessableEntity) Code() int
- func (o *TestScriptUnprocessableEntity) Error() string
- func (o *TestScriptUnprocessableEntity) GetPayload() *models.Error
- func (o *TestScriptUnprocessableEntity) IsClientError() bool
- func (o *TestScriptUnprocessableEntity) IsCode(code int) bool
- func (o *TestScriptUnprocessableEntity) IsRedirect() bool
- func (o *TestScriptUnprocessableEntity) IsServerError() bool
- func (o *TestScriptUnprocessableEntity) IsSuccess() bool
- func (o *TestScriptUnprocessableEntity) 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) 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) 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) DisableScriptDebug ¶
func (a *Client) DisableScriptDebug(params *DisableScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableScriptDebugNoContent, error)
DisableScriptDebug disables script debug logging
Disables detailed logging of the script execution results.
func (*Client) EnableScriptDebug ¶
func (a *Client) EnableScriptDebug(params *EnableScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableScriptDebugOK, error)
EnableScriptDebug enables script debug logging
Enables detailed logging of the script execution results.
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) GetScriptDebug ¶
func (a *Client) GetScriptDebug(params *GetScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScriptDebugOK, error)
GetScriptDebug gets script debug trigger
Returns the trigger for detailed script execution logging, if any.
func (*Client) ListScriptDebugs ¶
func (a *Client) ListScriptDebugs(params *ListScriptDebugsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScriptDebugsOK, error)
ListScriptDebugs lists script debug triggers
Returns a list of script debug triggers for a given workspace.
func (*Client) ListScriptExecutionPoints ¶
func (a *Client) ListScriptExecutionPoints(params *ListScriptExecutionPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScriptExecutionPointsOK, error)
ListScriptExecutionPoints lists script execution points
Returns a list of script execution points for a given workspace.
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) SetScriptExecutionPoints ¶
func (a *Client) SetScriptExecutionPoints(params *SetScriptExecutionPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetScriptExecutionPointsOK, error)
SetScriptExecutionPoints sets script execution points
Available execution points: `post_authn_ctx allowed_idp_ids`
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TestScript ¶
func (a *Client) TestScript(params *TestScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestScriptOK, error)
TestScript tests script You can test a script and check if it works correctly using this endpoint. Provide your mock input and
pass it as the value of the `input` parameter. Define your script. Then, fire a request to the test script endpoint. By doing so, you can test if a script would fail or pass for a given request.
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) DisableScriptDebug(params *DisableScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableScriptDebugNoContent, error) EnableScriptDebug(params *EnableScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableScriptDebugOK, error) GetScript(params *GetScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScriptOK, error) GetScriptDebug(params *GetScriptDebugParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetScriptDebugOK, error) ListScriptDebugs(params *ListScriptDebugsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScriptDebugsOK, error) ListScriptExecutionPoints(params *ListScriptExecutionPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScriptExecutionPointsOK, error) ListScripts(params *ListScriptsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScriptsOK, error) PatchScript(params *PatchScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchScriptOK, error) SetScriptExecutionPoints(params *SetScriptExecutionPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetScriptExecutionPointsOK, error) TestScript(params *TestScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestScriptOK, 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 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 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) 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) 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 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) 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) 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 DisableScriptDebugForbidden ¶
DisableScriptDebugForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDisableScriptDebugForbidden ¶
func NewDisableScriptDebugForbidden() *DisableScriptDebugForbidden
NewDisableScriptDebugForbidden creates a DisableScriptDebugForbidden with default headers values
func (*DisableScriptDebugForbidden) Code ¶
func (o *DisableScriptDebugForbidden) Code() int
Code gets the status code for the disable script debug forbidden response
func (*DisableScriptDebugForbidden) Error ¶
func (o *DisableScriptDebugForbidden) Error() string
func (*DisableScriptDebugForbidden) GetPayload ¶
func (o *DisableScriptDebugForbidden) GetPayload() *models.Error
func (*DisableScriptDebugForbidden) IsClientError ¶
func (o *DisableScriptDebugForbidden) IsClientError() bool
IsClientError returns true when this disable script debug forbidden response has a 4xx status code
func (*DisableScriptDebugForbidden) IsCode ¶
func (o *DisableScriptDebugForbidden) IsCode(code int) bool
IsCode returns true when this disable script debug forbidden response a status code equal to that given
func (*DisableScriptDebugForbidden) IsRedirect ¶
func (o *DisableScriptDebugForbidden) IsRedirect() bool
IsRedirect returns true when this disable script debug forbidden response has a 3xx status code
func (*DisableScriptDebugForbidden) IsServerError ¶
func (o *DisableScriptDebugForbidden) IsServerError() bool
IsServerError returns true when this disable script debug forbidden response has a 5xx status code
func (*DisableScriptDebugForbidden) IsSuccess ¶
func (o *DisableScriptDebugForbidden) IsSuccess() bool
IsSuccess returns true when this disable script debug forbidden response has a 2xx status code
func (*DisableScriptDebugForbidden) String ¶
func (o *DisableScriptDebugForbidden) String() string
type DisableScriptDebugNoContent ¶
type DisableScriptDebugNoContent struct { }
DisableScriptDebugNoContent describes a response with status code 204, with default header values.
debug logging has been disabled
func NewDisableScriptDebugNoContent ¶
func NewDisableScriptDebugNoContent() *DisableScriptDebugNoContent
NewDisableScriptDebugNoContent creates a DisableScriptDebugNoContent with default headers values
func (*DisableScriptDebugNoContent) Code ¶
func (o *DisableScriptDebugNoContent) Code() int
Code gets the status code for the disable script debug no content response
func (*DisableScriptDebugNoContent) Error ¶
func (o *DisableScriptDebugNoContent) Error() string
func (*DisableScriptDebugNoContent) IsClientError ¶
func (o *DisableScriptDebugNoContent) IsClientError() bool
IsClientError returns true when this disable script debug no content response has a 4xx status code
func (*DisableScriptDebugNoContent) IsCode ¶
func (o *DisableScriptDebugNoContent) IsCode(code int) bool
IsCode returns true when this disable script debug no content response a status code equal to that given
func (*DisableScriptDebugNoContent) IsRedirect ¶
func (o *DisableScriptDebugNoContent) IsRedirect() bool
IsRedirect returns true when this disable script debug no content response has a 3xx status code
func (*DisableScriptDebugNoContent) IsServerError ¶
func (o *DisableScriptDebugNoContent) IsServerError() bool
IsServerError returns true when this disable script debug no content response has a 5xx status code
func (*DisableScriptDebugNoContent) IsSuccess ¶
func (o *DisableScriptDebugNoContent) IsSuccess() bool
IsSuccess returns true when this disable script debug no content response has a 2xx status code
func (*DisableScriptDebugNoContent) String ¶
func (o *DisableScriptDebugNoContent) String() string
type DisableScriptDebugNotFound ¶
DisableScriptDebugNotFound describes a response with status code 404, with default header values.
Not found
func NewDisableScriptDebugNotFound ¶
func NewDisableScriptDebugNotFound() *DisableScriptDebugNotFound
NewDisableScriptDebugNotFound creates a DisableScriptDebugNotFound with default headers values
func (*DisableScriptDebugNotFound) Code ¶
func (o *DisableScriptDebugNotFound) Code() int
Code gets the status code for the disable script debug not found response
func (*DisableScriptDebugNotFound) Error ¶
func (o *DisableScriptDebugNotFound) Error() string
func (*DisableScriptDebugNotFound) GetPayload ¶
func (o *DisableScriptDebugNotFound) GetPayload() *models.Error
func (*DisableScriptDebugNotFound) IsClientError ¶
func (o *DisableScriptDebugNotFound) IsClientError() bool
IsClientError returns true when this disable script debug not found response has a 4xx status code
func (*DisableScriptDebugNotFound) IsCode ¶
func (o *DisableScriptDebugNotFound) IsCode(code int) bool
IsCode returns true when this disable script debug not found response a status code equal to that given
func (*DisableScriptDebugNotFound) IsRedirect ¶
func (o *DisableScriptDebugNotFound) IsRedirect() bool
IsRedirect returns true when this disable script debug not found response has a 3xx status code
func (*DisableScriptDebugNotFound) IsServerError ¶
func (o *DisableScriptDebugNotFound) IsServerError() bool
IsServerError returns true when this disable script debug not found response has a 5xx status code
func (*DisableScriptDebugNotFound) IsSuccess ¶
func (o *DisableScriptDebugNotFound) IsSuccess() bool
IsSuccess returns true when this disable script debug not found response has a 2xx status code
func (*DisableScriptDebugNotFound) String ¶
func (o *DisableScriptDebugNotFound) String() string
type DisableScriptDebugParams ¶
type DisableScriptDebugParams 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisableScriptDebugParams contains all the parameters to send to the API endpoint
for the disable script debug operation. Typically these are written to a http.Request.
func NewDisableScriptDebugParams ¶
func NewDisableScriptDebugParams() *DisableScriptDebugParams
NewDisableScriptDebugParams creates a new DisableScriptDebugParams 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 NewDisableScriptDebugParamsWithContext ¶
func NewDisableScriptDebugParamsWithContext(ctx context.Context) *DisableScriptDebugParams
NewDisableScriptDebugParamsWithContext creates a new DisableScriptDebugParams object with the ability to set a context for a request.
func NewDisableScriptDebugParamsWithHTTPClient ¶
func NewDisableScriptDebugParamsWithHTTPClient(client *http.Client) *DisableScriptDebugParams
NewDisableScriptDebugParamsWithHTTPClient creates a new DisableScriptDebugParams object with the ability to set a custom HTTPClient for a request.
func NewDisableScriptDebugParamsWithTimeout ¶
func NewDisableScriptDebugParamsWithTimeout(timeout time.Duration) *DisableScriptDebugParams
NewDisableScriptDebugParamsWithTimeout creates a new DisableScriptDebugParams object with the ability to set a timeout on a request.
func (*DisableScriptDebugParams) SetContext ¶
func (o *DisableScriptDebugParams) SetContext(ctx context.Context)
SetContext adds the context to the disable script debug params
func (*DisableScriptDebugParams) SetDefaults ¶
func (o *DisableScriptDebugParams) SetDefaults()
SetDefaults hydrates default values in the disable script debug params (not the query body).
All values with no default are reset to their zero value.
func (*DisableScriptDebugParams) SetHTTPClient ¶
func (o *DisableScriptDebugParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disable script debug params
func (*DisableScriptDebugParams) SetIfMatch ¶
func (o *DisableScriptDebugParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the disable script debug params
func (*DisableScriptDebugParams) SetScript ¶
func (o *DisableScriptDebugParams) SetScript(script string)
SetScript adds the script to the disable script debug params
func (*DisableScriptDebugParams) SetTimeout ¶
func (o *DisableScriptDebugParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disable script debug params
func (*DisableScriptDebugParams) SetWid ¶
func (o *DisableScriptDebugParams) SetWid(wid string)
SetWid adds the wid to the disable script debug params
func (*DisableScriptDebugParams) WithContext ¶
func (o *DisableScriptDebugParams) WithContext(ctx context.Context) *DisableScriptDebugParams
WithContext adds the context to the disable script debug params
func (*DisableScriptDebugParams) WithDefaults ¶
func (o *DisableScriptDebugParams) WithDefaults() *DisableScriptDebugParams
WithDefaults hydrates default values in the disable script debug params (not the query body).
All values with no default are reset to their zero value.
func (*DisableScriptDebugParams) WithHTTPClient ¶
func (o *DisableScriptDebugParams) WithHTTPClient(client *http.Client) *DisableScriptDebugParams
WithHTTPClient adds the HTTPClient to the disable script debug params
func (*DisableScriptDebugParams) WithIfMatch ¶
func (o *DisableScriptDebugParams) WithIfMatch(ifMatch *string) *DisableScriptDebugParams
WithIfMatch adds the ifMatch to the disable script debug params
func (*DisableScriptDebugParams) WithScript ¶
func (o *DisableScriptDebugParams) WithScript(script string) *DisableScriptDebugParams
WithScript adds the script to the disable script debug params
func (*DisableScriptDebugParams) WithTimeout ¶
func (o *DisableScriptDebugParams) WithTimeout(timeout time.Duration) *DisableScriptDebugParams
WithTimeout adds the timeout to the disable script debug params
func (*DisableScriptDebugParams) WithWid ¶
func (o *DisableScriptDebugParams) WithWid(wid string) *DisableScriptDebugParams
WithWid adds the wid to the disable script debug params
func (*DisableScriptDebugParams) WriteToRequest ¶
func (o *DisableScriptDebugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisableScriptDebugReader ¶
type DisableScriptDebugReader struct {
// contains filtered or unexported fields
}
DisableScriptDebugReader is a Reader for the DisableScriptDebug structure.
func (*DisableScriptDebugReader) ReadResponse ¶
func (o *DisableScriptDebugReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisableScriptDebugTooManyRequests ¶
DisableScriptDebugTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDisableScriptDebugTooManyRequests ¶
func NewDisableScriptDebugTooManyRequests() *DisableScriptDebugTooManyRequests
NewDisableScriptDebugTooManyRequests creates a DisableScriptDebugTooManyRequests with default headers values
func (*DisableScriptDebugTooManyRequests) Code ¶
func (o *DisableScriptDebugTooManyRequests) Code() int
Code gets the status code for the disable script debug too many requests response
func (*DisableScriptDebugTooManyRequests) Error ¶
func (o *DisableScriptDebugTooManyRequests) Error() string
func (*DisableScriptDebugTooManyRequests) GetPayload ¶
func (o *DisableScriptDebugTooManyRequests) GetPayload() *models.Error
func (*DisableScriptDebugTooManyRequests) IsClientError ¶
func (o *DisableScriptDebugTooManyRequests) IsClientError() bool
IsClientError returns true when this disable script debug too many requests response has a 4xx status code
func (*DisableScriptDebugTooManyRequests) IsCode ¶
func (o *DisableScriptDebugTooManyRequests) IsCode(code int) bool
IsCode returns true when this disable script debug too many requests response a status code equal to that given
func (*DisableScriptDebugTooManyRequests) IsRedirect ¶
func (o *DisableScriptDebugTooManyRequests) IsRedirect() bool
IsRedirect returns true when this disable script debug too many requests response has a 3xx status code
func (*DisableScriptDebugTooManyRequests) IsServerError ¶
func (o *DisableScriptDebugTooManyRequests) IsServerError() bool
IsServerError returns true when this disable script debug too many requests response has a 5xx status code
func (*DisableScriptDebugTooManyRequests) IsSuccess ¶
func (o *DisableScriptDebugTooManyRequests) IsSuccess() bool
IsSuccess returns true when this disable script debug too many requests response has a 2xx status code
func (*DisableScriptDebugTooManyRequests) String ¶
func (o *DisableScriptDebugTooManyRequests) String() string
type DisableScriptDebugUnauthorized ¶
type DisableScriptDebugUnauthorized struct {
}DisableScriptDebugUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDisableScriptDebugUnauthorized ¶
func NewDisableScriptDebugUnauthorized() *DisableScriptDebugUnauthorized
NewDisableScriptDebugUnauthorized creates a DisableScriptDebugUnauthorized with default headers values
func (*DisableScriptDebugUnauthorized) Code ¶
func (o *DisableScriptDebugUnauthorized) Code() int
Code gets the status code for the disable script debug unauthorized response
func (*DisableScriptDebugUnauthorized) Error ¶
func (o *DisableScriptDebugUnauthorized) Error() string
func (*DisableScriptDebugUnauthorized) GetPayload ¶
func (o *DisableScriptDebugUnauthorized) GetPayload() *models.Error
func (*DisableScriptDebugUnauthorized) IsClientError ¶
func (o *DisableScriptDebugUnauthorized) IsClientError() bool
IsClientError returns true when this disable script debug unauthorized response has a 4xx status code
func (*DisableScriptDebugUnauthorized) IsCode ¶
func (o *DisableScriptDebugUnauthorized) IsCode(code int) bool
IsCode returns true when this disable script debug unauthorized response a status code equal to that given
func (*DisableScriptDebugUnauthorized) IsRedirect ¶
func (o *DisableScriptDebugUnauthorized) IsRedirect() bool
IsRedirect returns true when this disable script debug unauthorized response has a 3xx status code
func (*DisableScriptDebugUnauthorized) IsServerError ¶
func (o *DisableScriptDebugUnauthorized) IsServerError() bool
IsServerError returns true when this disable script debug unauthorized response has a 5xx status code
func (*DisableScriptDebugUnauthorized) IsSuccess ¶
func (o *DisableScriptDebugUnauthorized) IsSuccess() bool
IsSuccess returns true when this disable script debug unauthorized response has a 2xx status code
func (*DisableScriptDebugUnauthorized) String ¶
func (o *DisableScriptDebugUnauthorized) String() string
type EnableScriptDebugBadRequest ¶
EnableScriptDebugBadRequest describes a response with status code 400, with default header values.
Bad request
func NewEnableScriptDebugBadRequest ¶
func NewEnableScriptDebugBadRequest() *EnableScriptDebugBadRequest
NewEnableScriptDebugBadRequest creates a EnableScriptDebugBadRequest with default headers values
func (*EnableScriptDebugBadRequest) Code ¶
func (o *EnableScriptDebugBadRequest) Code() int
Code gets the status code for the enable script debug bad request response
func (*EnableScriptDebugBadRequest) Error ¶
func (o *EnableScriptDebugBadRequest) Error() string
func (*EnableScriptDebugBadRequest) GetPayload ¶
func (o *EnableScriptDebugBadRequest) GetPayload() *models.Error
func (*EnableScriptDebugBadRequest) IsClientError ¶
func (o *EnableScriptDebugBadRequest) IsClientError() bool
IsClientError returns true when this enable script debug bad request response has a 4xx status code
func (*EnableScriptDebugBadRequest) IsCode ¶
func (o *EnableScriptDebugBadRequest) IsCode(code int) bool
IsCode returns true when this enable script debug bad request response a status code equal to that given
func (*EnableScriptDebugBadRequest) IsRedirect ¶
func (o *EnableScriptDebugBadRequest) IsRedirect() bool
IsRedirect returns true when this enable script debug bad request response has a 3xx status code
func (*EnableScriptDebugBadRequest) IsServerError ¶
func (o *EnableScriptDebugBadRequest) IsServerError() bool
IsServerError returns true when this enable script debug bad request response has a 5xx status code
func (*EnableScriptDebugBadRequest) IsSuccess ¶
func (o *EnableScriptDebugBadRequest) IsSuccess() bool
IsSuccess returns true when this enable script debug bad request response has a 2xx status code
func (*EnableScriptDebugBadRequest) String ¶
func (o *EnableScriptDebugBadRequest) String() string
type EnableScriptDebugForbidden ¶
EnableScriptDebugForbidden describes a response with status code 403, with default header values.
Forbidden
func NewEnableScriptDebugForbidden ¶
func NewEnableScriptDebugForbidden() *EnableScriptDebugForbidden
NewEnableScriptDebugForbidden creates a EnableScriptDebugForbidden with default headers values
func (*EnableScriptDebugForbidden) Code ¶
func (o *EnableScriptDebugForbidden) Code() int
Code gets the status code for the enable script debug forbidden response
func (*EnableScriptDebugForbidden) Error ¶
func (o *EnableScriptDebugForbidden) Error() string
func (*EnableScriptDebugForbidden) GetPayload ¶
func (o *EnableScriptDebugForbidden) GetPayload() *models.Error
func (*EnableScriptDebugForbidden) IsClientError ¶
func (o *EnableScriptDebugForbidden) IsClientError() bool
IsClientError returns true when this enable script debug forbidden response has a 4xx status code
func (*EnableScriptDebugForbidden) IsCode ¶
func (o *EnableScriptDebugForbidden) IsCode(code int) bool
IsCode returns true when this enable script debug forbidden response a status code equal to that given
func (*EnableScriptDebugForbidden) IsRedirect ¶
func (o *EnableScriptDebugForbidden) IsRedirect() bool
IsRedirect returns true when this enable script debug forbidden response has a 3xx status code
func (*EnableScriptDebugForbidden) IsServerError ¶
func (o *EnableScriptDebugForbidden) IsServerError() bool
IsServerError returns true when this enable script debug forbidden response has a 5xx status code
func (*EnableScriptDebugForbidden) IsSuccess ¶
func (o *EnableScriptDebugForbidden) IsSuccess() bool
IsSuccess returns true when this enable script debug forbidden response has a 2xx status code
func (*EnableScriptDebugForbidden) String ¶
func (o *EnableScriptDebugForbidden) String() string
type EnableScriptDebugNotFound ¶
EnableScriptDebugNotFound describes a response with status code 404, with default header values.
Not found
func NewEnableScriptDebugNotFound ¶
func NewEnableScriptDebugNotFound() *EnableScriptDebugNotFound
NewEnableScriptDebugNotFound creates a EnableScriptDebugNotFound with default headers values
func (*EnableScriptDebugNotFound) Code ¶
func (o *EnableScriptDebugNotFound) Code() int
Code gets the status code for the enable script debug not found response
func (*EnableScriptDebugNotFound) Error ¶
func (o *EnableScriptDebugNotFound) Error() string
func (*EnableScriptDebugNotFound) GetPayload ¶
func (o *EnableScriptDebugNotFound) GetPayload() *models.Error
func (*EnableScriptDebugNotFound) IsClientError ¶
func (o *EnableScriptDebugNotFound) IsClientError() bool
IsClientError returns true when this enable script debug not found response has a 4xx status code
func (*EnableScriptDebugNotFound) IsCode ¶
func (o *EnableScriptDebugNotFound) IsCode(code int) bool
IsCode returns true when this enable script debug not found response a status code equal to that given
func (*EnableScriptDebugNotFound) IsRedirect ¶
func (o *EnableScriptDebugNotFound) IsRedirect() bool
IsRedirect returns true when this enable script debug not found response has a 3xx status code
func (*EnableScriptDebugNotFound) IsServerError ¶
func (o *EnableScriptDebugNotFound) IsServerError() bool
IsServerError returns true when this enable script debug not found response has a 5xx status code
func (*EnableScriptDebugNotFound) IsSuccess ¶
func (o *EnableScriptDebugNotFound) IsSuccess() bool
IsSuccess returns true when this enable script debug not found response has a 2xx status code
func (*EnableScriptDebugNotFound) String ¶
func (o *EnableScriptDebugNotFound) String() string
type EnableScriptDebugOK ¶
type EnableScriptDebugOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScriptDebug }
EnableScriptDebugOK describes a response with status code 200, with default header values.
ScriptDebug
func NewEnableScriptDebugOK ¶
func NewEnableScriptDebugOK() *EnableScriptDebugOK
NewEnableScriptDebugOK creates a EnableScriptDebugOK with default headers values
func (*EnableScriptDebugOK) Code ¶
func (o *EnableScriptDebugOK) Code() int
Code gets the status code for the enable script debug o k response
func (*EnableScriptDebugOK) Error ¶
func (o *EnableScriptDebugOK) Error() string
func (*EnableScriptDebugOK) GetPayload ¶
func (o *EnableScriptDebugOK) GetPayload() *models.ScriptDebug
func (*EnableScriptDebugOK) IsClientError ¶
func (o *EnableScriptDebugOK) IsClientError() bool
IsClientError returns true when this enable script debug o k response has a 4xx status code
func (*EnableScriptDebugOK) IsCode ¶
func (o *EnableScriptDebugOK) IsCode(code int) bool
IsCode returns true when this enable script debug o k response a status code equal to that given
func (*EnableScriptDebugOK) IsRedirect ¶
func (o *EnableScriptDebugOK) IsRedirect() bool
IsRedirect returns true when this enable script debug o k response has a 3xx status code
func (*EnableScriptDebugOK) IsServerError ¶
func (o *EnableScriptDebugOK) IsServerError() bool
IsServerError returns true when this enable script debug o k response has a 5xx status code
func (*EnableScriptDebugOK) IsSuccess ¶
func (o *EnableScriptDebugOK) IsSuccess() bool
IsSuccess returns true when this enable script debug o k response has a 2xx status code
func (*EnableScriptDebugOK) String ¶
func (o *EnableScriptDebugOK) String() string
type EnableScriptDebugParams ¶
type EnableScriptDebugParams struct { /* Duration. Duration of the debug logging trigger Default: "60s" */ Duration *string /* 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 debugged */ Script string /* Wid. ID of your authorization server (workspace) Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnableScriptDebugParams contains all the parameters to send to the API endpoint
for the enable script debug operation. Typically these are written to a http.Request.
func NewEnableScriptDebugParams ¶
func NewEnableScriptDebugParams() *EnableScriptDebugParams
NewEnableScriptDebugParams creates a new EnableScriptDebugParams 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 NewEnableScriptDebugParamsWithContext ¶
func NewEnableScriptDebugParamsWithContext(ctx context.Context) *EnableScriptDebugParams
NewEnableScriptDebugParamsWithContext creates a new EnableScriptDebugParams object with the ability to set a context for a request.
func NewEnableScriptDebugParamsWithHTTPClient ¶
func NewEnableScriptDebugParamsWithHTTPClient(client *http.Client) *EnableScriptDebugParams
NewEnableScriptDebugParamsWithHTTPClient creates a new EnableScriptDebugParams object with the ability to set a custom HTTPClient for a request.
func NewEnableScriptDebugParamsWithTimeout ¶
func NewEnableScriptDebugParamsWithTimeout(timeout time.Duration) *EnableScriptDebugParams
NewEnableScriptDebugParamsWithTimeout creates a new EnableScriptDebugParams object with the ability to set a timeout on a request.
func (*EnableScriptDebugParams) SetContext ¶
func (o *EnableScriptDebugParams) SetContext(ctx context.Context)
SetContext adds the context to the enable script debug params
func (*EnableScriptDebugParams) SetDefaults ¶
func (o *EnableScriptDebugParams) SetDefaults()
SetDefaults hydrates default values in the enable script debug params (not the query body).
All values with no default are reset to their zero value.
func (*EnableScriptDebugParams) SetDuration ¶
func (o *EnableScriptDebugParams) SetDuration(duration *string)
SetDuration adds the duration to the enable script debug params
func (*EnableScriptDebugParams) SetHTTPClient ¶
func (o *EnableScriptDebugParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable script debug params
func (*EnableScriptDebugParams) SetIfMatch ¶
func (o *EnableScriptDebugParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the enable script debug params
func (*EnableScriptDebugParams) SetScript ¶
func (o *EnableScriptDebugParams) SetScript(script string)
SetScript adds the script to the enable script debug params
func (*EnableScriptDebugParams) SetTimeout ¶
func (o *EnableScriptDebugParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable script debug params
func (*EnableScriptDebugParams) SetWid ¶
func (o *EnableScriptDebugParams) SetWid(wid string)
SetWid adds the wid to the enable script debug params
func (*EnableScriptDebugParams) WithContext ¶
func (o *EnableScriptDebugParams) WithContext(ctx context.Context) *EnableScriptDebugParams
WithContext adds the context to the enable script debug params
func (*EnableScriptDebugParams) WithDefaults ¶
func (o *EnableScriptDebugParams) WithDefaults() *EnableScriptDebugParams
WithDefaults hydrates default values in the enable script debug params (not the query body).
All values with no default are reset to their zero value.
func (*EnableScriptDebugParams) WithDuration ¶
func (o *EnableScriptDebugParams) WithDuration(duration *string) *EnableScriptDebugParams
WithDuration adds the duration to the enable script debug params
func (*EnableScriptDebugParams) WithHTTPClient ¶
func (o *EnableScriptDebugParams) WithHTTPClient(client *http.Client) *EnableScriptDebugParams
WithHTTPClient adds the HTTPClient to the enable script debug params
func (*EnableScriptDebugParams) WithIfMatch ¶
func (o *EnableScriptDebugParams) WithIfMatch(ifMatch *string) *EnableScriptDebugParams
WithIfMatch adds the ifMatch to the enable script debug params
func (*EnableScriptDebugParams) WithScript ¶
func (o *EnableScriptDebugParams) WithScript(script string) *EnableScriptDebugParams
WithScript adds the script to the enable script debug params
func (*EnableScriptDebugParams) WithTimeout ¶
func (o *EnableScriptDebugParams) WithTimeout(timeout time.Duration) *EnableScriptDebugParams
WithTimeout adds the timeout to the enable script debug params
func (*EnableScriptDebugParams) WithWid ¶
func (o *EnableScriptDebugParams) WithWid(wid string) *EnableScriptDebugParams
WithWid adds the wid to the enable script debug params
func (*EnableScriptDebugParams) WriteToRequest ¶
func (o *EnableScriptDebugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnableScriptDebugReader ¶
type EnableScriptDebugReader struct {
// contains filtered or unexported fields
}
EnableScriptDebugReader is a Reader for the EnableScriptDebug structure.
func (*EnableScriptDebugReader) ReadResponse ¶
func (o *EnableScriptDebugReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnableScriptDebugTooManyRequests ¶
EnableScriptDebugTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewEnableScriptDebugTooManyRequests ¶
func NewEnableScriptDebugTooManyRequests() *EnableScriptDebugTooManyRequests
NewEnableScriptDebugTooManyRequests creates a EnableScriptDebugTooManyRequests with default headers values
func (*EnableScriptDebugTooManyRequests) Code ¶
func (o *EnableScriptDebugTooManyRequests) Code() int
Code gets the status code for the enable script debug too many requests response
func (*EnableScriptDebugTooManyRequests) Error ¶
func (o *EnableScriptDebugTooManyRequests) Error() string
func (*EnableScriptDebugTooManyRequests) GetPayload ¶
func (o *EnableScriptDebugTooManyRequests) GetPayload() *models.Error
func (*EnableScriptDebugTooManyRequests) IsClientError ¶
func (o *EnableScriptDebugTooManyRequests) IsClientError() bool
IsClientError returns true when this enable script debug too many requests response has a 4xx status code
func (*EnableScriptDebugTooManyRequests) IsCode ¶
func (o *EnableScriptDebugTooManyRequests) IsCode(code int) bool
IsCode returns true when this enable script debug too many requests response a status code equal to that given
func (*EnableScriptDebugTooManyRequests) IsRedirect ¶
func (o *EnableScriptDebugTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enable script debug too many requests response has a 3xx status code
func (*EnableScriptDebugTooManyRequests) IsServerError ¶
func (o *EnableScriptDebugTooManyRequests) IsServerError() bool
IsServerError returns true when this enable script debug too many requests response has a 5xx status code
func (*EnableScriptDebugTooManyRequests) IsSuccess ¶
func (o *EnableScriptDebugTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enable script debug too many requests response has a 2xx status code
func (*EnableScriptDebugTooManyRequests) String ¶
func (o *EnableScriptDebugTooManyRequests) String() string
type EnableScriptDebugUnauthorized ¶
type EnableScriptDebugUnauthorized struct {
}EnableScriptDebugUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewEnableScriptDebugUnauthorized ¶
func NewEnableScriptDebugUnauthorized() *EnableScriptDebugUnauthorized
NewEnableScriptDebugUnauthorized creates a EnableScriptDebugUnauthorized with default headers values
func (*EnableScriptDebugUnauthorized) Code ¶
func (o *EnableScriptDebugUnauthorized) Code() int
Code gets the status code for the enable script debug unauthorized response
func (*EnableScriptDebugUnauthorized) Error ¶
func (o *EnableScriptDebugUnauthorized) Error() string
func (*EnableScriptDebugUnauthorized) GetPayload ¶
func (o *EnableScriptDebugUnauthorized) GetPayload() *models.Error
func (*EnableScriptDebugUnauthorized) IsClientError ¶
func (o *EnableScriptDebugUnauthorized) IsClientError() bool
IsClientError returns true when this enable script debug unauthorized response has a 4xx status code
func (*EnableScriptDebugUnauthorized) IsCode ¶
func (o *EnableScriptDebugUnauthorized) IsCode(code int) bool
IsCode returns true when this enable script debug unauthorized response a status code equal to that given
func (*EnableScriptDebugUnauthorized) IsRedirect ¶
func (o *EnableScriptDebugUnauthorized) IsRedirect() bool
IsRedirect returns true when this enable script debug unauthorized response has a 3xx status code
func (*EnableScriptDebugUnauthorized) IsServerError ¶
func (o *EnableScriptDebugUnauthorized) IsServerError() bool
IsServerError returns true when this enable script debug unauthorized response has a 5xx status code
func (*EnableScriptDebugUnauthorized) IsSuccess ¶
func (o *EnableScriptDebugUnauthorized) IsSuccess() bool
IsSuccess returns true when this enable script debug unauthorized response has a 2xx status code
func (*EnableScriptDebugUnauthorized) String ¶
func (o *EnableScriptDebugUnauthorized) String() string
type GetScriptDebugForbidden ¶
GetScriptDebugForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetScriptDebugForbidden ¶
func NewGetScriptDebugForbidden() *GetScriptDebugForbidden
NewGetScriptDebugForbidden creates a GetScriptDebugForbidden with default headers values
func (*GetScriptDebugForbidden) Code ¶
func (o *GetScriptDebugForbidden) Code() int
Code gets the status code for the get script debug forbidden response
func (*GetScriptDebugForbidden) Error ¶
func (o *GetScriptDebugForbidden) Error() string
func (*GetScriptDebugForbidden) GetPayload ¶
func (o *GetScriptDebugForbidden) GetPayload() *models.Error
func (*GetScriptDebugForbidden) IsClientError ¶
func (o *GetScriptDebugForbidden) IsClientError() bool
IsClientError returns true when this get script debug forbidden response has a 4xx status code
func (*GetScriptDebugForbidden) IsCode ¶
func (o *GetScriptDebugForbidden) IsCode(code int) bool
IsCode returns true when this get script debug forbidden response a status code equal to that given
func (*GetScriptDebugForbidden) IsRedirect ¶
func (o *GetScriptDebugForbidden) IsRedirect() bool
IsRedirect returns true when this get script debug forbidden response has a 3xx status code
func (*GetScriptDebugForbidden) IsServerError ¶
func (o *GetScriptDebugForbidden) IsServerError() bool
IsServerError returns true when this get script debug forbidden response has a 5xx status code
func (*GetScriptDebugForbidden) IsSuccess ¶
func (o *GetScriptDebugForbidden) IsSuccess() bool
IsSuccess returns true when this get script debug forbidden response has a 2xx status code
func (*GetScriptDebugForbidden) String ¶
func (o *GetScriptDebugForbidden) String() string
type GetScriptDebugNotFound ¶
GetScriptDebugNotFound describes a response with status code 404, with default header values.
Not found
func NewGetScriptDebugNotFound ¶
func NewGetScriptDebugNotFound() *GetScriptDebugNotFound
NewGetScriptDebugNotFound creates a GetScriptDebugNotFound with default headers values
func (*GetScriptDebugNotFound) Code ¶
func (o *GetScriptDebugNotFound) Code() int
Code gets the status code for the get script debug not found response
func (*GetScriptDebugNotFound) Error ¶
func (o *GetScriptDebugNotFound) Error() string
func (*GetScriptDebugNotFound) GetPayload ¶
func (o *GetScriptDebugNotFound) GetPayload() *models.Error
func (*GetScriptDebugNotFound) IsClientError ¶
func (o *GetScriptDebugNotFound) IsClientError() bool
IsClientError returns true when this get script debug not found response has a 4xx status code
func (*GetScriptDebugNotFound) IsCode ¶
func (o *GetScriptDebugNotFound) IsCode(code int) bool
IsCode returns true when this get script debug not found response a status code equal to that given
func (*GetScriptDebugNotFound) IsRedirect ¶
func (o *GetScriptDebugNotFound) IsRedirect() bool
IsRedirect returns true when this get script debug not found response has a 3xx status code
func (*GetScriptDebugNotFound) IsServerError ¶
func (o *GetScriptDebugNotFound) IsServerError() bool
IsServerError returns true when this get script debug not found response has a 5xx status code
func (*GetScriptDebugNotFound) IsSuccess ¶
func (o *GetScriptDebugNotFound) IsSuccess() bool
IsSuccess returns true when this get script debug not found response has a 2xx status code
func (*GetScriptDebugNotFound) String ¶
func (o *GetScriptDebugNotFound) String() string
type GetScriptDebugOK ¶
type GetScriptDebugOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScriptDebug }
GetScriptDebugOK describes a response with status code 200, with default header values.
ScriptDebug
func NewGetScriptDebugOK ¶
func NewGetScriptDebugOK() *GetScriptDebugOK
NewGetScriptDebugOK creates a GetScriptDebugOK with default headers values
func (*GetScriptDebugOK) Code ¶
func (o *GetScriptDebugOK) Code() int
Code gets the status code for the get script debug o k response
func (*GetScriptDebugOK) Error ¶
func (o *GetScriptDebugOK) Error() string
func (*GetScriptDebugOK) GetPayload ¶
func (o *GetScriptDebugOK) GetPayload() *models.ScriptDebug
func (*GetScriptDebugOK) IsClientError ¶
func (o *GetScriptDebugOK) IsClientError() bool
IsClientError returns true when this get script debug o k response has a 4xx status code
func (*GetScriptDebugOK) IsCode ¶
func (o *GetScriptDebugOK) IsCode(code int) bool
IsCode returns true when this get script debug o k response a status code equal to that given
func (*GetScriptDebugOK) IsRedirect ¶
func (o *GetScriptDebugOK) IsRedirect() bool
IsRedirect returns true when this get script debug o k response has a 3xx status code
func (*GetScriptDebugOK) IsServerError ¶
func (o *GetScriptDebugOK) IsServerError() bool
IsServerError returns true when this get script debug o k response has a 5xx status code
func (*GetScriptDebugOK) IsSuccess ¶
func (o *GetScriptDebugOK) IsSuccess() bool
IsSuccess returns true when this get script debug o k response has a 2xx status code
func (*GetScriptDebugOK) String ¶
func (o *GetScriptDebugOK) String() string
type GetScriptDebugParams ¶
type GetScriptDebugParams 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetScriptDebugParams contains all the parameters to send to the API endpoint
for the get script debug operation. Typically these are written to a http.Request.
func NewGetScriptDebugParams ¶
func NewGetScriptDebugParams() *GetScriptDebugParams
NewGetScriptDebugParams creates a new GetScriptDebugParams 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 NewGetScriptDebugParamsWithContext ¶
func NewGetScriptDebugParamsWithContext(ctx context.Context) *GetScriptDebugParams
NewGetScriptDebugParamsWithContext creates a new GetScriptDebugParams object with the ability to set a context for a request.
func NewGetScriptDebugParamsWithHTTPClient ¶
func NewGetScriptDebugParamsWithHTTPClient(client *http.Client) *GetScriptDebugParams
NewGetScriptDebugParamsWithHTTPClient creates a new GetScriptDebugParams object with the ability to set a custom HTTPClient for a request.
func NewGetScriptDebugParamsWithTimeout ¶
func NewGetScriptDebugParamsWithTimeout(timeout time.Duration) *GetScriptDebugParams
NewGetScriptDebugParamsWithTimeout creates a new GetScriptDebugParams object with the ability to set a timeout on a request.
func (*GetScriptDebugParams) SetContext ¶
func (o *GetScriptDebugParams) SetContext(ctx context.Context)
SetContext adds the context to the get script debug params
func (*GetScriptDebugParams) SetDefaults ¶
func (o *GetScriptDebugParams) SetDefaults()
SetDefaults hydrates default values in the get script debug params (not the query body).
All values with no default are reset to their zero value.
func (*GetScriptDebugParams) SetHTTPClient ¶
func (o *GetScriptDebugParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get script debug params
func (*GetScriptDebugParams) SetIfMatch ¶
func (o *GetScriptDebugParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get script debug params
func (*GetScriptDebugParams) SetScript ¶
func (o *GetScriptDebugParams) SetScript(script string)
SetScript adds the script to the get script debug params
func (*GetScriptDebugParams) SetTimeout ¶
func (o *GetScriptDebugParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get script debug params
func (*GetScriptDebugParams) SetWid ¶
func (o *GetScriptDebugParams) SetWid(wid string)
SetWid adds the wid to the get script debug params
func (*GetScriptDebugParams) WithContext ¶
func (o *GetScriptDebugParams) WithContext(ctx context.Context) *GetScriptDebugParams
WithContext adds the context to the get script debug params
func (*GetScriptDebugParams) WithDefaults ¶
func (o *GetScriptDebugParams) WithDefaults() *GetScriptDebugParams
WithDefaults hydrates default values in the get script debug params (not the query body).
All values with no default are reset to their zero value.
func (*GetScriptDebugParams) WithHTTPClient ¶
func (o *GetScriptDebugParams) WithHTTPClient(client *http.Client) *GetScriptDebugParams
WithHTTPClient adds the HTTPClient to the get script debug params
func (*GetScriptDebugParams) WithIfMatch ¶
func (o *GetScriptDebugParams) WithIfMatch(ifMatch *string) *GetScriptDebugParams
WithIfMatch adds the ifMatch to the get script debug params
func (*GetScriptDebugParams) WithScript ¶
func (o *GetScriptDebugParams) WithScript(script string) *GetScriptDebugParams
WithScript adds the script to the get script debug params
func (*GetScriptDebugParams) WithTimeout ¶
func (o *GetScriptDebugParams) WithTimeout(timeout time.Duration) *GetScriptDebugParams
WithTimeout adds the timeout to the get script debug params
func (*GetScriptDebugParams) WithWid ¶
func (o *GetScriptDebugParams) WithWid(wid string) *GetScriptDebugParams
WithWid adds the wid to the get script debug params
func (*GetScriptDebugParams) WriteToRequest ¶
func (o *GetScriptDebugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScriptDebugReader ¶
type GetScriptDebugReader struct {
// contains filtered or unexported fields
}
GetScriptDebugReader is a Reader for the GetScriptDebug structure.
func (*GetScriptDebugReader) ReadResponse ¶
func (o *GetScriptDebugReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScriptDebugTooManyRequests ¶
GetScriptDebugTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetScriptDebugTooManyRequests ¶
func NewGetScriptDebugTooManyRequests() *GetScriptDebugTooManyRequests
NewGetScriptDebugTooManyRequests creates a GetScriptDebugTooManyRequests with default headers values
func (*GetScriptDebugTooManyRequests) Code ¶
func (o *GetScriptDebugTooManyRequests) Code() int
Code gets the status code for the get script debug too many requests response
func (*GetScriptDebugTooManyRequests) Error ¶
func (o *GetScriptDebugTooManyRequests) Error() string
func (*GetScriptDebugTooManyRequests) GetPayload ¶
func (o *GetScriptDebugTooManyRequests) GetPayload() *models.Error
func (*GetScriptDebugTooManyRequests) IsClientError ¶
func (o *GetScriptDebugTooManyRequests) IsClientError() bool
IsClientError returns true when this get script debug too many requests response has a 4xx status code
func (*GetScriptDebugTooManyRequests) IsCode ¶
func (o *GetScriptDebugTooManyRequests) IsCode(code int) bool
IsCode returns true when this get script debug too many requests response a status code equal to that given
func (*GetScriptDebugTooManyRequests) IsRedirect ¶
func (o *GetScriptDebugTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get script debug too many requests response has a 3xx status code
func (*GetScriptDebugTooManyRequests) IsServerError ¶
func (o *GetScriptDebugTooManyRequests) IsServerError() bool
IsServerError returns true when this get script debug too many requests response has a 5xx status code
func (*GetScriptDebugTooManyRequests) IsSuccess ¶
func (o *GetScriptDebugTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get script debug too many requests response has a 2xx status code
func (*GetScriptDebugTooManyRequests) String ¶
func (o *GetScriptDebugTooManyRequests) String() string
type GetScriptDebugUnauthorized ¶
type GetScriptDebugUnauthorized struct {
}GetScriptDebugUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetScriptDebugUnauthorized ¶
func NewGetScriptDebugUnauthorized() *GetScriptDebugUnauthorized
NewGetScriptDebugUnauthorized creates a GetScriptDebugUnauthorized with default headers values
func (*GetScriptDebugUnauthorized) Code ¶
func (o *GetScriptDebugUnauthorized) Code() int
Code gets the status code for the get script debug unauthorized response
func (*GetScriptDebugUnauthorized) Error ¶
func (o *GetScriptDebugUnauthorized) Error() string
func (*GetScriptDebugUnauthorized) GetPayload ¶
func (o *GetScriptDebugUnauthorized) GetPayload() *models.Error
func (*GetScriptDebugUnauthorized) IsClientError ¶
func (o *GetScriptDebugUnauthorized) IsClientError() bool
IsClientError returns true when this get script debug unauthorized response has a 4xx status code
func (*GetScriptDebugUnauthorized) IsCode ¶
func (o *GetScriptDebugUnauthorized) IsCode(code int) bool
IsCode returns true when this get script debug unauthorized response a status code equal to that given
func (*GetScriptDebugUnauthorized) IsRedirect ¶
func (o *GetScriptDebugUnauthorized) IsRedirect() bool
IsRedirect returns true when this get script debug unauthorized response has a 3xx status code
func (*GetScriptDebugUnauthorized) IsServerError ¶
func (o *GetScriptDebugUnauthorized) IsServerError() bool
IsServerError returns true when this get script debug unauthorized response has a 5xx status code
func (*GetScriptDebugUnauthorized) IsSuccess ¶
func (o *GetScriptDebugUnauthorized) IsSuccess() bool
IsSuccess returns true when this get script debug unauthorized response has a 2xx status code
func (*GetScriptDebugUnauthorized) String ¶
func (o *GetScriptDebugUnauthorized) 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 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 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) 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) 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 ListScriptDebugsForbidden ¶
ListScriptDebugsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListScriptDebugsForbidden ¶
func NewListScriptDebugsForbidden() *ListScriptDebugsForbidden
NewListScriptDebugsForbidden creates a ListScriptDebugsForbidden with default headers values
func (*ListScriptDebugsForbidden) Code ¶
func (o *ListScriptDebugsForbidden) Code() int
Code gets the status code for the list script debugs forbidden response
func (*ListScriptDebugsForbidden) Error ¶
func (o *ListScriptDebugsForbidden) Error() string
func (*ListScriptDebugsForbidden) GetPayload ¶
func (o *ListScriptDebugsForbidden) GetPayload() *models.Error
func (*ListScriptDebugsForbidden) IsClientError ¶
func (o *ListScriptDebugsForbidden) IsClientError() bool
IsClientError returns true when this list script debugs forbidden response has a 4xx status code
func (*ListScriptDebugsForbidden) IsCode ¶
func (o *ListScriptDebugsForbidden) IsCode(code int) bool
IsCode returns true when this list script debugs forbidden response a status code equal to that given
func (*ListScriptDebugsForbidden) IsRedirect ¶
func (o *ListScriptDebugsForbidden) IsRedirect() bool
IsRedirect returns true when this list script debugs forbidden response has a 3xx status code
func (*ListScriptDebugsForbidden) IsServerError ¶
func (o *ListScriptDebugsForbidden) IsServerError() bool
IsServerError returns true when this list script debugs forbidden response has a 5xx status code
func (*ListScriptDebugsForbidden) IsSuccess ¶
func (o *ListScriptDebugsForbidden) IsSuccess() bool
IsSuccess returns true when this list script debugs forbidden response has a 2xx status code
func (*ListScriptDebugsForbidden) String ¶
func (o *ListScriptDebugsForbidden) String() string
type ListScriptDebugsOK ¶
type ListScriptDebugsOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScriptDebugs }
ListScriptDebugsOK describes a response with status code 200, with default header values.
Script debug triggers
func NewListScriptDebugsOK ¶
func NewListScriptDebugsOK() *ListScriptDebugsOK
NewListScriptDebugsOK creates a ListScriptDebugsOK with default headers values
func (*ListScriptDebugsOK) Code ¶
func (o *ListScriptDebugsOK) Code() int
Code gets the status code for the list script debugs o k response
func (*ListScriptDebugsOK) Error ¶
func (o *ListScriptDebugsOK) Error() string
func (*ListScriptDebugsOK) GetPayload ¶
func (o *ListScriptDebugsOK) GetPayload() *models.ScriptDebugs
func (*ListScriptDebugsOK) IsClientError ¶
func (o *ListScriptDebugsOK) IsClientError() bool
IsClientError returns true when this list script debugs o k response has a 4xx status code
func (*ListScriptDebugsOK) IsCode ¶
func (o *ListScriptDebugsOK) IsCode(code int) bool
IsCode returns true when this list script debugs o k response a status code equal to that given
func (*ListScriptDebugsOK) IsRedirect ¶
func (o *ListScriptDebugsOK) IsRedirect() bool
IsRedirect returns true when this list script debugs o k response has a 3xx status code
func (*ListScriptDebugsOK) IsServerError ¶
func (o *ListScriptDebugsOK) IsServerError() bool
IsServerError returns true when this list script debugs o k response has a 5xx status code
func (*ListScriptDebugsOK) IsSuccess ¶
func (o *ListScriptDebugsOK) IsSuccess() bool
IsSuccess returns true when this list script debugs o k response has a 2xx status code
func (*ListScriptDebugsOK) String ¶
func (o *ListScriptDebugsOK) String() string
type ListScriptDebugsParams ¶
type ListScriptDebugsParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListScriptDebugsParams contains all the parameters to send to the API endpoint
for the list script debugs operation. Typically these are written to a http.Request.
func NewListScriptDebugsParams ¶
func NewListScriptDebugsParams() *ListScriptDebugsParams
NewListScriptDebugsParams creates a new ListScriptDebugsParams 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 NewListScriptDebugsParamsWithContext ¶
func NewListScriptDebugsParamsWithContext(ctx context.Context) *ListScriptDebugsParams
NewListScriptDebugsParamsWithContext creates a new ListScriptDebugsParams object with the ability to set a context for a request.
func NewListScriptDebugsParamsWithHTTPClient ¶
func NewListScriptDebugsParamsWithHTTPClient(client *http.Client) *ListScriptDebugsParams
NewListScriptDebugsParamsWithHTTPClient creates a new ListScriptDebugsParams object with the ability to set a custom HTTPClient for a request.
func NewListScriptDebugsParamsWithTimeout ¶
func NewListScriptDebugsParamsWithTimeout(timeout time.Duration) *ListScriptDebugsParams
NewListScriptDebugsParamsWithTimeout creates a new ListScriptDebugsParams object with the ability to set a timeout on a request.
func (*ListScriptDebugsParams) SetContext ¶
func (o *ListScriptDebugsParams) SetContext(ctx context.Context)
SetContext adds the context to the list script debugs params
func (*ListScriptDebugsParams) SetDefaults ¶
func (o *ListScriptDebugsParams) SetDefaults()
SetDefaults hydrates default values in the list script debugs params (not the query body).
All values with no default are reset to their zero value.
func (*ListScriptDebugsParams) SetHTTPClient ¶
func (o *ListScriptDebugsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list script debugs params
func (*ListScriptDebugsParams) SetIfMatch ¶
func (o *ListScriptDebugsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list script debugs params
func (*ListScriptDebugsParams) SetTimeout ¶
func (o *ListScriptDebugsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list script debugs params
func (*ListScriptDebugsParams) SetWid ¶
func (o *ListScriptDebugsParams) SetWid(wid string)
SetWid adds the wid to the list script debugs params
func (*ListScriptDebugsParams) WithContext ¶
func (o *ListScriptDebugsParams) WithContext(ctx context.Context) *ListScriptDebugsParams
WithContext adds the context to the list script debugs params
func (*ListScriptDebugsParams) WithDefaults ¶
func (o *ListScriptDebugsParams) WithDefaults() *ListScriptDebugsParams
WithDefaults hydrates default values in the list script debugs params (not the query body).
All values with no default are reset to their zero value.
func (*ListScriptDebugsParams) WithHTTPClient ¶
func (o *ListScriptDebugsParams) WithHTTPClient(client *http.Client) *ListScriptDebugsParams
WithHTTPClient adds the HTTPClient to the list script debugs params
func (*ListScriptDebugsParams) WithIfMatch ¶
func (o *ListScriptDebugsParams) WithIfMatch(ifMatch *string) *ListScriptDebugsParams
WithIfMatch adds the ifMatch to the list script debugs params
func (*ListScriptDebugsParams) WithTimeout ¶
func (o *ListScriptDebugsParams) WithTimeout(timeout time.Duration) *ListScriptDebugsParams
WithTimeout adds the timeout to the list script debugs params
func (*ListScriptDebugsParams) WithWid ¶
func (o *ListScriptDebugsParams) WithWid(wid string) *ListScriptDebugsParams
WithWid adds the wid to the list script debugs params
func (*ListScriptDebugsParams) WriteToRequest ¶
func (o *ListScriptDebugsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListScriptDebugsReader ¶
type ListScriptDebugsReader struct {
// contains filtered or unexported fields
}
ListScriptDebugsReader is a Reader for the ListScriptDebugs structure.
func (*ListScriptDebugsReader) ReadResponse ¶
func (o *ListScriptDebugsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListScriptDebugsTooManyRequests ¶
ListScriptDebugsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListScriptDebugsTooManyRequests ¶
func NewListScriptDebugsTooManyRequests() *ListScriptDebugsTooManyRequests
NewListScriptDebugsTooManyRequests creates a ListScriptDebugsTooManyRequests with default headers values
func (*ListScriptDebugsTooManyRequests) Code ¶
func (o *ListScriptDebugsTooManyRequests) Code() int
Code gets the status code for the list script debugs too many requests response
func (*ListScriptDebugsTooManyRequests) Error ¶
func (o *ListScriptDebugsTooManyRequests) Error() string
func (*ListScriptDebugsTooManyRequests) GetPayload ¶
func (o *ListScriptDebugsTooManyRequests) GetPayload() *models.Error
func (*ListScriptDebugsTooManyRequests) IsClientError ¶
func (o *ListScriptDebugsTooManyRequests) IsClientError() bool
IsClientError returns true when this list script debugs too many requests response has a 4xx status code
func (*ListScriptDebugsTooManyRequests) IsCode ¶
func (o *ListScriptDebugsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list script debugs too many requests response a status code equal to that given
func (*ListScriptDebugsTooManyRequests) IsRedirect ¶
func (o *ListScriptDebugsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list script debugs too many requests response has a 3xx status code
func (*ListScriptDebugsTooManyRequests) IsServerError ¶
func (o *ListScriptDebugsTooManyRequests) IsServerError() bool
IsServerError returns true when this list script debugs too many requests response has a 5xx status code
func (*ListScriptDebugsTooManyRequests) IsSuccess ¶
func (o *ListScriptDebugsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list script debugs too many requests response has a 2xx status code
func (*ListScriptDebugsTooManyRequests) String ¶
func (o *ListScriptDebugsTooManyRequests) String() string
type ListScriptDebugsUnauthorized ¶
type ListScriptDebugsUnauthorized struct {
}ListScriptDebugsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListScriptDebugsUnauthorized ¶
func NewListScriptDebugsUnauthorized() *ListScriptDebugsUnauthorized
NewListScriptDebugsUnauthorized creates a ListScriptDebugsUnauthorized with default headers values
func (*ListScriptDebugsUnauthorized) Code ¶
func (o *ListScriptDebugsUnauthorized) Code() int
Code gets the status code for the list script debugs unauthorized response
func (*ListScriptDebugsUnauthorized) Error ¶
func (o *ListScriptDebugsUnauthorized) Error() string
func (*ListScriptDebugsUnauthorized) GetPayload ¶
func (o *ListScriptDebugsUnauthorized) GetPayload() *models.Error
func (*ListScriptDebugsUnauthorized) IsClientError ¶
func (o *ListScriptDebugsUnauthorized) IsClientError() bool
IsClientError returns true when this list script debugs unauthorized response has a 4xx status code
func (*ListScriptDebugsUnauthorized) IsCode ¶
func (o *ListScriptDebugsUnauthorized) IsCode(code int) bool
IsCode returns true when this list script debugs unauthorized response a status code equal to that given
func (*ListScriptDebugsUnauthorized) IsRedirect ¶
func (o *ListScriptDebugsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list script debugs unauthorized response has a 3xx status code
func (*ListScriptDebugsUnauthorized) IsServerError ¶
func (o *ListScriptDebugsUnauthorized) IsServerError() bool
IsServerError returns true when this list script debugs unauthorized response has a 5xx status code
func (*ListScriptDebugsUnauthorized) IsSuccess ¶
func (o *ListScriptDebugsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list script debugs unauthorized response has a 2xx status code
func (*ListScriptDebugsUnauthorized) String ¶
func (o *ListScriptDebugsUnauthorized) String() string
type ListScriptExecutionPointsForbidden ¶
ListScriptExecutionPointsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListScriptExecutionPointsForbidden ¶
func NewListScriptExecutionPointsForbidden() *ListScriptExecutionPointsForbidden
NewListScriptExecutionPointsForbidden creates a ListScriptExecutionPointsForbidden with default headers values
func (*ListScriptExecutionPointsForbidden) Code ¶
func (o *ListScriptExecutionPointsForbidden) Code() int
Code gets the status code for the list script execution points forbidden response
func (*ListScriptExecutionPointsForbidden) Error ¶
func (o *ListScriptExecutionPointsForbidden) Error() string
func (*ListScriptExecutionPointsForbidden) GetPayload ¶
func (o *ListScriptExecutionPointsForbidden) GetPayload() *models.Error
func (*ListScriptExecutionPointsForbidden) IsClientError ¶
func (o *ListScriptExecutionPointsForbidden) IsClientError() bool
IsClientError returns true when this list script execution points forbidden response has a 4xx status code
func (*ListScriptExecutionPointsForbidden) IsCode ¶
func (o *ListScriptExecutionPointsForbidden) IsCode(code int) bool
IsCode returns true when this list script execution points forbidden response a status code equal to that given
func (*ListScriptExecutionPointsForbidden) IsRedirect ¶
func (o *ListScriptExecutionPointsForbidden) IsRedirect() bool
IsRedirect returns true when this list script execution points forbidden response has a 3xx status code
func (*ListScriptExecutionPointsForbidden) IsServerError ¶
func (o *ListScriptExecutionPointsForbidden) IsServerError() bool
IsServerError returns true when this list script execution points forbidden response has a 5xx status code
func (*ListScriptExecutionPointsForbidden) IsSuccess ¶
func (o *ListScriptExecutionPointsForbidden) IsSuccess() bool
IsSuccess returns true when this list script execution points forbidden response has a 2xx status code
func (*ListScriptExecutionPointsForbidden) String ¶
func (o *ListScriptExecutionPointsForbidden) String() string
type ListScriptExecutionPointsOK ¶
type ListScriptExecutionPointsOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScriptExecutionPoints }
ListScriptExecutionPointsOK describes a response with status code 200, with default header values.
Script execution points
func NewListScriptExecutionPointsOK ¶
func NewListScriptExecutionPointsOK() *ListScriptExecutionPointsOK
NewListScriptExecutionPointsOK creates a ListScriptExecutionPointsOK with default headers values
func (*ListScriptExecutionPointsOK) Code ¶
func (o *ListScriptExecutionPointsOK) Code() int
Code gets the status code for the list script execution points o k response
func (*ListScriptExecutionPointsOK) Error ¶
func (o *ListScriptExecutionPointsOK) Error() string
func (*ListScriptExecutionPointsOK) GetPayload ¶
func (o *ListScriptExecutionPointsOK) GetPayload() *models.ScriptExecutionPoints
func (*ListScriptExecutionPointsOK) IsClientError ¶
func (o *ListScriptExecutionPointsOK) IsClientError() bool
IsClientError returns true when this list script execution points o k response has a 4xx status code
func (*ListScriptExecutionPointsOK) IsCode ¶
func (o *ListScriptExecutionPointsOK) IsCode(code int) bool
IsCode returns true when this list script execution points o k response a status code equal to that given
func (*ListScriptExecutionPointsOK) IsRedirect ¶
func (o *ListScriptExecutionPointsOK) IsRedirect() bool
IsRedirect returns true when this list script execution points o k response has a 3xx status code
func (*ListScriptExecutionPointsOK) IsServerError ¶
func (o *ListScriptExecutionPointsOK) IsServerError() bool
IsServerError returns true when this list script execution points o k response has a 5xx status code
func (*ListScriptExecutionPointsOK) IsSuccess ¶
func (o *ListScriptExecutionPointsOK) IsSuccess() bool
IsSuccess returns true when this list script execution points o k response has a 2xx status code
func (*ListScriptExecutionPointsOK) String ¶
func (o *ListScriptExecutionPointsOK) String() string
type ListScriptExecutionPointsParams ¶
type ListScriptExecutionPointsParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListScriptExecutionPointsParams contains all the parameters to send to the API endpoint
for the list script execution points operation. Typically these are written to a http.Request.
func NewListScriptExecutionPointsParams ¶
func NewListScriptExecutionPointsParams() *ListScriptExecutionPointsParams
NewListScriptExecutionPointsParams creates a new ListScriptExecutionPointsParams 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 NewListScriptExecutionPointsParamsWithContext ¶
func NewListScriptExecutionPointsParamsWithContext(ctx context.Context) *ListScriptExecutionPointsParams
NewListScriptExecutionPointsParamsWithContext creates a new ListScriptExecutionPointsParams object with the ability to set a context for a request.
func NewListScriptExecutionPointsParamsWithHTTPClient ¶
func NewListScriptExecutionPointsParamsWithHTTPClient(client *http.Client) *ListScriptExecutionPointsParams
NewListScriptExecutionPointsParamsWithHTTPClient creates a new ListScriptExecutionPointsParams object with the ability to set a custom HTTPClient for a request.
func NewListScriptExecutionPointsParamsWithTimeout ¶
func NewListScriptExecutionPointsParamsWithTimeout(timeout time.Duration) *ListScriptExecutionPointsParams
NewListScriptExecutionPointsParamsWithTimeout creates a new ListScriptExecutionPointsParams object with the ability to set a timeout on a request.
func (*ListScriptExecutionPointsParams) SetContext ¶
func (o *ListScriptExecutionPointsParams) SetContext(ctx context.Context)
SetContext adds the context to the list script execution points params
func (*ListScriptExecutionPointsParams) SetDefaults ¶
func (o *ListScriptExecutionPointsParams) SetDefaults()
SetDefaults hydrates default values in the list script execution points params (not the query body).
All values with no default are reset to their zero value.
func (*ListScriptExecutionPointsParams) SetHTTPClient ¶
func (o *ListScriptExecutionPointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list script execution points params
func (*ListScriptExecutionPointsParams) SetIfMatch ¶
func (o *ListScriptExecutionPointsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list script execution points params
func (*ListScriptExecutionPointsParams) SetTimeout ¶
func (o *ListScriptExecutionPointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list script execution points params
func (*ListScriptExecutionPointsParams) SetWid ¶
func (o *ListScriptExecutionPointsParams) SetWid(wid string)
SetWid adds the wid to the list script execution points params
func (*ListScriptExecutionPointsParams) WithContext ¶
func (o *ListScriptExecutionPointsParams) WithContext(ctx context.Context) *ListScriptExecutionPointsParams
WithContext adds the context to the list script execution points params
func (*ListScriptExecutionPointsParams) WithDefaults ¶
func (o *ListScriptExecutionPointsParams) WithDefaults() *ListScriptExecutionPointsParams
WithDefaults hydrates default values in the list script execution points params (not the query body).
All values with no default are reset to their zero value.
func (*ListScriptExecutionPointsParams) WithHTTPClient ¶
func (o *ListScriptExecutionPointsParams) WithHTTPClient(client *http.Client) *ListScriptExecutionPointsParams
WithHTTPClient adds the HTTPClient to the list script execution points params
func (*ListScriptExecutionPointsParams) WithIfMatch ¶
func (o *ListScriptExecutionPointsParams) WithIfMatch(ifMatch *string) *ListScriptExecutionPointsParams
WithIfMatch adds the ifMatch to the list script execution points params
func (*ListScriptExecutionPointsParams) WithTimeout ¶
func (o *ListScriptExecutionPointsParams) WithTimeout(timeout time.Duration) *ListScriptExecutionPointsParams
WithTimeout adds the timeout to the list script execution points params
func (*ListScriptExecutionPointsParams) WithWid ¶
func (o *ListScriptExecutionPointsParams) WithWid(wid string) *ListScriptExecutionPointsParams
WithWid adds the wid to the list script execution points params
func (*ListScriptExecutionPointsParams) WriteToRequest ¶
func (o *ListScriptExecutionPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListScriptExecutionPointsReader ¶
type ListScriptExecutionPointsReader struct {
// contains filtered or unexported fields
}
ListScriptExecutionPointsReader is a Reader for the ListScriptExecutionPoints structure.
func (*ListScriptExecutionPointsReader) ReadResponse ¶
func (o *ListScriptExecutionPointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListScriptExecutionPointsTooManyRequests ¶
ListScriptExecutionPointsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListScriptExecutionPointsTooManyRequests ¶
func NewListScriptExecutionPointsTooManyRequests() *ListScriptExecutionPointsTooManyRequests
NewListScriptExecutionPointsTooManyRequests creates a ListScriptExecutionPointsTooManyRequests with default headers values
func (*ListScriptExecutionPointsTooManyRequests) Code ¶
func (o *ListScriptExecutionPointsTooManyRequests) Code() int
Code gets the status code for the list script execution points too many requests response
func (*ListScriptExecutionPointsTooManyRequests) Error ¶
func (o *ListScriptExecutionPointsTooManyRequests) Error() string
func (*ListScriptExecutionPointsTooManyRequests) GetPayload ¶
func (o *ListScriptExecutionPointsTooManyRequests) GetPayload() *models.Error
func (*ListScriptExecutionPointsTooManyRequests) IsClientError ¶
func (o *ListScriptExecutionPointsTooManyRequests) IsClientError() bool
IsClientError returns true when this list script execution points too many requests response has a 4xx status code
func (*ListScriptExecutionPointsTooManyRequests) IsCode ¶
func (o *ListScriptExecutionPointsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list script execution points too many requests response a status code equal to that given
func (*ListScriptExecutionPointsTooManyRequests) IsRedirect ¶
func (o *ListScriptExecutionPointsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list script execution points too many requests response has a 3xx status code
func (*ListScriptExecutionPointsTooManyRequests) IsServerError ¶
func (o *ListScriptExecutionPointsTooManyRequests) IsServerError() bool
IsServerError returns true when this list script execution points too many requests response has a 5xx status code
func (*ListScriptExecutionPointsTooManyRequests) IsSuccess ¶
func (o *ListScriptExecutionPointsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list script execution points too many requests response has a 2xx status code
func (*ListScriptExecutionPointsTooManyRequests) String ¶
func (o *ListScriptExecutionPointsTooManyRequests) String() string
type ListScriptExecutionPointsUnauthorized ¶
type ListScriptExecutionPointsUnauthorized struct {
}ListScriptExecutionPointsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListScriptExecutionPointsUnauthorized ¶
func NewListScriptExecutionPointsUnauthorized() *ListScriptExecutionPointsUnauthorized
NewListScriptExecutionPointsUnauthorized creates a ListScriptExecutionPointsUnauthorized with default headers values
func (*ListScriptExecutionPointsUnauthorized) Code ¶
func (o *ListScriptExecutionPointsUnauthorized) Code() int
Code gets the status code for the list script execution points unauthorized response
func (*ListScriptExecutionPointsUnauthorized) Error ¶
func (o *ListScriptExecutionPointsUnauthorized) Error() string
func (*ListScriptExecutionPointsUnauthorized) GetPayload ¶
func (o *ListScriptExecutionPointsUnauthorized) GetPayload() *models.Error
func (*ListScriptExecutionPointsUnauthorized) IsClientError ¶
func (o *ListScriptExecutionPointsUnauthorized) IsClientError() bool
IsClientError returns true when this list script execution points unauthorized response has a 4xx status code
func (*ListScriptExecutionPointsUnauthorized) IsCode ¶
func (o *ListScriptExecutionPointsUnauthorized) IsCode(code int) bool
IsCode returns true when this list script execution points unauthorized response a status code equal to that given
func (*ListScriptExecutionPointsUnauthorized) IsRedirect ¶
func (o *ListScriptExecutionPointsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list script execution points unauthorized response has a 3xx status code
func (*ListScriptExecutionPointsUnauthorized) IsServerError ¶
func (o *ListScriptExecutionPointsUnauthorized) IsServerError() bool
IsServerError returns true when this list script execution points unauthorized response has a 5xx status code
func (*ListScriptExecutionPointsUnauthorized) IsSuccess ¶
func (o *ListScriptExecutionPointsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list script execution points unauthorized response has a 2xx status code
func (*ListScriptExecutionPointsUnauthorized) String ¶
func (o *ListScriptExecutionPointsUnauthorized) 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 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 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) 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) 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 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 SetScriptExecutionPointsBadRequest ¶
SetScriptExecutionPointsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSetScriptExecutionPointsBadRequest ¶
func NewSetScriptExecutionPointsBadRequest() *SetScriptExecutionPointsBadRequest
NewSetScriptExecutionPointsBadRequest creates a SetScriptExecutionPointsBadRequest with default headers values
func (*SetScriptExecutionPointsBadRequest) Code ¶
func (o *SetScriptExecutionPointsBadRequest) Code() int
Code gets the status code for the set script execution points bad request response
func (*SetScriptExecutionPointsBadRequest) Error ¶
func (o *SetScriptExecutionPointsBadRequest) Error() string
func (*SetScriptExecutionPointsBadRequest) GetPayload ¶
func (o *SetScriptExecutionPointsBadRequest) GetPayload() *models.Error
func (*SetScriptExecutionPointsBadRequest) IsClientError ¶
func (o *SetScriptExecutionPointsBadRequest) IsClientError() bool
IsClientError returns true when this set script execution points bad request response has a 4xx status code
func (*SetScriptExecutionPointsBadRequest) IsCode ¶
func (o *SetScriptExecutionPointsBadRequest) IsCode(code int) bool
IsCode returns true when this set script execution points bad request response a status code equal to that given
func (*SetScriptExecutionPointsBadRequest) IsRedirect ¶
func (o *SetScriptExecutionPointsBadRequest) IsRedirect() bool
IsRedirect returns true when this set script execution points bad request response has a 3xx status code
func (*SetScriptExecutionPointsBadRequest) IsServerError ¶
func (o *SetScriptExecutionPointsBadRequest) IsServerError() bool
IsServerError returns true when this set script execution points bad request response has a 5xx status code
func (*SetScriptExecutionPointsBadRequest) IsSuccess ¶
func (o *SetScriptExecutionPointsBadRequest) IsSuccess() bool
IsSuccess returns true when this set script execution points bad request response has a 2xx status code
func (*SetScriptExecutionPointsBadRequest) String ¶
func (o *SetScriptExecutionPointsBadRequest) String() string
type SetScriptExecutionPointsConflict ¶
SetScriptExecutionPointsConflict describes a response with status code 409, with default header values.
Conflict
func NewSetScriptExecutionPointsConflict ¶
func NewSetScriptExecutionPointsConflict() *SetScriptExecutionPointsConflict
NewSetScriptExecutionPointsConflict creates a SetScriptExecutionPointsConflict with default headers values
func (*SetScriptExecutionPointsConflict) Code ¶
func (o *SetScriptExecutionPointsConflict) Code() int
Code gets the status code for the set script execution points conflict response
func (*SetScriptExecutionPointsConflict) Error ¶
func (o *SetScriptExecutionPointsConflict) Error() string
func (*SetScriptExecutionPointsConflict) GetPayload ¶
func (o *SetScriptExecutionPointsConflict) GetPayload() *models.Error
func (*SetScriptExecutionPointsConflict) IsClientError ¶
func (o *SetScriptExecutionPointsConflict) IsClientError() bool
IsClientError returns true when this set script execution points conflict response has a 4xx status code
func (*SetScriptExecutionPointsConflict) IsCode ¶
func (o *SetScriptExecutionPointsConflict) IsCode(code int) bool
IsCode returns true when this set script execution points conflict response a status code equal to that given
func (*SetScriptExecutionPointsConflict) IsRedirect ¶
func (o *SetScriptExecutionPointsConflict) IsRedirect() bool
IsRedirect returns true when this set script execution points conflict response has a 3xx status code
func (*SetScriptExecutionPointsConflict) IsServerError ¶
func (o *SetScriptExecutionPointsConflict) IsServerError() bool
IsServerError returns true when this set script execution points conflict response has a 5xx status code
func (*SetScriptExecutionPointsConflict) IsSuccess ¶
func (o *SetScriptExecutionPointsConflict) IsSuccess() bool
IsSuccess returns true when this set script execution points conflict response has a 2xx status code
func (*SetScriptExecutionPointsConflict) String ¶
func (o *SetScriptExecutionPointsConflict) String() string
type SetScriptExecutionPointsForbidden ¶
SetScriptExecutionPointsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetScriptExecutionPointsForbidden ¶
func NewSetScriptExecutionPointsForbidden() *SetScriptExecutionPointsForbidden
NewSetScriptExecutionPointsForbidden creates a SetScriptExecutionPointsForbidden with default headers values
func (*SetScriptExecutionPointsForbidden) Code ¶
func (o *SetScriptExecutionPointsForbidden) Code() int
Code gets the status code for the set script execution points forbidden response
func (*SetScriptExecutionPointsForbidden) Error ¶
func (o *SetScriptExecutionPointsForbidden) Error() string
func (*SetScriptExecutionPointsForbidden) GetPayload ¶
func (o *SetScriptExecutionPointsForbidden) GetPayload() *models.Error
func (*SetScriptExecutionPointsForbidden) IsClientError ¶
func (o *SetScriptExecutionPointsForbidden) IsClientError() bool
IsClientError returns true when this set script execution points forbidden response has a 4xx status code
func (*SetScriptExecutionPointsForbidden) IsCode ¶
func (o *SetScriptExecutionPointsForbidden) IsCode(code int) bool
IsCode returns true when this set script execution points forbidden response a status code equal to that given
func (*SetScriptExecutionPointsForbidden) IsRedirect ¶
func (o *SetScriptExecutionPointsForbidden) IsRedirect() bool
IsRedirect returns true when this set script execution points forbidden response has a 3xx status code
func (*SetScriptExecutionPointsForbidden) IsServerError ¶
func (o *SetScriptExecutionPointsForbidden) IsServerError() bool
IsServerError returns true when this set script execution points forbidden response has a 5xx status code
func (*SetScriptExecutionPointsForbidden) IsSuccess ¶
func (o *SetScriptExecutionPointsForbidden) IsSuccess() bool
IsSuccess returns true when this set script execution points forbidden response has a 2xx status code
func (*SetScriptExecutionPointsForbidden) String ¶
func (o *SetScriptExecutionPointsForbidden) String() string
type SetScriptExecutionPointsNotFound ¶
SetScriptExecutionPointsNotFound describes a response with status code 404, with default header values.
Not found
func NewSetScriptExecutionPointsNotFound ¶
func NewSetScriptExecutionPointsNotFound() *SetScriptExecutionPointsNotFound
NewSetScriptExecutionPointsNotFound creates a SetScriptExecutionPointsNotFound with default headers values
func (*SetScriptExecutionPointsNotFound) Code ¶
func (o *SetScriptExecutionPointsNotFound) Code() int
Code gets the status code for the set script execution points not found response
func (*SetScriptExecutionPointsNotFound) Error ¶
func (o *SetScriptExecutionPointsNotFound) Error() string
func (*SetScriptExecutionPointsNotFound) GetPayload ¶
func (o *SetScriptExecutionPointsNotFound) GetPayload() *models.Error
func (*SetScriptExecutionPointsNotFound) IsClientError ¶
func (o *SetScriptExecutionPointsNotFound) IsClientError() bool
IsClientError returns true when this set script execution points not found response has a 4xx status code
func (*SetScriptExecutionPointsNotFound) IsCode ¶
func (o *SetScriptExecutionPointsNotFound) IsCode(code int) bool
IsCode returns true when this set script execution points not found response a status code equal to that given
func (*SetScriptExecutionPointsNotFound) IsRedirect ¶
func (o *SetScriptExecutionPointsNotFound) IsRedirect() bool
IsRedirect returns true when this set script execution points not found response has a 3xx status code
func (*SetScriptExecutionPointsNotFound) IsServerError ¶
func (o *SetScriptExecutionPointsNotFound) IsServerError() bool
IsServerError returns true when this set script execution points not found response has a 5xx status code
func (*SetScriptExecutionPointsNotFound) IsSuccess ¶
func (o *SetScriptExecutionPointsNotFound) IsSuccess() bool
IsSuccess returns true when this set script execution points not found response has a 2xx status code
func (*SetScriptExecutionPointsNotFound) String ¶
func (o *SetScriptExecutionPointsNotFound) String() string
type SetScriptExecutionPointsOK ¶
type SetScriptExecutionPointsOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScriptExecutionPoints }
SetScriptExecutionPointsOK describes a response with status code 200, with default header values.
Script execution points
func NewSetScriptExecutionPointsOK ¶
func NewSetScriptExecutionPointsOK() *SetScriptExecutionPointsOK
NewSetScriptExecutionPointsOK creates a SetScriptExecutionPointsOK with default headers values
func (*SetScriptExecutionPointsOK) Code ¶
func (o *SetScriptExecutionPointsOK) Code() int
Code gets the status code for the set script execution points o k response
func (*SetScriptExecutionPointsOK) Error ¶
func (o *SetScriptExecutionPointsOK) Error() string
func (*SetScriptExecutionPointsOK) GetPayload ¶
func (o *SetScriptExecutionPointsOK) GetPayload() *models.ScriptExecutionPoints
func (*SetScriptExecutionPointsOK) IsClientError ¶
func (o *SetScriptExecutionPointsOK) IsClientError() bool
IsClientError returns true when this set script execution points o k response has a 4xx status code
func (*SetScriptExecutionPointsOK) IsCode ¶
func (o *SetScriptExecutionPointsOK) IsCode(code int) bool
IsCode returns true when this set script execution points o k response a status code equal to that given
func (*SetScriptExecutionPointsOK) IsRedirect ¶
func (o *SetScriptExecutionPointsOK) IsRedirect() bool
IsRedirect returns true when this set script execution points o k response has a 3xx status code
func (*SetScriptExecutionPointsOK) IsServerError ¶
func (o *SetScriptExecutionPointsOK) IsServerError() bool
IsServerError returns true when this set script execution points o k response has a 5xx status code
func (*SetScriptExecutionPointsOK) IsSuccess ¶
func (o *SetScriptExecutionPointsOK) IsSuccess() bool
IsSuccess returns true when this set script execution points o k response has a 2xx status code
func (*SetScriptExecutionPointsOK) String ¶
func (o *SetScriptExecutionPointsOK) String() string
type SetScriptExecutionPointsParams ¶
type SetScriptExecutionPointsParams struct { // Executions. Executions *models.ScriptExecutionPoints /* Etag. The ETag HTTP header is an identifier for a specific version of a resource Format: etag */ Etag *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetScriptExecutionPointsParams contains all the parameters to send to the API endpoint
for the set script execution points operation. Typically these are written to a http.Request.
func NewSetScriptExecutionPointsParams ¶
func NewSetScriptExecutionPointsParams() *SetScriptExecutionPointsParams
NewSetScriptExecutionPointsParams creates a new SetScriptExecutionPointsParams 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 NewSetScriptExecutionPointsParamsWithContext ¶
func NewSetScriptExecutionPointsParamsWithContext(ctx context.Context) *SetScriptExecutionPointsParams
NewSetScriptExecutionPointsParamsWithContext creates a new SetScriptExecutionPointsParams object with the ability to set a context for a request.
func NewSetScriptExecutionPointsParamsWithHTTPClient ¶
func NewSetScriptExecutionPointsParamsWithHTTPClient(client *http.Client) *SetScriptExecutionPointsParams
NewSetScriptExecutionPointsParamsWithHTTPClient creates a new SetScriptExecutionPointsParams object with the ability to set a custom HTTPClient for a request.
func NewSetScriptExecutionPointsParamsWithTimeout ¶
func NewSetScriptExecutionPointsParamsWithTimeout(timeout time.Duration) *SetScriptExecutionPointsParams
NewSetScriptExecutionPointsParamsWithTimeout creates a new SetScriptExecutionPointsParams object with the ability to set a timeout on a request.
func (*SetScriptExecutionPointsParams) SetContext ¶
func (o *SetScriptExecutionPointsParams) SetContext(ctx context.Context)
SetContext adds the context to the set script execution points params
func (*SetScriptExecutionPointsParams) SetDefaults ¶
func (o *SetScriptExecutionPointsParams) SetDefaults()
SetDefaults hydrates default values in the set script execution points params (not the query body).
All values with no default are reset to their zero value.
func (*SetScriptExecutionPointsParams) SetEtag ¶
func (o *SetScriptExecutionPointsParams) SetEtag(etag *string)
SetEtag adds the etag to the set script execution points params
func (*SetScriptExecutionPointsParams) SetExecutions ¶
func (o *SetScriptExecutionPointsParams) SetExecutions(executions *models.ScriptExecutionPoints)
SetExecutions adds the executions to the set script execution points params
func (*SetScriptExecutionPointsParams) SetHTTPClient ¶
func (o *SetScriptExecutionPointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set script execution points params
func (*SetScriptExecutionPointsParams) SetTimeout ¶
func (o *SetScriptExecutionPointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set script execution points params
func (*SetScriptExecutionPointsParams) SetWid ¶
func (o *SetScriptExecutionPointsParams) SetWid(wid string)
SetWid adds the wid to the set script execution points params
func (*SetScriptExecutionPointsParams) WithContext ¶
func (o *SetScriptExecutionPointsParams) WithContext(ctx context.Context) *SetScriptExecutionPointsParams
WithContext adds the context to the set script execution points params
func (*SetScriptExecutionPointsParams) WithDefaults ¶
func (o *SetScriptExecutionPointsParams) WithDefaults() *SetScriptExecutionPointsParams
WithDefaults hydrates default values in the set script execution points params (not the query body).
All values with no default are reset to their zero value.
func (*SetScriptExecutionPointsParams) WithEtag ¶
func (o *SetScriptExecutionPointsParams) WithEtag(etag *string) *SetScriptExecutionPointsParams
WithEtag adds the etag to the set script execution points params
func (*SetScriptExecutionPointsParams) WithExecutions ¶
func (o *SetScriptExecutionPointsParams) WithExecutions(executions *models.ScriptExecutionPoints) *SetScriptExecutionPointsParams
WithExecutions adds the executions to the set script execution points params
func (*SetScriptExecutionPointsParams) WithHTTPClient ¶
func (o *SetScriptExecutionPointsParams) WithHTTPClient(client *http.Client) *SetScriptExecutionPointsParams
WithHTTPClient adds the HTTPClient to the set script execution points params
func (*SetScriptExecutionPointsParams) WithTimeout ¶
func (o *SetScriptExecutionPointsParams) WithTimeout(timeout time.Duration) *SetScriptExecutionPointsParams
WithTimeout adds the timeout to the set script execution points params
func (*SetScriptExecutionPointsParams) WithWid ¶
func (o *SetScriptExecutionPointsParams) WithWid(wid string) *SetScriptExecutionPointsParams
WithWid adds the wid to the set script execution points params
func (*SetScriptExecutionPointsParams) WriteToRequest ¶
func (o *SetScriptExecutionPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetScriptExecutionPointsReader ¶
type SetScriptExecutionPointsReader struct {
// contains filtered or unexported fields
}
SetScriptExecutionPointsReader is a Reader for the SetScriptExecutionPoints structure.
func (*SetScriptExecutionPointsReader) ReadResponse ¶
func (o *SetScriptExecutionPointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetScriptExecutionPointsTooManyRequests ¶
SetScriptExecutionPointsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewSetScriptExecutionPointsTooManyRequests ¶
func NewSetScriptExecutionPointsTooManyRequests() *SetScriptExecutionPointsTooManyRequests
NewSetScriptExecutionPointsTooManyRequests creates a SetScriptExecutionPointsTooManyRequests with default headers values
func (*SetScriptExecutionPointsTooManyRequests) Code ¶
func (o *SetScriptExecutionPointsTooManyRequests) Code() int
Code gets the status code for the set script execution points too many requests response
func (*SetScriptExecutionPointsTooManyRequests) Error ¶
func (o *SetScriptExecutionPointsTooManyRequests) Error() string
func (*SetScriptExecutionPointsTooManyRequests) GetPayload ¶
func (o *SetScriptExecutionPointsTooManyRequests) GetPayload() *models.Error
func (*SetScriptExecutionPointsTooManyRequests) IsClientError ¶
func (o *SetScriptExecutionPointsTooManyRequests) IsClientError() bool
IsClientError returns true when this set script execution points too many requests response has a 4xx status code
func (*SetScriptExecutionPointsTooManyRequests) IsCode ¶
func (o *SetScriptExecutionPointsTooManyRequests) IsCode(code int) bool
IsCode returns true when this set script execution points too many requests response a status code equal to that given
func (*SetScriptExecutionPointsTooManyRequests) IsRedirect ¶
func (o *SetScriptExecutionPointsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this set script execution points too many requests response has a 3xx status code
func (*SetScriptExecutionPointsTooManyRequests) IsServerError ¶
func (o *SetScriptExecutionPointsTooManyRequests) IsServerError() bool
IsServerError returns true when this set script execution points too many requests response has a 5xx status code
func (*SetScriptExecutionPointsTooManyRequests) IsSuccess ¶
func (o *SetScriptExecutionPointsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this set script execution points too many requests response has a 2xx status code
func (*SetScriptExecutionPointsTooManyRequests) String ¶
func (o *SetScriptExecutionPointsTooManyRequests) String() string
type SetScriptExecutionPointsUnauthorized ¶
type SetScriptExecutionPointsUnauthorized struct {
}SetScriptExecutionPointsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetScriptExecutionPointsUnauthorized ¶
func NewSetScriptExecutionPointsUnauthorized() *SetScriptExecutionPointsUnauthorized
NewSetScriptExecutionPointsUnauthorized creates a SetScriptExecutionPointsUnauthorized with default headers values
func (*SetScriptExecutionPointsUnauthorized) Code ¶
func (o *SetScriptExecutionPointsUnauthorized) Code() int
Code gets the status code for the set script execution points unauthorized response
func (*SetScriptExecutionPointsUnauthorized) Error ¶
func (o *SetScriptExecutionPointsUnauthorized) Error() string
func (*SetScriptExecutionPointsUnauthorized) GetPayload ¶
func (o *SetScriptExecutionPointsUnauthorized) GetPayload() *models.Error
func (*SetScriptExecutionPointsUnauthorized) IsClientError ¶
func (o *SetScriptExecutionPointsUnauthorized) IsClientError() bool
IsClientError returns true when this set script execution points unauthorized response has a 4xx status code
func (*SetScriptExecutionPointsUnauthorized) IsCode ¶
func (o *SetScriptExecutionPointsUnauthorized) IsCode(code int) bool
IsCode returns true when this set script execution points unauthorized response a status code equal to that given
func (*SetScriptExecutionPointsUnauthorized) IsRedirect ¶
func (o *SetScriptExecutionPointsUnauthorized) IsRedirect() bool
IsRedirect returns true when this set script execution points unauthorized response has a 3xx status code
func (*SetScriptExecutionPointsUnauthorized) IsServerError ¶
func (o *SetScriptExecutionPointsUnauthorized) IsServerError() bool
IsServerError returns true when this set script execution points unauthorized response has a 5xx status code
func (*SetScriptExecutionPointsUnauthorized) IsSuccess ¶
func (o *SetScriptExecutionPointsUnauthorized) IsSuccess() bool
IsSuccess returns true when this set script execution points unauthorized response has a 2xx status code
func (*SetScriptExecutionPointsUnauthorized) String ¶
func (o *SetScriptExecutionPointsUnauthorized) String() string
type SetScriptExecutionPointsUnprocessableEntity ¶
SetScriptExecutionPointsUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewSetScriptExecutionPointsUnprocessableEntity ¶
func NewSetScriptExecutionPointsUnprocessableEntity() *SetScriptExecutionPointsUnprocessableEntity
NewSetScriptExecutionPointsUnprocessableEntity creates a SetScriptExecutionPointsUnprocessableEntity with default headers values
func (*SetScriptExecutionPointsUnprocessableEntity) Code ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) Code() int
Code gets the status code for the set script execution points unprocessable entity response
func (*SetScriptExecutionPointsUnprocessableEntity) Error ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) Error() string
func (*SetScriptExecutionPointsUnprocessableEntity) GetPayload ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) GetPayload() *models.Error
func (*SetScriptExecutionPointsUnprocessableEntity) IsClientError ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this set script execution points unprocessable entity response has a 4xx status code
func (*SetScriptExecutionPointsUnprocessableEntity) IsCode ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this set script execution points unprocessable entity response a status code equal to that given
func (*SetScriptExecutionPointsUnprocessableEntity) IsRedirect ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this set script execution points unprocessable entity response has a 3xx status code
func (*SetScriptExecutionPointsUnprocessableEntity) IsServerError ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this set script execution points unprocessable entity response has a 5xx status code
func (*SetScriptExecutionPointsUnprocessableEntity) IsSuccess ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this set script execution points unprocessable entity response has a 2xx status code
func (*SetScriptExecutionPointsUnprocessableEntity) String ¶
func (o *SetScriptExecutionPointsUnprocessableEntity) String() string
type TestScriptBadRequest ¶
TestScriptBadRequest describes a response with status code 400, with default header values.
Bad request
func NewTestScriptBadRequest ¶
func NewTestScriptBadRequest() *TestScriptBadRequest
NewTestScriptBadRequest creates a TestScriptBadRequest with default headers values
func (*TestScriptBadRequest) Code ¶
func (o *TestScriptBadRequest) Code() int
Code gets the status code for the test script bad request response
func (*TestScriptBadRequest) Error ¶
func (o *TestScriptBadRequest) Error() string
func (*TestScriptBadRequest) GetPayload ¶
func (o *TestScriptBadRequest) GetPayload() *models.Error
func (*TestScriptBadRequest) IsClientError ¶
func (o *TestScriptBadRequest) IsClientError() bool
IsClientError returns true when this test script bad request response has a 4xx status code
func (*TestScriptBadRequest) IsCode ¶
func (o *TestScriptBadRequest) IsCode(code int) bool
IsCode returns true when this test script bad request response a status code equal to that given
func (*TestScriptBadRequest) IsRedirect ¶
func (o *TestScriptBadRequest) IsRedirect() bool
IsRedirect returns true when this test script bad request response has a 3xx status code
func (*TestScriptBadRequest) IsServerError ¶
func (o *TestScriptBadRequest) IsServerError() bool
IsServerError returns true when this test script bad request response has a 5xx status code
func (*TestScriptBadRequest) IsSuccess ¶
func (o *TestScriptBadRequest) IsSuccess() bool
IsSuccess returns true when this test script bad request response has a 2xx status code
func (*TestScriptBadRequest) String ¶
func (o *TestScriptBadRequest) String() string
type TestScriptConflict ¶
TestScriptConflict describes a response with status code 409, with default header values.
Conflict
func NewTestScriptConflict ¶
func NewTestScriptConflict() *TestScriptConflict
NewTestScriptConflict creates a TestScriptConflict with default headers values
func (*TestScriptConflict) Code ¶
func (o *TestScriptConflict) Code() int
Code gets the status code for the test script conflict response
func (*TestScriptConflict) Error ¶
func (o *TestScriptConflict) Error() string
func (*TestScriptConflict) GetPayload ¶
func (o *TestScriptConflict) GetPayload() *models.Error
func (*TestScriptConflict) IsClientError ¶
func (o *TestScriptConflict) IsClientError() bool
IsClientError returns true when this test script conflict response has a 4xx status code
func (*TestScriptConflict) IsCode ¶
func (o *TestScriptConflict) IsCode(code int) bool
IsCode returns true when this test script conflict response a status code equal to that given
func (*TestScriptConflict) IsRedirect ¶
func (o *TestScriptConflict) IsRedirect() bool
IsRedirect returns true when this test script conflict response has a 3xx status code
func (*TestScriptConflict) IsServerError ¶
func (o *TestScriptConflict) IsServerError() bool
IsServerError returns true when this test script conflict response has a 5xx status code
func (*TestScriptConflict) IsSuccess ¶
func (o *TestScriptConflict) IsSuccess() bool
IsSuccess returns true when this test script conflict response has a 2xx status code
func (*TestScriptConflict) String ¶
func (o *TestScriptConflict) String() string
type TestScriptForbidden ¶
TestScriptForbidden describes a response with status code 403, with default header values.
Forbidden
func NewTestScriptForbidden ¶
func NewTestScriptForbidden() *TestScriptForbidden
NewTestScriptForbidden creates a TestScriptForbidden with default headers values
func (*TestScriptForbidden) Code ¶
func (o *TestScriptForbidden) Code() int
Code gets the status code for the test script forbidden response
func (*TestScriptForbidden) Error ¶
func (o *TestScriptForbidden) Error() string
func (*TestScriptForbidden) GetPayload ¶
func (o *TestScriptForbidden) GetPayload() *models.Error
func (*TestScriptForbidden) IsClientError ¶
func (o *TestScriptForbidden) IsClientError() bool
IsClientError returns true when this test script forbidden response has a 4xx status code
func (*TestScriptForbidden) IsCode ¶
func (o *TestScriptForbidden) IsCode(code int) bool
IsCode returns true when this test script forbidden response a status code equal to that given
func (*TestScriptForbidden) IsRedirect ¶
func (o *TestScriptForbidden) IsRedirect() bool
IsRedirect returns true when this test script forbidden response has a 3xx status code
func (*TestScriptForbidden) IsServerError ¶
func (o *TestScriptForbidden) IsServerError() bool
IsServerError returns true when this test script forbidden response has a 5xx status code
func (*TestScriptForbidden) IsSuccess ¶
func (o *TestScriptForbidden) IsSuccess() bool
IsSuccess returns true when this test script forbidden response has a 2xx status code
func (*TestScriptForbidden) String ¶
func (o *TestScriptForbidden) String() string
type TestScriptNotFound ¶
TestScriptNotFound describes a response with status code 404, with default header values.
Not found
func NewTestScriptNotFound ¶
func NewTestScriptNotFound() *TestScriptNotFound
NewTestScriptNotFound creates a TestScriptNotFound with default headers values
func (*TestScriptNotFound) Code ¶
func (o *TestScriptNotFound) Code() int
Code gets the status code for the test script not found response
func (*TestScriptNotFound) Error ¶
func (o *TestScriptNotFound) Error() string
func (*TestScriptNotFound) GetPayload ¶
func (o *TestScriptNotFound) GetPayload() *models.Error
func (*TestScriptNotFound) IsClientError ¶
func (o *TestScriptNotFound) IsClientError() bool
IsClientError returns true when this test script not found response has a 4xx status code
func (*TestScriptNotFound) IsCode ¶
func (o *TestScriptNotFound) IsCode(code int) bool
IsCode returns true when this test script not found response a status code equal to that given
func (*TestScriptNotFound) IsRedirect ¶
func (o *TestScriptNotFound) IsRedirect() bool
IsRedirect returns true when this test script not found response has a 3xx status code
func (*TestScriptNotFound) IsServerError ¶
func (o *TestScriptNotFound) IsServerError() bool
IsServerError returns true when this test script not found response has a 5xx status code
func (*TestScriptNotFound) IsSuccess ¶
func (o *TestScriptNotFound) IsSuccess() bool
IsSuccess returns true when this test script not found response has a 2xx status code
func (*TestScriptNotFound) String ¶
func (o *TestScriptNotFound) String() string
type TestScriptOK ¶
type TestScriptOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ScriptExecutionResult }
TestScriptOK describes a response with status code 200, with default header values.
Script execution result
func NewTestScriptOK ¶
func NewTestScriptOK() *TestScriptOK
NewTestScriptOK creates a TestScriptOK with default headers values
func (*TestScriptOK) Code ¶
func (o *TestScriptOK) Code() int
Code gets the status code for the test script o k response
func (*TestScriptOK) Error ¶
func (o *TestScriptOK) Error() string
func (*TestScriptOK) GetPayload ¶
func (o *TestScriptOK) GetPayload() *models.ScriptExecutionResult
func (*TestScriptOK) IsClientError ¶
func (o *TestScriptOK) IsClientError() bool
IsClientError returns true when this test script o k response has a 4xx status code
func (*TestScriptOK) IsCode ¶
func (o *TestScriptOK) IsCode(code int) bool
IsCode returns true when this test script o k response a status code equal to that given
func (*TestScriptOK) IsRedirect ¶
func (o *TestScriptOK) IsRedirect() bool
IsRedirect returns true when this test script o k response has a 3xx status code
func (*TestScriptOK) IsServerError ¶
func (o *TestScriptOK) IsServerError() bool
IsServerError returns true when this test script o k response has a 5xx status code
func (*TestScriptOK) IsSuccess ¶
func (o *TestScriptOK) IsSuccess() bool
IsSuccess returns true when this test script o k response has a 2xx status code
func (*TestScriptOK) String ¶
func (o *TestScriptOK) String() string
type TestScriptParams ¶
type TestScriptParams struct { // TestScriptRequest. TestScriptRequest *models.TestScriptRequest /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestScriptParams contains all the parameters to send to the API endpoint
for the test script operation. Typically these are written to a http.Request.
func NewTestScriptParams ¶
func NewTestScriptParams() *TestScriptParams
NewTestScriptParams creates a new TestScriptParams 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 NewTestScriptParamsWithContext ¶
func NewTestScriptParamsWithContext(ctx context.Context) *TestScriptParams
NewTestScriptParamsWithContext creates a new TestScriptParams object with the ability to set a context for a request.
func NewTestScriptParamsWithHTTPClient ¶
func NewTestScriptParamsWithHTTPClient(client *http.Client) *TestScriptParams
NewTestScriptParamsWithHTTPClient creates a new TestScriptParams object with the ability to set a custom HTTPClient for a request.
func NewTestScriptParamsWithTimeout ¶
func NewTestScriptParamsWithTimeout(timeout time.Duration) *TestScriptParams
NewTestScriptParamsWithTimeout creates a new TestScriptParams object with the ability to set a timeout on a request.
func (*TestScriptParams) SetContext ¶
func (o *TestScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the test script params
func (*TestScriptParams) SetDefaults ¶
func (o *TestScriptParams) SetDefaults()
SetDefaults hydrates default values in the test script params (not the query body).
All values with no default are reset to their zero value.
func (*TestScriptParams) SetHTTPClient ¶
func (o *TestScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test script params
func (*TestScriptParams) SetIfMatch ¶
func (o *TestScriptParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the test script params
func (*TestScriptParams) SetTestScriptRequest ¶
func (o *TestScriptParams) SetTestScriptRequest(testScriptRequest *models.TestScriptRequest)
SetTestScriptRequest adds the testScriptRequest to the test script params
func (*TestScriptParams) SetTimeout ¶
func (o *TestScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test script params
func (*TestScriptParams) SetWid ¶
func (o *TestScriptParams) SetWid(wid string)
SetWid adds the wid to the test script params
func (*TestScriptParams) WithContext ¶
func (o *TestScriptParams) WithContext(ctx context.Context) *TestScriptParams
WithContext adds the context to the test script params
func (*TestScriptParams) WithDefaults ¶
func (o *TestScriptParams) WithDefaults() *TestScriptParams
WithDefaults hydrates default values in the test script params (not the query body).
All values with no default are reset to their zero value.
func (*TestScriptParams) WithHTTPClient ¶
func (o *TestScriptParams) WithHTTPClient(client *http.Client) *TestScriptParams
WithHTTPClient adds the HTTPClient to the test script params
func (*TestScriptParams) WithIfMatch ¶
func (o *TestScriptParams) WithIfMatch(ifMatch *string) *TestScriptParams
WithIfMatch adds the ifMatch to the test script params
func (*TestScriptParams) WithTestScriptRequest ¶
func (o *TestScriptParams) WithTestScriptRequest(testScriptRequest *models.TestScriptRequest) *TestScriptParams
WithTestScriptRequest adds the testScriptRequest to the test script params
func (*TestScriptParams) WithTimeout ¶
func (o *TestScriptParams) WithTimeout(timeout time.Duration) *TestScriptParams
WithTimeout adds the timeout to the test script params
func (*TestScriptParams) WithWid ¶
func (o *TestScriptParams) WithWid(wid string) *TestScriptParams
WithWid adds the wid to the test script params
func (*TestScriptParams) WriteToRequest ¶
func (o *TestScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestScriptReader ¶
type TestScriptReader struct {
// contains filtered or unexported fields
}
TestScriptReader is a Reader for the TestScript structure.
func (*TestScriptReader) ReadResponse ¶
func (o *TestScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestScriptTooManyRequests ¶
TestScriptTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewTestScriptTooManyRequests ¶
func NewTestScriptTooManyRequests() *TestScriptTooManyRequests
NewTestScriptTooManyRequests creates a TestScriptTooManyRequests with default headers values
func (*TestScriptTooManyRequests) Code ¶
func (o *TestScriptTooManyRequests) Code() int
Code gets the status code for the test script too many requests response
func (*TestScriptTooManyRequests) Error ¶
func (o *TestScriptTooManyRequests) Error() string
func (*TestScriptTooManyRequests) GetPayload ¶
func (o *TestScriptTooManyRequests) GetPayload() *models.Error
func (*TestScriptTooManyRequests) IsClientError ¶
func (o *TestScriptTooManyRequests) IsClientError() bool
IsClientError returns true when this test script too many requests response has a 4xx status code
func (*TestScriptTooManyRequests) IsCode ¶
func (o *TestScriptTooManyRequests) IsCode(code int) bool
IsCode returns true when this test script too many requests response a status code equal to that given
func (*TestScriptTooManyRequests) IsRedirect ¶
func (o *TestScriptTooManyRequests) IsRedirect() bool
IsRedirect returns true when this test script too many requests response has a 3xx status code
func (*TestScriptTooManyRequests) IsServerError ¶
func (o *TestScriptTooManyRequests) IsServerError() bool
IsServerError returns true when this test script too many requests response has a 5xx status code
func (*TestScriptTooManyRequests) IsSuccess ¶
func (o *TestScriptTooManyRequests) IsSuccess() bool
IsSuccess returns true when this test script too many requests response has a 2xx status code
func (*TestScriptTooManyRequests) String ¶
func (o *TestScriptTooManyRequests) String() string
type TestScriptUnauthorized ¶
type TestScriptUnauthorized struct {
}TestScriptUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewTestScriptUnauthorized ¶
func NewTestScriptUnauthorized() *TestScriptUnauthorized
NewTestScriptUnauthorized creates a TestScriptUnauthorized with default headers values
func (*TestScriptUnauthorized) Code ¶
func (o *TestScriptUnauthorized) Code() int
Code gets the status code for the test script unauthorized response
func (*TestScriptUnauthorized) Error ¶
func (o *TestScriptUnauthorized) Error() string
func (*TestScriptUnauthorized) GetPayload ¶
func (o *TestScriptUnauthorized) GetPayload() *models.Error
func (*TestScriptUnauthorized) IsClientError ¶
func (o *TestScriptUnauthorized) IsClientError() bool
IsClientError returns true when this test script unauthorized response has a 4xx status code
func (*TestScriptUnauthorized) IsCode ¶
func (o *TestScriptUnauthorized) IsCode(code int) bool
IsCode returns true when this test script unauthorized response a status code equal to that given
func (*TestScriptUnauthorized) IsRedirect ¶
func (o *TestScriptUnauthorized) IsRedirect() bool
IsRedirect returns true when this test script unauthorized response has a 3xx status code
func (*TestScriptUnauthorized) IsServerError ¶
func (o *TestScriptUnauthorized) IsServerError() bool
IsServerError returns true when this test script unauthorized response has a 5xx status code
func (*TestScriptUnauthorized) IsSuccess ¶
func (o *TestScriptUnauthorized) IsSuccess() bool
IsSuccess returns true when this test script unauthorized response has a 2xx status code
func (*TestScriptUnauthorized) String ¶
func (o *TestScriptUnauthorized) String() string
type TestScriptUnprocessableEntity ¶
TestScriptUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewTestScriptUnprocessableEntity ¶
func NewTestScriptUnprocessableEntity() *TestScriptUnprocessableEntity
NewTestScriptUnprocessableEntity creates a TestScriptUnprocessableEntity with default headers values
func (*TestScriptUnprocessableEntity) Code ¶
func (o *TestScriptUnprocessableEntity) Code() int
Code gets the status code for the test script unprocessable entity response
func (*TestScriptUnprocessableEntity) Error ¶
func (o *TestScriptUnprocessableEntity) Error() string
func (*TestScriptUnprocessableEntity) GetPayload ¶
func (o *TestScriptUnprocessableEntity) GetPayload() *models.Error
func (*TestScriptUnprocessableEntity) IsClientError ¶
func (o *TestScriptUnprocessableEntity) IsClientError() bool
IsClientError returns true when this test script unprocessable entity response has a 4xx status code
func (*TestScriptUnprocessableEntity) IsCode ¶
func (o *TestScriptUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this test script unprocessable entity response a status code equal to that given
func (*TestScriptUnprocessableEntity) IsRedirect ¶
func (o *TestScriptUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this test script unprocessable entity response has a 3xx status code
func (*TestScriptUnprocessableEntity) IsServerError ¶
func (o *TestScriptUnprocessableEntity) IsServerError() bool
IsServerError returns true when this test script unprocessable entity response has a 5xx status code
func (*TestScriptUnprocessableEntity) IsSuccess ¶
func (o *TestScriptUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this test script unprocessable entity response has a 2xx status code
func (*TestScriptUnprocessableEntity) String ¶
func (o *TestScriptUnprocessableEntity) 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 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 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) 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) 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
- disable_script_debug_parameters.go
- disable_script_debug_responses.go
- enable_script_debug_parameters.go
- enable_script_debug_responses.go
- get_script_debug_parameters.go
- get_script_debug_responses.go
- get_script_parameters.go
- get_script_responses.go
- list_script_debugs_parameters.go
- list_script_debugs_responses.go
- list_script_execution_points_parameters.go
- list_script_execution_points_responses.go
- list_scripts_parameters.go
- list_scripts_responses.go
- patch_script_parameters.go
- patch_script_responses.go
- scripts_client.go
- set_script_execution_points_parameters.go
- set_script_execution_points_responses.go
- test_script_parameters.go
- test_script_responses.go
- update_script_parameters.go
- update_script_responses.go