organization_forms

package
v1.0.99 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationVndCycloidIoV1JSON

func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationVndCycloidIoV1JSON

func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for organization forms API

func (*Client) InterpolateFormsConfig

func (a *Client) InterpolateFormsConfig(params *InterpolateFormsConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InterpolateFormsConfigOK, error)

InterpolateFormsConfig Generate a set of configs based on the forms input but without creating anything

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ValidateFormsFile

func (a *Client) ValidateFormsFile(params *ValidateFormsFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValidateFormsFileOK, error)

ValidateFormsFile Validate a forms file definition

func (*Client) ValuesRefForms

func (a *Client) ValuesRefForms(params *ValuesRefFormsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValuesRefFormsOK, error)

ValuesRefForms Returns the values from the ref

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	InterpolateFormsConfig(params *InterpolateFormsConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InterpolateFormsConfigOK, error)

	ValidateFormsFile(params *ValidateFormsFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValidateFormsFileOK, error)

	ValuesRefForms(params *ValuesRefFormsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ValuesRefFormsOK, 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 organization forms API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new organization forms API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new organization forms API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type InterpolateFormsConfigBody

type InterpolateFormsConfigBody struct {

	// component name
	ComponentName string `json:"component-name,omitempty"`

	// component canonical
	// Required: true
	// Max Length: 100
	// Min Length: 1
	// Pattern: ^[\da-zA-Z]+(?:(?:[\da-zA-Z\-._]+)?[\da-zA-Z])?$
	ComponentCanonical *string `json:"component_canonical"`

	// It's the ref of the Stack, like 'cycloidio:stack-magento'
	// Required: true
	ServiceCatalogRef *string `json:"service_catalog_ref"`

	// use case
	// Required: true
	// Max Length: 100
	// Min Length: 1
	// Pattern: (^[a-z0-9]+(([a-z0-9\-_]+)?[a-z0-9]+)?$)
	UseCase *string `json:"use_case"`

	// vars
	// Required: true
	Vars models.FormVariables `json:"vars"`
}

InterpolateFormsConfigBody interpolate forms config body swagger:model InterpolateFormsConfigBody

func (*InterpolateFormsConfigBody) ContextValidate

func (o *InterpolateFormsConfigBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interpolate forms config body based on the context it is used

func (*InterpolateFormsConfigBody) MarshalBinary

func (o *InterpolateFormsConfigBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterpolateFormsConfigBody) UnmarshalBinary

func (o *InterpolateFormsConfigBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterpolateFormsConfigBody) Validate

func (o *InterpolateFormsConfigBody) Validate(formats strfmt.Registry) error

Validate validates this interpolate forms config body

type InterpolateFormsConfigDefault

type InterpolateFormsConfigDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

InterpolateFormsConfigDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewInterpolateFormsConfigDefault

func NewInterpolateFormsConfigDefault(code int) *InterpolateFormsConfigDefault

NewInterpolateFormsConfigDefault creates a InterpolateFormsConfigDefault with default headers values

func (*InterpolateFormsConfigDefault) Code

Code gets the status code for the interpolate forms config default response

func (*InterpolateFormsConfigDefault) Error

func (*InterpolateFormsConfigDefault) GetPayload

func (*InterpolateFormsConfigDefault) IsClientError

func (o *InterpolateFormsConfigDefault) IsClientError() bool

IsClientError returns true when this interpolate forms config default response has a 4xx status code

func (*InterpolateFormsConfigDefault) IsCode

func (o *InterpolateFormsConfigDefault) IsCode(code int) bool

IsCode returns true when this interpolate forms config default response a status code equal to that given

func (*InterpolateFormsConfigDefault) IsRedirect

func (o *InterpolateFormsConfigDefault) IsRedirect() bool

IsRedirect returns true when this interpolate forms config default response has a 3xx status code

func (*InterpolateFormsConfigDefault) IsServerError

func (o *InterpolateFormsConfigDefault) IsServerError() bool

IsServerError returns true when this interpolate forms config default response has a 5xx status code

func (*InterpolateFormsConfigDefault) IsSuccess

func (o *InterpolateFormsConfigDefault) IsSuccess() bool

IsSuccess returns true when this interpolate forms config default response has a 2xx status code

func (*InterpolateFormsConfigDefault) String

type InterpolateFormsConfigForbidden

type InterpolateFormsConfigForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

InterpolateFormsConfigForbidden describes a response with status code 403, with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewInterpolateFormsConfigForbidden

func NewInterpolateFormsConfigForbidden() *InterpolateFormsConfigForbidden

NewInterpolateFormsConfigForbidden creates a InterpolateFormsConfigForbidden with default headers values

func (*InterpolateFormsConfigForbidden) Code

Code gets the status code for the interpolate forms config forbidden response

func (*InterpolateFormsConfigForbidden) Error

func (*InterpolateFormsConfigForbidden) GetPayload

func (*InterpolateFormsConfigForbidden) IsClientError

func (o *InterpolateFormsConfigForbidden) IsClientError() bool

IsClientError returns true when this interpolate forms config forbidden response has a 4xx status code

func (*InterpolateFormsConfigForbidden) IsCode

func (o *InterpolateFormsConfigForbidden) IsCode(code int) bool

IsCode returns true when this interpolate forms config forbidden response a status code equal to that given

func (*InterpolateFormsConfigForbidden) IsRedirect

func (o *InterpolateFormsConfigForbidden) IsRedirect() bool

IsRedirect returns true when this interpolate forms config forbidden response has a 3xx status code

func (*InterpolateFormsConfigForbidden) IsServerError

func (o *InterpolateFormsConfigForbidden) IsServerError() bool

IsServerError returns true when this interpolate forms config forbidden response has a 5xx status code

func (*InterpolateFormsConfigForbidden) IsSuccess

func (o *InterpolateFormsConfigForbidden) IsSuccess() bool

IsSuccess returns true when this interpolate forms config forbidden response has a 2xx status code

func (*InterpolateFormsConfigForbidden) String

type InterpolateFormsConfigNotFound

type InterpolateFormsConfigNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

InterpolateFormsConfigNotFound describes a response with status code 404, with default header values.

The response sent when any of the entities present in the path is not found.

func NewInterpolateFormsConfigNotFound

func NewInterpolateFormsConfigNotFound() *InterpolateFormsConfigNotFound

NewInterpolateFormsConfigNotFound creates a InterpolateFormsConfigNotFound with default headers values

func (*InterpolateFormsConfigNotFound) Code

Code gets the status code for the interpolate forms config not found response

func (*InterpolateFormsConfigNotFound) Error

func (*InterpolateFormsConfigNotFound) GetPayload

func (*InterpolateFormsConfigNotFound) IsClientError

func (o *InterpolateFormsConfigNotFound) IsClientError() bool

IsClientError returns true when this interpolate forms config not found response has a 4xx status code

func (*InterpolateFormsConfigNotFound) IsCode

func (o *InterpolateFormsConfigNotFound) IsCode(code int) bool

IsCode returns true when this interpolate forms config not found response a status code equal to that given

func (*InterpolateFormsConfigNotFound) IsRedirect

func (o *InterpolateFormsConfigNotFound) IsRedirect() bool

IsRedirect returns true when this interpolate forms config not found response has a 3xx status code

func (*InterpolateFormsConfigNotFound) IsServerError

func (o *InterpolateFormsConfigNotFound) IsServerError() bool

IsServerError returns true when this interpolate forms config not found response has a 5xx status code

func (*InterpolateFormsConfigNotFound) IsSuccess

func (o *InterpolateFormsConfigNotFound) IsSuccess() bool

IsSuccess returns true when this interpolate forms config not found response has a 2xx status code

func (*InterpolateFormsConfigNotFound) String

type InterpolateFormsConfigOK

type InterpolateFormsConfigOK struct {
	Payload *InterpolateFormsConfigOKBody
}

InterpolateFormsConfigOK describes a response with status code 200, with default header values.

Configuration generated based on the forms input

func NewInterpolateFormsConfigOK

func NewInterpolateFormsConfigOK() *InterpolateFormsConfigOK

NewInterpolateFormsConfigOK creates a InterpolateFormsConfigOK with default headers values

func (*InterpolateFormsConfigOK) Code

func (o *InterpolateFormsConfigOK) Code() int

Code gets the status code for the interpolate forms config o k response

func (*InterpolateFormsConfigOK) Error

func (o *InterpolateFormsConfigOK) Error() string

func (*InterpolateFormsConfigOK) GetPayload

func (*InterpolateFormsConfigOK) IsClientError

func (o *InterpolateFormsConfigOK) IsClientError() bool

IsClientError returns true when this interpolate forms config o k response has a 4xx status code

func (*InterpolateFormsConfigOK) IsCode

func (o *InterpolateFormsConfigOK) IsCode(code int) bool

IsCode returns true when this interpolate forms config o k response a status code equal to that given

func (*InterpolateFormsConfigOK) IsRedirect

func (o *InterpolateFormsConfigOK) IsRedirect() bool

IsRedirect returns true when this interpolate forms config o k response has a 3xx status code

func (*InterpolateFormsConfigOK) IsServerError

func (o *InterpolateFormsConfigOK) IsServerError() bool

IsServerError returns true when this interpolate forms config o k response has a 5xx status code

func (*InterpolateFormsConfigOK) IsSuccess

func (o *InterpolateFormsConfigOK) IsSuccess() bool

IsSuccess returns true when this interpolate forms config o k response has a 2xx status code

func (*InterpolateFormsConfigOK) String

func (o *InterpolateFormsConfigOK) String() string

type InterpolateFormsConfigOKBody

type InterpolateFormsConfigOKBody struct {

	// data
	// Required: true
	Data *models.ServiceCatalogConfig `json:"data"`
}

InterpolateFormsConfigOKBody interpolate forms config o k body swagger:model InterpolateFormsConfigOKBody

func (*InterpolateFormsConfigOKBody) ContextValidate

func (o *InterpolateFormsConfigOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interpolate forms config o k body based on the context it is used

func (*InterpolateFormsConfigOKBody) MarshalBinary

func (o *InterpolateFormsConfigOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InterpolateFormsConfigOKBody) UnmarshalBinary

func (o *InterpolateFormsConfigOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InterpolateFormsConfigOKBody) Validate

func (o *InterpolateFormsConfigOKBody) Validate(formats strfmt.Registry) error

Validate validates this interpolate forms config o k body

type InterpolateFormsConfigParams

type InterpolateFormsConfigParams struct {

	/* Body.

	     The information of the filled forms for a new project environment.
	Warning: this endpoint isn't creating anything, it's just returning the configuration that would be created.

	*/
	Body InterpolateFormsConfigBody

	/* EnvironmentCanonical.

	   The environment canonical to use as part of a path
	*/
	EnvironmentCanonical string

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* ProjectCanonical.

	   A canonical of a project.
	*/
	ProjectCanonical string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InterpolateFormsConfigParams contains all the parameters to send to the API endpoint

for the interpolate forms config operation.

Typically these are written to a http.Request.

func NewInterpolateFormsConfigParams

func NewInterpolateFormsConfigParams() *InterpolateFormsConfigParams

NewInterpolateFormsConfigParams creates a new InterpolateFormsConfigParams 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 NewInterpolateFormsConfigParamsWithContext

func NewInterpolateFormsConfigParamsWithContext(ctx context.Context) *InterpolateFormsConfigParams

NewInterpolateFormsConfigParamsWithContext creates a new InterpolateFormsConfigParams object with the ability to set a context for a request.

func NewInterpolateFormsConfigParamsWithHTTPClient

func NewInterpolateFormsConfigParamsWithHTTPClient(client *http.Client) *InterpolateFormsConfigParams

NewInterpolateFormsConfigParamsWithHTTPClient creates a new InterpolateFormsConfigParams object with the ability to set a custom HTTPClient for a request.

func NewInterpolateFormsConfigParamsWithTimeout

func NewInterpolateFormsConfigParamsWithTimeout(timeout time.Duration) *InterpolateFormsConfigParams

NewInterpolateFormsConfigParamsWithTimeout creates a new InterpolateFormsConfigParams object with the ability to set a timeout on a request.

func (*InterpolateFormsConfigParams) SetBody

SetBody adds the body to the interpolate forms config params

func (*InterpolateFormsConfigParams) SetContext

func (o *InterpolateFormsConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the interpolate forms config params

func (*InterpolateFormsConfigParams) SetDefaults

func (o *InterpolateFormsConfigParams) SetDefaults()

SetDefaults hydrates default values in the interpolate forms config params (not the query body).

All values with no default are reset to their zero value.

func (*InterpolateFormsConfigParams) SetEnvironmentCanonical

func (o *InterpolateFormsConfigParams) SetEnvironmentCanonical(environmentCanonical string)

SetEnvironmentCanonical adds the environmentCanonical to the interpolate forms config params

func (*InterpolateFormsConfigParams) SetHTTPClient

func (o *InterpolateFormsConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the interpolate forms config params

func (*InterpolateFormsConfigParams) SetOrganizationCanonical

func (o *InterpolateFormsConfigParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the interpolate forms config params

func (*InterpolateFormsConfigParams) SetProjectCanonical

func (o *InterpolateFormsConfigParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the interpolate forms config params

func (*InterpolateFormsConfigParams) SetTimeout

func (o *InterpolateFormsConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the interpolate forms config params

func (*InterpolateFormsConfigParams) WithBody

WithBody adds the body to the interpolate forms config params

func (*InterpolateFormsConfigParams) WithContext

WithContext adds the context to the interpolate forms config params

func (*InterpolateFormsConfigParams) WithDefaults

WithDefaults hydrates default values in the interpolate forms config params (not the query body).

All values with no default are reset to their zero value.

func (*InterpolateFormsConfigParams) WithEnvironmentCanonical

func (o *InterpolateFormsConfigParams) WithEnvironmentCanonical(environmentCanonical string) *InterpolateFormsConfigParams

WithEnvironmentCanonical adds the environmentCanonical to the interpolate forms config params

func (*InterpolateFormsConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the interpolate forms config params

func (*InterpolateFormsConfigParams) WithOrganizationCanonical

func (o *InterpolateFormsConfigParams) WithOrganizationCanonical(organizationCanonical string) *InterpolateFormsConfigParams

WithOrganizationCanonical adds the organizationCanonical to the interpolate forms config params

func (*InterpolateFormsConfigParams) WithProjectCanonical

func (o *InterpolateFormsConfigParams) WithProjectCanonical(projectCanonical string) *InterpolateFormsConfigParams

WithProjectCanonical adds the projectCanonical to the interpolate forms config params

func (*InterpolateFormsConfigParams) WithTimeout

WithTimeout adds the timeout to the interpolate forms config params

func (*InterpolateFormsConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InterpolateFormsConfigReader

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

InterpolateFormsConfigReader is a Reader for the InterpolateFormsConfig structure.

func (*InterpolateFormsConfigReader) ReadResponse

func (o *InterpolateFormsConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InterpolateFormsConfigUnprocessableEntity

type InterpolateFormsConfigUnprocessableEntity struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

InterpolateFormsConfigUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewInterpolateFormsConfigUnprocessableEntity

func NewInterpolateFormsConfigUnprocessableEntity() *InterpolateFormsConfigUnprocessableEntity

NewInterpolateFormsConfigUnprocessableEntity creates a InterpolateFormsConfigUnprocessableEntity with default headers values

func (*InterpolateFormsConfigUnprocessableEntity) Code

Code gets the status code for the interpolate forms config unprocessable entity response

func (*InterpolateFormsConfigUnprocessableEntity) Error

func (*InterpolateFormsConfigUnprocessableEntity) GetPayload

func (*InterpolateFormsConfigUnprocessableEntity) IsClientError

IsClientError returns true when this interpolate forms config unprocessable entity response has a 4xx status code

func (*InterpolateFormsConfigUnprocessableEntity) IsCode

IsCode returns true when this interpolate forms config unprocessable entity response a status code equal to that given

func (*InterpolateFormsConfigUnprocessableEntity) IsRedirect

IsRedirect returns true when this interpolate forms config unprocessable entity response has a 3xx status code

func (*InterpolateFormsConfigUnprocessableEntity) IsServerError

IsServerError returns true when this interpolate forms config unprocessable entity response has a 5xx status code

func (*InterpolateFormsConfigUnprocessableEntity) IsSuccess

IsSuccess returns true when this interpolate forms config unprocessable entity response has a 2xx status code

func (*InterpolateFormsConfigUnprocessableEntity) String

type ValidateFormsFileDefault

type ValidateFormsFileDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

ValidateFormsFileDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewValidateFormsFileDefault

func NewValidateFormsFileDefault(code int) *ValidateFormsFileDefault

NewValidateFormsFileDefault creates a ValidateFormsFileDefault with default headers values

func (*ValidateFormsFileDefault) Code

func (o *ValidateFormsFileDefault) Code() int

Code gets the status code for the validate forms file default response

func (*ValidateFormsFileDefault) Error

func (o *ValidateFormsFileDefault) Error() string

func (*ValidateFormsFileDefault) GetPayload

func (o *ValidateFormsFileDefault) GetPayload() *models.ErrorPayload

func (*ValidateFormsFileDefault) IsClientError

func (o *ValidateFormsFileDefault) IsClientError() bool

IsClientError returns true when this validate forms file default response has a 4xx status code

func (*ValidateFormsFileDefault) IsCode

func (o *ValidateFormsFileDefault) IsCode(code int) bool

IsCode returns true when this validate forms file default response a status code equal to that given

func (*ValidateFormsFileDefault) IsRedirect

func (o *ValidateFormsFileDefault) IsRedirect() bool

IsRedirect returns true when this validate forms file default response has a 3xx status code

func (*ValidateFormsFileDefault) IsServerError

func (o *ValidateFormsFileDefault) IsServerError() bool

IsServerError returns true when this validate forms file default response has a 5xx status code

func (*ValidateFormsFileDefault) IsSuccess

func (o *ValidateFormsFileDefault) IsSuccess() bool

IsSuccess returns true when this validate forms file default response has a 2xx status code

func (*ValidateFormsFileDefault) String

func (o *ValidateFormsFileDefault) String() string

type ValidateFormsFileForbidden

type ValidateFormsFileForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

ValidateFormsFileForbidden describes a response with status code 403, with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewValidateFormsFileForbidden

func NewValidateFormsFileForbidden() *ValidateFormsFileForbidden

NewValidateFormsFileForbidden creates a ValidateFormsFileForbidden with default headers values

func (*ValidateFormsFileForbidden) Code

func (o *ValidateFormsFileForbidden) Code() int

Code gets the status code for the validate forms file forbidden response

func (*ValidateFormsFileForbidden) Error

func (*ValidateFormsFileForbidden) GetPayload

func (*ValidateFormsFileForbidden) IsClientError

func (o *ValidateFormsFileForbidden) IsClientError() bool

IsClientError returns true when this validate forms file forbidden response has a 4xx status code

func (*ValidateFormsFileForbidden) IsCode

func (o *ValidateFormsFileForbidden) IsCode(code int) bool

IsCode returns true when this validate forms file forbidden response a status code equal to that given

func (*ValidateFormsFileForbidden) IsRedirect

func (o *ValidateFormsFileForbidden) IsRedirect() bool

IsRedirect returns true when this validate forms file forbidden response has a 3xx status code

func (*ValidateFormsFileForbidden) IsServerError

func (o *ValidateFormsFileForbidden) IsServerError() bool

IsServerError returns true when this validate forms file forbidden response has a 5xx status code

func (*ValidateFormsFileForbidden) IsSuccess

func (o *ValidateFormsFileForbidden) IsSuccess() bool

IsSuccess returns true when this validate forms file forbidden response has a 2xx status code

func (*ValidateFormsFileForbidden) String

func (o *ValidateFormsFileForbidden) String() string

type ValidateFormsFileNotFound

type ValidateFormsFileNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

ValidateFormsFileNotFound describes a response with status code 404, with default header values.

The response sent when any of the entities present in the path is not found.

func NewValidateFormsFileNotFound

func NewValidateFormsFileNotFound() *ValidateFormsFileNotFound

NewValidateFormsFileNotFound creates a ValidateFormsFileNotFound with default headers values

func (*ValidateFormsFileNotFound) Code

func (o *ValidateFormsFileNotFound) Code() int

Code gets the status code for the validate forms file not found response

func (*ValidateFormsFileNotFound) Error

func (o *ValidateFormsFileNotFound) Error() string

func (*ValidateFormsFileNotFound) GetPayload

func (*ValidateFormsFileNotFound) IsClientError

func (o *ValidateFormsFileNotFound) IsClientError() bool

IsClientError returns true when this validate forms file not found response has a 4xx status code

func (*ValidateFormsFileNotFound) IsCode

func (o *ValidateFormsFileNotFound) IsCode(code int) bool

IsCode returns true when this validate forms file not found response a status code equal to that given

func (*ValidateFormsFileNotFound) IsRedirect

func (o *ValidateFormsFileNotFound) IsRedirect() bool

IsRedirect returns true when this validate forms file not found response has a 3xx status code

func (*ValidateFormsFileNotFound) IsServerError

func (o *ValidateFormsFileNotFound) IsServerError() bool

IsServerError returns true when this validate forms file not found response has a 5xx status code

func (*ValidateFormsFileNotFound) IsSuccess

func (o *ValidateFormsFileNotFound) IsSuccess() bool

IsSuccess returns true when this validate forms file not found response has a 2xx status code

func (*ValidateFormsFileNotFound) String

func (o *ValidateFormsFileNotFound) String() string

type ValidateFormsFileOK

type ValidateFormsFileOK struct {
	Payload *ValidateFormsFileOKBody
}

ValidateFormsFileOK describes a response with status code 200, with default header values.

The result of validating the provided configuration

func NewValidateFormsFileOK

func NewValidateFormsFileOK() *ValidateFormsFileOK

NewValidateFormsFileOK creates a ValidateFormsFileOK with default headers values

func (*ValidateFormsFileOK) Code

func (o *ValidateFormsFileOK) Code() int

Code gets the status code for the validate forms file o k response

func (*ValidateFormsFileOK) Error

func (o *ValidateFormsFileOK) Error() string

func (*ValidateFormsFileOK) GetPayload

func (*ValidateFormsFileOK) IsClientError

func (o *ValidateFormsFileOK) IsClientError() bool

IsClientError returns true when this validate forms file o k response has a 4xx status code

func (*ValidateFormsFileOK) IsCode

func (o *ValidateFormsFileOK) IsCode(code int) bool

IsCode returns true when this validate forms file o k response a status code equal to that given

func (*ValidateFormsFileOK) IsRedirect

func (o *ValidateFormsFileOK) IsRedirect() bool

IsRedirect returns true when this validate forms file o k response has a 3xx status code

func (*ValidateFormsFileOK) IsServerError

func (o *ValidateFormsFileOK) IsServerError() bool

IsServerError returns true when this validate forms file o k response has a 5xx status code

func (*ValidateFormsFileOK) IsSuccess

func (o *ValidateFormsFileOK) IsSuccess() bool

IsSuccess returns true when this validate forms file o k response has a 2xx status code

func (*ValidateFormsFileOK) String

func (o *ValidateFormsFileOK) String() string

type ValidateFormsFileOKBody

type ValidateFormsFileOKBody struct {

	// data
	// Required: true
	Data *models.FormsValidationResult `json:"data"`
}

ValidateFormsFileOKBody validate forms file o k body swagger:model ValidateFormsFileOKBody

func (*ValidateFormsFileOKBody) ContextValidate

func (o *ValidateFormsFileOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this validate forms file o k body based on the context it is used

func (*ValidateFormsFileOKBody) MarshalBinary

func (o *ValidateFormsFileOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ValidateFormsFileOKBody) UnmarshalBinary

func (o *ValidateFormsFileOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ValidateFormsFileOKBody) Validate

func (o *ValidateFormsFileOKBody) Validate(formats strfmt.Registry) error

Validate validates this validate forms file o k body

type ValidateFormsFileParams

type ValidateFormsFileParams struct {

	/* Body.

	   The content of the forms file to be validated.
	*/
	Body *models.FormsValidation

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateFormsFileParams contains all the parameters to send to the API endpoint

for the validate forms file operation.

Typically these are written to a http.Request.

func NewValidateFormsFileParams

func NewValidateFormsFileParams() *ValidateFormsFileParams

NewValidateFormsFileParams creates a new ValidateFormsFileParams 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 NewValidateFormsFileParamsWithContext

func NewValidateFormsFileParamsWithContext(ctx context.Context) *ValidateFormsFileParams

NewValidateFormsFileParamsWithContext creates a new ValidateFormsFileParams object with the ability to set a context for a request.

func NewValidateFormsFileParamsWithHTTPClient

func NewValidateFormsFileParamsWithHTTPClient(client *http.Client) *ValidateFormsFileParams

NewValidateFormsFileParamsWithHTTPClient creates a new ValidateFormsFileParams object with the ability to set a custom HTTPClient for a request.

func NewValidateFormsFileParamsWithTimeout

func NewValidateFormsFileParamsWithTimeout(timeout time.Duration) *ValidateFormsFileParams

NewValidateFormsFileParamsWithTimeout creates a new ValidateFormsFileParams object with the ability to set a timeout on a request.

func (*ValidateFormsFileParams) SetBody

SetBody adds the body to the validate forms file params

func (*ValidateFormsFileParams) SetContext

func (o *ValidateFormsFileParams) SetContext(ctx context.Context)

SetContext adds the context to the validate forms file params

func (*ValidateFormsFileParams) SetDefaults

func (o *ValidateFormsFileParams) SetDefaults()

SetDefaults hydrates default values in the validate forms file params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateFormsFileParams) SetHTTPClient

func (o *ValidateFormsFileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate forms file params

func (*ValidateFormsFileParams) SetOrganizationCanonical

func (o *ValidateFormsFileParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the validate forms file params

func (*ValidateFormsFileParams) SetTimeout

func (o *ValidateFormsFileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate forms file params

func (*ValidateFormsFileParams) WithBody

WithBody adds the body to the validate forms file params

func (*ValidateFormsFileParams) WithContext

WithContext adds the context to the validate forms file params

func (*ValidateFormsFileParams) WithDefaults

WithDefaults hydrates default values in the validate forms file params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateFormsFileParams) WithHTTPClient

func (o *ValidateFormsFileParams) WithHTTPClient(client *http.Client) *ValidateFormsFileParams

WithHTTPClient adds the HTTPClient to the validate forms file params

func (*ValidateFormsFileParams) WithOrganizationCanonical

func (o *ValidateFormsFileParams) WithOrganizationCanonical(organizationCanonical string) *ValidateFormsFileParams

WithOrganizationCanonical adds the organizationCanonical to the validate forms file params

func (*ValidateFormsFileParams) WithTimeout

WithTimeout adds the timeout to the validate forms file params

func (*ValidateFormsFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateFormsFileReader

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

ValidateFormsFileReader is a Reader for the ValidateFormsFile structure.

func (*ValidateFormsFileReader) ReadResponse

func (o *ValidateFormsFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateFormsFileUnprocessableEntity

type ValidateFormsFileUnprocessableEntity struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

ValidateFormsFileUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewValidateFormsFileUnprocessableEntity

func NewValidateFormsFileUnprocessableEntity() *ValidateFormsFileUnprocessableEntity

NewValidateFormsFileUnprocessableEntity creates a ValidateFormsFileUnprocessableEntity with default headers values

func (*ValidateFormsFileUnprocessableEntity) Code

Code gets the status code for the validate forms file unprocessable entity response

func (*ValidateFormsFileUnprocessableEntity) Error

func (*ValidateFormsFileUnprocessableEntity) GetPayload

func (*ValidateFormsFileUnprocessableEntity) IsClientError

func (o *ValidateFormsFileUnprocessableEntity) IsClientError() bool

IsClientError returns true when this validate forms file unprocessable entity response has a 4xx status code

func (*ValidateFormsFileUnprocessableEntity) IsCode

IsCode returns true when this validate forms file unprocessable entity response a status code equal to that given

func (*ValidateFormsFileUnprocessableEntity) IsRedirect

IsRedirect returns true when this validate forms file unprocessable entity response has a 3xx status code

func (*ValidateFormsFileUnprocessableEntity) IsServerError

func (o *ValidateFormsFileUnprocessableEntity) IsServerError() bool

IsServerError returns true when this validate forms file unprocessable entity response has a 5xx status code

func (*ValidateFormsFileUnprocessableEntity) IsSuccess

IsSuccess returns true when this validate forms file unprocessable entity response has a 2xx status code

func (*ValidateFormsFileUnprocessableEntity) String

type ValuesRefFormsDefault

type ValuesRefFormsDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

ValuesRefFormsDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewValuesRefFormsDefault

func NewValuesRefFormsDefault(code int) *ValuesRefFormsDefault

NewValuesRefFormsDefault creates a ValuesRefFormsDefault with default headers values

func (*ValuesRefFormsDefault) Code

func (o *ValuesRefFormsDefault) Code() int

Code gets the status code for the values ref forms default response

func (*ValuesRefFormsDefault) Error

func (o *ValuesRefFormsDefault) Error() string

func (*ValuesRefFormsDefault) GetPayload

func (o *ValuesRefFormsDefault) GetPayload() *models.ErrorPayload

func (*ValuesRefFormsDefault) IsClientError

func (o *ValuesRefFormsDefault) IsClientError() bool

IsClientError returns true when this values ref forms default response has a 4xx status code

func (*ValuesRefFormsDefault) IsCode

func (o *ValuesRefFormsDefault) IsCode(code int) bool

IsCode returns true when this values ref forms default response a status code equal to that given

func (*ValuesRefFormsDefault) IsRedirect

func (o *ValuesRefFormsDefault) IsRedirect() bool

IsRedirect returns true when this values ref forms default response has a 3xx status code

func (*ValuesRefFormsDefault) IsServerError

func (o *ValuesRefFormsDefault) IsServerError() bool

IsServerError returns true when this values ref forms default response has a 5xx status code

func (*ValuesRefFormsDefault) IsSuccess

func (o *ValuesRefFormsDefault) IsSuccess() bool

IsSuccess returns true when this values ref forms default response has a 2xx status code

func (*ValuesRefFormsDefault) String

func (o *ValuesRefFormsDefault) String() string

type ValuesRefFormsForbidden

type ValuesRefFormsForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

ValuesRefFormsForbidden describes a response with status code 403, with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewValuesRefFormsForbidden

func NewValuesRefFormsForbidden() *ValuesRefFormsForbidden

NewValuesRefFormsForbidden creates a ValuesRefFormsForbidden with default headers values

func (*ValuesRefFormsForbidden) Code

func (o *ValuesRefFormsForbidden) Code() int

Code gets the status code for the values ref forms forbidden response

func (*ValuesRefFormsForbidden) Error

func (o *ValuesRefFormsForbidden) Error() string

func (*ValuesRefFormsForbidden) GetPayload

func (o *ValuesRefFormsForbidden) GetPayload() *models.ErrorPayload

func (*ValuesRefFormsForbidden) IsClientError

func (o *ValuesRefFormsForbidden) IsClientError() bool

IsClientError returns true when this values ref forms forbidden response has a 4xx status code

func (*ValuesRefFormsForbidden) IsCode

func (o *ValuesRefFormsForbidden) IsCode(code int) bool

IsCode returns true when this values ref forms forbidden response a status code equal to that given

func (*ValuesRefFormsForbidden) IsRedirect

func (o *ValuesRefFormsForbidden) IsRedirect() bool

IsRedirect returns true when this values ref forms forbidden response has a 3xx status code

func (*ValuesRefFormsForbidden) IsServerError

func (o *ValuesRefFormsForbidden) IsServerError() bool

IsServerError returns true when this values ref forms forbidden response has a 5xx status code

func (*ValuesRefFormsForbidden) IsSuccess

func (o *ValuesRefFormsForbidden) IsSuccess() bool

IsSuccess returns true when this values ref forms forbidden response has a 2xx status code

func (*ValuesRefFormsForbidden) String

func (o *ValuesRefFormsForbidden) String() string

type ValuesRefFormsNotFound

type ValuesRefFormsNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

ValuesRefFormsNotFound describes a response with status code 404, with default header values.

The response sent when any of the entities present in the path is not found.

func NewValuesRefFormsNotFound

func NewValuesRefFormsNotFound() *ValuesRefFormsNotFound

NewValuesRefFormsNotFound creates a ValuesRefFormsNotFound with default headers values

func (*ValuesRefFormsNotFound) Code

func (o *ValuesRefFormsNotFound) Code() int

Code gets the status code for the values ref forms not found response

func (*ValuesRefFormsNotFound) Error

func (o *ValuesRefFormsNotFound) Error() string

func (*ValuesRefFormsNotFound) GetPayload

func (o *ValuesRefFormsNotFound) GetPayload() *models.ErrorPayload

func (*ValuesRefFormsNotFound) IsClientError

func (o *ValuesRefFormsNotFound) IsClientError() bool

IsClientError returns true when this values ref forms not found response has a 4xx status code

func (*ValuesRefFormsNotFound) IsCode

func (o *ValuesRefFormsNotFound) IsCode(code int) bool

IsCode returns true when this values ref forms not found response a status code equal to that given

func (*ValuesRefFormsNotFound) IsRedirect

func (o *ValuesRefFormsNotFound) IsRedirect() bool

IsRedirect returns true when this values ref forms not found response has a 3xx status code

func (*ValuesRefFormsNotFound) IsServerError

func (o *ValuesRefFormsNotFound) IsServerError() bool

IsServerError returns true when this values ref forms not found response has a 5xx status code

func (*ValuesRefFormsNotFound) IsSuccess

func (o *ValuesRefFormsNotFound) IsSuccess() bool

IsSuccess returns true when this values ref forms not found response has a 2xx status code

func (*ValuesRefFormsNotFound) String

func (o *ValuesRefFormsNotFound) String() string

type ValuesRefFormsOK

type ValuesRefFormsOK struct {
	Payload *ValuesRefFormsOKBody
}

ValuesRefFormsOK describes a response with status code 200, with default header values.

The result pulling the values from the url

func NewValuesRefFormsOK

func NewValuesRefFormsOK() *ValuesRefFormsOK

NewValuesRefFormsOK creates a ValuesRefFormsOK with default headers values

func (*ValuesRefFormsOK) Code

func (o *ValuesRefFormsOK) Code() int

Code gets the status code for the values ref forms o k response

func (*ValuesRefFormsOK) Error

func (o *ValuesRefFormsOK) Error() string

func (*ValuesRefFormsOK) GetPayload

func (o *ValuesRefFormsOK) GetPayload() *ValuesRefFormsOKBody

func (*ValuesRefFormsOK) IsClientError

func (o *ValuesRefFormsOK) IsClientError() bool

IsClientError returns true when this values ref forms o k response has a 4xx status code

func (*ValuesRefFormsOK) IsCode

func (o *ValuesRefFormsOK) IsCode(code int) bool

IsCode returns true when this values ref forms o k response a status code equal to that given

func (*ValuesRefFormsOK) IsRedirect

func (o *ValuesRefFormsOK) IsRedirect() bool

IsRedirect returns true when this values ref forms o k response has a 3xx status code

func (*ValuesRefFormsOK) IsServerError

func (o *ValuesRefFormsOK) IsServerError() bool

IsServerError returns true when this values ref forms o k response has a 5xx status code

func (*ValuesRefFormsOK) IsSuccess

func (o *ValuesRefFormsOK) IsSuccess() bool

IsSuccess returns true when this values ref forms o k response has a 2xx status code

func (*ValuesRefFormsOK) String

func (o *ValuesRefFormsOK) String() string

type ValuesRefFormsOKBody

type ValuesRefFormsOKBody struct {

	// data
	// Required: true
	Data interface{} `json:"data"`
}

ValuesRefFormsOKBody values ref forms o k body swagger:model ValuesRefFormsOKBody

func (*ValuesRefFormsOKBody) ContextValidate

func (o *ValuesRefFormsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this values ref forms o k body based on context it is used

func (*ValuesRefFormsOKBody) MarshalBinary

func (o *ValuesRefFormsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ValuesRefFormsOKBody) UnmarshalBinary

func (o *ValuesRefFormsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ValuesRefFormsOKBody) Validate

func (o *ValuesRefFormsOKBody) Validate(formats strfmt.Registry) error

Validate validates this values ref forms o k body

type ValuesRefFormsParams

type ValuesRefFormsParams struct {

	/* Body.

	   The URL to fetch the values from
	*/
	Body *models.FormsValuesRef

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValuesRefFormsParams contains all the parameters to send to the API endpoint

for the values ref forms operation.

Typically these are written to a http.Request.

func NewValuesRefFormsParams

func NewValuesRefFormsParams() *ValuesRefFormsParams

NewValuesRefFormsParams creates a new ValuesRefFormsParams 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 NewValuesRefFormsParamsWithContext

func NewValuesRefFormsParamsWithContext(ctx context.Context) *ValuesRefFormsParams

NewValuesRefFormsParamsWithContext creates a new ValuesRefFormsParams object with the ability to set a context for a request.

func NewValuesRefFormsParamsWithHTTPClient

func NewValuesRefFormsParamsWithHTTPClient(client *http.Client) *ValuesRefFormsParams

NewValuesRefFormsParamsWithHTTPClient creates a new ValuesRefFormsParams object with the ability to set a custom HTTPClient for a request.

func NewValuesRefFormsParamsWithTimeout

func NewValuesRefFormsParamsWithTimeout(timeout time.Duration) *ValuesRefFormsParams

NewValuesRefFormsParamsWithTimeout creates a new ValuesRefFormsParams object with the ability to set a timeout on a request.

func (*ValuesRefFormsParams) SetBody

func (o *ValuesRefFormsParams) SetBody(body *models.FormsValuesRef)

SetBody adds the body to the values ref forms params

func (*ValuesRefFormsParams) SetContext

func (o *ValuesRefFormsParams) SetContext(ctx context.Context)

SetContext adds the context to the values ref forms params

func (*ValuesRefFormsParams) SetDefaults

func (o *ValuesRefFormsParams) SetDefaults()

SetDefaults hydrates default values in the values ref forms params (not the query body).

All values with no default are reset to their zero value.

func (*ValuesRefFormsParams) SetHTTPClient

func (o *ValuesRefFormsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the values ref forms params

func (*ValuesRefFormsParams) SetOrganizationCanonical

func (o *ValuesRefFormsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the values ref forms params

func (*ValuesRefFormsParams) SetTimeout

func (o *ValuesRefFormsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the values ref forms params

func (*ValuesRefFormsParams) WithBody

WithBody adds the body to the values ref forms params

func (*ValuesRefFormsParams) WithContext

WithContext adds the context to the values ref forms params

func (*ValuesRefFormsParams) WithDefaults

func (o *ValuesRefFormsParams) WithDefaults() *ValuesRefFormsParams

WithDefaults hydrates default values in the values ref forms params (not the query body).

All values with no default are reset to their zero value.

func (*ValuesRefFormsParams) WithHTTPClient

func (o *ValuesRefFormsParams) WithHTTPClient(client *http.Client) *ValuesRefFormsParams

WithHTTPClient adds the HTTPClient to the values ref forms params

func (*ValuesRefFormsParams) WithOrganizationCanonical

func (o *ValuesRefFormsParams) WithOrganizationCanonical(organizationCanonical string) *ValuesRefFormsParams

WithOrganizationCanonical adds the organizationCanonical to the values ref forms params

func (*ValuesRefFormsParams) WithTimeout

func (o *ValuesRefFormsParams) WithTimeout(timeout time.Duration) *ValuesRefFormsParams

WithTimeout adds the timeout to the values ref forms params

func (*ValuesRefFormsParams) WriteToRequest

func (o *ValuesRefFormsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ValuesRefFormsReader

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

ValuesRefFormsReader is a Reader for the ValuesRefForms structure.

func (*ValuesRefFormsReader) ReadResponse

func (o *ValuesRefFormsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValuesRefFormsUnprocessableEntity

type ValuesRefFormsUnprocessableEntity struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

ValuesRefFormsUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewValuesRefFormsUnprocessableEntity

func NewValuesRefFormsUnprocessableEntity() *ValuesRefFormsUnprocessableEntity

NewValuesRefFormsUnprocessableEntity creates a ValuesRefFormsUnprocessableEntity with default headers values

func (*ValuesRefFormsUnprocessableEntity) Code

Code gets the status code for the values ref forms unprocessable entity response

func (*ValuesRefFormsUnprocessableEntity) Error

func (*ValuesRefFormsUnprocessableEntity) GetPayload

func (*ValuesRefFormsUnprocessableEntity) IsClientError

func (o *ValuesRefFormsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this values ref forms unprocessable entity response has a 4xx status code

func (*ValuesRefFormsUnprocessableEntity) IsCode

func (o *ValuesRefFormsUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this values ref forms unprocessable entity response a status code equal to that given

func (*ValuesRefFormsUnprocessableEntity) IsRedirect

func (o *ValuesRefFormsUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this values ref forms unprocessable entity response has a 3xx status code

func (*ValuesRefFormsUnprocessableEntity) IsServerError

func (o *ValuesRefFormsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this values ref forms unprocessable entity response has a 5xx status code

func (*ValuesRefFormsUnprocessableEntity) IsSuccess

func (o *ValuesRefFormsUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this values ref forms unprocessable entity response has a 2xx status code

func (*ValuesRefFormsUnprocessableEntity) String

Jump to

Keyboard shortcuts

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