Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.1 KB

File metadata and controls

52 lines (39 loc) · 1.1 KB

ArunaDataProviderDefinition

Properties

Name Type
type string
id string
name string
description string
priority number
apiUrl string
projectId string
apiToken string
filterLabel string
cacheTtl number

Example

import type { ArunaDataProviderDefinition } from '@geoengine/api-client'

// TODO: Update the object below with actual values
const example = {
  "type": null,
  "id": null,
  "name": null,
  "description": null,
  "priority": null,
  "apiUrl": null,
  "projectId": null,
  "apiToken": null,
  "filterLabel": null,
  "cacheTtl": null,
} satisfies ArunaDataProviderDefinition

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as ArunaDataProviderDefinition
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]