Class PortalSharingItem
- Namespace
- Honua.Sdk.GeoServices.Portal.Models
- Assembly
- Honua.Sdk.GeoServices.dll
Sharing entry returned by /sharing/rest/search or /sharing/rest/content/items/{id}.
public sealed class PortalSharingItem
- Inheritance
-
PortalSharingItem
- Inherited Members
Properties
Access
Projected RBAC access level (public, org, or private).
[JsonPropertyName("access")]
public string Access { get; init; }
Property Value
AdditionalProperties
Unmodeled JSON properties preserved from the server response.
[JsonExtensionData]
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "System.Text.Json source generation requires a setter for JsonExtensionData.")]
public Dictionary<string, JsonElement>? AdditionalProperties { get; set; }
Property Value
Created
Creation timestamp in Unix milliseconds.
[JsonPropertyName("created")]
public long Created { get; init; }
Property Value
Culture
Culture or language tag.
[JsonPropertyName("culture")]
public string? Culture { get; init; }
Property Value
Description
Long-form description.
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
Extent
Bounding extent as [[xmin, ymin], [xmax, ymax]], or empty when unavailable.
[JsonPropertyName("extent")]
public IReadOnlyList<IReadOnlyList<double>> Extent { get; init; }
Property Value
GroupCategories
Optional group category assignments.
[JsonPropertyName("groupCategories")]
public IReadOnlyList<string>? GroupCategories { get; init; }
Property Value
Id
Stable identifier for this sharing entry.
[JsonPropertyName("id")]
public string Id { get; init; }
Property Value
Modified
Last-modified timestamp in Unix milliseconds.
[JsonPropertyName("modified")]
public long Modified { get; init; }
Property Value
NumComments
Reported comment count.
[JsonPropertyName("numComments")]
public int NumComments { get; init; }
Property Value
NumViews
Reported view count.
[JsonPropertyName("numViews")]
public int NumViews { get; init; }
Property Value
Owner
Owner username.
[JsonPropertyName("owner")]
public string Owner { get; init; }
Property Value
Snippet
Short summary snippet.
[JsonPropertyName("snippet")]
public string? Snippet { get; init; }
Property Value
SpatialReference
Spatial reference WKID or WKT reported for the extent.
[JsonPropertyName("spatialReference")]
[JsonConverter(typeof(PortalSpatialReferenceConverter))]
public string? SpatialReference { get; init; }
Property Value
Tags
Discovery tags.
[JsonPropertyName("tags")]
public IReadOnlyList<string> Tags { get; init; }
Property Value
Title
Human-readable title.
[JsonPropertyName("title")]
public string Title { get; init; }
Property Value
Type
Service type string such as Feature Service, Map Service, or Image Service.
[JsonPropertyName("type")]
public string Type { get; init; }
Property Value
TypeKeywords
Type keywords describing advertised capabilities.
[JsonPropertyName("typeKeywords")]
public IReadOnlyList<string> TypeKeywords { get; init; }
Property Value
Url
Target service URL such as .../rest/services/{name}/FeatureServer.
[JsonPropertyName("url")]
[SuppressMessage("Design", "CA1056:URI-like properties should not be strings", Justification = "Mirrors the /sharing/rest JSON wire contract, which carries URLs verbatim as strings.")]
public string? Url { get; init; }