forked from loafle/openapi-generator-original
69 lines
1.4 KiB
PHP
69 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* EnumStringModel
|
|
*
|
|
* PHP version 8.1.1
|
|
*
|
|
* @category Class
|
|
* @package OpenAPI\Server\Model
|
|
* @author OpenAPI Generator team
|
|
* @link https://github.com/openapitools/openapi-generator
|
|
*/
|
|
|
|
/**
|
|
* OpenAPI Petstore
|
|
*
|
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
*
|
|
* The version of the OpenAPI document: 1.0.0
|
|
*
|
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* NOTE: This class is auto generated by the openapi generator program.
|
|
* https://github.com/openapitools/openapi-generator
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
namespace OpenAPI\Server\Model;
|
|
|
|
use Symfony\Component\Validator\Constraints as Assert;
|
|
use JMS\Serializer\Annotation\Type;
|
|
use JMS\Serializer\Annotation\SerializedName;
|
|
|
|
/**
|
|
* Class representing the EnumStringModel model.
|
|
*
|
|
* enum model
|
|
*
|
|
* @package OpenAPI\Server\Model
|
|
* @author OpenAPI Generator team
|
|
*/
|
|
class EnumStringModel
|
|
{
|
|
/**
|
|
* Possible values of this enum
|
|
*/
|
|
const AVAILABLE = "available";
|
|
const PENDING = "pending";
|
|
const SOLD = "sold";
|
|
|
|
/**
|
|
* Gets allowable values of the enum
|
|
* @return string[]
|
|
*/
|
|
public static function getAllowableEnumValues()
|
|
{
|
|
return [
|
|
self::AVAILABLE,
|
|
self::PENDING,
|
|
self::SOLD,
|
|
];
|
|
}
|
|
}
|
|
|
|
|
|
|