Navigation
API > API/Plugins > API/Plugins/WebAPIEditor > API/Plugins/WebAPIEditor/Dom
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UWebAPIModelBase
- UWebAPIProperty
- UWebAPIOperationParameter
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 UWebAPIProperty : public UWebAPIModelBase
Remarks
Describes a single property within a model.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsArray | If the property is an array of Type. | |
| bool | bIsMixin | When the properties inside of this should be treated as though they're directly in the parent. | |
| FString | DefaultValue | Default value (optional) as a string. | |
| TArray< FString > | DefaultValues | Array of values if needed, ie. enum | |
| FWebAPINameVariant | Name | Name of the Property. | |
| FWebAPITypeNameVariant | Type | Type of the Property. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | GetDefaultValue
(
bool bQualified |
Default value as a string, if applicable. | |
| bool | IsRequired () |
Returns if this property is required to have it's value set by the user. |
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 | SetNamespace
(
const FString& InNamespace |
Recursively sets the namespace of this and all child objects. |