unreal.WebAPIModelBase

class unreal.WebAPIModelBase(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Baseclass with common properties for various Schema classes.

C++ Source:

  • Plugin: WebAPI

  • Module: WebAPIEditor

  • File: WebAPISchema.h

Editor Properties: (see get_editor_property/set_editor_property)

  • description (str): [Read-Only] Describes this model.

  • is_read_only (bool): [Read-Only] By default all properties are read & write.

  • is_required (bool): [Read-Only] By default all properties are optional.

  • maximum_value (double): [Read-Only] Maximum value. Can also indicate maximum string length.

  • minimum_value (double): [Read-Only] Minimum value. Can also indicate minimum string length.

  • pattern (str): [Read-Only] Regex Pattern to validate against.

  • use_maximum_value (bool): [Read-Only] Whether to use Maximum value.

  • use_minimum_value (bool): [Read-Only] Whether to use Minimum value.

  • use_pattern (bool): [Read-Only] Whether to use a Regex Pattern for validation.