Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ValidateBlueprintUsingPOST1BadRequest
- type ValidateBlueprintUsingPOST1Forbidden
- type ValidateBlueprintUsingPOST1OK
- type ValidateBlueprintUsingPOST1Params
- func NewValidateBlueprintUsingPOST1Params() *ValidateBlueprintUsingPOST1Params
- func NewValidateBlueprintUsingPOST1ParamsWithContext(ctx context.Context) *ValidateBlueprintUsingPOST1Params
- func NewValidateBlueprintUsingPOST1ParamsWithHTTPClient(client *http.Client) *ValidateBlueprintUsingPOST1Params
- func NewValidateBlueprintUsingPOST1ParamsWithTimeout(timeout time.Duration) *ValidateBlueprintUsingPOST1Params
- func (o *ValidateBlueprintUsingPOST1Params) SetAPIVersion(aPIVersion *string)
- func (o *ValidateBlueprintUsingPOST1Params) SetContext(ctx context.Context)
- func (o *ValidateBlueprintUsingPOST1Params) SetDefaults()
- func (o *ValidateBlueprintUsingPOST1Params) SetHTTPClient(client *http.Client)
- func (o *ValidateBlueprintUsingPOST1Params) SetRequest(request *models.BlueprintValidationRequest)
- func (o *ValidateBlueprintUsingPOST1Params) SetTimeout(timeout time.Duration)
- func (o *ValidateBlueprintUsingPOST1Params) WithAPIVersion(aPIVersion *string) *ValidateBlueprintUsingPOST1Params
- func (o *ValidateBlueprintUsingPOST1Params) WithContext(ctx context.Context) *ValidateBlueprintUsingPOST1Params
- func (o *ValidateBlueprintUsingPOST1Params) WithDefaults() *ValidateBlueprintUsingPOST1Params
- func (o *ValidateBlueprintUsingPOST1Params) WithHTTPClient(client *http.Client) *ValidateBlueprintUsingPOST1Params
- func (o *ValidateBlueprintUsingPOST1Params) WithRequest(request *models.BlueprintValidationRequest) *ValidateBlueprintUsingPOST1Params
- func (o *ValidateBlueprintUsingPOST1Params) WithTimeout(timeout time.Duration) *ValidateBlueprintUsingPOST1Params
- func (o *ValidateBlueprintUsingPOST1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateBlueprintUsingPOST1Reader
- type ValidateBlueprintUsingPOST1Unauthorized
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
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 (o *ValidateBlueprintUsingPOST1BadRequest) Error() string
func (*ValidateBlueprintUsingPOST1BadRequest) GetPayload ¶ added in v0.2.9
func (o *ValidateBlueprintUsingPOST1BadRequest) GetPayload() *models.Error
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
func (o *ValidateBlueprintUsingPOST1Forbidden) Error() string
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 (o *ValidateBlueprintUsingPOST1OK) Error() string
func (*ValidateBlueprintUsingPOST1OK) GetPayload ¶ added in v0.2.0
func (o *ValidateBlueprintUsingPOST1OK) GetPayload() *models.BlueprintValidationResponse
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
func (o *ValidateBlueprintUsingPOST1Params) SetContext(ctx context.Context)
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
func (o *ValidateBlueprintUsingPOST1Params) SetRequest(request *models.BlueprintValidationRequest)
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
func (o *ValidateBlueprintUsingPOST1Params) WithAPIVersion(aPIVersion *string) *ValidateBlueprintUsingPOST1Params
WithAPIVersion adds the aPIVersion to the validate blueprint using p o s t 1 params
func (*ValidateBlueprintUsingPOST1Params) WithContext ¶ added in v0.2.0
func (o *ValidateBlueprintUsingPOST1Params) WithContext(ctx context.Context) *ValidateBlueprintUsingPOST1Params
WithContext adds the context to the validate blueprint using p o s t 1 params
func (*ValidateBlueprintUsingPOST1Params) WithDefaults ¶ added in v0.2.20
func (o *ValidateBlueprintUsingPOST1Params) WithDefaults() *ValidateBlueprintUsingPOST1Params
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
func (o *ValidateBlueprintUsingPOST1Params) WithHTTPClient(client *http.Client) *ValidateBlueprintUsingPOST1Params
WithHTTPClient adds the HTTPClient to the validate blueprint using p o s t 1 params
func (*ValidateBlueprintUsingPOST1Params) WithRequest ¶ added in v0.2.0
func (o *ValidateBlueprintUsingPOST1Params) WithRequest(request *models.BlueprintValidationRequest) *ValidateBlueprintUsingPOST1Params
WithRequest adds the request to the validate blueprint using p o s t 1 params
func (*ValidateBlueprintUsingPOST1Params) WithTimeout ¶ added in v0.2.0
func (o *ValidateBlueprintUsingPOST1Params) WithTimeout(timeout time.Duration) *ValidateBlueprintUsingPOST1Params
WithTimeout adds the timeout to the validate blueprint using p o s t 1 params
func (*ValidateBlueprintUsingPOST1Params) WriteToRequest ¶ added in v0.2.0
func (o *ValidateBlueprintUsingPOST1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *ValidateBlueprintUsingPOST1Unauthorized) Error() string