Table of Contents

Class ApplyEditsRequest

Namespace
Honua.Sdk.Grpc.Models
Assembly
Honua.Sdk.Grpc.dll

Request parameters for applying feature edits to a service layer.

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

Properties

Adds

Features to add.

public IReadOnlyList<Feature>? Adds { get; init; }

Property Value

IReadOnlyList<Feature>

DeleteGlobalIds

Global IDs of features to delete when UseGlobalIds is true.

public IReadOnlyList<string>? DeleteGlobalIds { get; init; }

Property Value

IReadOnlyList<string>

Deletes

Object IDs of features to delete.

public IReadOnlyList<long>? Deletes { get; init; }

Property Value

IReadOnlyList<long>

ForceWrite

Whether to force writes that would otherwise be rejected by conflict detection.

public bool ForceWrite { get; init; }

Property Value

bool

IdempotencyKey

Optional client-generated idempotency key for retry deduplication.

public string? IdempotencyKey { get; init; }

Property Value

string

LayerId

Layer index within the service.

public required int LayerId { get; init; }

Property Value

int

RollbackOnFailure

Whether to roll back all edits if any single edit fails.

public bool RollbackOnFailure { get; init; }

Property Value

bool

ServiceId

Service identifier.

public required string ServiceId { get; init; }

Property Value

string

Updates

Features to update (must include Id).

public IReadOnlyList<Feature>? Updates { get; init; }

Property Value

IReadOnlyList<Feature>

UseGlobalIds

Whether updates and deletes address features by global ID instead of integer object ID.

public bool UseGlobalIds { get; init; }

Property Value

bool