Cisco Cisco Security Manager 4.11 Guia De Especificaciones

Descargar
Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  52
 
3.1.4.6 TimeRangePolicyObject 
A TimeRangePolicyObject extends from the BasePolicyObject class and inherits all its attributes.  A 
TimeRangePolicyObject defines a time range and its associated recurrence. Policy definitions reference the 
TimeRangePolicyObject via the gid value. The contents of a TimeRangePolicyObject cannot be empty and there are 
also no “grouping” for TimeRangePolicyObject supported 
 
The following table defines the contents of the TimeRangePolicyObject: 
Element 
 
Type 
Comment 
startTime 
dateTime  Specifies the start time. If the start time is not 
specified, it means the time range specified by this 
range is “already started”. 
endTime 
dateTime  Specifies the end time. If the end time is not 
specified, it means the time range specified by this 
range is “never ends”. 
recurrence 
Complex 
type 
A time range can have zero or more recurring 
ranges that qualify the recurrence for the time range. 
This is a choice type complex element and can 
contain either a “Day of the Week” based 
recurrence pattern or “Weekly”  based recurrence 
pattern 
recurrence.dayOfWeekInterval 
Complex 
Type 
Defines the “Day of the Week” based recurrence. 
recurrence.dayOfWeekInterval.dayOfWeek  String 
The dayOfWeek attribute defines days of the week 
tha pattern should be applicable. It can have any 
“one” of the following String values: 
 
Everyday: For every day recurrence (OR) 
 
Weekday: For Week day recurrence (OR) 
 
Weekends: For Week end recurrence (OR) 
 
A comma separated list of specific days of 
the week – Monday,Tuesday, .. etc. 
recurrence.dayOfWeekInterval.startTime 
Time 
Specifies the start time 
recurrence.dayOfWeekInterval.endTime 
Time 
Specifies the end time. 
recurrence.weeklyInterval  
Complex 
Type 
Defines the “Weekly” based recurrence. 
recurrence.weekInterval.startDay 
String 
Defines the start day i.e “Monday”, “Tuesday” …. 
recurrence.weeklyInterval.startTime   
Time 
Specifies the start time 
recurrence.weeklyInterval.endDay 
 
 
String 
Defines the end  day i.e “Monday”, “Tuesday” …. 
recurrence.weeklyInterval.endTime   
 
Time 
Specifies the end time 
Table 26: TimeRangePolicyObject Class Definition