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 FWebAPINameInfo
Remarks
Holds information for a name and it's alternatives.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | JsonName | Field name as sent to and received from the external API. | |
| FString | Name | Name without prefix or namespace, ie. "SomeParameter", not "InSomeParameter". | |
| FString | Prefix | Type Prefix, usually for parameters ("In"/"Out") or booleans "b". |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWebAPINameInfo
(
const FString& InName, |
Optionally provide TypeInfo to infer a prefix, for example "b" for booleans. |
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. | |
| FString | ToMemberName
(
const FString& InPrefix |
Get the fully formatted name as a valid member name. | |
| FString | ToString
(
bool bInJustName |
Get the fully formatted name, with prefix. |