updating stubs to have fluent setters and retaining deprecated methods

This commit is contained in:
Ganesh Hegde
2013-05-28 10:15:29 +05:30
parent 50b09bdbde
commit 86643ec2df
26 changed files with 1388 additions and 404 deletions

View File

@@ -10,8 +10,9 @@ class HyperSchema extends \PPModel {
*/
public function setLinks($links) {
$this->links = $links;
}
return $this;
}
/**
*
* @return PayPal\Api\Links
@@ -19,15 +20,17 @@ class HyperSchema extends \PPModel {
public function getLinks() {
return $this->links;
}
/**
*
* @param string $fragmentResolution
*/
public function setFragmentResolution($fragmentResolution) {
$this->fragmentResolution = $fragmentResolution;
}
return $this;
}
/**
*
* @return string
@@ -35,15 +38,30 @@ class HyperSchema extends \PPModel {
public function getFragmentResolution() {
return $this->fragmentResolution;
}
/**
* Deprecated method
*/
public function setFragmentresolution($fragmentResolution) {
$this->fragmentResolution = $fragmentResolution;
return $this;
}
/**
* Deprecated method
*/
public function getFragmentresolution() {
return $this->fragmentResolution;
}
/**
*
* @param boolean $readonly
*/
public function setReadonly($readonly) {
$this->readonly = $readonly;
}
return $this;
}
/**
*
* @return boolean
@@ -51,15 +69,17 @@ class HyperSchema extends \PPModel {
public function getReadonly() {
return $this->readonly;
}
/**
*
* @param string $contentEncoding
*/
public function setContentEncoding($contentEncoding) {
$this->contentEncoding = $contentEncoding;
}
return $this;
}
/**
*
* @return string
@@ -67,15 +87,30 @@ class HyperSchema extends \PPModel {
public function getContentEncoding() {
return $this->contentEncoding;
}
/**
* Deprecated method
*/
public function setContentencoding($contentEncoding) {
$this->contentEncoding = $contentEncoding;
return $this;
}
/**
* Deprecated method
*/
public function getContentencoding() {
return $this->contentEncoding;
}
/**
*
* @param string $pathStart
*/
public function setPathStart($pathStart) {
$this->pathStart = $pathStart;
}
return $this;
}
/**
*
* @return string
@@ -83,15 +118,30 @@ class HyperSchema extends \PPModel {
public function getPathStart() {
return $this->pathStart;
}
/**
* Deprecated method
*/
public function setPathstart($pathStart) {
$this->pathStart = $pathStart;
return $this;
}
/**
* Deprecated method
*/
public function getPathstart() {
return $this->pathStart;
}
/**
*
* @param string $mediaType
*/
public function setMediaType($mediaType) {
$this->mediaType = $mediaType;
}
return $this;
}
/**
*
* @return string
@@ -99,5 +149,19 @@ class HyperSchema extends \PPModel {
public function getMediaType() {
return $this->mediaType;
}
/**
* Deprecated method
*/
public function setMediatype($mediaType) {
$this->mediaType = $mediaType;
return $this;
}
/**
* Deprecated method
*/
public function getMediatype() {
return $this->mediaType;
}
}