Time Class |
Namespace: Koopman.CheckPoint
The Time type exposes the following members.
Name | Description | |
---|---|---|
Color |
Color of the object
(Inherited from ObjectBaseT.) | |
Comments |
Comments string
(Inherited from ObjectBaseT.) | |
DetailLevel |
Gets the current detail level of retrieved objects. You will not be able to get the
values of some properties if the detail level is too low. You can still set property
values however to override existing values.
(Inherited from ObjectSummaryT.) | |
Domain |
Information about the domain the object belongs to.
(Inherited from ObjectSummaryT.) | |
End |
Gets or sets the End time. Note: Each gateway may interpret this time differently
according to its time zone.
| |
EndNever |
Gets or sets a value indicating whether this Time object should never end.
| |
Groups |
Gets the time groups.
| |
HourRanges |
Gets or sets the Hours recurrence. Note: Each gateway may interpret this time differently
according to its time zone.
| |
Icon |
Object icon
(Inherited from ObjectBaseT.) | |
IsChanged |
Gets the object's changed status. Includes checking status of all IChangeTracking properties.
(Inherited from ChangeTracking.) | |
IsNew |
Gets a value indicating whether this instance is new.
(Inherited from SimpleChangeTracking.) | |
MetaInfo |
Meta Information
(Inherited from ObjectBaseT.) | |
Name |
Object name. Should be unique in the domain.
(Inherited from ObjectSummaryT.) | |
ObjectType |
The object type.
(Overrides ObjectSummaryTObjectType.) | |
ReadOnly |
Indicates whether the object is read-only
(Inherited from ObjectBaseT.) | |
Recurrence |
Gets or sets the days recurrence.
| |
Start |
Gets or sets the Starting time. Note: Each gateway may interpret this time differently
according to its time zone.
| |
StartNow |
Gets or sets a value indicating whether to start now.
| |
Tags |
Tags assigned to object
(Inherited from ObjectBaseT.) | |
Type |
Type of the object.
(Overrides ObjectSummaryTType.) | |
UID |
Object unique identifier.
(Inherited from ObjectSummaryT.) |
Name | Description | |
---|---|---|
AcceptChanges(CancellationToken) |
Same as calling AcceptChanges(Ignore, CancellationToken)
with a value of No;
(Inherited from ObjectSummaryT.) | |
AcceptChanges(Ignore, CancellationToken) |
Posts all changes to Check Point server. If successful all object properties will be
updated with results.
(Inherited from ObjectSummaryT.) | |
Delete |
Deletes the current object.
(Inherited from ObjectSummaryT.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIdentifier |
Gets the identifier that is used when adding this object to a group.
(Inherited from ObjectSummaryT.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Reload |
Reloads the current object. Used to either reset changes made without saving, or to
increased the detailLevel to Full (Inherited from ObjectSummaryT.) | |
ToString |
Returns a String that represents this object.
(Inherited from ObjectSummaryT.) |
var t = new Time(Session) { Name = "MyTime", Color = Colors.Red }; t.HourRanges[0] = new Koopman.CheckPoint.Common.TimeRange("03:00", "04:00"); t.HourRanges[1] = new Koopman.CheckPoint.Common.TimeRange("15:00", "16:00"); t.Recurrence = new Time.RecurrenceClass() { Pattern = Time.RecurrencePattern.Daily, Weekdays = Days.Saturday | Days.Sunday }; t.AcceptChanges();
var t = Session.FindTime("MyTime");