organization_forms

package
v1.0.49-rc Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 12 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 organization forms API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new organization forms API client.

func (*Client) CreateFormsConfig added in v1.0.49

func (a *Client) CreateFormsConfig(params *CreateFormsConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFormsConfigOK, error)

CreateFormsConfig Generate a set of configs based on the forms inputs

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) (*ValidateFormsFileOK, error)

ValidateFormsFile Validate a forms file definition

type CreateFormsConfigDefault added in v1.0.49

type CreateFormsConfigDefault struct {
	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

CreateFormsConfigDefault handles this case with default header values.

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

func NewCreateFormsConfigDefault added in v1.0.49

func NewCreateFormsConfigDefault(code int) *CreateFormsConfigDefault

NewCreateFormsConfigDefault creates a CreateFormsConfigDefault with default headers values

func (*CreateFormsConfigDefault) Code added in v1.0.49

func (o *CreateFormsConfigDefault) Code() int

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

func (*CreateFormsConfigDefault) Error added in v1.0.49

func (o *CreateFormsConfigDefault) Error() string

func (*CreateFormsConfigDefault) GetPayload added in v1.0.49

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

type CreateFormsConfigForbidden added in v1.0.49

type CreateFormsConfigForbidden struct {
	Payload *models.ErrorPayload
}

CreateFormsConfigForbidden handles this case with default header values.

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

func NewCreateFormsConfigForbidden added in v1.0.49

func NewCreateFormsConfigForbidden() *CreateFormsConfigForbidden

NewCreateFormsConfigForbidden creates a CreateFormsConfigForbidden with default headers values

func (*CreateFormsConfigForbidden) Error added in v1.0.49

func (*CreateFormsConfigForbidden) GetPayload added in v1.0.49

type CreateFormsConfigNotFound added in v1.0.49

type CreateFormsConfigNotFound struct {
	Payload *models.ErrorPayload
}

CreateFormsConfigNotFound handles this case with default header values.

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

func NewCreateFormsConfigNotFound added in v1.0.49

func NewCreateFormsConfigNotFound() *CreateFormsConfigNotFound

NewCreateFormsConfigNotFound creates a CreateFormsConfigNotFound with default headers values

func (*CreateFormsConfigNotFound) Error added in v1.0.49

func (o *CreateFormsConfigNotFound) Error() string

func (*CreateFormsConfigNotFound) GetPayload added in v1.0.49

type CreateFormsConfigOK added in v1.0.49

type CreateFormsConfigOK struct {
	Payload *CreateFormsConfigOKBody
}

CreateFormsConfigOK handles this case with default header values.

Set of config to create the project / push onto repositories

func NewCreateFormsConfigOK added in v1.0.49

func NewCreateFormsConfigOK() *CreateFormsConfigOK

NewCreateFormsConfigOK creates a CreateFormsConfigOK with default headers values

func (*CreateFormsConfigOK) Error added in v1.0.49

func (o *CreateFormsConfigOK) Error() string

func (*CreateFormsConfigOK) GetPayload added in v1.0.49

type CreateFormsConfigOKBody added in v1.0.49

type CreateFormsConfigOKBody struct {

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

CreateFormsConfigOKBody create forms config o k body swagger:model CreateFormsConfigOKBody

func (*CreateFormsConfigOKBody) MarshalBinary added in v1.0.49

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

MarshalBinary interface implementation

func (*CreateFormsConfigOKBody) UnmarshalBinary added in v1.0.49

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

UnmarshalBinary interface implementation

func (*CreateFormsConfigOKBody) Validate added in v1.0.49

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

Validate validates this create forms config o k body

type CreateFormsConfigParams added in v1.0.49

type CreateFormsConfigParams struct {

	/*Body
	  The information of the filled forms for a new project.

	*/
	Body *models.FormInputs
	/*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
}

CreateFormsConfigParams contains all the parameters to send to the API endpoint for the create forms config operation typically these are written to a http.Request

func NewCreateFormsConfigParams added in v1.0.49

func NewCreateFormsConfigParams() *CreateFormsConfigParams

NewCreateFormsConfigParams creates a new CreateFormsConfigParams object with the default values initialized.

func NewCreateFormsConfigParamsWithContext added in v1.0.49

func NewCreateFormsConfigParamsWithContext(ctx context.Context) *CreateFormsConfigParams

NewCreateFormsConfigParamsWithContext creates a new CreateFormsConfigParams object with the default values initialized, and the ability to set a context for a request

func NewCreateFormsConfigParamsWithHTTPClient added in v1.0.49

func NewCreateFormsConfigParamsWithHTTPClient(client *http.Client) *CreateFormsConfigParams

NewCreateFormsConfigParamsWithHTTPClient creates a new CreateFormsConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateFormsConfigParamsWithTimeout added in v1.0.49

func NewCreateFormsConfigParamsWithTimeout(timeout time.Duration) *CreateFormsConfigParams

NewCreateFormsConfigParamsWithTimeout creates a new CreateFormsConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateFormsConfigParams) SetBody added in v1.0.49

func (o *CreateFormsConfigParams) SetBody(body *models.FormInputs)

SetBody adds the body to the create forms config params

func (*CreateFormsConfigParams) SetContext added in v1.0.49

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

SetContext adds the context to the create forms config params

func (*CreateFormsConfigParams) SetHTTPClient added in v1.0.49

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

SetHTTPClient adds the HTTPClient to the create forms config params

func (*CreateFormsConfigParams) SetOrganizationCanonical added in v1.0.49

func (o *CreateFormsConfigParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create forms config params

func (*CreateFormsConfigParams) SetProjectCanonical added in v1.0.49

func (o *CreateFormsConfigParams) SetProjectCanonical(projectCanonical string)

SetProjectCanonical adds the projectCanonical to the create forms config params

func (*CreateFormsConfigParams) SetTimeout added in v1.0.49

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

SetTimeout adds the timeout to the create forms config params

func (*CreateFormsConfigParams) WithBody added in v1.0.49

WithBody adds the body to the create forms config params

func (*CreateFormsConfigParams) WithContext added in v1.0.49

WithContext adds the context to the create forms config params

func (*CreateFormsConfigParams) WithHTTPClient added in v1.0.49

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

WithHTTPClient adds the HTTPClient to the create forms config params

func (*CreateFormsConfigParams) WithOrganizationCanonical added in v1.0.49

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

WithOrganizationCanonical adds the organizationCanonical to the create forms config params

func (*CreateFormsConfigParams) WithProjectCanonical added in v1.0.49

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

WithProjectCanonical adds the projectCanonical to the create forms config params

func (*CreateFormsConfigParams) WithTimeout added in v1.0.49

WithTimeout adds the timeout to the create forms config params

func (*CreateFormsConfigParams) WriteToRequest added in v1.0.49

WriteToRequest writes these params to a swagger request

type CreateFormsConfigReader added in v1.0.49

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

CreateFormsConfigReader is a Reader for the CreateFormsConfig structure.

func (*CreateFormsConfigReader) ReadResponse added in v1.0.49

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

ReadResponse reads a server response into the received o.

type CreateFormsConfigUnprocessableEntity added in v1.0.49

type CreateFormsConfigUnprocessableEntity struct {
	Payload *models.ErrorPayload
}

CreateFormsConfigUnprocessableEntity handles this case with default header values.

All the custom errors that are generated from the Cycloid API

func NewCreateFormsConfigUnprocessableEntity added in v1.0.49

func NewCreateFormsConfigUnprocessableEntity() *CreateFormsConfigUnprocessableEntity

NewCreateFormsConfigUnprocessableEntity creates a CreateFormsConfigUnprocessableEntity with default headers values

func (*CreateFormsConfigUnprocessableEntity) Error added in v1.0.49

func (*CreateFormsConfigUnprocessableEntity) GetPayload added in v1.0.49

type ValidateFormsFileDefault

type ValidateFormsFileDefault struct {
	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

ValidateFormsFileDefault handles this case 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

type ValidateFormsFileForbidden

type ValidateFormsFileForbidden struct {
	Payload *models.ErrorPayload
}

ValidateFormsFileForbidden handles this case 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) Error

func (*ValidateFormsFileForbidden) GetPayload

type ValidateFormsFileNotFound

type ValidateFormsFileNotFound struct {
	Payload *models.ErrorPayload
}

ValidateFormsFileNotFound handles this case 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) Error

func (o *ValidateFormsFileNotFound) Error() string

func (*ValidateFormsFileNotFound) GetPayload

type ValidateFormsFileOK

type ValidateFormsFileOK struct {
	Payload *ValidateFormsFileOKBody
}

ValidateFormsFileOK handles this case 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) Error

func (o *ValidateFormsFileOK) Error() string

func (*ValidateFormsFileOK) GetPayload

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) 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 values initialized.

func NewValidateFormsFileParamsWithContext

func NewValidateFormsFileParamsWithContext(ctx context.Context) *ValidateFormsFileParams

NewValidateFormsFileParamsWithContext creates a new ValidateFormsFileParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
	Payload *models.ErrorPayload
}

ValidateFormsFileUnprocessableEntity handles this case 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) Error

func (*ValidateFormsFileUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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