<?php
require_once(__DIR__ . '/vendor/autoload.php');
$json = <<<'JSON'
{
"accountId": "string",
"campaignId": "cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a",
"useCase": "string",
"registrationStatus": "UNREGISTERED",
"dateCreated": "string",
"dateUpdated": "string",
"dateCreatedISO": "string",
"dateUpdatedISO": "string",
"revision": 0
}
JSON;
// create an instance of TFNCampaign from a JSON string
$tfn_campaign = \FreeClimb\Api\ObjectSerializer::deserialize(
json_decode($json),
\FreeClimb\Api\Model\TFNCampaign::class
);