Class JHearingWitnessType
A data type for a person who offers witness testimony as part of hearing.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JHearingWitnessType : JWitnessType, IEquatable<JWitnessType>, IEquatable<JHearingWitnessType>
Properties
Answer
An answer a witness provided in response to a question. NIEM reference is j:HearingWitnessAnswerText
Declaration
[DataMember(Name = "answer")]
public List<NcTextType> Answer { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An answer a witness provided in response to a question. NIEM reference is j:HearingWitnessAnswerText |
Category
A kind of witness involved in a disciplinary hearing. NIEM reference is j:HearingWitnessCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of witness involved in a disciplinary hearing. NIEM reference is j:HearingWitnessCategoryText |
Context
jHearingWitnessType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JHearingWitnessType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JHearingWitnessType.ContextEnum> | jHearingWitnessType JSON-LD context |
IsContacted
True if the witness was contacted by telephone; false otherwise. NIEM reference is j:HearingWitnessContactedIndicator
Declaration
[DataMember(Name = "isContacted")]
public List<NiemXsboolean> IsContacted { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the witness was contacted by telephone; false otherwise. NIEM reference is j:HearingWitnessContactedIndicator |
IsGranted
True if the request for the witness was granted; false otherwise. NIEM reference is j:HearingWitnessGrantedIndicator
Declaration
[DataMember(Name = "isGranted")]
public List<NiemXsboolean> IsGranted { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the request for the witness was granted; false otherwise. NIEM reference is j:HearingWitnessGrantedIndicator |
IsRequestedInvestigative
True if that the witness requested at the hearing is the investigative employee; false otherwise. NIEM reference is j:HearingWitnessRequestedInvestigativeIndicator
Declaration
[DataMember(Name = "isRequestedInvestigative")]
public List<NiemXsboolean> IsRequestedInvestigative { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if that the witness requested at the hearing is the investigative employee; false otherwise. NIEM reference is j:HearingWitnessRequestedInvestigativeIndicator |
IsWaived
True if that the subject waived the request for witness(es) at the hearing; false otherwise. NIEM reference is j:HearingWitnessWaivedIndicator
Declaration
[DataMember(Name = "isWaived")]
public List<NiemXsboolean> IsWaived { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if that the subject waived the request for witness(es) at the hearing; false otherwise. NIEM reference is j:HearingWitnessWaivedIndicator |
NotGrantedReason
An explanation as to why the request for a witness was not granted. NIEM reference is j:HearingWitnessNotGrantedReasonText
Declaration
[DataMember(Name = "notGrantedReason")]
public List<NcTextType> NotGrantedReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An explanation as to why the request for a witness was not granted. NIEM reference is j:HearingWitnessNotGrantedReasonText |
Offender
A description of a witness who is also an inmate. NIEM reference is j:HearingWitnessOffenderText
Declaration
[DataMember(Name = "offender")]
public List<NcTextType> Offender { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a witness who is also an inmate. NIEM reference is j:HearingWitnessOffenderText |
Question
A question given to the witness. NIEM reference is j:HearingWitnessQuestionText
Declaration
[DataMember(Name = "question")]
public List<NcTextType> Question { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A question given to the witness. NIEM reference is j:HearingWitnessQuestionText |
Methods
Equals(JHearingWitnessType)
Returns true if JHearingWitnessType instances are equal
Declaration
public bool Equals(JHearingWitnessType other)
Parameters
Type | Name | Description |
---|---|---|
JHearingWitnessType | other | Instance of JHearingWitnessType 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(JHearingWitnessType, JHearingWitnessType)
Declaration
public static bool operator ==(JHearingWitnessType left, JHearingWitnessType right)
Parameters
Type | Name | Description |
---|---|---|
JHearingWitnessType | left | |
JHearingWitnessType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JHearingWitnessType, JHearingWitnessType)
Declaration
public static bool operator !=(JHearingWitnessType left, JHearingWitnessType right)
Parameters
Type | Name | Description |
---|---|---|
JHearingWitnessType | left | |
JHearingWitnessType | right |
Returns
Type | Description |
---|---|
System.Boolean |