30 lines
660 B
Go
30 lines
660 B
Go
|
/*
|
||
|
* Solidarity Mobility API
|
||
|
*
|
||
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||
|
*
|
||
|
* API version: 1.0.0
|
||
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
||
|
*/
|
||
|
|
||
|
package openapi
|
||
|
|
||
|
type Car struct {
|
||
|
|
||
|
// Model of the car.
|
||
|
Model string `json:"model,omitempty"`
|
||
|
|
||
|
// Brand of the car.
|
||
|
Brand string `json:"brand,omitempty"`
|
||
|
}
|
||
|
|
||
|
// AssertCarRequired checks if the required fields are not zero-ed
|
||
|
func AssertCarRequired(obj Car) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// AssertCarConstraints checks if the values respects the defined constraints
|
||
|
func AssertCarConstraints(obj Car) error {
|
||
|
return nil
|
||
|
}
|