MyApp

<back to all web services

UpdateContact

Talent
<?php namespace dtos;

use DateTime;
use Exception;
use DateInterval;
use JsonSerializable;
use ServiceStack\{IReturn,IReturnVoid,IGet,IPost,IPut,IDelete,IPatch,IMeta,IHasSessionId,IHasBearerToken,IHasVersion};
use ServiceStack\{ICrud,ICreateDb,IUpdateDb,IPatchDb,IDeleteDb,ISaveDb,AuditBase,QueryDb,QueryDb2,QueryData,QueryData2,QueryResponse};
use ServiceStack\{ResponseStatus,ResponseError,EmptyResponse,IdResponse,ArrayList,KeyValuePair2,StringResponse,StringsResponse,Tuple2,Tuple3,ByteArray};
use ServiceStack\{JsonConverters,Returns,TypeContext};


enum EmploymentType : string
{
    case FullTime = 'FullTime';
    case PartTime = 'PartTime';
    case Casual = 'Casual';
    case Contract = 'Contract';
}

// @DataContract
class AuditBase implements JsonSerializable
{
    public function __construct(
        // @DataMember(Order=1)
        /** @var DateTime */
        public DateTime $createdDate=new DateTime(),

        // @DataMember(Order=2)
        // @Required()
        /** @var string */
        public string $createdBy='',

        // @DataMember(Order=3)
        /** @var DateTime */
        public DateTime $modifiedDate=new DateTime(),

        // @DataMember(Order=4)
        // @Required()
        /** @var string */
        public string $modifiedBy='',

        // @DataMember(Order=5)
        /** @var DateTime|null */
        public ?DateTime $deletedDate=null,

        // @DataMember(Order=6)
        /** @var string|null */
        public ?string $deletedBy=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['createdDate'])) $this->createdDate = JsonConverters::from('DateTime', $o['createdDate']);
        if (isset($o['createdBy'])) $this->createdBy = $o['createdBy'];
        if (isset($o['modifiedDate'])) $this->modifiedDate = JsonConverters::from('DateTime', $o['modifiedDate']);
        if (isset($o['modifiedBy'])) $this->modifiedBy = $o['modifiedBy'];
        if (isset($o['deletedDate'])) $this->deletedDate = JsonConverters::from('DateTime', $o['deletedDate']);
        if (isset($o['deletedBy'])) $this->deletedBy = $o['deletedBy'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->createdDate)) $o['createdDate'] = JsonConverters::to('DateTime', $this->createdDate);
        if (isset($this->createdBy)) $o['createdBy'] = $this->createdBy;
        if (isset($this->modifiedDate)) $o['modifiedDate'] = JsonConverters::to('DateTime', $this->modifiedDate);
        if (isset($this->modifiedBy)) $o['modifiedBy'] = $this->modifiedBy;
        if (isset($this->deletedDate)) $o['deletedDate'] = JsonConverters::to('DateTime', $this->deletedDate);
        if (isset($this->deletedBy)) $o['deletedBy'] = $this->deletedBy;
        return empty($o) ? new class(){} : $o;
    }
}

class Job extends AuditBase implements JsonSerializable
{
    /**
     * @param DateTime $createdDate
     * @param string $createdBy
     * @param DateTime $modifiedDate
     * @param string $modifiedBy
     * @param DateTime|null $deletedDate
     * @param string|null $deletedBy
     */
    public function __construct(
        DateTime $createdDate=new DateTime(),
        string $createdBy='',
        DateTime $modifiedDate=new DateTime(),
        string $modifiedBy='',
        ?DateTime $deletedDate=null,
        ?string $deletedBy=null,
        /** @var int */
        public int $id=0,
        /** @var string */
        public string $title='',
        /** @var EmploymentType|null */
        public ?EmploymentType $employmentType=null,
        /** @var string */
        public string $company='',
        /** @var string */
        public string $location='',
        /** @var int */
        public int $salaryRangeLower=0,
        /** @var int */
        public int $salaryRangeUpper=0,
        /** @var string */
        public string $description='',
        /** @var array<JobApplication>|null */
        public ?array $applications=null,
        /** @var DateTime */
        public DateTime $closing=new DateTime()
    ) {
        parent::__construct($createdDate,$createdBy,$modifiedDate,$modifiedBy,$deletedDate,$deletedBy);
    }

    /** @throws Exception */
    public function fromMap($o): void {
        parent::fromMap($o);
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['title'])) $this->title = $o['title'];
        if (isset($o['employmentType'])) $this->employmentType = JsonConverters::from('EmploymentType', $o['employmentType']);
        if (isset($o['company'])) $this->company = $o['company'];
        if (isset($o['location'])) $this->location = $o['location'];
        if (isset($o['salaryRangeLower'])) $this->salaryRangeLower = $o['salaryRangeLower'];
        if (isset($o['salaryRangeUpper'])) $this->salaryRangeUpper = $o['salaryRangeUpper'];
        if (isset($o['description'])) $this->description = $o['description'];
        if (isset($o['applications'])) $this->applications = JsonConverters::fromArray('JobApplication', $o['applications']);
        if (isset($o['closing'])) $this->closing = JsonConverters::from('DateTime', $o['closing']);
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = parent::jsonSerialize();
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->title)) $o['title'] = $this->title;
        if (isset($this->employmentType)) $o['employmentType'] = JsonConverters::to('EmploymentType', $this->employmentType);
        if (isset($this->company)) $o['company'] = $this->company;
        if (isset($this->location)) $o['location'] = $this->location;
        if (isset($this->salaryRangeLower)) $o['salaryRangeLower'] = $this->salaryRangeLower;
        if (isset($this->salaryRangeUpper)) $o['salaryRangeUpper'] = $this->salaryRangeUpper;
        if (isset($this->description)) $o['description'] = $this->description;
        if (isset($this->applications)) $o['applications'] = JsonConverters::toArray('JobApplication', $this->applications);
        if (isset($this->closing)) $o['closing'] = JsonConverters::to('DateTime', $this->closing);
        return empty($o) ? new class(){} : $o;
    }
}

class AppUser implements JsonSerializable
{
    public function __construct(
        /** @var string */
        public string $id='',
        /** @var string|null */
        public ?string $firstName=null,
        /** @var string|null */
        public ?string $lastName=null,
        /** @var string|null */
        public ?string $displayName=null,
        /** @var string|null */
        public ?string $profileUrl=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['firstName'])) $this->firstName = $o['firstName'];
        if (isset($o['lastName'])) $this->lastName = $o['lastName'];
        if (isset($o['displayName'])) $this->displayName = $o['displayName'];
        if (isset($o['profileUrl'])) $this->profileUrl = $o['profileUrl'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->firstName)) $o['firstName'] = $this->firstName;
        if (isset($this->lastName)) $o['lastName'] = $this->lastName;
        if (isset($this->displayName)) $o['displayName'] = $this->displayName;
        if (isset($this->profileUrl)) $o['profileUrl'] = $this->profileUrl;
        return empty($o) ? new class(){} : $o;
    }
}

class JobApplicationComment extends AuditBase implements JsonSerializable
{
    /**
     * @param DateTime $createdDate
     * @param string $createdBy
     * @param DateTime $modifiedDate
     * @param string $modifiedBy
     * @param DateTime|null $deletedDate
     * @param string|null $deletedBy
     */
    public function __construct(
        DateTime $createdDate=new DateTime(),
        string $createdBy='',
        DateTime $modifiedDate=new DateTime(),
        string $modifiedBy='',
        ?DateTime $deletedDate=null,
        ?string $deletedBy=null,
        /** @var int */
        public int $id=0,
        // @References("typeof(MyApp.ServiceModel.AppUser)")
        /** @var string */
        public string $appUserId='',

        /** @var AppUser|null */
        public ?AppUser $appUser=null,
        // @References("typeof(MyApp.ServiceModel.JobApplication)")
        /** @var int */
        public int $jobApplicationId=0,

        /** @var string */
        public string $comment=''
    ) {
        parent::__construct($createdDate,$createdBy,$modifiedDate,$modifiedBy,$deletedDate,$deletedBy);
    }

    /** @throws Exception */
    public function fromMap($o): void {
        parent::fromMap($o);
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['appUserId'])) $this->appUserId = $o['appUserId'];
        if (isset($o['appUser'])) $this->appUser = JsonConverters::from('AppUser', $o['appUser']);
        if (isset($o['jobApplicationId'])) $this->jobApplicationId = $o['jobApplicationId'];
        if (isset($o['comment'])) $this->comment = $o['comment'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = parent::jsonSerialize();
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->appUserId)) $o['appUserId'] = $this->appUserId;
        if (isset($this->appUser)) $o['appUser'] = JsonConverters::to('AppUser', $this->appUser);
        if (isset($this->jobApplicationId)) $o['jobApplicationId'] = $this->jobApplicationId;
        if (isset($this->comment)) $o['comment'] = $this->comment;
        return empty($o) ? new class(){} : $o;
    }
}

enum JobApplicationStatus : string
{
    case Applied = 'Applied';
    case PhoneScreening = 'PhoneScreening';
    case PhoneScreeningCompleted = 'PhoneScreeningCompleted';
    case Interview = 'Interview';
    case InterviewCompleted = 'InterviewCompleted';
    case Offer = 'Offer';
    case Disqualified = 'Disqualified';
}

class JobApplicationAttachment implements JsonSerializable
{
    public function __construct(
        /** @var int */
        public int $id=0,
        // @References("typeof(MyApp.ServiceModel.JobApplication)")
        /** @var int */
        public int $jobApplicationId=0,

        /** @var string */
        public string $fileName='',
        /** @var string */
        public string $filePath='',
        /** @var string */
        public string $contentType='',
        /** @var int */
        public int $contentLength=0
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['jobApplicationId'])) $this->jobApplicationId = $o['jobApplicationId'];
        if (isset($o['fileName'])) $this->fileName = $o['fileName'];
        if (isset($o['filePath'])) $this->filePath = $o['filePath'];
        if (isset($o['contentType'])) $this->contentType = $o['contentType'];
        if (isset($o['contentLength'])) $this->contentLength = $o['contentLength'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->jobApplicationId)) $o['jobApplicationId'] = $this->jobApplicationId;
        if (isset($this->fileName)) $o['fileName'] = $this->fileName;
        if (isset($this->filePath)) $o['filePath'] = $this->filePath;
        if (isset($this->contentType)) $o['contentType'] = $this->contentType;
        if (isset($this->contentLength)) $o['contentLength'] = $this->contentLength;
        return empty($o) ? new class(){} : $o;
    }
}

class JobApplicationEvent extends AuditBase implements JsonSerializable
{
    /**
     * @param DateTime $createdDate
     * @param string $createdBy
     * @param DateTime $modifiedDate
     * @param string $modifiedBy
     * @param DateTime|null $deletedDate
     * @param string|null $deletedBy
     */
    public function __construct(
        DateTime $createdDate=new DateTime(),
        string $createdBy='',
        DateTime $modifiedDate=new DateTime(),
        string $modifiedBy='',
        ?DateTime $deletedDate=null,
        ?string $deletedBy=null,
        /** @var int */
        public int $id=0,
        // @References("typeof(MyApp.ServiceModel.JobApplication)")
        /** @var int */
        public int $jobApplicationId=0,

        // @References("typeof(MyApp.ServiceModel.AppUser)")
        /** @var string */
        public string $appUserId='',

        /** @var AppUser|null */
        public ?AppUser $appUser=null,
        /** @var string */
        public string $description='',
        /** @var JobApplicationStatus|null */
        public ?JobApplicationStatus $status=null,
        /** @var DateTime */
        public DateTime $eventDate=new DateTime()
    ) {
        parent::__construct($createdDate,$createdBy,$modifiedDate,$modifiedBy,$deletedDate,$deletedBy);
    }

    /** @throws Exception */
    public function fromMap($o): void {
        parent::fromMap($o);
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['jobApplicationId'])) $this->jobApplicationId = $o['jobApplicationId'];
        if (isset($o['appUserId'])) $this->appUserId = $o['appUserId'];
        if (isset($o['appUser'])) $this->appUser = JsonConverters::from('AppUser', $o['appUser']);
        if (isset($o['description'])) $this->description = $o['description'];
        if (isset($o['status'])) $this->status = JsonConverters::from('JobApplicationStatus', $o['status']);
        if (isset($o['eventDate'])) $this->eventDate = JsonConverters::from('DateTime', $o['eventDate']);
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = parent::jsonSerialize();
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->jobApplicationId)) $o['jobApplicationId'] = $this->jobApplicationId;
        if (isset($this->appUserId)) $o['appUserId'] = $this->appUserId;
        if (isset($this->appUser)) $o['appUser'] = JsonConverters::to('AppUser', $this->appUser);
        if (isset($this->description)) $o['description'] = $this->description;
        if (isset($this->status)) $o['status'] = JsonConverters::to('JobApplicationStatus', $this->status);
        if (isset($this->eventDate)) $o['eventDate'] = JsonConverters::to('DateTime', $this->eventDate);
        return empty($o) ? new class(){} : $o;
    }
}

class PhoneScreen extends AuditBase implements JsonSerializable
{
    /**
     * @param DateTime $createdDate
     * @param string $createdBy
     * @param DateTime $modifiedDate
     * @param string $modifiedBy
     * @param DateTime|null $deletedDate
     * @param string|null $deletedBy
     */
    public function __construct(
        DateTime $createdDate=new DateTime(),
        string $createdBy='',
        DateTime $modifiedDate=new DateTime(),
        string $modifiedBy='',
        ?DateTime $deletedDate=null,
        ?string $deletedBy=null,
        /** @var int */
        public int $id=0,
        // @References("typeof(MyApp.ServiceModel.AppUser)")
        /** @var string */
        public string $appUserId='',

        /** @var AppUser|null */
        public ?AppUser $appUser=null,
        // @References("typeof(MyApp.ServiceModel.JobApplication)")
        /** @var int */
        public int $jobApplicationId=0,

        /** @var JobApplicationStatus|null */
        public ?JobApplicationStatus $applicationStatus=null,
        /** @var string */
        public string $notes=''
    ) {
        parent::__construct($createdDate,$createdBy,$modifiedDate,$modifiedBy,$deletedDate,$deletedBy);
    }

    /** @throws Exception */
    public function fromMap($o): void {
        parent::fromMap($o);
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['appUserId'])) $this->appUserId = $o['appUserId'];
        if (isset($o['appUser'])) $this->appUser = JsonConverters::from('AppUser', $o['appUser']);
        if (isset($o['jobApplicationId'])) $this->jobApplicationId = $o['jobApplicationId'];
        if (isset($o['applicationStatus'])) $this->applicationStatus = JsonConverters::from('JobApplicationStatus', $o['applicationStatus']);
        if (isset($o['notes'])) $this->notes = $o['notes'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = parent::jsonSerialize();
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->appUserId)) $o['appUserId'] = $this->appUserId;
        if (isset($this->appUser)) $o['appUser'] = JsonConverters::to('AppUser', $this->appUser);
        if (isset($this->jobApplicationId)) $o['jobApplicationId'] = $this->jobApplicationId;
        if (isset($this->applicationStatus)) $o['applicationStatus'] = JsonConverters::to('JobApplicationStatus', $this->applicationStatus);
        if (isset($this->notes)) $o['notes'] = $this->notes;
        return empty($o) ? new class(){} : $o;
    }
}

class Interview extends AuditBase implements JsonSerializable
{
    /**
     * @param DateTime $createdDate
     * @param string $createdBy
     * @param DateTime $modifiedDate
     * @param string $modifiedBy
     * @param DateTime|null $deletedDate
     * @param string|null $deletedBy
     */
    public function __construct(
        DateTime $createdDate=new DateTime(),
        string $createdBy='',
        DateTime $modifiedDate=new DateTime(),
        string $modifiedBy='',
        ?DateTime $deletedDate=null,
        ?string $deletedBy=null,
        /** @var int */
        public int $id=0,
        /** @var DateTime */
        public DateTime $bookingTime=new DateTime(),
        // @References("typeof(MyApp.ServiceModel.JobApplication)")
        /** @var int */
        public int $jobApplicationId=0,

        // @References("typeof(MyApp.ServiceModel.AppUser)")
        /** @var string */
        public string $appUserId='',

        /** @var AppUser|null */
        public ?AppUser $appUser=null,
        /** @var JobApplicationStatus|null */
        public ?JobApplicationStatus $applicationStatus=null,
        /** @var string */
        public string $notes=''
    ) {
        parent::__construct($createdDate,$createdBy,$modifiedDate,$modifiedBy,$deletedDate,$deletedBy);
    }

    /** @throws Exception */
    public function fromMap($o): void {
        parent::fromMap($o);
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['bookingTime'])) $this->bookingTime = JsonConverters::from('DateTime', $o['bookingTime']);
        if (isset($o['jobApplicationId'])) $this->jobApplicationId = $o['jobApplicationId'];
        if (isset($o['appUserId'])) $this->appUserId = $o['appUserId'];
        if (isset($o['appUser'])) $this->appUser = JsonConverters::from('AppUser', $o['appUser']);
        if (isset($o['applicationStatus'])) $this->applicationStatus = JsonConverters::from('JobApplicationStatus', $o['applicationStatus']);
        if (isset($o['notes'])) $this->notes = $o['notes'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = parent::jsonSerialize();
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->bookingTime)) $o['bookingTime'] = JsonConverters::to('DateTime', $this->bookingTime);
        if (isset($this->jobApplicationId)) $o['jobApplicationId'] = $this->jobApplicationId;
        if (isset($this->appUserId)) $o['appUserId'] = $this->appUserId;
        if (isset($this->appUser)) $o['appUser'] = JsonConverters::to('AppUser', $this->appUser);
        if (isset($this->applicationStatus)) $o['applicationStatus'] = JsonConverters::to('JobApplicationStatus', $this->applicationStatus);
        if (isset($this->notes)) $o['notes'] = $this->notes;
        return empty($o) ? new class(){} : $o;
    }
}

class JobOffer extends AuditBase implements JsonSerializable
{
    /**
     * @param DateTime $createdDate
     * @param string $createdBy
     * @param DateTime $modifiedDate
     * @param string $modifiedBy
     * @param DateTime|null $deletedDate
     * @param string|null $deletedBy
     */
    public function __construct(
        DateTime $createdDate=new DateTime(),
        string $createdBy='',
        DateTime $modifiedDate=new DateTime(),
        string $modifiedBy='',
        ?DateTime $deletedDate=null,
        ?string $deletedBy=null,
        /** @var int */
        public int $id=0,
        /** @var int */
        public int $salaryOffer=0,
        /** @var string */
        public string $currency='',
        // @References("typeof(MyApp.ServiceModel.JobApplication)")
        /** @var int */
        public int $jobApplicationId=0,

        // @References("typeof(MyApp.ServiceModel.AppUser)")
        /** @var string */
        public string $appUserId='',

        /** @var AppUser|null */
        public ?AppUser $appUser=null,
        /** @var string */
        public string $notes=''
    ) {
        parent::__construct($createdDate,$createdBy,$modifiedDate,$modifiedBy,$deletedDate,$deletedBy);
    }

    /** @throws Exception */
    public function fromMap($o): void {
        parent::fromMap($o);
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['salaryOffer'])) $this->salaryOffer = $o['salaryOffer'];
        if (isset($o['currency'])) $this->currency = $o['currency'];
        if (isset($o['jobApplicationId'])) $this->jobApplicationId = $o['jobApplicationId'];
        if (isset($o['appUserId'])) $this->appUserId = $o['appUserId'];
        if (isset($o['appUser'])) $this->appUser = JsonConverters::from('AppUser', $o['appUser']);
        if (isset($o['notes'])) $this->notes = $o['notes'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = parent::jsonSerialize();
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->salaryOffer)) $o['salaryOffer'] = $this->salaryOffer;
        if (isset($this->currency)) $o['currency'] = $this->currency;
        if (isset($this->jobApplicationId)) $o['jobApplicationId'] = $this->jobApplicationId;
        if (isset($this->appUserId)) $o['appUserId'] = $this->appUserId;
        if (isset($this->appUser)) $o['appUser'] = JsonConverters::to('AppUser', $this->appUser);
        if (isset($this->notes)) $o['notes'] = $this->notes;
        return empty($o) ? new class(){} : $o;
    }
}

class JobApplication implements JsonSerializable
{
    public function __construct(
        /** @var int */
        public int $id=0,
        // @References("typeof(MyApp.ServiceModel.Job)")
        /** @var int */
        public int $jobId=0,

        // @References("typeof(MyApp.ServiceModel.Contact)")
        /** @var int */
        public int $contactId=0,

        /** @var Job|null */
        public ?Job $position=null,
        /** @var Contact|null */
        public ?Contact $applicant=null,
        /** @var array<JobApplicationComment>|null */
        public ?array $comments=null,
        /** @var DateTime */
        public DateTime $appliedDate=new DateTime(),
        /** @var JobApplicationStatus|null */
        public ?JobApplicationStatus $applicationStatus=null,
        /** @var array<JobApplicationAttachment>|null */
        public ?array $attachments=null,
        /** @var array<JobApplicationEvent>|null */
        public ?array $events=null,
        /** @var PhoneScreen|null */
        public ?PhoneScreen $phoneScreen=null,
        /** @var Interview|null */
        public ?Interview $interview=null,
        /** @var JobOffer|null */
        public ?JobOffer $jobOffer=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['jobId'])) $this->jobId = $o['jobId'];
        if (isset($o['contactId'])) $this->contactId = $o['contactId'];
        if (isset($o['position'])) $this->position = JsonConverters::from('Job', $o['position']);
        if (isset($o['applicant'])) $this->applicant = JsonConverters::from('Contact', $o['applicant']);
        if (isset($o['comments'])) $this->comments = JsonConverters::fromArray('JobApplicationComment', $o['comments']);
        if (isset($o['appliedDate'])) $this->appliedDate = JsonConverters::from('DateTime', $o['appliedDate']);
        if (isset($o['applicationStatus'])) $this->applicationStatus = JsonConverters::from('JobApplicationStatus', $o['applicationStatus']);
        if (isset($o['attachments'])) $this->attachments = JsonConverters::fromArray('JobApplicationAttachment', $o['attachments']);
        if (isset($o['events'])) $this->events = JsonConverters::fromArray('JobApplicationEvent', $o['events']);
        if (isset($o['phoneScreen'])) $this->phoneScreen = JsonConverters::from('PhoneScreen', $o['phoneScreen']);
        if (isset($o['interview'])) $this->interview = JsonConverters::from('Interview', $o['interview']);
        if (isset($o['jobOffer'])) $this->jobOffer = JsonConverters::from('JobOffer', $o['jobOffer']);
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->jobId)) $o['jobId'] = $this->jobId;
        if (isset($this->contactId)) $o['contactId'] = $this->contactId;
        if (isset($this->position)) $o['position'] = JsonConverters::to('Job', $this->position);
        if (isset($this->applicant)) $o['applicant'] = JsonConverters::to('Contact', $this->applicant);
        if (isset($this->comments)) $o['comments'] = JsonConverters::toArray('JobApplicationComment', $this->comments);
        if (isset($this->appliedDate)) $o['appliedDate'] = JsonConverters::to('DateTime', $this->appliedDate);
        if (isset($this->applicationStatus)) $o['applicationStatus'] = JsonConverters::to('JobApplicationStatus', $this->applicationStatus);
        if (isset($this->attachments)) $o['attachments'] = JsonConverters::toArray('JobApplicationAttachment', $this->attachments);
        if (isset($this->events)) $o['events'] = JsonConverters::toArray('JobApplicationEvent', $this->events);
        if (isset($this->phoneScreen)) $o['phoneScreen'] = JsonConverters::to('PhoneScreen', $this->phoneScreen);
        if (isset($this->interview)) $o['interview'] = JsonConverters::to('Interview', $this->interview);
        if (isset($this->jobOffer)) $o['jobOffer'] = JsonConverters::to('JobOffer', $this->jobOffer);
        return empty($o) ? new class(){} : $o;
    }
}

class Contact implements JsonSerializable
{
    public function __construct(
        /** @var int */
        public int $id=0,
        // @Computed()
        /** @var string */
        public string $displayName='',

        /** @var string */
        public string $profileUrl='',
        /** @var string */
        public string $firstName='',
        /** @var string */
        public string $lastName='',
        /** @var int|null */
        public ?int $salaryExpectation=null,
        /** @var string */
        public string $jobType='',
        /** @var int */
        public int $availabilityWeeks=0,
        /** @var EmploymentType|null */
        public ?EmploymentType $preferredWorkType=null,
        /** @var string */
        public string $preferredLocation='',
        /** @var string */
        public string $email='',
        /** @var string */
        public string $phone='',
        /** @var array<string>|null */
        public ?array $skills=null,
        /** @var string */
        public string $about='',
        /** @var array<JobApplication>|null */
        public ?array $applications=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['displayName'])) $this->displayName = $o['displayName'];
        if (isset($o['profileUrl'])) $this->profileUrl = $o['profileUrl'];
        if (isset($o['firstName'])) $this->firstName = $o['firstName'];
        if (isset($o['lastName'])) $this->lastName = $o['lastName'];
        if (isset($o['salaryExpectation'])) $this->salaryExpectation = $o['salaryExpectation'];
        if (isset($o['jobType'])) $this->jobType = $o['jobType'];
        if (isset($o['availabilityWeeks'])) $this->availabilityWeeks = $o['availabilityWeeks'];
        if (isset($o['preferredWorkType'])) $this->preferredWorkType = JsonConverters::from('EmploymentType', $o['preferredWorkType']);
        if (isset($o['preferredLocation'])) $this->preferredLocation = $o['preferredLocation'];
        if (isset($o['email'])) $this->email = $o['email'];
        if (isset($o['phone'])) $this->phone = $o['phone'];
        if (isset($o['skills'])) $this->skills = JsonConverters::fromArray('string', $o['skills']);
        if (isset($o['about'])) $this->about = $o['about'];
        if (isset($o['applications'])) $this->applications = JsonConverters::fromArray('JobApplication', $o['applications']);
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->displayName)) $o['displayName'] = $this->displayName;
        if (isset($this->profileUrl)) $o['profileUrl'] = $this->profileUrl;
        if (isset($this->firstName)) $o['firstName'] = $this->firstName;
        if (isset($this->lastName)) $o['lastName'] = $this->lastName;
        if (isset($this->salaryExpectation)) $o['salaryExpectation'] = $this->salaryExpectation;
        if (isset($this->jobType)) $o['jobType'] = $this->jobType;
        if (isset($this->availabilityWeeks)) $o['availabilityWeeks'] = $this->availabilityWeeks;
        if (isset($this->preferredWorkType)) $o['preferredWorkType'] = JsonConverters::to('EmploymentType', $this->preferredWorkType);
        if (isset($this->preferredLocation)) $o['preferredLocation'] = $this->preferredLocation;
        if (isset($this->email)) $o['email'] = $this->email;
        if (isset($this->phone)) $o['phone'] = $this->phone;
        if (isset($this->skills)) $o['skills'] = JsonConverters::toArray('string', $this->skills);
        if (isset($this->about)) $o['about'] = $this->about;
        if (isset($this->applications)) $o['applications'] = JsonConverters::toArray('JobApplication', $this->applications);
        return empty($o) ? new class(){} : $o;
    }
}

/**
 * @template IPatchDb of Contact
 */
class UpdateContact implements IPatchDb, JsonSerializable
{
    public function __construct(
        /** @var int */
        public int $id=0,
        // @Validate(Validator="NotEmpty")
        /** @var string */
        public string $firstName='',

        // @Validate(Validator="NotEmpty")
        /** @var string */
        public string $lastName='',

        /** @var string|null */
        public ?string $profileUrl=null,
        /** @var int|null */
        public ?int $salaryExpectation=null,
        // @Validate(Validator="NotEmpty")
        /** @var string */
        public string $jobType='',

        /** @var int|null */
        public ?int $availabilityWeeks=null,
        /** @var EmploymentType|null */
        public ?EmploymentType $preferredWorkType=null,
        /** @var string|null */
        public ?string $preferredLocation=null,
        // @Validate(Validator="NotEmpty")
        /** @var string */
        public string $email='',

        /** @var string|null */
        public ?string $phone=null,
        /** @var array<string>|null */
        public ?array $skills=null,
        /** @var string|null */
        public ?string $about=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['id'])) $this->id = $o['id'];
        if (isset($o['firstName'])) $this->firstName = $o['firstName'];
        if (isset($o['lastName'])) $this->lastName = $o['lastName'];
        if (isset($o['profileUrl'])) $this->profileUrl = $o['profileUrl'];
        if (isset($o['salaryExpectation'])) $this->salaryExpectation = $o['salaryExpectation'];
        if (isset($o['jobType'])) $this->jobType = $o['jobType'];
        if (isset($o['availabilityWeeks'])) $this->availabilityWeeks = $o['availabilityWeeks'];
        if (isset($o['preferredWorkType'])) $this->preferredWorkType = JsonConverters::from('EmploymentType', $o['preferredWorkType']);
        if (isset($o['preferredLocation'])) $this->preferredLocation = $o['preferredLocation'];
        if (isset($o['email'])) $this->email = $o['email'];
        if (isset($o['phone'])) $this->phone = $o['phone'];
        if (isset($o['skills'])) $this->skills = JsonConverters::fromArray('string', $o['skills']);
        if (isset($o['about'])) $this->about = $o['about'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->id)) $o['id'] = $this->id;
        if (isset($this->firstName)) $o['firstName'] = $this->firstName;
        if (isset($this->lastName)) $o['lastName'] = $this->lastName;
        if (isset($this->profileUrl)) $o['profileUrl'] = $this->profileUrl;
        if (isset($this->salaryExpectation)) $o['salaryExpectation'] = $this->salaryExpectation;
        if (isset($this->jobType)) $o['jobType'] = $this->jobType;
        if (isset($this->availabilityWeeks)) $o['availabilityWeeks'] = $this->availabilityWeeks;
        if (isset($this->preferredWorkType)) $o['preferredWorkType'] = JsonConverters::to('EmploymentType', $this->preferredWorkType);
        if (isset($this->preferredLocation)) $o['preferredLocation'] = $this->preferredLocation;
        if (isset($this->email)) $o['email'] = $this->email;
        if (isset($this->phone)) $o['phone'] = $this->phone;
        if (isset($this->skills)) $o['skills'] = JsonConverters::toArray('string', $this->skills);
        if (isset($this->about)) $o['about'] = $this->about;
        return empty($o) ? new class(){} : $o;
    }
}

PHP UpdateContact DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/UpdateContact HTTP/1.1 
Host: blazor-gallery.servicestack.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyApp.ServiceModel">
  <About>String</About>
  <AvailabilityWeeks>0</AvailabilityWeeks>
  <Email>String</Email>
  <FirstName>String</FirstName>
  <Id>0</Id>
  <JobType>String</JobType>
  <LastName>String</LastName>
  <Phone>String</Phone>
  <PreferredLocation>String</PreferredLocation>
  <PreferredWorkType>FullTime</PreferredWorkType>
  <ProfileUrl>String</ProfileUrl>
  <SalaryExpectation>0</SalaryExpectation>
  <Skills xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Skills>
</UpdateContact>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Contact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyApp.ServiceModel">
  <About>String</About>
  <Applications>
    <JobApplication>
      <Applicant>
        <About>String</About>
        <Applications>
          <JobApplication>
            <Applicant>
              <About>String</About>
              <Applications>
                <JobApplication>
                  <Applicant>
                    <About>String</About>
                    <Applications i:nil="true" />
                    <AvailabilityWeeks>0</AvailabilityWeeks>
                    <Email>String</Email>
                    <FirstName>String</FirstName>
                    <Id>0</Id>
                    <JobType>String</JobType>
                    <LastName>String</LastName>
                    <Phone>String</Phone>
                    <PreferredLocation>String</PreferredLocation>
                    <PreferredWorkType>FullTime</PreferredWorkType>
                    <ProfileUrl>String</ProfileUrl>
                    <SalaryExpectation>0</SalaryExpectation>
                    <Skills xmlns:d11p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                      <d11p1:string>String</d11p1:string>
                    </Skills>
                  </Applicant>
                  <ApplicationStatus>Applied</ApplicationStatus>
                  <AppliedDate>0001-01-01T00:00:00</AppliedDate>
                  <Attachments>
                    <JobApplicationAttachment>
                      <ContentLength>0</ContentLength>
                      <ContentType>String</ContentType>
                      <FileName>String</FileName>
                      <FilePath>String</FilePath>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                    </JobApplicationAttachment>
                  </Attachments>
                  <Comments>
                    <JobApplicationComment>
                      <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                      <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                      <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                      <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                      <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                      <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                      <AppUser>
                        <DisplayName>String</DisplayName>
                        <FirstName>String</FirstName>
                        <Id>String</Id>
                        <LastName>String</LastName>
                        <ProfileUrl>String</ProfileUrl>
                      </AppUser>
                      <AppUserId>String</AppUserId>
                      <Comment>String</Comment>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                    </JobApplicationComment>
                  </Comments>
                  <ContactId>0</ContactId>
                  <Events>
                    <JobApplicationEvent>
                      <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                      <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                      <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                      <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                      <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                      <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                      <AppUser>
                        <DisplayName>String</DisplayName>
                        <FirstName>String</FirstName>
                        <Id>String</Id>
                        <LastName>String</LastName>
                        <ProfileUrl>String</ProfileUrl>
                      </AppUser>
                      <AppUserId>String</AppUserId>
                      <Description>String</Description>
                      <EventDate>0001-01-01T00:00:00</EventDate>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                      <Status>Applied</Status>
                    </JobApplicationEvent>
                  </Events>
                  <Id>0</Id>
                  <Interview>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <ApplicationStatus>Applied</ApplicationStatus>
                    <BookingTime>0001-01-01T00:00:00</BookingTime>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                  </Interview>
                  <JobId>0</JobId>
                  <JobOffer>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <Currency>String</Currency>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                    <SalaryOffer>0</SalaryOffer>
                  </JobOffer>
                  <PhoneScreen>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <ApplicationStatus>Applied</ApplicationStatus>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                  </PhoneScreen>
                  <Position>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <Applications i:nil="true" />
                    <Closing>0001-01-01T00:00:00</Closing>
                    <Company>String</Company>
                    <Description>String</Description>
                    <EmploymentType>FullTime</EmploymentType>
                    <Id>0</Id>
                    <Location>String</Location>
                    <SalaryRangeLower>0</SalaryRangeLower>
                    <SalaryRangeUpper>0</SalaryRangeUpper>
                    <Title>String</Title>
                  </Position>
                </JobApplication>
              </Applications>
              <AvailabilityWeeks>0</AvailabilityWeeks>
              <Email>String</Email>
              <FirstName>String</FirstName>
              <Id>0</Id>
              <JobType>String</JobType>
              <LastName>String</LastName>
              <Phone>String</Phone>
              <PreferredLocation>String</PreferredLocation>
              <PreferredWorkType>FullTime</PreferredWorkType>
              <ProfileUrl>String</ProfileUrl>
              <SalaryExpectation>0</SalaryExpectation>
              <Skills xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>String</d8p1:string>
              </Skills>
            </Applicant>
            <ApplicationStatus>Applied</ApplicationStatus>
            <AppliedDate>0001-01-01T00:00:00</AppliedDate>
            <Attachments>
              <JobApplicationAttachment>
                <ContentLength>0</ContentLength>
                <ContentType>String</ContentType>
                <FileName>String</FileName>
                <FilePath>String</FilePath>
                <Id>0</Id>
                <JobApplicationId>0</JobApplicationId>
              </JobApplicationAttachment>
            </Attachments>
            <Comments>
              <JobApplicationComment>
                <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                <AppUser>
                  <DisplayName>String</DisplayName>
                  <FirstName>String</FirstName>
                  <Id>String</Id>
                  <LastName>String</LastName>
                  <ProfileUrl>String</ProfileUrl>
                </AppUser>
                <AppUserId>String</AppUserId>
                <Comment>String</Comment>
                <Id>0</Id>
                <JobApplicationId>0</JobApplicationId>
              </JobApplicationComment>
            </Comments>
            <ContactId>0</ContactId>
            <Events>
              <JobApplicationEvent>
                <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                <AppUser>
                  <DisplayName>String</DisplayName>
                  <FirstName>String</FirstName>
                  <Id>String</Id>
                  <LastName>String</LastName>
                  <ProfileUrl>String</ProfileUrl>
                </AppUser>
                <AppUserId>String</AppUserId>
                <Description>String</Description>
                <EventDate>0001-01-01T00:00:00</EventDate>
                <Id>0</Id>
                <JobApplicationId>0</JobApplicationId>
                <Status>Applied</Status>
              </JobApplicationEvent>
            </Events>
            <Id>0</Id>
            <Interview>
              <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
              <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
              <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
              <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
              <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
              <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
              <AppUser>
                <DisplayName>String</DisplayName>
                <FirstName>String</FirstName>
                <Id>String</Id>
                <LastName>String</LastName>
                <ProfileUrl>String</ProfileUrl>
              </AppUser>
              <AppUserId>String</AppUserId>
              <ApplicationStatus>Applied</ApplicationStatus>
              <BookingTime>0001-01-01T00:00:00</BookingTime>
              <Id>0</Id>
              <JobApplicationId>0</JobApplicationId>
              <Notes>String</Notes>
            </Interview>
            <JobId>0</JobId>
            <JobOffer>
              <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
              <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
              <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
              <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
              <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
              <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
              <AppUser>
                <DisplayName>String</DisplayName>
                <FirstName>String</FirstName>
                <Id>String</Id>
                <LastName>String</LastName>
                <ProfileUrl>String</ProfileUrl>
              </AppUser>
              <AppUserId>String</AppUserId>
              <Currency>String</Currency>
              <Id>0</Id>
              <JobApplicationId>0</JobApplicationId>
              <Notes>String</Notes>
              <SalaryOffer>0</SalaryOffer>
            </JobOffer>
            <PhoneScreen>
              <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
              <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
              <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
              <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
              <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
              <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
              <AppUser>
                <DisplayName>String</DisplayName>
                <FirstName>String</FirstName>
                <Id>String</Id>
                <LastName>String</LastName>
                <ProfileUrl>String</ProfileUrl>
              </AppUser>
              <AppUserId>String</AppUserId>
              <ApplicationStatus>Applied</ApplicationStatus>
              <Id>0</Id>
              <JobApplicationId>0</JobApplicationId>
              <Notes>String</Notes>
            </PhoneScreen>
            <Position>
              <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
              <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
              <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
              <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
              <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
              <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
              <Applications>
                <JobApplication>
                  <Applicant>
                    <About>String</About>
                    <Applications i:nil="true" />
                    <AvailabilityWeeks>0</AvailabilityWeeks>
                    <Email>String</Email>
                    <FirstName>String</FirstName>
                    <Id>0</Id>
                    <JobType>String</JobType>
                    <LastName>String</LastName>
                    <Phone>String</Phone>
                    <PreferredLocation>String</PreferredLocation>
                    <PreferredWorkType>FullTime</PreferredWorkType>
                    <ProfileUrl>String</ProfileUrl>
                    <SalaryExpectation>0</SalaryExpectation>
                    <Skills xmlns:d11p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                      <d11p1:string>String</d11p1:string>
                    </Skills>
                  </Applicant>
                  <ApplicationStatus>Applied</ApplicationStatus>
                  <AppliedDate>0001-01-01T00:00:00</AppliedDate>
                  <Attachments>
                    <JobApplicationAttachment>
                      <ContentLength>0</ContentLength>
                      <ContentType>String</ContentType>
                      <FileName>String</FileName>
                      <FilePath>String</FilePath>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                    </JobApplicationAttachment>
                  </Attachments>
                  <Comments>
                    <JobApplicationComment>
                      <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                      <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                      <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                      <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                      <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                      <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                      <AppUser>
                        <DisplayName>String</DisplayName>
                        <FirstName>String</FirstName>
                        <Id>String</Id>
                        <LastName>String</LastName>
                        <ProfileUrl>String</ProfileUrl>
                      </AppUser>
                      <AppUserId>String</AppUserId>
                      <Comment>String</Comment>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                    </JobApplicationComment>
                  </Comments>
                  <ContactId>0</ContactId>
                  <Events>
                    <JobApplicationEvent>
                      <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                      <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                      <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                      <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                      <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                      <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                      <AppUser>
                        <DisplayName>String</DisplayName>
                        <FirstName>String</FirstName>
                        <Id>String</Id>
                        <LastName>String</LastName>
                        <ProfileUrl>String</ProfileUrl>
                      </AppUser>
                      <AppUserId>String</AppUserId>
                      <Description>String</Description>
                      <EventDate>0001-01-01T00:00:00</EventDate>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                      <Status>Applied</Status>
                    </JobApplicationEvent>
                  </Events>
                  <Id>0</Id>
                  <Interview>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <ApplicationStatus>Applied</ApplicationStatus>
                    <BookingTime>0001-01-01T00:00:00</BookingTime>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                  </Interview>
                  <JobId>0</JobId>
                  <JobOffer>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <Currency>String</Currency>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                    <SalaryOffer>0</SalaryOffer>
                  </JobOffer>
                  <PhoneScreen>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <ApplicationStatus>Applied</ApplicationStatus>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                  </PhoneScreen>
                  <Position>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <Applications i:nil="true" />
                    <Closing>0001-01-01T00:00:00</Closing>
                    <Company>String</Company>
                    <Description>String</Description>
                    <EmploymentType>FullTime</EmploymentType>
                    <Id>0</Id>
                    <Location>String</Location>
                    <SalaryRangeLower>0</SalaryRangeLower>
                    <SalaryRangeUpper>0</SalaryRangeUpper>
                    <Title>String</Title>
                  </Position>
                </JobApplication>
              </Applications>
              <Closing>0001-01-01T00:00:00</Closing>
              <Company>String</Company>
              <Description>String</Description>
              <EmploymentType>FullTime</EmploymentType>
              <Id>0</Id>
              <Location>String</Location>
              <SalaryRangeLower>0</SalaryRangeLower>
              <SalaryRangeUpper>0</SalaryRangeUpper>
              <Title>String</Title>
            </Position>
          </JobApplication>
        </Applications>
        <AvailabilityWeeks>0</AvailabilityWeeks>
        <Email>String</Email>
        <FirstName>String</FirstName>
        <Id>0</Id>
        <JobType>String</JobType>
        <LastName>String</LastName>
        <Phone>String</Phone>
        <PreferredLocation>String</PreferredLocation>
        <PreferredWorkType>FullTime</PreferredWorkType>
        <ProfileUrl>String</ProfileUrl>
        <SalaryExpectation>0</SalaryExpectation>
        <Skills xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </Skills>
      </Applicant>
      <ApplicationStatus>Applied</ApplicationStatus>
      <AppliedDate>0001-01-01T00:00:00</AppliedDate>
      <Attachments>
        <JobApplicationAttachment>
          <ContentLength>0</ContentLength>
          <ContentType>String</ContentType>
          <FileName>String</FileName>
          <FilePath>String</FilePath>
          <Id>0</Id>
          <JobApplicationId>0</JobApplicationId>
        </JobApplicationAttachment>
      </Attachments>
      <Comments>
        <JobApplicationComment>
          <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
          <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
          <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
          <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
          <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
          <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
          <AppUser>
            <DisplayName>String</DisplayName>
            <FirstName>String</FirstName>
            <Id>String</Id>
            <LastName>String</LastName>
            <ProfileUrl>String</ProfileUrl>
          </AppUser>
          <AppUserId>String</AppUserId>
          <Comment>String</Comment>
          <Id>0</Id>
          <JobApplicationId>0</JobApplicationId>
        </JobApplicationComment>
      </Comments>
      <ContactId>0</ContactId>
      <Events>
        <JobApplicationEvent>
          <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
          <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
          <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
          <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
          <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
          <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
          <AppUser>
            <DisplayName>String</DisplayName>
            <FirstName>String</FirstName>
            <Id>String</Id>
            <LastName>String</LastName>
            <ProfileUrl>String</ProfileUrl>
          </AppUser>
          <AppUserId>String</AppUserId>
          <Description>String</Description>
          <EventDate>0001-01-01T00:00:00</EventDate>
          <Id>0</Id>
          <JobApplicationId>0</JobApplicationId>
          <Status>Applied</Status>
        </JobApplicationEvent>
      </Events>
      <Id>0</Id>
      <Interview>
        <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
        <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
        <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
        <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
        <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
        <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
        <AppUser>
          <DisplayName>String</DisplayName>
          <FirstName>String</FirstName>
          <Id>String</Id>
          <LastName>String</LastName>
          <ProfileUrl>String</ProfileUrl>
        </AppUser>
        <AppUserId>String</AppUserId>
        <ApplicationStatus>Applied</ApplicationStatus>
        <BookingTime>0001-01-01T00:00:00</BookingTime>
        <Id>0</Id>
        <JobApplicationId>0</JobApplicationId>
        <Notes>String</Notes>
      </Interview>
      <JobId>0</JobId>
      <JobOffer>
        <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
        <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
        <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
        <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
        <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
        <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
        <AppUser>
          <DisplayName>String</DisplayName>
          <FirstName>String</FirstName>
          <Id>String</Id>
          <LastName>String</LastName>
          <ProfileUrl>String</ProfileUrl>
        </AppUser>
        <AppUserId>String</AppUserId>
        <Currency>String</Currency>
        <Id>0</Id>
        <JobApplicationId>0</JobApplicationId>
        <Notes>String</Notes>
        <SalaryOffer>0</SalaryOffer>
      </JobOffer>
      <PhoneScreen>
        <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
        <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
        <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
        <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
        <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
        <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
        <AppUser>
          <DisplayName>String</DisplayName>
          <FirstName>String</FirstName>
          <Id>String</Id>
          <LastName>String</LastName>
          <ProfileUrl>String</ProfileUrl>
        </AppUser>
        <AppUserId>String</AppUserId>
        <ApplicationStatus>Applied</ApplicationStatus>
        <Id>0</Id>
        <JobApplicationId>0</JobApplicationId>
        <Notes>String</Notes>
      </PhoneScreen>
      <Position>
        <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
        <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
        <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
        <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
        <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
        <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
        <Applications>
          <JobApplication>
            <Applicant>
              <About>String</About>
              <Applications>
                <JobApplication>
                  <Applicant>
                    <About>String</About>
                    <Applications i:nil="true" />
                    <AvailabilityWeeks>0</AvailabilityWeeks>
                    <Email>String</Email>
                    <FirstName>String</FirstName>
                    <Id>0</Id>
                    <JobType>String</JobType>
                    <LastName>String</LastName>
                    <Phone>String</Phone>
                    <PreferredLocation>String</PreferredLocation>
                    <PreferredWorkType>FullTime</PreferredWorkType>
                    <ProfileUrl>String</ProfileUrl>
                    <SalaryExpectation>0</SalaryExpectation>
                    <Skills xmlns:d11p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                      <d11p1:string>String</d11p1:string>
                    </Skills>
                  </Applicant>
                  <ApplicationStatus>Applied</ApplicationStatus>
                  <AppliedDate>0001-01-01T00:00:00</AppliedDate>
                  <Attachments>
                    <JobApplicationAttachment>
                      <ContentLength>0</ContentLength>
                      <ContentType>String</ContentType>
                      <FileName>String</FileName>
                      <FilePath>String</FilePath>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                    </JobApplicationAttachment>
                  </Attachments>
                  <Comments>
                    <JobApplicationComment>
                      <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                      <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                      <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                      <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                      <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                      <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                      <AppUser>
                        <DisplayName>String</DisplayName>
                        <FirstName>String</FirstName>
                        <Id>String</Id>
                        <LastName>String</LastName>
                        <ProfileUrl>String</ProfileUrl>
                      </AppUser>
                      <AppUserId>String</AppUserId>
                      <Comment>String</Comment>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                    </JobApplicationComment>
                  </Comments>
                  <ContactId>0</ContactId>
                  <Events>
                    <JobApplicationEvent>
                      <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                      <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                      <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                      <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                      <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                      <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                      <AppUser>
                        <DisplayName>String</DisplayName>
                        <FirstName>String</FirstName>
                        <Id>String</Id>
                        <LastName>String</LastName>
                        <ProfileUrl>String</ProfileUrl>
                      </AppUser>
                      <AppUserId>String</AppUserId>
                      <Description>String</Description>
                      <EventDate>0001-01-01T00:00:00</EventDate>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                      <Status>Applied</Status>
                    </JobApplicationEvent>
                  </Events>
                  <Id>0</Id>
                  <Interview>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <ApplicationStatus>Applied</ApplicationStatus>
                    <BookingTime>0001-01-01T00:00:00</BookingTime>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                  </Interview>
                  <JobId>0</JobId>
                  <JobOffer>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <Currency>String</Currency>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                    <SalaryOffer>0</SalaryOffer>
                  </JobOffer>
                  <PhoneScreen>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <ApplicationStatus>Applied</ApplicationStatus>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                  </PhoneScreen>
                  <Position>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <Applications i:nil="true" />
                    <Closing>0001-01-01T00:00:00</Closing>
                    <Company>String</Company>
                    <Description>String</Description>
                    <EmploymentType>FullTime</EmploymentType>
                    <Id>0</Id>
                    <Location>String</Location>
                    <SalaryRangeLower>0</SalaryRangeLower>
                    <SalaryRangeUpper>0</SalaryRangeUpper>
                    <Title>String</Title>
                  </Position>
                </JobApplication>
              </Applications>
              <AvailabilityWeeks>0</AvailabilityWeeks>
              <Email>String</Email>
              <FirstName>String</FirstName>
              <Id>0</Id>
              <JobType>String</JobType>
              <LastName>String</LastName>
              <Phone>String</Phone>
              <PreferredLocation>String</PreferredLocation>
              <PreferredWorkType>FullTime</PreferredWorkType>
              <ProfileUrl>String</ProfileUrl>
              <SalaryExpectation>0</SalaryExpectation>
              <Skills xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>String</d8p1:string>
              </Skills>
            </Applicant>
            <ApplicationStatus>Applied</ApplicationStatus>
            <AppliedDate>0001-01-01T00:00:00</AppliedDate>
            <Attachments>
              <JobApplicationAttachment>
                <ContentLength>0</ContentLength>
                <ContentType>String</ContentType>
                <FileName>String</FileName>
                <FilePath>String</FilePath>
                <Id>0</Id>
                <JobApplicationId>0</JobApplicationId>
              </JobApplicationAttachment>
            </Attachments>
            <Comments>
              <JobApplicationComment>
                <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                <AppUser>
                  <DisplayName>String</DisplayName>
                  <FirstName>String</FirstName>
                  <Id>String</Id>
                  <LastName>String</LastName>
                  <ProfileUrl>String</ProfileUrl>
                </AppUser>
                <AppUserId>String</AppUserId>
                <Comment>String</Comment>
                <Id>0</Id>
                <JobApplicationId>0</JobApplicationId>
              </JobApplicationComment>
            </Comments>
            <ContactId>0</ContactId>
            <Events>
              <JobApplicationEvent>
                <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                <AppUser>
                  <DisplayName>String</DisplayName>
                  <FirstName>String</FirstName>
                  <Id>String</Id>
                  <LastName>String</LastName>
                  <ProfileUrl>String</ProfileUrl>
                </AppUser>
                <AppUserId>String</AppUserId>
                <Description>String</Description>
                <EventDate>0001-01-01T00:00:00</EventDate>
                <Id>0</Id>
                <JobApplicationId>0</JobApplicationId>
                <Status>Applied</Status>
              </JobApplicationEvent>
            </Events>
            <Id>0</Id>
            <Interview>
              <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
              <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
              <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
              <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
              <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
              <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
              <AppUser>
                <DisplayName>String</DisplayName>
                <FirstName>String</FirstName>
                <Id>String</Id>
                <LastName>String</LastName>
                <ProfileUrl>String</ProfileUrl>
              </AppUser>
              <AppUserId>String</AppUserId>
              <ApplicationStatus>Applied</ApplicationStatus>
              <BookingTime>0001-01-01T00:00:00</BookingTime>
              <Id>0</Id>
              <JobApplicationId>0</JobApplicationId>
              <Notes>String</Notes>
            </Interview>
            <JobId>0</JobId>
            <JobOffer>
              <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
              <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
              <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
              <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
              <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
              <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
              <AppUser>
                <DisplayName>String</DisplayName>
                <FirstName>String</FirstName>
                <Id>String</Id>
                <LastName>String</LastName>
                <ProfileUrl>String</ProfileUrl>
              </AppUser>
              <AppUserId>String</AppUserId>
              <Currency>String</Currency>
              <Id>0</Id>
              <JobApplicationId>0</JobApplicationId>
              <Notes>String</Notes>
              <SalaryOffer>0</SalaryOffer>
            </JobOffer>
            <PhoneScreen>
              <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
              <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
              <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
              <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
              <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
              <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
              <AppUser>
                <DisplayName>String</DisplayName>
                <FirstName>String</FirstName>
                <Id>String</Id>
                <LastName>String</LastName>
                <ProfileUrl>String</ProfileUrl>
              </AppUser>
              <AppUserId>String</AppUserId>
              <ApplicationStatus>Applied</ApplicationStatus>
              <Id>0</Id>
              <JobApplicationId>0</JobApplicationId>
              <Notes>String</Notes>
            </PhoneScreen>
            <Position>
              <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
              <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
              <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
              <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
              <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
              <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
              <Applications>
                <JobApplication>
                  <Applicant>
                    <About>String</About>
                    <Applications i:nil="true" />
                    <AvailabilityWeeks>0</AvailabilityWeeks>
                    <Email>String</Email>
                    <FirstName>String</FirstName>
                    <Id>0</Id>
                    <JobType>String</JobType>
                    <LastName>String</LastName>
                    <Phone>String</Phone>
                    <PreferredLocation>String</PreferredLocation>
                    <PreferredWorkType>FullTime</PreferredWorkType>
                    <ProfileUrl>String</ProfileUrl>
                    <SalaryExpectation>0</SalaryExpectation>
                    <Skills xmlns:d11p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                      <d11p1:string>String</d11p1:string>
                    </Skills>
                  </Applicant>
                  <ApplicationStatus>Applied</ApplicationStatus>
                  <AppliedDate>0001-01-01T00:00:00</AppliedDate>
                  <Attachments>
                    <JobApplicationAttachment>
                      <ContentLength>0</ContentLength>
                      <ContentType>String</ContentType>
                      <FileName>String</FileName>
                      <FilePath>String</FilePath>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                    </JobApplicationAttachment>
                  </Attachments>
                  <Comments>
                    <JobApplicationComment>
                      <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                      <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                      <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                      <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                      <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                      <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                      <AppUser>
                        <DisplayName>String</DisplayName>
                        <FirstName>String</FirstName>
                        <Id>String</Id>
                        <LastName>String</LastName>
                        <ProfileUrl>String</ProfileUrl>
                      </AppUser>
                      <AppUserId>String</AppUserId>
                      <Comment>String</Comment>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                    </JobApplicationComment>
                  </Comments>
                  <ContactId>0</ContactId>
                  <Events>
                    <JobApplicationEvent>
                      <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                      <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                      <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                      <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                      <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                      <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                      <AppUser>
                        <DisplayName>String</DisplayName>
                        <FirstName>String</FirstName>
                        <Id>String</Id>
                        <LastName>String</LastName>
                        <ProfileUrl>String</ProfileUrl>
                      </AppUser>
                      <AppUserId>String</AppUserId>
                      <Description>String</Description>
                      <EventDate>0001-01-01T00:00:00</EventDate>
                      <Id>0</Id>
                      <JobApplicationId>0</JobApplicationId>
                      <Status>Applied</Status>
                    </JobApplicationEvent>
                  </Events>
                  <Id>0</Id>
                  <Interview>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <ApplicationStatus>Applied</ApplicationStatus>
                    <BookingTime>0001-01-01T00:00:00</BookingTime>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                  </Interview>
                  <JobId>0</JobId>
                  <JobOffer>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <Currency>String</Currency>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                    <SalaryOffer>0</SalaryOffer>
                  </JobOffer>
                  <PhoneScreen>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <AppUser>
                      <DisplayName>String</DisplayName>
                      <FirstName>String</FirstName>
                      <Id>String</Id>
                      <LastName>String</LastName>
                      <ProfileUrl>String</ProfileUrl>
                    </AppUser>
                    <AppUserId>String</AppUserId>
                    <ApplicationStatus>Applied</ApplicationStatus>
                    <Id>0</Id>
                    <JobApplicationId>0</JobApplicationId>
                    <Notes>String</Notes>
                  </PhoneScreen>
                  <Position>
                    <CreatedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</CreatedDate>
                    <CreatedBy xmlns="http://schemas.servicestack.net/types">String</CreatedBy>
                    <ModifiedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ModifiedDate>
                    <ModifiedBy xmlns="http://schemas.servicestack.net/types">String</ModifiedBy>
                    <DeletedDate xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</DeletedDate>
                    <DeletedBy xmlns="http://schemas.servicestack.net/types">String</DeletedBy>
                    <Applications i:nil="true" />
                    <Closing>0001-01-01T00:00:00</Closing>
                    <Company>String</Company>
                    <Description>String</Description>
                    <EmploymentType>FullTime</EmploymentType>
                    <Id>0</Id>
                    <Location>String</Location>
                    <SalaryRangeLower>0</SalaryRangeLower>
                    <SalaryRangeUpper>0</SalaryRangeUpper>
                    <Title>String</Title>
                  </Position>
                </JobApplication>
              </Applications>
              <Closing>0001-01-01T00:00:00</Closing>
              <Company>String</Company>
              <Description>String</Description>
              <EmploymentType>FullTime</EmploymentType>
              <Id>0</Id>
              <Location>String</Location>
              <SalaryRangeLower>0</SalaryRangeLower>
              <SalaryRangeUpper>0</SalaryRangeUpper>
              <Title>String</Title>
            </Position>
          </JobApplication>
        </Applications>
        <Closing>0001-01-01T00:00:00</Closing>
        <Company>String</Company>
        <Description>String</Description>
        <EmploymentType>FullTime</EmploymentType>
        <Id>0</Id>
        <Location>String</Location>
        <SalaryRangeLower>0</SalaryRangeLower>
        <SalaryRangeUpper>0</SalaryRangeUpper>
        <Title>String</Title>
      </Position>
    </JobApplication>
  </Applications>
  <AvailabilityWeeks>0</AvailabilityWeeks>
  <Email>String</Email>
  <FirstName>String</FirstName>
  <Id>0</Id>
  <JobType>String</JobType>
  <LastName>String</LastName>
  <Phone>String</Phone>
  <PreferredLocation>String</PreferredLocation>
  <PreferredWorkType>FullTime</PreferredWorkType>
  <ProfileUrl>String</ProfileUrl>
  <SalaryExpectation>0</SalaryExpectation>
  <Skills xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Skills>
</Contact>