Model/PropertyResponse.php
public function jsonSerialize()
    {
        $json = [];

        if (null !== $this->created) {
            $json['created'] = $this->created->format(\DateTime::ISO8601);
        }
        if (null !== $this->createdBy) {
            $json['createdBy'] = $this->createdBy;
        }
        if (null !== $this->updated) {
            $json['updated'] = $this->updated->format(\DateTime::ISO8601);
        }
        if (null !== $this->updatedBy) {
            $json['updatedBy'] = $this->updatedBy;
        }
        if (null !== $this->deleted) {
            $json['deleted'] = $this->deleted;
        }
        if (null !== $this->dirty) {
            $json['dirty'] = $this->dirty;
        }
        if (null !== $this->propertyType) {
            $json['propertyType'] = $this->propertyType;
        }
        if (null !== $this->value) {
            $json['value'] = $this->value;
        }

        return $json;
    }
public function jsonSerialize()
    {
        $json = [];

        if (null !== $this->created) {
            $json['created'] = $this->created->format(\DateTime::ISO8601);
        }
        if (null !== $this->createdBy) {
            $json['createdBy'] = $this->createdBy;
        }
        if (null !== $this->updated) {
            $json['updated'] = $this->updated->format(\DateTime::ISO8601);
        }
        if (null !== $this->updatedBy) {
            $json['updatedBy'] = $this->updatedBy;
        }
        if (null !== $this->deleted) {
            $json['deleted'] = $this->deleted;
        }
        if (null !== $this->dirty) {
            $json['dirty'] = $this->dirty;
        }
        if (null !== $this->propertyType) {
            $json['propertyType'] = $this->propertyType;
        }
        if (null !== $this->value) {
            $json['value'] = $this->value;
        }

        return $json;
    }
public function jsonSerialize ( ) { $ json = [ ] ; if ( null !== $ this -> created ) { $ json [ 'created' ] = $ this -> created -> format ( \ DateTime :: ISO8601 ) ; } if ( null !== $ this -> createdBy ) { $ json [ 'createdBy' ] = $ this -> createdBy ; } if ( null !== $ this -> updated ) { $ json [ 'updated' ] = $ this -> updated -> format ( \ DateTime :: ISO8601 ) ; } if ( null !== $ this -> updatedBy ) { $ json [ 'updatedBy' ] = $ this -> updatedBy ; } if ( null !== $ this -> deleted ) { $ json [ 'deleted' ] = $ this -> deleted ; } if ( null !== $ this -> dirty ) { $ json [ 'dirty' ] = $ this -> dirty ; } if ( null !== $ this -> propertyType ) { $ json [ 'propertyType' ] = $ this -> propertyType ; } if ( null !== $ this -> value ) { $ json [ 'value' ] = $ this -> value ; } return $ json ; }
Gets all data that should be available in a json representation.

@return array an associative array of the available variables
Gets all data that should be available in a json representation .