Navigation
API > API/Plugins > API/Plugins/WebAPIEditor > API/Plugins/WebAPIEditor/CodeGen > API/Plugins/WebAPIEditor/CodeGen/Dom
Inheritance Hierarchy
- FWebAPICodeGenBase
- FWebAPICodeGenOperation
References
| Module | WebAPIEditor |
| Header | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/CodeGen/Dom/WebAPICodeGenOperation.h |
| Include | #include "CodeGen/Dom/WebAPICodeGenOperation.h" |
Syntax
class FWebAPICodeGenOperation : public FWebAPICodeGenBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsDeprecated | Flags an operation previously available as deprecated. | |
| FWebAPITypeNameVariant | Name | Name with optional prefix, namespace, etc. | |
| FString | Path | Templated/tokenized Url path relative to the Base Url. | |
| FString | RequestMediaType | Usually application/json. | |
| TArray< TSharedPtr< FWebAPICodeGenOperationRequest > > | Requests | Requests for this Operation. | |
| TArray< TSharedPtr< FWebAPICodeGenOperationResponse > > | Responses | Responses for this Operation. | |
| FString | SettingsTypeName | The name of the generated Settings class. | |
| FString | Verb | Http Verb. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TSharedPtr< FWebAPICodeGenOperationResponse > & | FindOrAddResponse
(
const uint32& InResponseCode |
Finds or creates a response with the given name. | |
| void | FromWebAPI
(
const UWebAPIOperation* InSrcOperation |
Populates this object from the given WebAPI object. |
Overridden from FWebAPICodeGenBase
| Type | Name | Description | |
|---|---|---|---|
| void | GetIncludePaths
(
TArray< FString >& OutIncludePaths |
Append any include paths for this file to the given Array (not Set, to allow custom order). | |
| void | GetModuleDependencies
(
TSet< FString >& OutModules |
Append any dependent modules for this file to the given Set. | |
| FString | GetName
(
bool bJustName |
Retrieve the name. The source depends on the CodeGen object type. | |
| const FName & | GetTypeName () |
CodeGen Type. | |
| void | Sets the containing module name. |
Typedefs
| Name | Description |
|---|---|
| Super | Inherited baseclass. |
Constants
| Name | Description |
|---|---|
| TypeName | CodeGen Type. |