Table of Contents

Class GeoservicesStartImportRequest

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

Request to start a single-layer GeoServices import job (POST /api/v1/admin/import/geoservices/start).

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

Properties

AutoPublish

Whether to auto-publish the imported layer. Defaults to true.

[JsonPropertyName("autoPublish")]
public bool? AutoPublish { get; init; }

Property Value

bool?

BatchSize

Optional page size used for bounded feature paging.

[JsonPropertyName("batchSize")]
public int? BatchSize { get; init; }

Property Value

int?

Credentials

Optional source credentials; queued imports accept only the secret-reference fields.

[JsonPropertyName("credentials")]
public GeoservicesCredentialDescriptor? Credentials { get; init; }

Property Value

GeoservicesCredentialDescriptor

LayerId

Source layer id to import.

[JsonPropertyName("layerId")]
public int LayerId { get; init; }

Property Value

int

MaxRetries

Optional maximum retry attempts for transient source failures.

[JsonPropertyName("maxRetries")]
public int? MaxRetries { get; init; }

Property Value

int?

OutputFields

Optional explicit field selection. Imports every field when omitted.

[JsonPropertyName("outputFields")]
public IReadOnlyList<string>? OutputFields { get; init; }

Property Value

IReadOnlyList<string>

OverwriteExisting

Whether to overwrite an existing table of the same name.

[JsonPropertyName("overwriteExisting")]
public bool? OverwriteExisting { get; init; }

Property Value

bool?

RequestTimeoutSeconds

Optional per-request timeout in seconds.

[JsonPropertyName("requestTimeoutSeconds")]
public int? RequestTimeoutSeconds { get; init; }

Property Value

int?

ServiceName

Optional target Honua service name for auto-publishing.

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

Property Value

string

ServiceUrl

URL of the GeoServices REST service.

[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

TableName

Target PostGIS table name.

[JsonPropertyName("tableName")]
public required string TableName { get; init; }

Property Value

string

TargetSchema

Optional target schema for the imported table.

[JsonPropertyName("targetSchema")]
public string? TargetSchema { get; init; }

Property Value

string

TargetSrid

Target SRID. Defaults to 4326 when omitted.

[JsonPropertyName("targetSrid")]
public int? TargetSrid { get; init; }

Property Value

int?

WhereClause

Optional GeoServices WHERE clause used to filter source features.

[JsonPropertyName("whereClause")]
public string? WhereClause { get; init; }

Property Value

string