forked from loafle/openapi-generator-original
44 lines
939 B
C++
44 lines
939 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
|
|
{
|
|
|
|
/*
|
|
* OpenAPIUser
|
|
*
|
|
* A User who is purchasing from the pet store
|
|
*/
|
|
class OPENAPI_API OpenAPIUser : public Model
|
|
{
|
|
public:
|
|
virtual ~OpenAPIUser() {}
|
|
bool FromJson(const TSharedPtr<FJsonValue>& JsonValue) final;
|
|
void WriteJson(JsonWriter& Writer) const final;
|
|
|
|
TOptional<int64> Id;
|
|
TOptional<FString> Username;
|
|
TOptional<FString> FirstName;
|
|
TOptional<FString> LastName;
|
|
TOptional<FString> Email;
|
|
TOptional<FString> Password;
|
|
TOptional<FString> Phone;
|
|
/* User Status */
|
|
TOptional<int32> UserStatus;
|
|
};
|
|
|
|
}
|