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