| Name | Type |
|---|---|
name |
string |
segmentId |
number |
cadenceHours |
number |
freqCapHours |
number |
maxPerRun |
number |
isActive |
boolean |
import type { ApiV1PublisherPushDeliveryRulesPostRequest } from 'goadserver-sdk'
// TODO: Update the object below with actual values
const example = {
"name": Daily re-engagement,
"segmentId": 0,
"cadenceHours": 24,
"freqCapHours": 12,
"maxPerRun": 0,
"isActive": true,
} satisfies ApiV1PublisherPushDeliveryRulesPostRequest
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 ApiV1PublisherPushDeliveryRulesPostRequest
console.log(exampleParsed)[Back to top] [Back to API list] [Back to Model list] [Back to README]