Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.06 KB

File metadata and controls

50 lines (37 loc) · 1.06 KB

FilterDetail

Properties

Name Type
type string
id number
name string
isActive boolean
adType number
itemCount number
items Array<string>
campaignIds Array<string>
ranges Array<FilterDetailAllOfRanges>

Example

import type { FilterDetail } from 'goadserver-sdk'

// TODO: Update the object below with actual values
const example = {
  "type": null,
  "id": null,
  "name": null,
  "isActive": null,
  "adType": null,
  "itemCount": null,
  "items": null,
  "campaignIds": null,
  "ranges": null,
} satisfies FilterDetail

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

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