Class NcScheduleType
A data type for a schedule providing the beginning and ending hours of operation by weekday, for a designated time period.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcScheduleType : IEquatable<NcScheduleType>
Properties
Context
ncScheduleType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcScheduleType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcScheduleType.ContextEnum> | ncScheduleType JSON-LD context |
Day
A plan or agenda for the activities of a day or dates. NIEM reference is nc:ScheduleDay
Declaration
[DataMember(Name = "day")]
public List<NcScheduleDayType> Day { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcScheduleDayType> | A plan or agenda for the activities of a day or dates. NIEM reference is nc:ScheduleDay |
Description
A description of the schedule. NIEM reference is nc:ScheduleDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the schedule. NIEM reference is nc:ScheduleDescriptionText |
ExceptionsDescription
A description of special exceptions to the given schedule, such as holiday hours or closings. NIEM reference is nc:ScheduleExceptionsDescriptionText
Declaration
[DataMember(Name = "exceptionsDescription")]
public List<NcTextType> ExceptionsDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of special exceptions to the given schedule, such as holiday hours or closings. NIEM reference is nc:ScheduleExceptionsDescriptionText |
IsNonStop
True if the schedule applies 24 hours a day, 7 days a week; false otherwise. NIEM reference is nc:ScheduleNonStopIndicator
Declaration
[DataMember(Name = "isNonStop")]
public List<NiemXsboolean> IsNonStop { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the schedule applies 24 hours a day, 7 days a week; false otherwise. NIEM reference is nc:ScheduleNonStopIndicator |
Operating
A schedule providing the beginning and ending hours of operation by weekday, for a designated time period. NIEM reference is cbrn:OperatingSchedule
Declaration
[DataMember(Name = "operating")]
public List<CbrnOperatingScheduleType> Operating { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CbrnOperatingScheduleType> | A schedule providing the beginning and ending hours of operation by weekday, for a designated time period. NIEM reference is cbrn:OperatingSchedule |
Status
An overall status for the schedule. NIEM reference is nc:ScheduleStatus
Declaration
[DataMember(Name = "status")]
public List<NcStatusType> Status { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcStatusType> | An overall status for the schedule. NIEM reference is nc:ScheduleStatus |
Methods
Equals(NcScheduleType)
Returns true if NcScheduleType instances are equal
Declaration
public bool Equals(NcScheduleType other)
Parameters
Type | Name | Description |
---|---|---|
NcScheduleType | other | Instance of NcScheduleType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcScheduleType, NcScheduleType)
Declaration
public static bool operator ==(NcScheduleType left, NcScheduleType right)
Parameters
Type | Name | Description |
---|---|---|
NcScheduleType | left | |
NcScheduleType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcScheduleType, NcScheduleType)
Declaration
public static bool operator !=(NcScheduleType left, NcScheduleType right)
Parameters
Type | Name | Description |
---|---|---|
NcScheduleType | left | |
NcScheduleType | right |
Returns
Type | Description |
---|---|
System.Boolean |