Samuel Kahn 0f627e70fb
[C++][Ue4] various bus fixes (#6539)
* Fixed compilation on linux and UE4.23

* Added string and enum type definition support

* Better handling or variable names, should avoid conflicts with reserved keywords or empty variable names in edge cases

* Updated samples
2020-06-04 20:37:39 +08:00

48 lines
944 B
C++

/**
* 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.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* https://github.com/OpenAPITools/openapi-generator
* Do not edit the class manually.
*/
#pragma once
#include "OpenAPIBaseModel.h"
namespace OpenAPI
{
/*
* OpenAPIOrder
*
* An order for a pets from the pet store
*/
class OPENAPI_API OpenAPIOrder : public Model
{
public:
virtual ~OpenAPIOrder() {}
bool FromJson(const TSharedPtr<FJsonValue>& JsonValue) final;
void WriteJson(JsonWriter& Writer) const final;
TOptional<int64> Id;
TOptional<int64> PetId;
TOptional<int32> Quantity;
TOptional<FDateTime> ShipDate;
enum class StatusEnum
{
Placed,
Approved,
Delivered,
};
/* Order Status */
TOptional<StatusEnum> Status;
TOptional<bool> Complete;
};
}