public function applyJSON(array $json) { parent::applyJSON($json); $this->applyProperty($json, 'max_custom_fields'); $this->applyProperty($json, 'custom_fields', NULL, CustomField::class, TRUE); $this->applyProperty($json, 'standard_fields', NULL, CustomField::class, TRUE); }
public function applyJSON(array $json) { parent::applyJSON($json); $this->applyProperty($json, 'id'); $this->applyProperty($json, 'display_name'); $this->applyProperty($json, 'description'); $this->applyProperty($json, 'required'); $this->applyProperty($json, 'type'); $this->applyProperty($json, 'enum_values'); }
public function applyJSON(array $json) { parent::applyJSON($json); $this->applyProperty($json, 'id'); $this->applyProperty($json, 'account'); $this->applyProperty($json, 'created_at'); $this->applyProperty($json, 'description'); $this->applyProperty($json, 'favorite'); $this->applyProperty($json, 'limit'); $this->applyProperty($json, 'name'); $this->applyProperty($json, 'reference_id'); $this->applyProperty($json, 'search'); $this->applyProperty($json, 'type'); $this->applyProperty($json, 'updated_at'); $this->applyProperty($json, 'video_ids'); }