new SecurityPolicy(copyData)
Represents a simply security policy
Parameters:
| Name | Type | Description | 
|---|---|---|
| copyData | SecurityPolicy | Copy constructor (if present) | 
Properties:
| Name | Type | Description | 
|---|---|---|
| handler | string | Gets or sets the handler which may handle this policy | 
| name | string | Gets or sets the name of the policy | 
| oid | string | Gets or sets the universal ID | 
| isPublic | boolean | Whether the policy is public | 
| canOverride | boolean | Whether the policy can be elevated over | 
| creationTimeModel | Date | [Delay loaded from creationTime], Gets or sets the time at which the data was created | 
| creationTime | Date | Gets or sets the creation time as an ISO date format | 
| obsoletionTimeModel | Date | [Delay loaded from obsoletionTime], Gets or sets the time when the data is or will become invalid | 
| obsoletionTime | Date | Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format | 
| createdByModel | SecurityProvenance | [Delay loaded from createdBy], Gets or sets the user that created this base data | 
| modifiedOn | Date | Gets the time that the object was last modified (from base data, default to CreationTime) | 
| obsoletedByModel | SecurityProvenance | [Delay loaded from obsoletedBy], Gets or sets the user that obsoleted this base data | 
| createdBy | string | Gets or sets the security provenance object which represents the creation of this object | 
| obsoletedBy | string | Gets or sets the security provenance object which represents the obsoletion of this data | 
| id | string | Gets or sets the primary identifying UUID of this object | 
| operation | BatchOperationType | Gets or sets the operation(see: BatchOperationType for values) | 
| $type | string | Gets the type registration of this object | 
Extends
Members
canOverride :boolean
Whether the policy can be elevated over
Type:
- boolean
createdBy :string
Gets or sets the security provenance object which represents the creation of this object
Type:
- string
- Overrides:
- Source:
createdByModel :SecurityProvenance
Type:
- Overrides:
- Source:
creationTime :Date
Gets or sets the creation time as an ISO date format
Type:
- Date
- Overrides:
- Source:
creationTimeModel :Date
Type:
- Date
- Overrides:
- Source:
handler :string
Gets or sets the handler which may handle this policy
Type:
- string
id :string
Gets or sets the primary identifying UUID of this object
Type:
- string
- Overrides:
- Source:
isPublic :boolean
Whether the policy is public
Type:
- boolean
modifiedOn :Date
Gets the time that the object was last modified (from base data, default to CreationTime)
Type:
- Date
- Overrides:
- Source:
name :string
Gets or sets the name of the policy
Type:
- string
obsoletedBy :string
Gets or sets the security provenance object which represents the obsoletion of this data
Type:
- string
- Overrides:
- Source:
obsoletedByModel :SecurityProvenance
Type:
- Overrides:
- Source:
obsoletionTime :Date
Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format
Type:
- Date
- Overrides:
- Source:
obsoletionTimeModel :Date
Type:
- Date
- Overrides:
- Source:
oid :string
Gets or sets the universal ID
Type:
- string
operation :BatchOperationType
Gets or sets the operation
Type:
- Overrides:
- Source: