Class FeatureServerField
- Namespace
- Honua.Sdk.GeoServices.FeatureServer.Models
- Assembly
- Honua.Sdk.GeoServices.dll
A field definition from a FeatureServer layer.
[JsonConverter(typeof(FeatureServerFieldConverter))]
public sealed class FeatureServerField
- Inheritance
-
FeatureServerField
- Inherited Members
Properties
AdditionalProperties
Every source member not modelled by a typed property, preserved verbatim so metadata survives import without loss.
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "Populated by FeatureServerFieldConverter.")]
public Dictionary<string, JsonElement>? AdditionalProperties { get; set; }
Property Value
Alias
The field alias (display name).
public string? Alias { get; init; }
Property Value
DefaultValue
The default value for the field.
public JsonElement? DefaultValue { get; init; }
Property Value
Domain
The provider-native domain metadata for the field.
public JsonElement? Domain { get; init; }
Property Value
Editable
Whether the field is editable. An omitted source member deserializes to false,
the same value as an explicit "editable": false. Use IsEditable to tell the
two apart.
public bool Editable { get; init; }
Property Value
IsEditable
Whether the field is editable, preserving "not advertised" (null) as distinct
from an explicit "editable": false.
public bool? IsEditable { get; init; }
Property Value
- bool?
IsNullable
Whether the field is nullable, preserving "not advertised" (null) as distinct
from an explicit "nullable": false.
public bool? IsNullable { get; init; }
Property Value
- bool?
Length
Maximum length for string fields.
public int? Length { get; init; }
Property Value
- int?
Name
The field name.
public string Name { get; init; }
Property Value
Nullable
Whether the field is nullable. An omitted source member deserializes to false,
the same value as an explicit "nullable": false. Use IsNullable to tell the
two apart.
public bool Nullable { get; init; }
Property Value
Type
The field type (e.g., "esriFieldTypeOID", "esriFieldTypeString").
public string Type { get; init; }