blueprint_validation

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 10 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 blueprint validation API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ValidateBlueprintUsingPOST1 added in v0.2.0

func (a *Client) ValidateBlueprintUsingPOST1(params *ValidateBlueprintUsingPOST1Params, opts ...ClientOption) (*ValidateBlueprintUsingPOST1OK, error)

ValidateBlueprintUsingPOST1 validates a blueprint

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	ValidateBlueprintUsingPOST1(params *ValidateBlueprintUsingPOST1Params, opts ...ClientOption) (*ValidateBlueprintUsingPOST1OK, 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 blueprint validation API client.

type ValidateBlueprintUsingPOST1BadRequest added in v0.2.0

type ValidateBlueprintUsingPOST1BadRequest struct {
	Payload *models.Error
}
ValidateBlueprintUsingPOST1BadRequest describes a response with status code 400, with default header values.

Bad Request

func NewValidateBlueprintUsingPOST1BadRequest added in v0.2.0

func NewValidateBlueprintUsingPOST1BadRequest() *ValidateBlueprintUsingPOST1BadRequest

NewValidateBlueprintUsingPOST1BadRequest creates a ValidateBlueprintUsingPOST1BadRequest with default headers values

func (*ValidateBlueprintUsingPOST1BadRequest) Error added in v0.2.0

func (*ValidateBlueprintUsingPOST1BadRequest) GetPayload added in v0.2.9

type ValidateBlueprintUsingPOST1Forbidden added in v0.2.0

type ValidateBlueprintUsingPOST1Forbidden struct {
}
ValidateBlueprintUsingPOST1Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewValidateBlueprintUsingPOST1Forbidden added in v0.2.0

func NewValidateBlueprintUsingPOST1Forbidden() *ValidateBlueprintUsingPOST1Forbidden

NewValidateBlueprintUsingPOST1Forbidden creates a ValidateBlueprintUsingPOST1Forbidden with default headers values

func (*ValidateBlueprintUsingPOST1Forbidden) Error added in v0.2.0

type ValidateBlueprintUsingPOST1OK added in v0.2.0

type ValidateBlueprintUsingPOST1OK struct {
	Payload *models.BlueprintValidationResponse
}
ValidateBlueprintUsingPOST1OK describes a response with status code 200, with default header values.

OK

func NewValidateBlueprintUsingPOST1OK added in v0.2.0

func NewValidateBlueprintUsingPOST1OK() *ValidateBlueprintUsingPOST1OK

NewValidateBlueprintUsingPOST1OK creates a ValidateBlueprintUsingPOST1OK with default headers values

func (*ValidateBlueprintUsingPOST1OK) Error added in v0.2.0

func (*ValidateBlueprintUsingPOST1OK) GetPayload added in v0.2.0

type ValidateBlueprintUsingPOST1Params added in v0.2.0

type ValidateBlueprintUsingPOST1Params struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about
	*/
	APIVersion *string

	/* Request.

	   request
	*/
	Request *models.BlueprintValidationRequest

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

ValidateBlueprintUsingPOST1Params contains all the parameters to send to the API endpoint

for the validate blueprint using p o s t 1 operation.

Typically these are written to a http.Request.

func NewValidateBlueprintUsingPOST1Params added in v0.2.0

func NewValidateBlueprintUsingPOST1Params() *ValidateBlueprintUsingPOST1Params

NewValidateBlueprintUsingPOST1Params creates a new ValidateBlueprintUsingPOST1Params 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 NewValidateBlueprintUsingPOST1ParamsWithContext added in v0.2.0

func NewValidateBlueprintUsingPOST1ParamsWithContext(ctx context.Context) *ValidateBlueprintUsingPOST1Params

NewValidateBlueprintUsingPOST1ParamsWithContext creates a new ValidateBlueprintUsingPOST1Params object with the ability to set a context for a request.

func NewValidateBlueprintUsingPOST1ParamsWithHTTPClient added in v0.2.0

func NewValidateBlueprintUsingPOST1ParamsWithHTTPClient(client *http.Client) *ValidateBlueprintUsingPOST1Params

NewValidateBlueprintUsingPOST1ParamsWithHTTPClient creates a new ValidateBlueprintUsingPOST1Params object with the ability to set a custom HTTPClient for a request.

func NewValidateBlueprintUsingPOST1ParamsWithTimeout added in v0.2.0

func NewValidateBlueprintUsingPOST1ParamsWithTimeout(timeout time.Duration) *ValidateBlueprintUsingPOST1Params

NewValidateBlueprintUsingPOST1ParamsWithTimeout creates a new ValidateBlueprintUsingPOST1Params object with the ability to set a timeout on a request.

func (*ValidateBlueprintUsingPOST1Params) SetAPIVersion added in v0.2.0

func (o *ValidateBlueprintUsingPOST1Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) SetContext added in v0.2.0

SetContext adds the context to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) SetDefaults added in v0.2.20

func (o *ValidateBlueprintUsingPOST1Params) SetDefaults()

SetDefaults hydrates default values in the validate blueprint using p o s t 1 params (not the query body).

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

func (*ValidateBlueprintUsingPOST1Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) SetRequest added in v0.2.0

SetRequest adds the request to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) WithAPIVersion added in v0.2.0

WithAPIVersion adds the aPIVersion to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) WithContext added in v0.2.0

WithContext adds the context to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the validate blueprint using p o s t 1 params (not the query body).

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

func (*ValidateBlueprintUsingPOST1Params) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) WithRequest added in v0.2.0

WithRequest adds the request to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the validate blueprint using p o s t 1 params

func (*ValidateBlueprintUsingPOST1Params) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type ValidateBlueprintUsingPOST1Reader added in v0.2.0

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

ValidateBlueprintUsingPOST1Reader is a Reader for the ValidateBlueprintUsingPOST1 structure.

func (*ValidateBlueprintUsingPOST1Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type ValidateBlueprintUsingPOST1Unauthorized added in v0.2.0

type ValidateBlueprintUsingPOST1Unauthorized struct {
}
ValidateBlueprintUsingPOST1Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewValidateBlueprintUsingPOST1Unauthorized added in v0.2.0

func NewValidateBlueprintUsingPOST1Unauthorized() *ValidateBlueprintUsingPOST1Unauthorized

NewValidateBlueprintUsingPOST1Unauthorized creates a ValidateBlueprintUsingPOST1Unauthorized with default headers values

func (*ValidateBlueprintUsingPOST1Unauthorized) Error added in v0.2.0

Jump to

Keyboard shortcuts

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