scripts

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 is the option for 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.

type CreateScriptBadRequest

type CreateScriptBadRequest struct {
	Payload *models.Error
}

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

type CreateScriptForbidden struct {
	Payload *models.Error
}

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

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

type CreateScriptTooManyRequests struct {
	Payload *models.Error
}

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 (*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 {
	Payload *models.Error
}

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

type DeleteScriptBadRequest struct {
	Payload *models.Error
}

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

type DeleteScriptForbidden struct {
	Payload *models.Error
}

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

type DeleteScriptNotFound struct {
	Payload *models.Error
}

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

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

type DeleteScriptTooManyRequests struct {
	Payload *models.Error
}

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 (*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 {
	Payload *models.Error
}

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

type DisableScriptDebugForbidden struct {
	Payload *models.Error
}

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 (*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 (*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

type DisableScriptDebugNotFound struct {
	Payload *models.Error
}

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 (*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

WithContext adds the context to the disable script debug params

func (*DisableScriptDebugParams) WithDefaults

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

WithScript adds the script to the disable script debug params

func (*DisableScriptDebugParams) WithTimeout

WithTimeout adds the timeout to the disable script debug params

func (*DisableScriptDebugParams) WithWid

WithWid adds the wid to the disable script debug params

func (*DisableScriptDebugParams) WriteToRequest

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

type DisableScriptDebugTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the disable script debug too many requests response

func (*DisableScriptDebugTooManyRequests) Error

func (*DisableScriptDebugTooManyRequests) GetPayload

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

type DisableScriptDebugUnauthorized

type DisableScriptDebugUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the disable script debug unauthorized response

func (*DisableScriptDebugUnauthorized) Error

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

type EnableScriptDebugBadRequest

type EnableScriptDebugBadRequest struct {
	Payload *models.Error
}

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 (*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

type EnableScriptDebugForbidden struct {
	Payload *models.Error
}

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 (*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

type EnableScriptDebugNotFound struct {
	Payload *models.Error
}

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

WithContext adds the context to the enable script debug params

func (*EnableScriptDebugParams) WithDefaults

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

WithScript adds the script to the enable script debug params

func (*EnableScriptDebugParams) WithTimeout

WithTimeout adds the timeout to the enable script debug params

func (*EnableScriptDebugParams) WithWid

WithWid adds the wid to the enable script debug params

func (*EnableScriptDebugParams) WriteToRequest

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

type EnableScriptDebugTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the enable script debug too many requests response

func (*EnableScriptDebugTooManyRequests) Error

func (*EnableScriptDebugTooManyRequests) GetPayload

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

type EnableScriptDebugUnauthorized

type EnableScriptDebugUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the enable script debug unauthorized response

func (*EnableScriptDebugUnauthorized) Error

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

type GetScriptDebugForbidden

type GetScriptDebugForbidden struct {
	Payload *models.Error
}

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

type GetScriptDebugNotFound struct {
	Payload *models.Error
}

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

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

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

type GetScriptDebugTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the get script debug too many requests response

func (*GetScriptDebugTooManyRequests) Error

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

type GetScriptDebugUnauthorized

type GetScriptDebugUnauthorized struct {
	Payload *models.Error
}

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 (*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

type GetScriptForbidden struct {
	Payload *models.Error
}

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

type GetScriptNotFound struct {
	Payload *models.Error
}

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

type GetScriptTooManyRequests struct {
	Payload *models.Error
}

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 {
	Payload *models.Error
}

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

type ListScriptDebugsForbidden struct {
	Payload *models.Error
}

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

WithContext adds the context to the list script debugs params

func (*ListScriptDebugsParams) WithDefaults

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

WithTimeout adds the timeout to the list script debugs params

func (*ListScriptDebugsParams) WithWid

WithWid adds the wid to the list script debugs params

func (*ListScriptDebugsParams) WriteToRequest

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

type ListScriptDebugsTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the list script debugs too many requests response

func (*ListScriptDebugsTooManyRequests) Error

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

type ListScriptDebugsUnauthorized

type ListScriptDebugsUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the list script debugs unauthorized response

func (*ListScriptDebugsUnauthorized) Error

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

type ListScriptExecutionPointsForbidden

type ListScriptExecutionPointsForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the list script execution points forbidden response

func (*ListScriptExecutionPointsForbidden) Error

func (*ListScriptExecutionPointsForbidden) GetPayload

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

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

IsSuccess returns true when this list script execution points forbidden response has a 2xx status code

func (*ListScriptExecutionPointsForbidden) 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 (*ListScriptExecutionPointsOK) GetPayload

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

WithContext adds the context to the list script execution points params

func (*ListScriptExecutionPointsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list script execution points params

func (*ListScriptExecutionPointsParams) WithIfMatch

WithIfMatch adds the ifMatch to the list script execution points params

func (*ListScriptExecutionPointsParams) WithTimeout

WithTimeout adds the timeout to the list script execution points params

func (*ListScriptExecutionPointsParams) WithWid

WithWid adds the wid to the list script execution points params

func (*ListScriptExecutionPointsParams) WriteToRequest

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

type ListScriptExecutionPointsTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the list script execution points too many requests response

func (*ListScriptExecutionPointsTooManyRequests) Error

func (*ListScriptExecutionPointsTooManyRequests) GetPayload

func (*ListScriptExecutionPointsTooManyRequests) IsClientError

IsClientError returns true when this list script execution points too many requests response has a 4xx status code

func (*ListScriptExecutionPointsTooManyRequests) IsCode

IsCode returns true when this list script execution points too many requests response a status code equal to that given

func (*ListScriptExecutionPointsTooManyRequests) IsRedirect

IsRedirect returns true when this list script execution points too many requests response has a 3xx status code

func (*ListScriptExecutionPointsTooManyRequests) IsServerError

IsServerError returns true when this list script execution points too many requests response has a 5xx status code

func (*ListScriptExecutionPointsTooManyRequests) IsSuccess

IsSuccess returns true when this list script execution points too many requests response has a 2xx status code

func (*ListScriptExecutionPointsTooManyRequests) String

type ListScriptExecutionPointsUnauthorized

type ListScriptExecutionPointsUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the list script execution points unauthorized response

func (*ListScriptExecutionPointsUnauthorized) Error

func (*ListScriptExecutionPointsUnauthorized) GetPayload

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

IsCode returns true when this list script execution points unauthorized response a status code equal to that given

func (*ListScriptExecutionPointsUnauthorized) IsRedirect

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

IsSuccess returns true when this list script execution points unauthorized response has a 2xx status code

func (*ListScriptExecutionPointsUnauthorized) String

type ListScriptsBadRequest

type ListScriptsBadRequest struct {
	Payload *models.Error
}

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

type ListScriptsForbidden struct {
	Payload *models.Error
}

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

type ListScriptsTooManyRequests struct {
	Payload *models.Error
}

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 (*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 {
	Payload *models.Error
}

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

type PatchScriptBadRequest struct {
	Payload *models.Error
}

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

type PatchScriptForbidden struct {
	Payload *models.Error
}

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

type PatchScriptNotFound struct {
	Payload *models.Error
}

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

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

type PatchScriptTooManyRequests struct {
	Payload *models.Error
}

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 (*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 {
	Payload *models.Error
}

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

type SetScriptExecutionPointsBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the set script execution points bad request response

func (*SetScriptExecutionPointsBadRequest) Error

func (*SetScriptExecutionPointsBadRequest) GetPayload

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

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

IsSuccess returns true when this set script execution points bad request response has a 2xx status code

func (*SetScriptExecutionPointsBadRequest) String

type SetScriptExecutionPointsConflict

type SetScriptExecutionPointsConflict struct {
	Payload *models.Error
}

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

Code gets the status code for the set script execution points conflict response

func (*SetScriptExecutionPointsConflict) Error

func (*SetScriptExecutionPointsConflict) GetPayload

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

type SetScriptExecutionPointsForbidden

type SetScriptExecutionPointsForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the set script execution points forbidden response

func (*SetScriptExecutionPointsForbidden) Error

func (*SetScriptExecutionPointsForbidden) GetPayload

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

type SetScriptExecutionPointsNotFound

type SetScriptExecutionPointsNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the set script execution points not found response

func (*SetScriptExecutionPointsNotFound) Error

func (*SetScriptExecutionPointsNotFound) GetPayload

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

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 (*SetScriptExecutionPointsOK) GetPayload

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

WithContext adds the context to the set script execution points params

func (*SetScriptExecutionPointsParams) WithDefaults

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

WithEtag adds the etag to the set script execution points params

func (*SetScriptExecutionPointsParams) WithExecutions

WithExecutions adds the executions to the set script execution points params

func (*SetScriptExecutionPointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set script execution points params

func (*SetScriptExecutionPointsParams) WithTimeout

WithTimeout adds the timeout to the set script execution points params

func (*SetScriptExecutionPointsParams) WithWid

WithWid adds the wid to the set script execution points params

func (*SetScriptExecutionPointsParams) WriteToRequest

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

type SetScriptExecutionPointsTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the set script execution points too many requests response

func (*SetScriptExecutionPointsTooManyRequests) Error

func (*SetScriptExecutionPointsTooManyRequests) GetPayload

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

IsCode returns true when this set script execution points too many requests response a status code equal to that given

func (*SetScriptExecutionPointsTooManyRequests) IsRedirect

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

IsSuccess returns true when this set script execution points too many requests response has a 2xx status code

func (*SetScriptExecutionPointsTooManyRequests) String

type SetScriptExecutionPointsUnauthorized

type SetScriptExecutionPointsUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the set script execution points unauthorized response

func (*SetScriptExecutionPointsUnauthorized) Error

func (*SetScriptExecutionPointsUnauthorized) GetPayload

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

IsCode returns true when this set script execution points unauthorized response a status code equal to that given

func (*SetScriptExecutionPointsUnauthorized) IsRedirect

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

IsSuccess returns true when this set script execution points unauthorized response has a 2xx status code

func (*SetScriptExecutionPointsUnauthorized) String

type SetScriptExecutionPointsUnprocessableEntity

type SetScriptExecutionPointsUnprocessableEntity struct {
	Payload *models.Error
}

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

Code gets the status code for the set script execution points unprocessable entity response

func (*SetScriptExecutionPointsUnprocessableEntity) Error

func (*SetScriptExecutionPointsUnprocessableEntity) GetPayload

func (*SetScriptExecutionPointsUnprocessableEntity) IsClientError

IsClientError returns true when this set script execution points unprocessable entity response has a 4xx status code

func (*SetScriptExecutionPointsUnprocessableEntity) IsCode

IsCode returns true when this set script execution points unprocessable entity response a status code equal to that given

func (*SetScriptExecutionPointsUnprocessableEntity) IsRedirect

IsRedirect returns true when this set script execution points unprocessable entity response has a 3xx status code

func (*SetScriptExecutionPointsUnprocessableEntity) IsServerError

IsServerError returns true when this set script execution points unprocessable entity response has a 5xx status code

func (*SetScriptExecutionPointsUnprocessableEntity) IsSuccess

IsSuccess returns true when this set script execution points unprocessable entity response has a 2xx status code

func (*SetScriptExecutionPointsUnprocessableEntity) String

type TestScriptBadRequest

type TestScriptBadRequest struct {
	Payload *models.Error
}

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

type TestScriptConflict struct {
	Payload *models.Error
}

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

type TestScriptForbidden struct {
	Payload *models.Error
}

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

type TestScriptNotFound struct {
	Payload *models.Error
}

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

type TestScriptTooManyRequests struct {
	Payload *models.Error
}

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 {
	Payload *models.Error
}

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

type TestScriptUnprocessableEntity struct {
	Payload *models.Error
}

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

Code gets the status code for the test script unprocessable entity response

func (*TestScriptUnprocessableEntity) Error

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

type UpdateScriptBadRequest

type UpdateScriptBadRequest struct {
	Payload *models.Error
}

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

type UpdateScriptForbidden struct {
	Payload *models.Error
}

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

type UpdateScriptNotFound struct {
	Payload *models.Error
}

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

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

type UpdateScriptTooManyRequests struct {
	Payload *models.Error
}

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 (*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 {
	Payload *models.Error
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL