/** * @return array */ public function jsonSerialize() { $json = parent::jsonSerialize(); if (null !== $this->label) { $json['label'] = $this->label->jsonSerialize(); } if (null !== $this->description) { $json['description'] = $this->description->jsonSerialize(); } if (null !== $this->direction) { $json['direction'] = $this->direction->jsonSerialize(); } if (null !== $this->compareToSourceId) { $json['compareToSourceId'] = $this->compareToSourceId->jsonSerialize(); } if (null !== $this->compareToSourcePath) { $json['compareToSourcePath'] = $this->compareToSourcePath->jsonSerialize(); } if (null !== $this->contentType) { $json['contentType'] = $this->contentType->jsonSerialize(); } if (null !== $this->headerField) { $json['headerField'] = $this->headerField->jsonSerialize(); } if (null !== $this->minimumId) { $json['minimumId'] = $this->minimumId->jsonSerialize(); } if (null !== $this->navigationLinks) { $json['navigationLinks'] = $this->navigationLinks->jsonSerialize(); } if (null !== $this->operator) { $json['operator'] = $this->operator->jsonSerialize(); } if (null !== $this->path) { $json['path'] = $this->path->jsonSerialize(); } if (null !== $this->resource) { $json['resource'] = $this->resource->jsonSerialize(); } if (null !== $this->response) { $json['response'] = $this->response->jsonSerialize(); } if (null !== $this->responseCode) { $json['responseCode'] = $this->responseCode->jsonSerialize(); } if (null !== $this->sourceId) { $json['sourceId'] = $this->sourceId->jsonSerialize(); } if (null !== $this->validateProfileId) { $json['validateProfileId'] = $this->validateProfileId->jsonSerialize(); } if (null !== $this->value) { $json['value'] = $this->value->jsonSerialize(); } if (null !== $this->warningOnly) { $json['warningOnly'] = $this->warningOnly->jsonSerialize(); } return $json; }
/** * @return array */ public function jsonSerialize() { $json = parent::jsonSerialize(); if (null !== $this->type) { $json['type'] = $this->type->jsonSerialize(); } if (null !== $this->resource) { $json['resource'] = $this->resource->jsonSerialize(); } if (null !== $this->label) { $json['label'] = $this->label->jsonSerialize(); } if (null !== $this->description) { $json['description'] = $this->description->jsonSerialize(); } if (null !== $this->accept) { $json['accept'] = $this->accept->jsonSerialize(); } if (null !== $this->contentType) { $json['contentType'] = $this->contentType->jsonSerialize(); } if (null !== $this->destination) { $json['destination'] = $this->destination->jsonSerialize(); } if (null !== $this->encodeRequestUrl) { $json['encodeRequestUrl'] = $this->encodeRequestUrl->jsonSerialize(); } if (null !== $this->params) { $json['params'] = $this->params->jsonSerialize(); } if (0 < count($this->requestHeader)) { $json['requestHeader'] = array(); foreach ($this->requestHeader as $requestHeader) { $json['requestHeader'][] = $requestHeader->jsonSerialize(); } } if (null !== $this->responseId) { $json['responseId'] = $this->responseId->jsonSerialize(); } if (null !== $this->sourceId) { $json['sourceId'] = $this->sourceId->jsonSerialize(); } if (null !== $this->targetId) { $json['targetId'] = $this->targetId->jsonSerialize(); } if (null !== $this->url) { $json['url'] = $this->url->jsonSerialize(); } return $json; }