AssociatedPropertyDef
A PropertyDef that is associated with a class.
| Full name | MFiles.AssociatedPropertyDef |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
property_def | int32 | 1 | The ID of the property definition. |
is_required | bool | 2 | True if objects of the class must have a value for this property. |
Used by methods
- IRPCPropertyDefsAdmin.AddObjectClass -- Creates a class with its property associations.
- IRPCPropertyDefsAdmin.GetAssociatedPropertyDefs -- Gets the properties of a class: the property definitions associated with it and whether each is required.
- IRPCPropertyDefsAdmin.ModifyObjectClass -- Saves a changed class and, optionally, its property associations.
Used in fields
ObjectClass.associated_property_defs-- The properties of objects of this class, each withis_required. Lists only property definitions the caller can see, and includes the built-in properties that every object has (such as 20 Created and 25 Created by).ObjectClassDecl.associated_property_defs-- PropertyDefs associated with this class.GetAssociatedPropertyDefsResponse.values-- One AssociatedPropertyDef per property of the class.AddObjectClassRequest.property_defs-- The properties of the class and whether each is required.ModifyObjectClassRequest.property_defs-- The new property associations. Ignored whenmodify_associationsis false.