Table of Contents

Class GeoservicesDiscoverResponse

Namespace
Honua.Sdk.Admin.Models
Assembly
Honua.Sdk.Admin.dll

Response returned by POST /api/v1/admin/import/geoservices/discover.

public sealed record GeoservicesDiscoverResponse : IEquatable<GeoservicesDiscoverResponse>
Inheritance
GeoservicesDiscoverResponse
Implements
Inherited Members

Properties

Description

Service description.

[JsonPropertyName("description")]
public string? Description { get; init; }

Property Value

string

Layers

Available layers.

[JsonPropertyName("layers")]
public IReadOnlyList<GeoservicesLayerSummary> Layers { get; init; }

Property Value

IReadOnlyList<GeoservicesLayerSummary>

MaxRecordCount

Maximum records per query page advertised by the service.

[JsonPropertyName("maxRecordCount")]
public int? MaxRecordCount { get; init; }

Property Value

int?

ServiceName

Service name.

[JsonPropertyName("serviceName")]
public required string ServiceName { get; init; }

Property Value

string

ServiceUrl

The discovered service URL.

[SuppressMessage("Design", "CA1056:URI-like properties should not be strings", Justification = "The GeoServices import JSON contract represents source URLs as strings.")]
[JsonPropertyName("serviceUrl")]
public required string ServiceUrl { get; init; }

Property Value

string

SpatialReferenceWkid

Spatial reference WKID advertised by the service.

[JsonPropertyName("spatialReferenceWkid")]
public int? SpatialReferenceWkid { get; init; }

Property Value

int?