response

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvancedEditingCapabilities

type AdvancedEditingCapabilities struct {
	SupportsSplit                        bool     `json:"supportsSplit"`
	SupportsReturnServiceEditsInSourceSR bool     `json:"supportsReturnServiceEditsInSourceSR"`
	SupportedSQLFormatsInCalculate       []string `json:"supportedSqlFormatesInCalculate,omitempty"`
	SupportsAsyncApplyEdits              bool     `json:"supportsAsyncApplyEdits,omitempty"`
	SupportsReturnEditResults            bool     `json:"supportsReturnEditResults,omitempty"`
	SupportsApplyEditsbyUploadID         bool     `json:"supportsApplyEditsbyUploadID,omitempty"`
	SupportedApplyEditsUploadIDFormats   string   `json:"supportedApplyEditsUploadIDFormats,omitempty"`
}

type AdvancedQueryAnalyticCapabilities added in v0.0.9

type AdvancedQueryAnalyticCapabilities struct {
	SupportsPercentileAnalytic *bool `json:"supportsPercentileAnalytic,omitempty"`
}

AdvancedQueryAnalyticCapabilities defines advanced query analytic capabilities

type AdvancedQueryCapabilities added in v0.0.9

type AdvancedQueryCapabilities struct {
	SupportsPagination                    *bool       `json:"supportsPagination,omitempty"`
	SupportsTrueCurve                     *bool       `json:"supportsTrueCurve,omitempty"`
	SupportsQueryWithDistance             *bool       `json:"supportsQueryWithDistance,omitempty"`
	SupportsLod                           *bool       `json:"supportsLod,omitempty"`
	SupportsReturningQueryExtent          *bool       `json:"supportsReturningQueryExtent,omitempty"`
	SupportsStatistics                    *bool       `json:"supportsStatistics,omitempty"`
	SupportsHavingClause                  *bool       `json:"supportsHavingClause,omitempty"`
	SupportsOrderBy                       *bool       `json:"supportsOrderBy,omitempty"`
	SupportsDistinct                      *bool       `json:"supportsDistinct,omitempty"`
	SupportsCountDistinct                 *bool       `json:"supportsCountDistinct,omitempty"`
	SupportsPaginationOnAggregatedQueries *bool       `json:"supportsPaginationOnAggregatedQueries,omitempty"`
	SupportsQueryWithResultType           *bool       `json:"supportsQueryWithResultType,omitempty"`
	SupportsReturningGeometryCentroid     *bool       `json:"supportsReturningGeometryCentroid,omitempty"`
	SupportsSQLExpression                 *bool       `json:"supportsSqlExpression,omitempty"`
	SupportsOutFieldsSQLExpression        *bool       `json:"supportsOutFieldsSqlExpression,omitempty"`
	SupportsTopFeaturesQuery              *bool       `json:"supportsTopFeaturesQuery,omitempty"`
	SupportsOrderByOnlyOnLayerFields      *bool       `json:"supportsOrderByOnlyOnLayerFields,omitempty"`
	SupportsQueryWithDatumTransformation  *bool       `json:"supportsQueryWithDatumTransformation,omitempty"`
	SupportsPercentileStatistics          *bool       `json:"supportsPercentileStatistics,omitempty"`
	SupportsQueryAttachments              *bool       `json:"supportsQueryAttachments,omitempty"`
	SupportsQueryAttachmentsWithReturnURL *bool       `json:"supportsQueryAttachmentsWithReturnUrl,omitempty"`
	SupportsQueryAnalytic                 *bool       `json:"supportsQueryAnalytic,omitempty"`
	SupportedMultipatchOptions            []string    `json:"supportedMultipatchOptions,omitempty"`
	SupportsCurrentUserQueries            *bool       `json:"supportsCurrentUserQueries,omitempty"`
	SupportsFullTextSearch                *bool       `json:"supportsFullTextSearch,omitempty"`
	FullTextSearchCapabilities            interface{} `json:"fullTextSearchCapabilities,omitempty"`
	FullTextSearchableFields              []string    `json:"fullTextSearchableFields,omitempty"`
	SupportedCurveTypes                   []string    `json:"supportedCurveTypes,omitempty"`
}

AdvancedQueryCapabilities defines advanced query capabilities

type AppInfo

type AppInfo struct {
	AppId      string   `json:"appId"`
	ItemId     string   `json:"itemId"`
	AppOwner   string   `json:"appOwner"`
	OrgId      string   `json:"orgId"`
	AppTitle   string   `json:"appTitle"`
	Privileges []string `json:"privileges"`
}

type ArchivingInfo added in v0.0.9

type ArchivingInfo struct {
	SupportsQueryWithHistoricMoment *bool  `json:"supportsQueryWithHistoricMoment,omitempty"`
	StartArchivingMoment            *int64 `json:"startArchivingMoment,omitempty"`
}

ArchivingInfo contains archiving information

type AttributeValue added in v0.0.9

type AttributeValue interface {
	String() string
}

type AttributesGeocode

type AttributesGeocode struct {
}

type Basemap

type Basemap struct {
	BasemapLayers []LayerResource `json:"baseMapLayers"`
	Title         string          `json:"title"`
}

type ChangeTrackingInfo

type ChangeTrackingInfo struct {
	LastSyncDate    int64       `json:"lastSyncDate"`
	LayerServerGens []ServerGen `json:"layerServerGens"`
}

type DateFieldsTimeReference added in v0.0.9

type DateFieldsTimeReference struct {
	TimeZone               *string `json:"timeZone,omitempty"`
	TimeZoneIANA           *string `json:"timeZoneIANA,omitempty"`
	RespectsDaylightSaving *bool   `json:"respectsDaylightSaving,omitempty"`
}

DateFieldsTimeReference contains time zone information

type DateValue added in v0.0.9

type DateValue struct{ V time.Time }

func (DateValue) String added in v0.0.9

func (d DateValue) String() string

func (DateValue) Value added in v0.0.9

func (d DateValue) Value() any

type DrawingInfo added in v0.0.9

type DrawingInfo struct {
	Renderer     interface{} `json:"renderer,omitempty"`
	Transparency *int        `json:"transparency,omitempty"`
	LabelingInfo interface{} `json:"labelingInfo,omitempty"`
}

DrawingInfo contains drawing/rendering information

type EditFieldsInfo added in v0.0.9

type EditFieldsInfo struct {
	CreationDateField       *string                  `json:"creationDateField,omitempty"`
	CreatorField            *string                  `json:"creatorField,omitempty"`
	EditDateField           *string                  `json:"editDateField,omitempty"`
	EditorField             *string                  `json:"editorField,omitempty"`
	Realm                   *string                  `json:"realm,omitempty"`
	DateFieldsTimeReference *DateFieldsTimeReference `json:"dateFieldsTimeReference,omitempty"`
}

EditFieldsInfo contains information about edit tracking fields

type EditorTrackingInfo

type EditorTrackingInfo struct {
	EnableEditorTracking         bool `json:"enableEditorTracking"`
	EnableOwnershipAccessControl bool `json:"enableOwnershipAccessControl"`
	AllowOthersToUpdate          bool `json:"allowOthersToUpdate"`
	AllowOthersToDelete          bool `json:"allowOthersToDelete"`
	AllowOthersToQuery           bool `json:"allowOthersToQuery,omitempty"`
	AllowAnonymousToUpdate       bool `json:"allowAnonymousToUpdate,omitempty"`
	AllowAnonymousToDelete       bool `json:"allowAnonymousToDelete,omitempty"`
	AllowAnonymousToQuery        bool `json:"allowAnonymousToQuery,omitempty"`
}

type Envelope

type Envelope struct {
	Xmin             float64          `json:"xmin"`
	Ymin             float64          `json:"ymin"`
	Xmax             float64          `json:"xmax"`
	Ymax             float64          `json:"ymax"`
	SpatialReference SpatialReference `json:"spatialReference"`
}

type Extent

type Extent struct {
	MMin             *float64 `json:"mmin,omitempty"`
	MMax             *float64 `json:"mmax,omitempty"`
	XMin             float64  `json:"xmin"`
	YMin             float64  `json:"ymin"`
	XMax             float64  `json:"xmax"`
	YMax             float64  `json:"ymax"`
	ZMin             *float64 `json:"zmin,omitempty"`
	ZMax             *float64 `json:"zmax,omitempty"`
	SpatialReference SpatialReference
}

type ExtractChangesCapabilities

type ExtractChangesCapabilities struct {
	SupportsReturnIdsOnly            bool `json:"supportsReturnIdsOnly"`
	SupportsReturnExtentOnly         bool `json:"supportsReturnExtentOnly"`
	SupportsReturnAttachments        bool `json:"supportsReturnAttachments"`
	SupportsLayerQueries             bool `json:"supportsLayerQueries"`
	SupportsSpatialFilter            bool `json:"supportsSpatialFilter,omitempty"`
	SupportsFeatureReturn            bool `json:"supportsFeatureReturn,omitempty"`
	SupportsReturnFeature            bool `json:"supportsReturnFeature,omitempty"`
	SupportsGeometry                 bool `json:"supportsGeometry,omitempty"`
	SupportsReturnHasGeometryUpdates bool `json:"supportsReturnHasGeometryUpdates,omitempty"`
	SupportsReturnDeletedFeatures    bool `json:"supportsReturnDeletedFeatures,omitempty"`
	SupportsServerGens               bool `json:"supportsServerGens,omitempty"`
	SupportsFieldsToCompare          bool `json:"supportsFieldsToCompare,omitempty"`
}

type Feature added in v0.0.9

type Feature struct {
	Attributes map[string]AttributeValue `json:"-"` // Handle manually
	Geometry   Geometry                  `json:"-"` // Handle manually
}

func (*Feature) UnmarshalWithType added in v0.0.9

func (f *Feature) UnmarshalWithType(data []byte, geometryType string, fieldNameToType map[string]FieldType) error

type FeatureService

type FeatureService struct {
	CurrentVersion                              float64                     `json:"currentVersion"`
	ServiceItemId                               string                      `json:"serviceItemId,omitempty"`
	SourceSchemaChangesAllowed                  bool                        `json:"sourceSchemaChangesAllowed,omitempty"`
	HasViews                                    bool                        `json:"hasViews,omitempty"`
	HasSyncEnabledViews                         bool                        `json:"hasSyncEnabledViews,omitempty"`
	ServiceDescription                          string                      `json:"serviceDescription"`
	HasVersionedData                            bool                        `json:"hasVersionedData"`
	SupportsDisconnectedEditing                 bool                        `json:"supportsDisconnectedEditing"`
	SupportsDatumTransformation                 bool                        `json:"supportsDatumTransformation,omitempty"`
	SupportsReturnDeleteResults                 bool                        `json:"supportsReturnDeleteResults"`
	HasStaticData                               bool                        `json:"hasStaticData"`
	HasSharedDomains                            bool                        `json:"hasSharedDomains,omitempty"`
	MaxRecordCount                              uint                        `json:"maxRecordCount,omitempty"`
	SupportedQueryFormats                       string                      `json:"supportedQueryFormats"`
	SupportsRelationshipsResource               bool                        `json:"supportsRelationshipsResource,omitempty"`
	SupportsAppend                              bool                        `json:"supportsAppend"`
	SupportedAppendFormats                      string                      `json:"supportedAppendFormats,omitempty"`
	SupportedExportFormats                      string                      `json:"supportedExportFormats,omitempty"`
	SupportsTrueCurve                           bool                        `json:"supportsTrueCurve"`
	SupportedCurveTypes                         []string                    `json:"supportedCurveTypes,omitempty"`
	SupportsVCSProjection                       bool                        `json:"supportsVCSProjection,omitempty"`
	SupportedConvertFileFormats                 string                      `json:"supportedConvertFileFormats,omitempty"`
	SupportedConvertContentFormats              string                      `json:"supportedConvertContentFormats,omitempty"`
	SupportedFullTextLocales                    []string                    `json:"supportedFullTextLocales,omitempty"`
	SupportsSharedTemplates                     bool                        `json:"supportsSharedTemplates,omitempty"`
	HasSharedTemplates                          bool                        `json:"hasSharedTemplates,omitempty"`
	Capabilities                                string                      `json:"capabilities"`
	Description                                 string                      `json:"description"`
	CopyrightText                               string                      `json:"copyrightText"`
	UserTypeExtensions                          []string                    `json:"userTypeExtensions,omitempty"`
	AdvancedEditingCapabilities                 AdvancedEditingCapabilities `json:"advancedEditingCapabilities"`
	SpatialReference                            SpatialReference            `json:"spatialReference"`
	InitialExtent                               Envelope                    `json:"initialExtent"`
	FullExtent                                  Envelope                    `json:"fullExtent"`
	AllowGeometryUpdates                        bool                        `json:"allowGeometryUpdates"`
	AllowTrueCurvesUpdates                      bool                        `json:"allowTrueCurvesUpdates,omitempty"`
	OnlyAllowTrueCurveUpdatesByTrueCurveClients bool                        `json:"onlyAllowTrueCurveUpdatesByTrueCurveClients,omitempty"`
	Units                                       string                      `json:"units"`
	SyncEnabled                                 bool                        `json:"syncEnabled"`
	ReturnServiceEditsHaveSR                    bool                        `json:"returnServiceEditsHaveSR,omitempty"`
	ValidationSystemLayers                      ValidationSystemLayers      `json:"validationSystemLayers,omitempty"`
	ExtractChangesCapabilities                  ExtractChangesCapabilities  `json:"extractChangesCapabilities,omitempty"`
	SyncCapabilities                            SyncCapabilities            `json:"syncCapabilities,omitempty"`
	EditorTrackingInfo                          EditorTrackingInfo          `json:"editorTrackingInfo,omitempty"`
	ChangeTrackingInfo                          ChangeTrackingInfo          `json:"changeTrackingInfo,omitempty"`
	DocumentInfo                                map[string]string           `json:"documentInfo,omitempty"`
	Layers                                      []Layer                     `json:"layers,omitempty"`
	Tables                                      []TableInfo                 `json:"tables,omitempty"`
	Relationships                               []RelationshipInfo          `json:"relationships,omitempty"`
	DatumTransformations                        []interface{}               `json:"datumTransformations,omitempty"`
	EnableZDefaults                             bool                        `json:"enableZDefaults,omitempty"`
	IsLocationTrackingService                   bool                        `json:"isLocationTrackingService,omitempty"`
	IsLocationTrackingView                      bool                        `json:"isLocationTrackingView,omitempty"`
	IsIndoorsService                            bool                        `json:"isIndoorsService,omitempty"`
	ZDefault                                    float64                     `json:"zDefault,omitempty"`
	XssPreventionInfo                           XssPreventionInfo           `json:"xssPreventionInfo,omitempty"`
	SupportsApplyEditsWithGlobalIds             bool                        `json:"supportsApplyEditsWithGlobalIds,omitempty"`
	SupportsLayerOverrides                      bool                        `json:"supportsLayerOverrides,omitempty"`
	SupportsTilesAndBasicQueriesMode            bool                        `json:"supportsTilesAndBasicQueriesMode,omitempty"`
	SupportsQueryContingentValues               bool                        `json:"supportsQueryContingentValues,omitempty"`
	SupportedContingentValuesFormats            string                      `json:"supportedContingentValuesFormats,omitempty"`
	SupportsContingentValuesJson                int                         `json:"supportsContingentValuesJson,omitempty"`
	Size                                        int64                       `json:"size,omitempty"`
	LayerOverridesEnabled                       bool                        `json:"layerOverridesEnabled,omitempty"`
}

type Field added in v0.0.9

type Field struct {
	Name         *string   `json:"name,omitempty"`
	Type         FieldType `json:"type,omitempty"`
	Alias        *string   `json:"alias,omitempty"`
	Domain       any       `json:"domain,omitempty"`
	Editable     *bool     `json:"editable,omitempty"`
	Nullable     *bool     `json:"nullable,omitempty"`
	Length       *int      `json:"length,omitempty"`
	DefaultValue any       `json:"defaultValue,omitempty"`
	ModelName    *string   `json:"modelName,omitempty"`
}

Field represents a field in the layer or table

func (*Field) UnmarshalJSON added in v0.0.9

func (f *Field) UnmarshalJSON(data []byte) error

type FieldType added in v0.0.9

type FieldType int

https://developers.arcgis.com/net/api-reference/api/uwp/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.FieldType.html

const (
	FieldTypeBlob FieldType = iota
	FieldTypeDate
	FieldTypeDateOnly
	FieldTypeFloat32
	FieldTypeFloat64
	FieldTypeGeometry
	FieldTypeGlobalID
	FieldTypeGuid
	FieldTypeIntegerSmall
	FieldTypeInteger
	FieldTypeInt64
	FieldTypeOID
	FieldTypeRaster
	FieldTypeString
	FieldTypeText
	FieldTypeTimeOnly
	FieldTypeTimestampOffset
	FieldTypeXml
)

type Float32Value added in v0.0.9

type Float32Value struct{ V float32 }

func (Float32Value) String added in v0.0.9

func (f Float32Value) String() string

func (Float32Value) Value added in v0.0.9

func (f Float32Value) Value() any

type Float64Value added in v0.0.9

type Float64Value struct{ V float64 }

func (Float64Value) String added in v0.0.9

func (f Float64Value) String() string

func (Float64Value) Value added in v0.0.9

func (f Float64Value) Value() any

type GenericValue added in v0.0.9

type GenericValue struct{ V any }

GenericValue as fallback

func (GenericValue) String added in v0.0.9

func (g GenericValue) String() string

func (GenericValue) Value added in v0.0.9

func (g GenericValue) Value() any

type GeocodeCandidate

type GeocodeCandidate struct {
	Address    string            `json:"address"`
	Location   Location          `json:"location"`
	Score      int               `json:"score"`
	Attributes AttributesGeocode `json:"attributes"`
	Extent     Extent            `json:"extent"`
}

type GeocodeFindAddressCandidates

type GeocodeFindAddressCandidates struct {
	Candidates       []GeocodeCandidate `json:"candidates"`
	SpatialReference SpatialReference   `json:"spatialReference"`
}

type Geometry added in v0.0.9

type Geometry interface {
	Project(string, string) (Geometry, error)
	String() string
	ToGeoJSON() (string, error)
	Type() string
}

type GeometryNull added in v0.0.9

type GeometryNull struct{}

func (GeometryNull) Project added in v0.0.9

func (g GeometryNull) Project(string, string) (Geometry, error)

func (GeometryNull) String added in v0.0.9

func (g GeometryNull) String() string

func (GeometryNull) ToGeoJSON added in v0.0.9

func (g GeometryNull) ToGeoJSON() (string, error)

func (GeometryNull) Type added in v0.0.9

func (g GeometryNull) Type() string

type GeometryProperties added in v0.0.9

type GeometryProperties struct {
	ShapeAreaFieldName   *string `json:"shapeAreaFieldName,omitempty"`
	ShapeLengthFieldName *string `json:"shapeLengthFieldName,omitempty"`
	Units                *string `json:"units,omitempty"`
}

GeometryProperties contains geometry-related properties

type Group

type Group struct {
	ID    string `json:"id"`
	Title string `json:"title"`
	Owner string `json:"owner"`
}

type HeightModelInfo added in v0.0.9

type HeightModelInfo struct {
	HeightModel *string `json:"heightModel,omitempty"`
	VertCRS     *string `json:"vertCRS,omitempty"`
	HeightUnit  *string `json:"heightUnit,omitempty"`
}

HeightModelInfo contains height model information

type HelperServices added in v0.0.9

type HelperServices struct {
	Geometry Service `json:"geometry"`
}

type Int16Value added in v0.0.9

type Int16Value struct{ V int16 }

func (Int16Value) String added in v0.0.9

func (i Int16Value) String() string

func (Int16Value) Value added in v0.0.9

func (i Int16Value) Value() any

type Int32Value added in v0.0.9

type Int32Value struct{ V int32 }

func (Int32Value) String added in v0.0.9

func (i Int32Value) String() string

func (Int32Value) Value added in v0.0.9

func (i Int32Value) Value() any

type LOD added in v0.0.9

type LOD struct {
	Level      int     `json:"level"`
	Resolution float64 `json:"resolution"`
	Scale      float64 `json:"scale"`
}

type Layer

type Layer struct {
	//ID                StringOrNumber `json:"id"`
	ID                uint   `json:"id"`
	Name              string `json:"name"`
	ParentLayerId     int    `json:"parentLayerId"`
	DefaultVisibility bool   `json:"defaultVisibility"`
	SubLayerIds       any    `json:"subLayerIds"`
	MinScale          int    `json:"minScale"`
	MaxScale          int    `json:"maxScale"`
	Type              string `json:"type"`
	GeometryType      string `json:"geometryType,omitempty"`
}

type LayerFeature added in v0.0.9

type LayerFeature struct {
	ID                int     `json:"id"`
	Name              string  `json:"name"`
	DefaultVisibility bool    `json:"defaultVisibility"`
	ParentLayerID     int     `json:"parentLayerId"`
	SubLayerIds       []int   `json:"subLayerIds"`
	MinScale          float64 `json:"minScale"`
	MaxScale          float64 `json:"maxScale"`
	Type              string
	GeometryType      string
}

type LayerMetadata added in v0.0.9

type LayerMetadata struct {
	CurrentVersion                         *float64                                `json:"currentVersion,omitempty"`
	ID                                     *int                                    `json:"id,omitempty"`
	Name                                   *string                                 `json:"name,omitempty"`
	Type                                   *string                                 `json:"type,omitempty"`
	ParentLayer                            *int                                    `json:"parentLayer,omitempty"`
	DisplayField                           *string                                 `json:"displayField,omitempty"`
	Description                            *string                                 `json:"description,omitempty"`
	CopyrightText                          *string                                 `json:"copyrightText,omitempty"`
	SubtypeField                           *string                                 `json:"subtypeField,omitempty"`
	DefaultSubtypeCode                     *int                                    `json:"defaultSubtypeCode,omitempty"`
	DefaultVisibility                      *bool                                   `json:"defaultVisibility,omitempty"`
	EditFieldsInfo                         *EditFieldsInfo                         `json:"editFieldsInfo,omitempty"`
	OwnershipBasedAccessControlForFeatures *OwnershipBasedAccessControlForFeatures `json:"ownershipBasedAccessControlForFeatures,omitempty"`
	SyncCanReturnChanges                   *bool                                   `json:"syncCanReturnChanges,omitempty"`
	Relationships                          []Relationship                          `json:"relationships,omitempty"`
	IsDataVersioned                        *bool                                   `json:"isDataVersioned,omitempty"`
	IsDataArchived                         *bool                                   `json:"isDataArchived,omitempty"`
	IsDataBranchVersioned                  *bool                                   `json:"isDataBranchVersioned,omitempty"`
	IsDataReplicaTracked                   *bool                                   `json:"isDataReplicaTracked,omitempty"`
	IsCoGoEnabled                          *bool                                   `json:"isCoGoEnabled,omitempty"`
	SupportsRollbackOnFailureParameter     *bool                                   `json:"supportsRollbackOnFailureParameter,omitempty"`
	DateFieldsTimeReference                *DateFieldsTimeReference                `json:"dateFieldsTimeReference,omitempty"`
	PreferredTimeReference                 *DateFieldsTimeReference                `json:"preferredTimeReference,omitempty"`
	DatesInUnknownTimezone                 *bool                                   `json:"datesInUnknownTimezone,omitempty"`
	ArchivingInfo                          *ArchivingInfo                          `json:"archivingInfo,omitempty"`
	SupportsStatistics                     *bool                                   `json:"supportsStatistics,omitempty"`
	SupportsAdvancedQueries                *bool                                   `json:"supportsAdvancedQueries,omitempty"`
	SupportsCoordinatesQuantization        *bool                                   `json:"supportsCoordinatesQuantization,omitempty"`
	SupportsDatumTransformation            *bool                                   `json:"supportsDatumTransformation,omitempty"`
	GeometryType                           *string                                 `json:"geometryType,omitempty"`
	GeometryProperties                     *GeometryProperties                     `json:"geometryProperties,omitempty"`
	MinScale                               *float64                                `json:"minScale,omitempty"`
	MaxScale                               *float64                                `json:"maxScale,omitempty"`
	EffectiveMinScale                      *float64                                `json:"effectiveMinScale,omitempty"`
	EffectiveMaxScale                      *float64                                `json:"effectiveMaxScale,omitempty"`
	SupportsQuantizationEditMode           *bool                                   `json:"supportsQuantizationEditMode,omitempty"`
	SupportsAppend                         *bool                                   `json:"supportsAppend,omitempty"`
	SupportedAppendFormats                 *string                                 `json:"supportedAppendFormats,omitempty"`
	HasContingentValuesDefinition          *bool                                   `json:"hasContingentValuesDefinition,omitempty"`
	SpatialReference                       *SpatialReference                       `json:"spatialReference,omitempty"`
	AdvancedQueryCapabilities              *AdvancedQueryCapabilities              `json:"advancedQueryCapabilities,omitempty"`
	StandardMaxRecordCountNoGeometry       *int                                    `json:"standardMaxRecordCountNoGeometry,omitempty"`
	SupportsAsyncCalculate                 *bool                                   `json:"supportsAsyncCalculate,omitempty"`
	SupportsFieldDescriptionProperty       *bool                                   `json:"supportsFieldDescriptionProperty,omitempty"`
	AdvancedEditingCapabilities            *AdvancedEditingCapabilities            `json:"advancedEditingCapabilities,omitempty"`
	AdvancedQueryAnalyticCapabilities      *AdvancedQueryAnalyticCapabilities      `json:"advancedQueryAnalyticCapabilities,omitempty"`
	UserTypeExtensions                     []string                                `json:"userTypeExtensions,omitempty"`
	Extent                                 *Extent                                 `json:"extent,omitempty"`
	HeightModelInfo                        *HeightModelInfo                        `json:"heightModelInfo,omitempty"`
	SourceHeightModelInfo                  *HeightModelInfo                        `json:"sourceHeightModelInfo,omitempty"`
	SourceSpatialReference                 *SpatialReference                       `json:"sourceSpatialReference,omitempty"`
	DrawingInfo                            *DrawingInfo                            `json:"drawingInfo,omitempty"`
	HasM                                   *bool                                   `json:"hasM,omitempty"`
	HasZ                                   *bool                                   `json:"hasZ,omitempty"`
	EnableZDefaults                        *bool                                   `json:"enableZDefaults,omitempty"`
	ZDefault                               *float64                                `json:"zDefault,omitempty"`
	AllowGeometryUpdates                   *bool                                   `json:"allowGeometryUpdates,omitempty"`
	TimeInfo                               *TimeInfo                               `json:"timeInfo,omitempty"`
	HasAttachments                         *bool                                   `json:"hasAttachments,omitempty"`
	HTMLPopupType                          *string                                 `json:"htmlPopupType,omitempty"`
	ObjectIDField                          *string                                 `json:"objectIdField,omitempty"`
	GlobalIDField                          *string                                 `json:"globalIdField,omitempty"`
	TypeIDField                            *string                                 `json:"typeIdField,omitempty"`
	Fields                                 []Field                                 `json:"fields,omitempty"`
	GeometryField                          *Field                                  `json:"geometryField,omitempty"`
	Types                                  []Type                                  `json:"types,omitempty"`
	Templates                              []Template                              `json:"templates,omitempty"`
	Subtypes                               []Subtype                               `json:"subtypes,omitempty"`
	MaxRecordCount                         *int                                    `json:"maxRecordCount,omitempty"`
	StandardMaxRecordCount                 *int                                    `json:"standardMaxRecordCount,omitempty"`
	TileMaxRecordCount                     *int                                    `json:"tileMaxRecordCount,omitempty"`
	MaxRecordCountFactor                   *int                                    `json:"maxRecordCountFactor,omitempty"`
	SupportedQueryFormats                  *string                                 `json:"supportedQueryFormats,omitempty"`
	SupportedExportFormats                 *string                                 `json:"supportedExportFormats,omitempty"`
	SupportedSpatialRelationships          []string                                `json:"supportedSpatialRelationships,omitempty"`
	HasMetadata                            *bool                                   `json:"hasMetadata,omitempty"`
	HasStaticData                          *bool                                   `json:"hasStaticData,omitempty"`
	SQLParserVersion                       *string                                 `json:"sqlParserVersion,omitempty"`
	IsUpdatableView                        *bool                                   `json:"isUpdatableView,omitempty"`
	Capabilities                           *string                                 `json:"capabilities,omitempty"`
}

type LayerResource

type LayerResource struct {
	ID        string `json:"id"`
	LayerType string `json:"layerType"`
	//ResourceInfo ResourceInfo `json:"resourceInfo"`
	URL        string `json:"url"`
	Visibility bool   `json:"visibility"`
	Opacity    int    `json:"opacity"`
	Title      string `json:"title"`
}

type Location

type Location struct {
	X float64 `json:"x"`
	Y float64 `json:"y"`
}

type MapServiceMetadata added in v0.0.9

type MapServiceMetadata struct {
	CurrentVersion            float64           `json:"currentVersion"`
	ServiceDescription        string            `json:"serviceDescription"`
	MapName                   string            `json:"mapName"`
	Description               string            `json:"description"`
	CopyrightText             string            `json:"copyrightText"`
	SupportsDynamicLayers     bool              `json:"supportsDynamicLayers"`
	Layers                    []LayerFeature    `json:"layers"`
	Tables                    []Table           `json:"tables"`
	SpatialReference          SpatialReference  `json:"spatialReference"`
	SingleFusedMapCache       bool              `json:"singleFusedMapCache"`
	TileInfo                  *TileInfo         `json:"tileInfo,omitempty"`
	StorageInfo               *StorageInfo      `json:"storageInfo,omitempty"`
	InitialExtent             Envelope          `json:"initialExtent"`
	FullExtent                Envelope          `json:"fullExtent"`
	DatesInUnknownTimezone    bool              `json:"datesInUnknownTimezone"`
	TimeInfo                  *TimeInfo         `json:"timeInfo,omitempty"`
	Units                     string            `json:"units"`
	SupportedImageFormatTypes string            `json:"supportedImageFormatTypes"`
	DocumentInfo              map[string]string `json:"documentInfo"`
	Capabilities              string            `json:"capabilities"`
	MaxRecordCount            int               `json:"maxRecordCount"`
	MaxImageHeight            int               `json:"maxImageHeight"`
	MaxImageWidth             int               `json:"maxImageWidth"`
	MinScale                  float64           `json:"minScale"`
	MaxScale                  float64           `json:"maxScale"`
	TileServers               []string          `json:"tileServers"`
	SupportedQueryFormats     string            `json:"supportedQueryFormats"`
	ExportTilesAllowed        bool              `json:"exportTilesAllowed"`
	MaxExportTilesCount       int               `json:"maxExportTilesCount"`
	SupportedExtensions       string            `json:"supportedExtensions"`
	Resampling                bool              `json:"resampling"`
}

type Multipoint2D added in v0.0.9

type Multipoint2D struct {
	HasZ             bool             `json:"hasZ"`
	HasM             bool             `json:"hasM"`
	IDs              []int            `json:"ids"`
	Points           [][2]float64     `json:"points"`
	SpatialReference SpatialReference `json:"spatialReference"`
}

func (Multipoint2D) ToGeoJSON added in v0.0.9

func (p Multipoint2D) ToGeoJSON() map[string]any

func (Multipoint2D) Type added in v0.0.9

func (p Multipoint2D) Type() string

type NullValue added in v0.0.9

type NullValue struct{}

NullValue for handling nulls

func (NullValue) String added in v0.0.9

func (NullValue) String() string

func (NullValue) Value added in v0.0.9

func (NullValue) Value() any

type OwnershipBasedAccessControlForFeatures added in v0.0.9

type OwnershipBasedAccessControlForFeatures struct {
	AllowOthersToUpdate *bool `json:"allowOthersToUpdate,omitempty"`
	AllowOthersToDelete *bool `json:"allowOthersToDelete,omitempty"`
	AllowOthersToQuery  *bool `json:"allowOthersToQuery,omitempty"`
}

OwnershipBasedAccessControlForFeatures defines ownership-based access control

type Permission

type Permission struct {
	ChildURL   string          `json:"childURL"`
	Operation  string          `json:"operation"`
	Permission PermissionEntry `json:"permission"`
	Principal  string          `json:"principal"`
}

type PermissionEntry

type PermissionEntry struct {
	Constraint string `json:"constraint"`
	IsAllowed  bool   `json:"isAllowed"`
}

type PermissionListResponse

type PermissionListResponse struct {
	Permissions []Permission `json:"permissions"`
}

type PermissionSlice

type PermissionSlice = []Permission

type Point added in v0.0.9

type Point struct {
	X                float64          `json:"x"`
	Y                float64          `json:"y"`
	Z                float64          `json:"z,omitempty"`
	M                float64          `json:"m,omitempty"`
	SpatialReference SpatialReference `json:"spatialReference,omitempty"`
}

func (Point) Project added in v0.0.9

func (p Point) Project(source string, target string) (Geometry, error)

func (Point) String added in v0.0.9

func (p Point) String() string

func (Point) ToGeoJSON added in v0.0.9

func (p Point) ToGeoJSON() (string, error)

func (Point) Type added in v0.0.9

func (p Point) Type() string

type Polygon2D added in v0.0.9

type Polygon2D struct {
	//CurveRings []Multipoint2D `json:"curveRings,omitempty"`
	HasM bool    `json:"hasM"`
	HasZ bool    `json:"hasZ"`
	IDs  [][]int `json:"ids"`
	//Rings            []Ring2D         `json:"rings,omitempty"`
	Rings            []orb.Ring       `json:"rings,omitempty"`
	SpatialReference SpatialReference `json:"spatialReference,omitempty"`
}

type P2D = [2]float64 type Ring2D = []P2D

func (Polygon2D) Project added in v0.0.9

func (p Polygon2D) Project(source string, target string) (Geometry, error)

func (Polygon2D) String added in v0.0.9

func (p Polygon2D) String() string

func (Polygon2D) ToGeoJSON added in v0.0.9

func (p Polygon2D) ToGeoJSON() (string, error)

func (Polygon2D) Type added in v0.0.9

func (p Polygon2D) Type() string

type Polyline added in v0.0.9

type Polyline struct {
	Paths [][][]float64 `json:"paths"`
}

func (Polyline) Project added in v0.0.9

func (p Polyline) Project(source string, target string) (Geometry, error)

func (Polyline) String added in v0.0.9

func (p Polyline) String() string

func (Polyline) ToGeoJSON added in v0.0.9

func (p Polyline) ToGeoJSON() (string, error)

func (Polyline) Type added in v0.0.9

func (p Polyline) Type() string

type Portal

type Portal struct {
	TwoDSketchStylesGroupQuery     string   `json:"2DSketchStylesGroupQuery"`
	TwoDStylesGroupQuery           string   `json:"2DStylesGroupQuery"`
	ThreeDBasemapGalleryGroupQuery string   `json:"3DBasemapGalleryGroupQuery"`
	Access                         string   `json:"access"`
	AllSSL                         bool     `json:"allSSL"`
	AllowedRedirectURIs            []string `json:"allowedRedirectUris"`
	AnalysisLayersGroupQuery       string   `json:"analysisLayersGroupQuery"`
	AuthorizedCrossOriginDomains   []string `json:"authorizedCrossOriginDomains"`
	AvailableCredits               float32  `json:"availableCredits"`
	BackgroundImage                string   `json:"backgroundImage"`
	BasemapGalleryGroupQuery       string   `json:"basemapGalleryGroupQuery"`
	CanListApps                    bool     `json:"canListApps"`
	CanListConsultingServices      bool     `json:"canListConsultingServices"`
	CanListData                    bool     `json:"canListData"`
	CanListPreProvisionedItems     bool     `json:"canListPreProvisionedItems"`
	CanListSolutions               bool     `json:"canListSolutions"`
	CanProvisionDirectPurchase     bool     `json:"canProvisionDirectPurchase"`
	CanSearchPublic                bool     `json:"canSearchPublic"`
	CanSetCustomBuyLink            bool     `json:"canSetCustomBuyLink"`
	CanSetQuestionnaire            bool     `json:"canSetQuestionnaire"`
	CanShareBingPublic             bool     `json:"canShareBingPublic"`
	CanSharePublic                 bool     `json:"canSharePublic"`
	CanSignInArcGIS                bool     `json:"canSignInArcGIS"`
	CanSignInIDP                   bool     `json:"canSignInIDP"`
	CanSignInOIDC                  bool     `json:"canSignInOIDC"`
	CanSignInSocial                bool     `json:"canSignInSocial"`
	CDNUrl                         string   `json:"cdnUrl"`
	ColorSetsGroupQuery            string   `json:"colorSetsGroupQuery"`
	CommentsEnabled                bool     `json:"commentsEnabled"`
	ContentCategorySetsGroupQuery  string   `json:"contentCategorySetsGroupQuery"`
	Created                        int64    `json:"created"`
	Culture                        string   `json:"culture"`
	CultureFormat                  string   `json:"cultureFormat"`
	CustomBaseUrl                  string   `json:"customBaseUrl"`
	DatabaseQuota                  int      `json:"databaseQuota"`
	DatabaseUsage                  int      `json:"databaseUsage"`
	Default3DBasemapQuery          string   `json:"default3DBasemapQuery"`
	DefaultBasemap                 Basemap  `json:"defaultBasemap"`
	DefaultDevBasemap              Basemap  `json:"defaultDevBasemap"`
	DefaultExtent                  Extent   `json:"defaultExtent"`
	DefaultUserCreditAssignment    int      `json:"defaultUserCreditAssignment"`
	DefaultVectorBasemap           Basemap  `json:"defaultVectorBasemap"`
	Description                    string
	Dev3DBasemapGalleryGroupQuery  string
	DevBasemapGalleryGroupQuery    string
	EueiEnabled                    bool
	FeaturedGroups                 []Group
	FeaturedGroupsId               string         `json:"featuredGroupsId"`
	FeaturedItemsGroupQuery        string         `json:"featuredItemsGroupQuery"`
	FontManifestUrl                string         `json:"fontManifestUrl"`
	G3DTilesGalleryGroupQuery      string         `json:"g3DTilesGalleryGroupQuery"`
	G3dTilesEnabled                bool           `json:"g3dTilesEnabled"`
	GalleryTemplatesGroupQuery     string         `json:"galleryTemplatesGroupQuery"`
	HasCategorySchema              bool           `json:"hasCategorySchema"`
	HasMemberCategorySchema        bool           `json:"hasMemberCategorySchema"`
	HelpBase                       string         `json:"helpBase"`
	HelperServices                 HelperServices `json:"helperServices"`
	HomePageFeaturedContent        string         `json:"homePageFeaturedContent"`
	HomePageFeaturedContentCount   int            `json:"homePageFeaturedContentCount"`
	ID                             string         `json:"id"`
	InactivityTimeout              int            `json:"inactivityTimeout"`
	IsPortal                       bool           `json:"isPortal"`
	IsVerified                     bool           `json:"isVerified"`
	LayerTemplatesGroupQuery       string         `json:"layerTemplatesGroupQuery"`
	LivingAtlasGroupQuery          string         `json:"livingAtlasGroupQuery"`
	MaxTokenExpirationMinutes      int            `json:"maxTokenExpirationMinutes"`
	MetadataEditable               bool           `json:"metadataEditable"`
	MetadataFormats                []string       `json:"metadataFormats"`
	Modified                       int64          `json:"modified"`
	Name                           string         `json:"name"`
	NotificationsEnabled           bool           `json:"notificationsEnabled"`
	PlatformSSO                    bool           `json:"platformSSO"`
	PortalHostname                 string         `json:"portalHostname"`
	PortalMode                     string         `json:"portalMode"`
	PortalName                     string         `json:"portalName"`
	//PortalProperties []PortalProperty `json:"portalProperties"`
	PortalThumbnail                   *string `json:"portalThumbnail"`
	RasterFunctionTemplatesGroupQuery string  `json:"rasterFunctionTemplatesGroupQuery"`
	Region                            string  `json:"region"`
	//RotatorPanels []RotatorPanel `json:"rotatorPanels"`
	ShowHomePageDescription        bool   `json:"showHomePageDescription"`
	StaticImagesUrl                string `json:"staticImagesUrl"`
	StorageQuota                   int    `json:"storageQuota"`
	StorageUsage                   int    `json:"storageUsage"`
	StylesGroupQuery               string `json:"stylesGroupQuery"`
	Supports3DTilesServices        bool   `json:"supports3DTilesServices"`
	SupportsHostedServices         bool   `json:"supportsHostedServices"`
	SymbolSetsGroupQuery           string `json:"symbolSetsGroupQuery"`
	TemplatesGroupQuery            string `json:"templatesGroupQuery"`
	Thumbnail                      string `json:"thumbnail"`
	Units                          string `json:"units"`
	UpdateUserProfileDisabled      bool   `json:"updateUserProfileDisabled"`
	UrlKey                         string `json:"urlKey"`
	Use3dBasemaps                  bool   `json:"use3dBasemaps"`
	UseDefault3dBasemap            bool   `json:"useDefault3dBasemap"`
	UseStandardizedQuery           bool   `json:"useStandardizedQuery"`
	UseVectorBasemaps              bool   `json:"useVectorBasemaps"`
	VectorBasemapGalleryGroupQuery string `json:"vectorBasemapGalleryGroupQuery"`
	//subscriptionInfo SubscriptionInfo `json:"subscriptionInfo"`
	RecycleBinSupported bool     `json:"recycleBinSupported"`
	RecycleBinEnabled   bool     `json:"recycleBinEnabled"`
	IpCntryCode         string   `json:"ipCntryCode"`
	HttpPort            int      `json:"httpPort"`
	HttpsPort           int      `json:"httpsPort"`
	SupportsOAuth       bool     `json:"supportsOAuth"`
	IsReadOnly          bool     `json:"isReadOnly"`
	CurrentVersion      string   `json:"currentVersion"`
	MfaEnabled          bool     `json:"mfaEnabled"`
	Contacts            []string `json:"contacts"`
	User                UserInfo `json:"user"`
	AppInfo             AppInfo  `json:"appInfo"`
}

type Project added in v0.0.9

type Project struct {
	Geometries []Geometry `json:"geometries"`
}

type QueryResult added in v0.0.9

type QueryResult struct {
	Features          []Feature        `json:"-"` // Handle manually
	Fields            []Field          `json:"-"` // Handle manually
	GeometryType      string           `json:"geometryType"`
	GlobalIDFieldName string           `json:"globalIdFieldName"`
	ObjectIDFieldName string           `json:"objectIdFieldName"`
	SpatialReference  SpatialReference `json:"spatialReference"`
	UniqueIDField     UniqueIdField    `json:"uniqueIdField"`
}

func (*QueryResult) UnmarshalJSON added in v0.0.9

func (qr *QueryResult) UnmarshalJSON(data []byte) error

type QueryResultCount added in v0.0.9

type QueryResultCount struct {
	Count int
}

type QueryResultOnlyIDs added in v0.0.9

type QueryResultOnlyIDs struct {
	ObjectIDFieldName string `json:"objectIdFieldName"`
	ObjectIDs         []int  `json:"objectIds"`
}

type Relationship added in v0.0.9

type Relationship struct {
	ID                          *int    `json:"id,omitempty"`
	Name                        *string `json:"name,omitempty"`
	RelatedTableID              *int    `json:"relatedTableId,omitempty"`
	Cardinality                 *string `json:"cardinality,omitempty"`
	Role                        *string `json:"role,omitempty"`
	KeyField                    *string `json:"keyField,omitempty"`
	Composite                   *bool   `json:"composite,omitempty"`
	CatalogID                   *string `json:"catalogID,omitempty"`
	RelationshipTableID         *int    `json:"relationshipTableId,omitempty"`
	KeyFieldInRelationshipTable *string `json:"keyFieldInRelationshipTable,omitempty"`
}

Relationship defines a relationship between tables

type RelationshipInfo

type RelationshipInfo struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type ServerGen

type ServerGen struct {
	ID           int `json:"id"`
	MinServerGen int `json:"minServerGen"`
	ServerGen    int `json:"serverGen"`
}

type ServerURL added in v0.0.9

type ServerURL struct {
	HTTPS []string `json:"https"`
}

type ServerURLCollection added in v0.0.9

type ServerURLCollection struct {
	Features  ServerURL `json:"features"`
	Insights  ServerURL `json:"insights"`
	Notebooks ServerURL `json:"notebooks"`
	Tiles     ServerURL `json:"tiles"`
}

type Service added in v0.0.9

type Service struct {
	URL string `json:"url"`
}

type SpatialReference

type SpatialReference struct {
	WKID          *int     `json:"wkid,omitempty"`
	LatestWKID    *int     `json:"latestWkid,omitempty"`
	VCSWKID       *int     `json:"vcsWkid,omitempty"`
	LatestVCSWKID *int     `json:"latestVcsWkid,omitempty"`
	XYTolerance   *float64 `json:"xyTolerance,omitempty"`
	ZTolerance    *float64 `json:"zTolerance,omitempty"`
	MTolerance    *float64 `json:"mTolerance,omitempty"`
	FalseX        *float64 `json:"falseX,omitempty"`
	FalseY        *float64 `json:"falseY,omitempty"`
	XYUnits       *float64 `json:"xyUnits,omitempty"`
	FalseZ        *float64 `json:"falseZ,omitempty"`
	ZUnits        *float64 `json:"zUnits,omitempty"`
	FalseM        *float64 `json:"falseM,omitempty"`
	MUnits        *float64 `json:"mUnits,omitempty"`
}

SpatialReference defines the spatial reference system

type StorageInfo added in v0.0.9

type StorageInfo struct {
	StorageFormat string `json:"storageFormat"`
	PacketSize    int    `json:"packetSize"`
}

type StringOrNumber added in v0.0.9

type StringOrNumber string

func (*StringOrNumber) UnmarshalJSON added in v0.0.9

func (son *StringOrNumber) UnmarshalJSON(data []byte) error

type Subtype added in v0.0.9

type Subtype struct {
	Code          interface{}            `json:"code,omitempty"`
	Name          *string                `json:"name,omitempty"`
	DefaultValues map[string]interface{} `json:"defaultValues,omitempty"`
	Domains       map[string]interface{} `json:"domains,omitempty"`
}

Subtype represents a feature subtype

type SyncCapabilities

type SyncCapabilities struct {
	SupportsAsync                        bool `json:"supportsAsync"`
	SupportsRegisteringExistingData      bool `json:"supportsRegisteringExistingData"`
	SupportsSyncDirectionControl         bool `json:"supportsSyncDirectionControl"`
	SupportsPerLayerSync                 bool `json:"supportsPerLayerSync"`
	SupportsPerReplicaSync               bool `json:"supportsPerReplicaSync"`
	SupportsRollbackOnFailure            bool `json:"supportsRollbackOnFailure"`
	SupportedSyncDataOptions             int  `json:"supportedSyncDataOptions"`
	SupportsQueryWithDatumTransformation bool `json:"supportsQueryWithDatumTransformatiom,omitempty"`
	SupportsSyncModelNone                bool `json:"supportsSyncModelNone,omitempty"`
	SupportsAttachmentsSyncDirection     bool `json:"supportsAttachmentsSyncDirection,omitempty"`
	SupportsBiDirectionalSyncForServer   bool `json:"supportsBiDirectionalSyncForServer,omitempty"`
}

type Table added in v0.0.9

type Table struct {
	ID                int    `json:"id"`
	Name              string `json:"name"`
	ParentLayerID     int
	DefaultVisibility bool
	SubLayerIDs       *string
	MinScale          int
	MaxScale          int
}

type TableInfo

type TableInfo struct {
	ID                int    `json:"id"`
	Name              string `json:"name"`
	ParentLayerId     int    `json:"parentLayerId"`
	DefaultVisibility bool   `json:"defaultVisibility"`
	SubLayerIds       any    `json:"subLayerIds"`
	MinScale          int    `json:"minScale"`
	MaxScale          int    `json:"maxScale"`
}

type Template added in v0.0.9

type Template struct {
	Name        *string     `json:"name,omitempty"`
	Description *string     `json:"description,omitempty"`
	Prototype   interface{} `json:"prototype,omitempty"`
	DrawingTool *string     `json:"drawingTool,omitempty"`
}

Template represents a feature template

type TextValue added in v0.0.9

type TextValue struct{ V string }

Concrete types for each field type

func (TextValue) String added in v0.0.9

func (t TextValue) String() string

func (TextValue) Value added in v0.0.9

func (t TextValue) Value() any

type TileInfo added in v0.0.9

type TileInfo struct {
	Rows               int              `json:"rows"`
	Cols               int              `json:"cols"`
	DPI                int              `json:"dpi"`
	Format             string           `json:"format"`
	CompressionQuality int              `json:"compressionQuality"`
	Origin             Point            `json:"origin"`
	SpatialReference   SpatialReference `json:"spatialReference"`
	LODs               []LOD            `json:"lods"`
}

type TimeInfo added in v0.0.9

type TimeInfo struct {
	StartTimeField    *string                  `json:"startTimeField,omitempty"`
	EndTimeField      *string                  `json:"endTimeField,omitempty"`
	TrackIDField      *string                  `json:"trackIdField,omitempty"`
	TimeExtent        []int64                  `json:"timeExtent,omitempty"`
	TimeReference     *DateFieldsTimeReference `json:"timeReference,omitempty"`
	TimeInterval      *int                     `json:"timeInterval,omitempty"`
	TimeIntervalUnits *string                  `json:"timeIntervalUnits,omitempty"`
}

TimeInfo contains temporal information

type Type added in v0.0.9

type Type struct {
	ID        *string                `json:"id,omitempty"`
	Name      *string                `json:"name,omitempty"`
	Domains   map[string]interface{} `json:"domains,omitempty"`
	Templates []Template             `json:"templates,omitempty"`
}

Type represents a feature type

type URLs added in v0.0.9

type URLs struct {
	URLs ServerURLCollection `json:"urls"`
}

type UniqueIdField added in v0.0.9

type UniqueIdField struct {
	Name               string
	IsSystemMaintained bool
}

type UserInfo

type UserInfo struct {
	Username             string   `json:"username"`
	Udn                  *string  `json:"udn"`
	ID                   string   `json:"id"`
	FullName             string   `json:"fullName"`
	Categories           []string `json:"categories"`
	EmailStatus          string   `json:"emailStatus"`
	EmailStatusDate      int64    `json:"emailStatusDate"`
	FirstName            string   `json:"firstName"`
	LastName             string   `json:"lastName"`
	PreferredView        *string  `json:"preferredView"`
	Description          *string  `json:"description"`
	Email                string   `json:"email"`
	UserType             string   `json:"userType"`
	IdpUsername          *string  `json:"idpUsername"`
	FavGroupId           string   `json:"favGroupId"`
	LastLogin            int64    `json:"lastLogin"`
	MfaEnabled           bool     `json:"mfaEnabled"`
	MfaEnforcementExempt bool     `json:"mfaEnforcementExempt"`
	StorageUsage         int64    `json:"storageUsage"`
	StorageQuota         int64    `json:"storageQuota"`
	OrgID                string   `json:"orgId"`
	Role                 string   `json:"role"`
	Privileges           []string `json:"privileges"`
	RoleId               string   `json:"roleId"`
	Level                string   `json:"level"`
	UserLicenseTypeID    string   `json:"userLicenseTypeId"`
	Disabled             bool     `json:"disabled"`
	Tags                 []string `json:"tags"`
	Culture              string   `json:"culture"`
	CultureFormat        string   `json:"cultureFormat"`
	Region               string   `json:"region"`
	Units                string   `json:"units"`
	Thumbnail            *string  `json:"thumbnail"`
	Access               string   `json:"access"`
	Created              int64    `json:"created"`
	Modified             int64    `json:"modified"`
	Provider             string   `json:"provider"`
}

type ValidationSystemLayers

type ValidationSystemLayers struct {
	ValidationPointErrorLayerId   int `json:"validationPointErrorlayerId"`
	ValidationLineErrorLayerId    int `json:"validationLineErrorlayerId"`
	ValidationPolygonErrorLayerId int `json:"validationPolygonErrorlayerId"`
	ValidationObjectErrorTableId  int `json:"validationObjectErrortableId"`
}

type XssPreventionInfo

type XssPreventionInfo struct {
	XssPreventionEnabled bool   `json:"xssPreventionEnabled"`
	XssPreventionRule    string `json:"xssPreventionRule"`
	XssInputRule         string `json:"xssInputRule"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL