Class CbrnScheduleByWeekType
A data type for a schedule where the hours are the same for all weekdays.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class CbrnScheduleByWeekType : CbrnRemarksComplexObjectType, IEquatable<CbrnRemarksComplexObjectType>, IEquatable<CbrnScheduleByWeekType>
Properties
Context
cbrnScheduleByWeekType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public CbrnScheduleByWeekType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<CbrnScheduleByWeekType.ContextEnum> | cbrnScheduleByWeekType JSON-LD context |
WeekDayHours
A text description of the normal weekday operating hours. NIEM reference is cbrn:WeekDayHoursText
Declaration
[DataMember(Name = "weekDayHours")]
public List<NcTextType> WeekDayHours { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A text description of the normal weekday operating hours. NIEM reference is cbrn:WeekDayHoursText |
WeekEndHours
A text description of the normal weekend operating hours. NIEM reference is cbrn:WeekEndHoursText
Declaration
[DataMember(Name = "weekEndHours")]
public List<NcTextType> WeekEndHours { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A text description of the normal weekend operating hours. NIEM reference is cbrn:WeekEndHoursText |
Methods
Equals(CbrnScheduleByWeekType)
Returns true if CbrnScheduleByWeekType instances are equal
Declaration
public bool Equals(CbrnScheduleByWeekType other)
Parameters
Type | Name | Description |
---|---|---|
CbrnScheduleByWeekType | other | Instance of CbrnScheduleByWeekType 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(CbrnScheduleByWeekType, CbrnScheduleByWeekType)
Declaration
public static bool operator ==(CbrnScheduleByWeekType left, CbrnScheduleByWeekType right)
Parameters
Type | Name | Description |
---|---|---|
CbrnScheduleByWeekType | left | |
CbrnScheduleByWeekType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(CbrnScheduleByWeekType, CbrnScheduleByWeekType)
Declaration
public static bool operator !=(CbrnScheduleByWeekType left, CbrnScheduleByWeekType right)
Parameters
Type | Name | Description |
---|---|---|
CbrnScheduleByWeekType | left | |
CbrnScheduleByWeekType | right |
Returns
Type | Description |
---|---|
System.Boolean |