Skip to content

DiGi.BDL.Classes

github-actions[bot] edited this page Jul 15, 2026 · 2 revisions

DiGi.BDL.Classes Namespace

Classes

Category Class

Attribute used to categorize a field with a specific identifier and name.

public class Category : System.Attribute

Inheritance System.ObjectSystem.Attribute → Category

Constructors

Category(string) Constructor

Initializes a new instance of the Category class with a specified identifier, resolving the name automatically.

public Category(string? id);

Parameters

id System.String

The unique identifier for the category.

Category(string, string) Constructor

Initializes a new instance of the Category class with a specified identifier and name.

public Category(string? id, string? name);

Parameters

id System.String

The unique identifier for the category.

name System.String

The descriptive name for the category.

Properties

Category.Id Property

Gets the unique identifier of the category.

public string? Id { get; }

Property Value

System.String

Category.Name Property

Gets the descriptive name of the category.

public string? Name { get; }

Property Value

System.String

Group Class

Specifies that a field belongs to a particular group.

public class Group : System.Attribute

Inheritance System.ObjectSystem.Attribute → Group

Constructors

Group(string) Constructor

Initializes a new instance of the Group class with a specified identifier.

public Group(string? id);

Parameters

id System.String

The unique identifier for the group.

Group(string, string) Constructor

Initializes a new instance of the Group class with a specified identifier and name.

public Group(string? id, string? name);

Parameters

id System.String

The unique identifier for the group.

name System.String

The descriptive name for the group.

Properties

Group.Id Property

Gets the unique identifier of the group.

public string? Id { get; }

Property Value

System.String

Group.Name Property

Gets the display name of the group.

public string? Name { get; }

Property Value

System.String

Links Class

Represents a collection of navigation links typically used for pagination in response objects.

public class Links : DiGi.BDL.Interfaces.IResponseObject, DiGi.BDL.Interfaces.IBDLObject

Inheritance System.Object → Links

Implements DiGi.BDL.Interfaces.IResponseObject, DiGi.BDL.Interfaces.IBDLObject

Properties

Links.first Property

Gets or sets the URI for the first page of results.

public string? first { get; set; }

Property Value

System.String

Links.last Property

Gets or sets the URI for the last page of results.

public string? last { get; set; }

Property Value

System.String

Links.next Property

Gets or sets the URI for the next page of results.

public string? next { get; set; }

Property Value

System.String

Links.self Property

Gets or sets the URI for the current page of results.

public string? self { get; set; }

Property Value

System.String

PKOB Class

Attribute used to define a set of identifiers for a field.

public class PKOB : System.Attribute

Inheritance System.ObjectSystem.Attribute → PKOB

Constructors

PKOB(short) Constructor

Initializes a new instance of the PKOB class with a single identifier.

public PKOB(short id);

Parameters

id System.Int16

The identifier to assign.

PKOB(short, short) Constructor

Initializes a new instance of the PKOB class with a range of identifiers.

public PKOB(short from, short to);

Parameters

from System.Int16

The starting identifier of the range.

to System.Int16

The ending identifier of the range.

PKOB(short[]) Constructor

Initializes a new instance of the PKOB class with an array of identifiers.

public PKOB(short[]? ids);

Parameters

ids System.Int16[]

The array of identifiers to assign.

PKOB(IEnumerable<short>) Constructor

Initializes a new instance of the PKOB class with a collection of identifiers.

public PKOB(System.Collections.Generic.IEnumerable<short>? ids);

Parameters

ids System.Collections.Generic.IEnumerable<System.Int16>

The enumerable collection of identifiers to assign.

Properties

PKOB.Ids Property

Gets the collection of identifiers associated with this attribute.

public System.Collections.Generic.HashSet<short>? Ids { get; }

Property Value

System.Collections.Generic.HashSet<System.Int16>

Response<TResultObject> Class

Represents a generic base response object that encapsulates result data and metadata.

public abstract class Response<TResultObject> : DiGi.BDL.Interfaces.IResponseObject, DiGi.BDL.Interfaces.IBDLObject
    where TResultObject : DiGi.BDL.Interfaces.IResultObject

Type parameters

TResultObject

The type of the result object, which must implement DiGi.BDL.Interfaces.IResultObject.

Inheritance System.Object → Response<TResultObject>

Derived
UnitsResponse
UnitYearlyValuesResponse

Implements DiGi.BDL.Interfaces.IResponseObject, DiGi.BDL.Interfaces.IBDLObject

Properties

Response<TResultObject>.links Property

Gets or sets the navigation links associated with the response.

public DiGi.BDL.Classes.Links? links { get; set; }

Property Value

Links

Response<TResultObject>.results Property

Gets or sets the list of result objects contained in the response.

public System.Collections.Generic.List<TResultObject>? results { get; set; }

Property Value

System.Collections.Generic.List<TResultObject>

Response<TResultObject>.totalRecords Property

Gets or sets the total number of records available.

public int totalRecords { get; set; }

Property Value

System.Int32

SubGroup Class

Attribute used to categorize fields into a specific subgroup.

public class SubGroup : System.Attribute

Inheritance System.ObjectSystem.Attribute → SubGroup

Constructors

SubGroup(string) Constructor

Initializes a new instance of the SubGroup class with a specified identifier. The name is automatically resolved using the provided identifier.

public SubGroup(string? id);

Parameters

id System.String

The unique identifier for the subgroup.

SubGroup(string, string) Constructor

Initializes a new instance of the SubGroup class with a specified identifier and name.

public SubGroup(string? id, string? name);

Parameters

id System.String

The unique identifier for the subgroup.

name System.String

The descriptive name for the subgroup.

Properties

SubGroup.Id Property

Gets the unique identifier of the subgroup.

public string? Id { get; }

Property Value

System.String

SubGroup.Name Property

Gets the descriptive name of the subgroup.

public string? Name { get; }

Property Value

System.String

Unit Class

Represents a unit entity that implements the IResultObject interface.

public class Unit : DiGi.BDL.Interfaces.IResultObject, DiGi.BDL.Interfaces.IBDLObject

Inheritance System.Object → Unit

Implements DiGi.BDL.Interfaces.IResultObject, DiGi.BDL.Interfaces.IBDLObject

Properties

Unit.hasDescription Property

Gets or sets a value indicating whether the unit has an associated description.

public bool hasDescription { get; set; }

Property Value

System.Boolean

Unit.id Property

Gets or sets the unique identifier of the unit.

public string? id { get; set; }

Property Value

System.String

Unit.level Property

Gets or sets the level associated with the unit.

public short level { get; set; }

Property Value

System.Int16

Unit.name Property

Gets or sets the name of the unit.

public string? name { get; set; }

Property Value

System.String

UnitsResponse Class

Represents the response object for unit-related queries, including pagination details.

public class UnitsResponse : DiGi.BDL.Classes.Response<DiGi.BDL.Classes.Unit>

Inheritance System.ObjectDiGi.BDL.Classes.Response<Unit> → UnitsResponse

Properties

UnitsResponse.page Property

Gets or sets the current page number of the results.

public int page { get; set; }

Property Value

System.Int32

UnitsResponse.pageSize Property

Gets or sets the number of items per page.

public int pageSize { get; set; }

Property Value

System.Int32

UnitYearlyValues Class

Represents a data model containing yearly values associated with a specific unit.

public class UnitYearlyValues : DiGi.BDL.Interfaces.IBDLObject

Inheritance System.Object → UnitYearlyValues

Implements DiGi.BDL.Interfaces.IBDLObject

Properties

UnitYearlyValues.aggregateId Property

Gets or sets the identifier for the aggregate group.

public int aggregateId { get; set; }

Property Value

System.Int32

UnitYearlyValues.results Property

Gets or sets the list of yearly value results associated with the unit.

public System.Collections.Generic.List<DiGi.BDL.Classes.YearlyValues>? results { get; set; }

Property Value

System.Collections.Generic.List<YearlyValues>

UnitYearlyValues.unitId Property

Gets or sets the unique identifier of the unit.

public string? unitId { get; set; }

Property Value

System.String

UnitYearlyValues.unitName Property

Gets or sets the name of the unit.

public string? unitName { get; set; }

Property Value

System.String

UnitYearlyValuesResponse Class

Represents a response containing yearly values for a specific unit.

public class UnitYearlyValuesResponse : DiGi.BDL.Classes.Response<DiGi.BDL.Classes.YearlyValues>

Inheritance System.ObjectDiGi.BDL.Classes.Response<YearlyValues> → UnitYearlyValuesResponse

Properties

UnitYearlyValuesResponse.aggregateId Property

Gets or sets the identifier of the aggregate associated with these values.

public int aggregateId { get; set; }

Property Value

System.Int32

UnitYearlyValuesResponse.unitId Property

Gets or sets the unique identifier of the unit.

public string? unitId { get; set; }

Property Value

System.String

UnitYearlyValuesResponse.unitName Property

Gets or sets the name of the unit.

public string? unitName { get; set; }

Property Value

System.String

YearlyValue Class

Represents a data object containing a value associated with a specific year and attribute identifier.

public class YearlyValue : DiGi.BDL.Interfaces.IBDLObject

Inheritance System.Object → YearlyValue

Implements DiGi.BDL.Interfaces.IBDLObject

Properties

YearlyValue.attrId Property

Gets or sets the unique identifier of the attribute associated with this value.

public int attrId { get; set; }

Property Value

System.Int32

YearlyValue.val Property

Gets or sets the numeric value for the specified year and attribute.

public double val { get; set; }

Property Value

System.Double

YearlyValue.year Property

Gets or sets the year string associated with the value.

public string? year { get; set; }

Property Value

System.String

YearlyValues Class

Represents a set of yearly values associated with a specific measurement unit and identifier.

public class YearlyValues : DiGi.BDL.Interfaces.IResultObject, DiGi.BDL.Interfaces.IBDLObject

Inheritance System.Object → YearlyValues

Implements DiGi.BDL.Interfaces.IResultObject, DiGi.BDL.Interfaces.IBDLObject

Properties

YearlyValues.id Property

Gets or sets the unique identifier for the yearly values record.

public int id { get; set; }

Property Value

System.Int32

YearlyValues.lastUpdate Property

Gets or sets the date and time when the yearly values were last updated.

public System.DateTime lastUpdate { get; set; }

Property Value

System.DateTime

YearlyValues.measureUnitId Property

Gets or sets the identifier of the measurement unit used for these values.

public int measureUnitId { get; set; }

Property Value

System.Int32

YearlyValues.values Property

Gets or sets the list of individual yearly value entries.

public System.Collections.Generic.List<DiGi.BDL.Classes.YearlyValue>? values { get; set; }

Property Value

System.Collections.Generic.List<YearlyValue>

Clone this wiki locally