faas/gateway/models/model_invoke_async_namespaced_query_parameters.go
Lucas Roesler 06ade37420 feat: refactor api spec to use OpenAPI and add missing spec
Convert the existing swagger2.0 file to a moden OpenAPI file.
Add missing endpoitns and model definitions.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2023-06-28 08:33:03 +01:00

45 lines
1.2 KiB
Go

// This file is auto-generated, DO NOT EDIT.
//
// Source:
//
// Title: OpenFaaS API Gateway
// Version: 0.8.12
package models
import (
validation "github.com/go-ozzo/ozzo-validation/v4"
)
// InvokeAsyncNamespacedQueryParameters is an object.
type InvokeAsyncNamespacedQueryParameters struct {
// FunctionName: Function name
FunctionName string `json:"functionName" mapstructure:"functionName"`
// Namespace: Namespace of the function
Namespace string `json:"namespace" mapstructure:"namespace"`
}
// Validate implements basic validation for this model
func (m InvokeAsyncNamespacedQueryParameters) Validate() error {
return validation.Errors{}.Filter()
}
// GetFunctionName returns the FunctionName property
func (m InvokeAsyncNamespacedQueryParameters) GetFunctionName() string {
return m.FunctionName
}
// SetFunctionName sets the FunctionName property
func (m *InvokeAsyncNamespacedQueryParameters) SetFunctionName(val string) {
m.FunctionName = val
}
// GetNamespace returns the Namespace property
func (m InvokeAsyncNamespacedQueryParameters) GetNamespace() string {
return m.Namespace
}
// SetNamespace sets the Namespace property
func (m *InvokeAsyncNamespacedQueryParameters) SetNamespace(val string) {
m.Namespace = val
}