Navigation
API > API/Plugins > API/Plugins/WebAPIEditor > API/Plugins/WebAPIEditor/Dom
References
| Module | WebAPIEditor |
| Header | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/Dom/WebAPISchema.h |
| Include | #include "Dom/WebAPISchema.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FWebAPINameVariant
Remarks
Holds either FWebAPINameInfo or FString.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FWebAPINameInfo | NameInfo | NameInfo. | |
| FString | NameString | String. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWebAPINameVariant
(
const FWebAPINameInfo& InNameInfo |
|||
FWebAPINameVariant
(
const FString& InStringName |
|||
FWebAPINameVariant
(
const TCHAR* InStringName |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | The name for UI display. | ||
| FString | GetJsonName () |
The json field name that the target API expects, rather than the UE friendly one. | |
| bool | HasNameInfo () |
Check if this has a valid NameInfo. | |
| bool | IsValid () |
Check that either NameInfo is set and valid, or a NameString is non-empty. | |
| FString | ToMemberName
(
const FString& InPrefix |
Get the fully formatted name as a valid member name. | |
| FString | ToString
(
bool bInJustName |
Retrieve the String of whichever property is valid. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FWebAPINameVariant & | Copy-assignment. |