Class PropertySet
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The property set that groups Property together based on a grouping structure.
public class PropertySet : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion, IGroupLinked
- Inheritance
-
PropertySet
- Implements
- Inherited Members
Constructors
PropertySet()
Initializes a new instance of the PropertySet class.
public PropertySet()
PropertySet(Id?)
Initializes a new instance of the PropertySet class.
public PropertySet(Id? id)
Parameters
PropertySet(Id?, long?, string?, List<Property>?, IList<Group>?, string?)
Initializes a new instance of the PropertySet class.
public PropertySet(Id? id, long? version, string? name, List<Property>? properties, IList<Group>? groups, string? externalReference)
Parameters
id
IdThe id.
version
long?The version.
name
stringThe name.
properties
List<Property>The properties.
groups
IList<Group>The groups.
externalReference
stringThe externalReference.
PropertySet(PropertySet)
Initializes a new instance of the PropertySet class.
public PropertySet(PropertySet propertySet)
Parameters
propertySet
PropertySetThe propertySet.
Properties
ExternalReference
Gets or sets the External Reference of the PropertySet.
public string? ExternalReference { get; set; }
Property Value
- string
The External Reference.
Groups
Gets or sets the Groups of the PropertySet.
public IList<Group>? Groups { get; set; }
Property Value
Name
Gets or sets the Name of the PropertySet.
public string? Name { get; set; }
Property Value
- string
The Name.
Properties
Gets or sets the Properties of the PropertySet.
public List<Property>? Properties { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
PopulateDefaults()
Populates the default values.
public void PopulateDefaults()