Class JVisitationType
A data type for a record of a person visiting another person under restricted access.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JVisitationType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JVisitationType>
Properties
Context
jVisitationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JVisitationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JVisitationType.ContextEnum> | jVisitationType JSON-LD context |
Contraband
An item of contraband obtained during a visitation NIEM reference is j:VisitationContraband
Declaration
[DataMember(Name = "contraband")]
public List<JContrabandType> Contraband { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JContrabandType> | An item of contraband obtained during a visitation NIEM reference is j:VisitationContraband |
DenialReason
A kind of reason for denial of a visitation. NIEM reference is j:VisitationDenialReasonText
Declaration
[DataMember(Name = "denialReason")]
public List<NcTextType> DenialReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of reason for denial of a visitation. NIEM reference is j:VisitationDenialReasonText |
IsParoleOfficerNotified
True if the Parole Agent has been notified; false otherwise. NIEM reference is j:VisitationParoleOfficerNotifiedIndicator
Declaration
[DataMember(Name = "isParoleOfficerNotified")]
public List<NiemXsboolean> IsParoleOfficerNotified { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the Parole Agent has been notified; false otherwise. NIEM reference is j:VisitationParoleOfficerNotifiedIndicator |
NonContactVisitsEndDate
An end date for the subject being placed on non-contact visits as a result of visiting-related infractions. NIEM reference is j:VisitationNonContactVisitsEndDate
Declaration
[DataMember(Name = "nonContactVisitsEndDate")]
public List<NcDateType> NonContactVisitsEndDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | An end date for the subject being placed on non-contact visits as a result of visiting-related infractions. NIEM reference is j:VisitationNonContactVisitsEndDate |
NonContactVisitsLengthNumeric
A number of days over which the subject is to be placed on non-contact visits as a result of visiting-related infractions. NIEM reference is j:VisitationNonContactVisitsLengthNumeric
Declaration
[DataMember(Name = "nonContactVisitsLengthNumeric")]
public List<NcNumericType> NonContactVisitsLengthNumeric { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcNumericType> | A number of days over which the subject is to be placed on non-contact visits as a result of visiting-related infractions. NIEM reference is j:VisitationNonContactVisitsLengthNumeric |
NonContactVisitsStartDate
A start date on which the subject is to be placed on non-contact visits as a result of visiting-related infractions. NIEM reference is j:VisitationNonContactVisitsStartDate
Declaration
[DataMember(Name = "nonContactVisitsStartDate")]
public List<NcDateType> NonContactVisitsStartDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A start date on which the subject is to be placed on non-contact visits as a result of visiting-related infractions. NIEM reference is j:VisitationNonContactVisitsStartDate |
Purpose
A purpose or reason for a visit. NIEM reference is j:VisitationPurposeText
Declaration
[DataMember(Name = "purpose")]
public List<NcTextType> Purpose { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A purpose or reason for a visit. NIEM reference is j:VisitationPurposeText |
RequestedDate
A date on which leave is requested to visit a critically ill person. NIEM reference is j:VisitationRequestedDate
Declaration
[DataMember(Name = "requestedDate")]
public List<NcDateType> RequestedDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date on which leave is requested to visit a critically ill person. NIEM reference is j:VisitationRequestedDate |
RestrictedAccessPerson
A person under restricted access who receives a visit. NIEM reference is j:VisitationRestrictedAccessPerson
Declaration
[DataMember(Name = "restrictedAccessPerson")]
public List<NcPersonType> RestrictedAccessPerson { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person under restricted access who receives a visit. NIEM reference is j:VisitationRestrictedAccessPerson |
RestrictedAccessReason
A reason why a person is under restricted access to a visitor. NIEM reference is j:VisitationRestrictedAccessReasonText
Declaration
[DataMember(Name = "restrictedAccessReason")]
public List<NcTextType> RestrictedAccessReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A reason why a person is under restricted access to a visitor. NIEM reference is j:VisitationRestrictedAccessReasonText |
Restrictions
A description of the Restrictions on a visitation. NIEM reference is j:VisitationRestrictionsText
Declaration
[DataMember(Name = "restrictions")]
public List<NcTextType> Restrictions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the Restrictions on a visitation. NIEM reference is j:VisitationRestrictionsText |
RoomActionTaken
A comment about action taken with respect to a visitation room. NIEM reference is j:VisitationRoomActionTakenText
Declaration
[DataMember(Name = "roomActionTaken")]
public List<NcTextType> RoomActionTaken { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A comment about action taken with respect to a visitation room. NIEM reference is j:VisitationRoomActionTakenText |
SubjectMatter
A description or comment about the subject of a visitation. NIEM reference is j:VisitationSubjectMatterText
Declaration
[DataMember(Name = "subjectMatter")]
public List<NcTextType> SubjectMatter { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description or comment about the subject of a visitation. NIEM reference is j:VisitationSubjectMatterText |
SupervisingOfficialEnforcement
An enforcement official who supervised a visit. NIEM reference is j:VisitationSupervisingOfficialEnforcement
Declaration
[DataMember(Name = "supervisingOfficialEnforcement")]
public List<JEnforcementOfficialType> SupervisingOfficialEnforcement { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JEnforcementOfficialType> | An enforcement official who supervised a visit. NIEM reference is j:VisitationSupervisingOfficialEnforcement |
SupervisingOfficialJudicial
A judicial official who supervised a visit. NIEM reference is j:VisitationSupervisingOfficialJudicial
Declaration
[DataMember(Name = "supervisingOfficialJudicial")]
public List<JJudicialOfficialType> SupervisingOfficialJudicial { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JJudicialOfficialType> | A judicial official who supervised a visit. NIEM reference is j:VisitationSupervisingOfficialJudicial |
VerifiedDateTime
A date and time the visitation was verified. NIEM reference is j:VisitationVerifiedDateTime
Declaration
[DataMember(Name = "verifiedDateTime")]
public List<NiemXsdateTime> VerifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsdateTime> | A date and time the visitation was verified. NIEM reference is j:VisitationVerifiedDateTime |
Visitor
A person who visits a person under restricted access. NIEM reference is j:VisitationVisitor
Declaration
[DataMember(Name = "visitor")]
public List<NcPersonType> Visitor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person who visits a person under restricted access. NIEM reference is j:VisitationVisitor |
VisitorRelationship
A relationship of a visitor to a restricted access person. NIEM reference is j:VisitationVisitorRelationshipText
Declaration
[DataMember(Name = "visitorRelationship")]
public List<NcTextType> VisitorRelationship { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A relationship of a visitor to a restricted access person. NIEM reference is j:VisitationVisitorRelationshipText |
Methods
Equals(JVisitationType)
Returns true if JVisitationType instances are equal
Declaration
public bool Equals(JVisitationType other)
Parameters
Type | Name | Description |
---|---|---|
JVisitationType | other | Instance of JVisitationType 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(JVisitationType, JVisitationType)
Declaration
public static bool operator ==(JVisitationType left, JVisitationType right)
Parameters
Type | Name | Description |
---|---|---|
JVisitationType | left | |
JVisitationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JVisitationType, JVisitationType)
Declaration
public static bool operator !=(JVisitationType left, JVisitationType right)
Parameters
Type | Name | Description |
---|---|---|
JVisitationType | left | |
JVisitationType | right |
Returns
Type | Description |
---|---|
System.Boolean |