Navigation
API > API/Plugins > API/Plugins/WebAPIEditor
Describes a (usually) API-specific struct or class representing a model.
| Name | UWebAPIModel |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/Dom/WebAPIModel.h |
| Include Path | #include "Dom/WebAPIModel.h" |
Syntax
UCLASS ()
class UWebAPIModel : public UWebAPIModelBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UWebAPIModelBase → UWebAPIModel
Implements Interfaces
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bGenerate | bool | Will be set based on dependent operations. | Dom/WebAPIModel.h |
|
| DefaultValue | FString | Default value (optional) as a string. | Dom/WebAPIModel.h |
|
| GeneratedCodeText | FString | The last generated code as text for debugging. | Dom/WebAPIModel.h |
|
| Name | FWebAPITypeNameVariant | Name of the Model. | Dom/WebAPIModel.h |
|
| Properties | TArray< TObjectPtr< UWebAPIProperty > > | Array of properties contained in this model. | Dom/WebAPIModel.h |
|
| Type | FWebAPITypeNameVariant | The corresponding TypeInfo for this Model. | Dom/WebAPIModel.h |
|
Functions
Public
Overridden from UWebAPIModelBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BindToTypeInfo() |
Associates this model with it's own TypeInfo. | Dom/WebAPIModel.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
Dom/WebAPIModel.h |
Overridden from IWebAPISchemaObjectInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AppendCodeText
(
const FString& InCodeText |
Appends the last generated code as text for debugging. | Dom/WebAPIModel.h | |
virtual FString GetSortKey() |
Used for sorting in the UI. | Dom/WebAPIModel.h | |
virtual void SetCodeText
(
const FString& InCodeText |
Sets the last generated code as text for debugging. | Dom/WebAPIModel.h | |
virtual void SetNamespace
(
const FString& InNamespace |
Recursively sets the namespace of this and all child objects. | Dom/WebAPIModel.h | |
virtual void Visit
(
TFunctionRef< void(IWebAPISchemaObjectInterface*&)> InVisitor |
Recursively visit each element in the schema. | Dom/WebAPIModel.h |