Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (61 sloc) 1.53 KB
<?php
/*
* Mashape PHP library.
*
* Copyright (C) 2011 Mashape, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*
* The author of this software is Mashape, Inc.
* For any question or feedback please contact us at: support@mashape.com
*
*/
class RESTField {
private $name;
private $object;
private $method;
private $array;
private $optional;
public function getName() {
return $this->name;
}
public function getObject() {
return $this->object;
}
public function getMethod() {
return $this->method;
}
public function isArray() {
return $this->array;
}
public function isOptional() {
return $this->optional;
}
public function setName($x) {
$this->name = $x;
}
public function setObject($x) {
$this->object = $x;
}
public function setMethod($x) {
$this->method = $x;
}
public function setArray($x) {
$this->array = $x;
}
public function setOptional($x) {
$this->optional = $x;
}
}
Something went wrong with that request. Please try again.