Class JSentencingGuidelineType
A data type for a sentencing guideline used for determining a sanction.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JSentencingGuidelineType : IEquatable<JSentencingGuidelineType>
Properties
ChargeSeverityLevel
A sentencing guideline severity level assigned to a charge by a judge or supervising agency. NIEM reference is j:SentencingGuidelineChargeSeverityLevelText
Declaration
[DataMember(Name = "chargeSeverityLevel")]
public List<NcTextType> ChargeSeverityLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A sentencing guideline severity level assigned to a charge by a judge or supervising agency. NIEM reference is j:SentencingGuidelineChargeSeverityLevelText |
Context
jSentencingGuidelineType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JSentencingGuidelineType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JSentencingGuidelineType.ContextEnum> | jSentencingGuidelineType JSON-LD context |
MonthsMaximum
A maximum sentence, in months, called for by sentencing guidelines. NIEM reference is j:SentencingGuidelineMonthsMaximumText
Declaration
[DataMember(Name = "monthsMaximum")]
public List<NcTextType> MonthsMaximum { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A maximum sentence, in months, called for by sentencing guidelines. NIEM reference is j:SentencingGuidelineMonthsMaximumText |
MonthsMinimum
A minimum sentence in months, outlined by sentencing guidelines, which can be imposed by a judge without indicating a reason for departure. NIEM reference is j:SentencingGuidelineMonthsMinimumText
Declaration
[DataMember(Name = "monthsMinimum")]
public List<NcTextType> MonthsMinimum { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A minimum sentence in months, outlined by sentencing guidelines, which can be imposed by a judge without indicating a reason for departure. NIEM reference is j:SentencingGuidelineMonthsMinimumText |
RecommendationMonths
A recommended sentence, in months, called for by sentencing guidelines. NIEM reference is j:SentencingGuidelineRecommendationMonthsText
Declaration
[DataMember(Name = "recommendationMonths")]
public List<NcTextType> RecommendationMonths { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A recommended sentence, in months, called for by sentencing guidelines. NIEM reference is j:SentencingGuidelineRecommendationMonthsText |
Methods
Equals(JSentencingGuidelineType)
Returns true if JSentencingGuidelineType instances are equal
Declaration
public bool Equals(JSentencingGuidelineType other)
Parameters
Type | Name | Description |
---|---|---|
JSentencingGuidelineType | other | Instance of JSentencingGuidelineType 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(JSentencingGuidelineType, JSentencingGuidelineType)
Declaration
public static bool operator ==(JSentencingGuidelineType left, JSentencingGuidelineType right)
Parameters
Type | Name | Description |
---|---|---|
JSentencingGuidelineType | left | |
JSentencingGuidelineType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JSentencingGuidelineType, JSentencingGuidelineType)
Declaration
public static bool operator !=(JSentencingGuidelineType left, JSentencingGuidelineType right)
Parameters
Type | Name | Description |
---|---|---|
JSentencingGuidelineType | left | |
JSentencingGuidelineType | right |
Returns
Type | Description |
---|---|
System.Boolean |