Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 972 Bytes

File metadata and controls

49 lines (36 loc) · 972 Bytes

Link

Hyperlink to enable Hypermedia Access

Properties

Name Type
href string
rel string
type string
templated boolean
varBase string
hreflang string
title string
length number

Example

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

// TODO: Update the object below with actual values
const example = {
  "href": null,
  "rel": null,
  "type": null,
  "templated": null,
  "varBase": null,
  "hreflang": null,
  "title": null,
  "length": null,
} satisfies Link

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 Link
console.log(exampleParsed)

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