Skip to content

DiGi.GIS.WebAPI.Classes.Parameter

github-actions[bot] edited this page Sep 23, 2026 · 1 revision

DiGi.GIS.WebAPI.Classes.Parameter Namespace

Classes

UserYearBuiltParameter Class

The body of the setuseryearbuilt write: one user-supplied year built entry for a single building.

Every member is bound nullable so an omitted field is representable and can be rejected explicitly - a non-nullable binding cannot tell an omitted value from a legitimate one, and Relation must be checked against the YearBuiltRelation members rather than compared to a sentinel.

public class UserYearBuiltParameter : DiGi.WebAPI.Classes.Parameter

Inheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DiGi.WebAPI.Classes.Parameter → UserYearBuiltParameter

Constructors

UserYearBuiltParameter() Constructor

Initializes a new instance of the UserYearBuiltParameter class.

public UserYearBuiltParameter();

UserYearBuiltParameter(UserYearBuiltParameter) Constructor

Initializes a new instance of the UserYearBuiltParameter class by copying the values from an existing instance.

public UserYearBuiltParameter(DiGi.GIS.WebAPI.Classes.Parameter.UserYearBuiltParameter userYearBuiltParameter);

Parameters

userYearBuiltParameter UserYearBuiltParameter

The source instance from which to copy the values.

UserYearBuiltParameter(JsonObject) Constructor

Initializes a new instance of the UserYearBuiltParameter class using the provided JSON object.

public UserYearBuiltParameter(System.Text.Json.Nodes.JsonObject jsonObject);

Parameters

jsonObject System.Text.Json.Nodes.JsonObject

The System.Text.Json.Nodes.JsonObject containing the data used to initialize the parameter.

Properties

UserYearBuiltParameter.CountyId Property

Gets or sets the identifier of the county part the building is filed under. A hint passed to the converter, which resolves the part itself; null is rejected.

public System.Nullable<int> CountyId { get; set; }

Property Value

System.Nullable<System.Int32>

UserYearBuiltParameter.Reference Property

Gets or sets the reference of the building the entry belongs to; blank is rejected.

public string? Reference { get; set; }

Property Value

System.String

UserYearBuiltParameter.Relation Property

Gets or sets how the stored year relates to the true construction year, as a DiGi.GIS.Enums.YearBuiltRelation member. null means Exact; a value that is not a DiGi.GIS.Enums.YearBuiltRelation member is rejected.

public System.Nullable<int> Relation { get; set; }

Property Value

System.Nullable<System.Int32>

UserYearBuiltParameter.Year Property

Gets or sets the year built the user is asserting; null (an omitted selection) is rejected.

public System.Nullable<short> Year { get; set; }

Property Value

System.Nullable<System.Int16>