update php samples (#169)

This commit is contained in:
William Cheng 2018-05-28 23:59:44 +08:00 committed by GitHub
parent 3beeb4e777
commit 0fadea9986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
30 changed files with 158 additions and 158 deletions

View File

@ -213,7 +213,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess
/** /**
* Gets map_property * Gets map_property
* *
* @return map[string,string] * @return map[string,string]|null
*/ */
public function getMapProperty() public function getMapProperty()
{ {
@ -223,7 +223,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess
/** /**
* Sets map_property * Sets map_property
* *
* @param map[string,string] $map_property map_property * @param map[string,string]|null $map_property map_property
* *
* @return $this * @return $this
*/ */
@ -237,7 +237,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess
/** /**
* Gets map_of_map_property * Gets map_of_map_property
* *
* @return map[string,map[string,string]] * @return map[string,map[string,string]]|null
*/ */
public function getMapOfMapProperty() public function getMapOfMapProperty()
{ {
@ -247,7 +247,7 @@ class AdditionalPropertiesClass implements ModelInterface, ArrayAccess
/** /**
* Sets map_of_map_property * Sets map_of_map_property
* *
* @param map[string,map[string,string]] $map_of_map_property map_of_map_property * @param map[string,map[string,string]]|null $map_of_map_property map_of_map_property
* *
* @return $this * @return $this
*/ */

View File

@ -244,7 +244,7 @@ class Animal implements ModelInterface, ArrayAccess
/** /**
* Gets color * Gets color
* *
* @return string * @return string|null
*/ */
public function getColor() public function getColor()
{ {
@ -254,7 +254,7 @@ class Animal implements ModelInterface, ArrayAccess
/** /**
* Sets color * Sets color
* *
* @param string $color color * @param string|null $color color
* *
* @return $this * @return $this
*/ */

View File

@ -219,7 +219,7 @@ class ApiResponse implements ModelInterface, ArrayAccess
/** /**
* Gets code * Gets code
* *
* @return int * @return int|null
*/ */
public function getCode() public function getCode()
{ {
@ -229,7 +229,7 @@ class ApiResponse implements ModelInterface, ArrayAccess
/** /**
* Sets code * Sets code
* *
* @param int $code code * @param int|null $code code
* *
* @return $this * @return $this
*/ */
@ -243,7 +243,7 @@ class ApiResponse implements ModelInterface, ArrayAccess
/** /**
* Gets type * Gets type
* *
* @return string * @return string|null
*/ */
public function getType() public function getType()
{ {
@ -253,7 +253,7 @@ class ApiResponse implements ModelInterface, ArrayAccess
/** /**
* Sets type * Sets type
* *
* @param string $type type * @param string|null $type type
* *
* @return $this * @return $this
*/ */
@ -267,7 +267,7 @@ class ApiResponse implements ModelInterface, ArrayAccess
/** /**
* Gets message * Gets message
* *
* @return string * @return string|null
*/ */
public function getMessage() public function getMessage()
{ {
@ -277,7 +277,7 @@ class ApiResponse implements ModelInterface, ArrayAccess
/** /**
* Sets message * Sets message
* *
* @param string $message message * @param string|null $message message
* *
* @return $this * @return $this
*/ */

View File

@ -207,7 +207,7 @@ class ArrayOfArrayOfNumberOnly implements ModelInterface, ArrayAccess
/** /**
* Gets array_array_number * Gets array_array_number
* *
* @return float[][] * @return float[][]|null
*/ */
public function getArrayArrayNumber() public function getArrayArrayNumber()
{ {
@ -217,7 +217,7 @@ class ArrayOfArrayOfNumberOnly implements ModelInterface, ArrayAccess
/** /**
* Sets array_array_number * Sets array_array_number
* *
* @param float[][] $array_array_number array_array_number * @param float[][]|null $array_array_number array_array_number
* *
* @return $this * @return $this
*/ */

View File

@ -207,7 +207,7 @@ class ArrayOfNumberOnly implements ModelInterface, ArrayAccess
/** /**
* Gets array_number * Gets array_number
* *
* @return float[] * @return float[]|null
*/ */
public function getArrayNumber() public function getArrayNumber()
{ {
@ -217,7 +217,7 @@ class ArrayOfNumberOnly implements ModelInterface, ArrayAccess
/** /**
* Sets array_number * Sets array_number
* *
* @param float[] $array_number array_number * @param float[]|null $array_number array_number
* *
* @return $this * @return $this
*/ */

View File

@ -219,7 +219,7 @@ class ArrayTest implements ModelInterface, ArrayAccess
/** /**
* Gets array_of_string * Gets array_of_string
* *
* @return string[] * @return string[]|null
*/ */
public function getArrayOfString() public function getArrayOfString()
{ {
@ -229,7 +229,7 @@ class ArrayTest implements ModelInterface, ArrayAccess
/** /**
* Sets array_of_string * Sets array_of_string
* *
* @param string[] $array_of_string array_of_string * @param string[]|null $array_of_string array_of_string
* *
* @return $this * @return $this
*/ */
@ -243,7 +243,7 @@ class ArrayTest implements ModelInterface, ArrayAccess
/** /**
* Gets array_array_of_integer * Gets array_array_of_integer
* *
* @return int[][] * @return int[][]|null
*/ */
public function getArrayArrayOfInteger() public function getArrayArrayOfInteger()
{ {
@ -253,7 +253,7 @@ class ArrayTest implements ModelInterface, ArrayAccess
/** /**
* Sets array_array_of_integer * Sets array_array_of_integer
* *
* @param int[][] $array_array_of_integer array_array_of_integer * @param int[][]|null $array_array_of_integer array_array_of_integer
* *
* @return $this * @return $this
*/ */
@ -267,7 +267,7 @@ class ArrayTest implements ModelInterface, ArrayAccess
/** /**
* Gets array_array_of_model * Gets array_array_of_model
* *
* @return \OpenAPI\Client\Model\ReadOnlyFirst[][] * @return \OpenAPI\Client\Model\ReadOnlyFirst[][]|null
*/ */
public function getArrayArrayOfModel() public function getArrayArrayOfModel()
{ {
@ -277,7 +277,7 @@ class ArrayTest implements ModelInterface, ArrayAccess
/** /**
* Sets array_array_of_model * Sets array_array_of_model
* *
* @param \OpenAPI\Client\Model\ReadOnlyFirst[][] $array_array_of_model array_array_of_model * @param \OpenAPI\Client\Model\ReadOnlyFirst[][]|null $array_array_of_model array_array_of_model
* *
* @return $this * @return $this
*/ */

View File

@ -237,7 +237,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Gets small_camel * Gets small_camel
* *
* @return string * @return string|null
*/ */
public function getSmallCamel() public function getSmallCamel()
{ {
@ -247,7 +247,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Sets small_camel * Sets small_camel
* *
* @param string $small_camel small_camel * @param string|null $small_camel small_camel
* *
* @return $this * @return $this
*/ */
@ -261,7 +261,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Gets capital_camel * Gets capital_camel
* *
* @return string * @return string|null
*/ */
public function getCapitalCamel() public function getCapitalCamel()
{ {
@ -271,7 +271,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Sets capital_camel * Sets capital_camel
* *
* @param string $capital_camel capital_camel * @param string|null $capital_camel capital_camel
* *
* @return $this * @return $this
*/ */
@ -285,7 +285,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Gets small_snake * Gets small_snake
* *
* @return string * @return string|null
*/ */
public function getSmallSnake() public function getSmallSnake()
{ {
@ -295,7 +295,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Sets small_snake * Sets small_snake
* *
* @param string $small_snake small_snake * @param string|null $small_snake small_snake
* *
* @return $this * @return $this
*/ */
@ -309,7 +309,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Gets capital_snake * Gets capital_snake
* *
* @return string * @return string|null
*/ */
public function getCapitalSnake() public function getCapitalSnake()
{ {
@ -319,7 +319,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Sets capital_snake * Sets capital_snake
* *
* @param string $capital_snake capital_snake * @param string|null $capital_snake capital_snake
* *
* @return $this * @return $this
*/ */
@ -333,7 +333,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Gets sca_eth_flow_points * Gets sca_eth_flow_points
* *
* @return string * @return string|null
*/ */
public function getScaEthFlowPoints() public function getScaEthFlowPoints()
{ {
@ -343,7 +343,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Sets sca_eth_flow_points * Sets sca_eth_flow_points
* *
* @param string $sca_eth_flow_points sca_eth_flow_points * @param string|null $sca_eth_flow_points sca_eth_flow_points
* *
* @return $this * @return $this
*/ */
@ -357,7 +357,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Gets att_name * Gets att_name
* *
* @return string * @return string|null
*/ */
public function getAttName() public function getAttName()
{ {
@ -367,7 +367,7 @@ class Capitalization implements ModelInterface, ArrayAccess
/** /**
* Sets att_name * Sets att_name
* *
* @param string $att_name Name of the pet * @param string|null $att_name Name of the pet
* *
* @return $this * @return $this
*/ */

View File

@ -201,7 +201,7 @@ class Cat extends Animal
/** /**
* Gets declawed * Gets declawed
* *
* @return bool * @return bool|null
*/ */
public function getDeclawed() public function getDeclawed()
{ {
@ -211,7 +211,7 @@ class Cat extends Animal
/** /**
* Sets declawed * Sets declawed
* *
* @param bool $declawed declawed * @param bool|null $declawed declawed
* *
* @return $this * @return $this
*/ */

View File

@ -213,7 +213,7 @@ class Category implements ModelInterface, ArrayAccess
/** /**
* Gets id * Gets id
* *
* @return int * @return int|null
*/ */
public function getId() public function getId()
{ {
@ -223,7 +223,7 @@ class Category implements ModelInterface, ArrayAccess
/** /**
* Sets id * Sets id
* *
* @param int $id id * @param int|null $id id
* *
* @return $this * @return $this
*/ */
@ -237,7 +237,7 @@ class Category implements ModelInterface, ArrayAccess
/** /**
* Gets name * Gets name
* *
* @return string * @return string|null
*/ */
public function getName() public function getName()
{ {
@ -247,7 +247,7 @@ class Category implements ModelInterface, ArrayAccess
/** /**
* Sets name * Sets name
* *
* @param string $name name * @param string|null $name name
* *
* @return $this * @return $this
*/ */

View File

@ -208,7 +208,7 @@ class ClassModel implements ModelInterface, ArrayAccess
/** /**
* Gets _class * Gets _class
* *
* @return string * @return string|null
*/ */
public function getClass() public function getClass()
{ {
@ -218,7 +218,7 @@ class ClassModel implements ModelInterface, ArrayAccess
/** /**
* Sets _class * Sets _class
* *
* @param string $_class _class * @param string|null $_class _class
* *
* @return $this * @return $this
*/ */

View File

@ -207,7 +207,7 @@ class Client implements ModelInterface, ArrayAccess
/** /**
* Gets client * Gets client
* *
* @return string * @return string|null
*/ */
public function getClient() public function getClient()
{ {
@ -217,7 +217,7 @@ class Client implements ModelInterface, ArrayAccess
/** /**
* Sets client * Sets client
* *
* @param string $client client * @param string|null $client client
* *
* @return $this * @return $this
*/ */

View File

@ -201,7 +201,7 @@ class Dog extends Animal
/** /**
* Gets breed * Gets breed
* *
* @return string * @return string|null
*/ */
public function getBreed() public function getBreed()
{ {
@ -211,7 +211,7 @@ class Dog extends Animal
/** /**
* Sets breed * Sets breed
* *
* @param string $breed breed * @param string|null $breed breed
* *
* @return $this * @return $this
*/ */

View File

@ -251,7 +251,7 @@ class EnumArrays implements ModelInterface, ArrayAccess
/** /**
* Gets just_symbol * Gets just_symbol
* *
* @return string * @return string|null
*/ */
public function getJustSymbol() public function getJustSymbol()
{ {
@ -261,7 +261,7 @@ class EnumArrays implements ModelInterface, ArrayAccess
/** /**
* Sets just_symbol * Sets just_symbol
* *
* @param string $just_symbol just_symbol * @param string|null $just_symbol just_symbol
* *
* @return $this * @return $this
*/ */
@ -284,7 +284,7 @@ class EnumArrays implements ModelInterface, ArrayAccess
/** /**
* Gets array_enum * Gets array_enum
* *
* @return string[] * @return string[]|null
*/ */
public function getArrayEnum() public function getArrayEnum()
{ {
@ -294,7 +294,7 @@ class EnumArrays implements ModelInterface, ArrayAccess
/** /**
* Sets array_enum * Sets array_enum
* *
* @param string[] $array_enum array_enum * @param string[]|null $array_enum array_enum
* *
* @return $this * @return $this
*/ */

View File

@ -330,7 +330,7 @@ class EnumTest implements ModelInterface, ArrayAccess
/** /**
* Gets enum_string * Gets enum_string
* *
* @return string * @return string|null
*/ */
public function getEnumString() public function getEnumString()
{ {
@ -340,7 +340,7 @@ class EnumTest implements ModelInterface, ArrayAccess
/** /**
* Sets enum_string * Sets enum_string
* *
* @param string $enum_string enum_string * @param string|null $enum_string enum_string
* *
* @return $this * @return $this
*/ */
@ -396,7 +396,7 @@ class EnumTest implements ModelInterface, ArrayAccess
/** /**
* Gets enum_integer * Gets enum_integer
* *
* @return int * @return int|null
*/ */
public function getEnumInteger() public function getEnumInteger()
{ {
@ -406,7 +406,7 @@ class EnumTest implements ModelInterface, ArrayAccess
/** /**
* Sets enum_integer * Sets enum_integer
* *
* @param int $enum_integer enum_integer * @param int|null $enum_integer enum_integer
* *
* @return $this * @return $this
*/ */
@ -429,7 +429,7 @@ class EnumTest implements ModelInterface, ArrayAccess
/** /**
* Gets enum_number * Gets enum_number
* *
* @return double * @return double|null
*/ */
public function getEnumNumber() public function getEnumNumber()
{ {
@ -439,7 +439,7 @@ class EnumTest implements ModelInterface, ArrayAccess
/** /**
* Sets enum_number * Sets enum_number
* *
* @param double $enum_number enum_number * @param double|null $enum_number enum_number
* *
* @return $this * @return $this
*/ */
@ -462,7 +462,7 @@ class EnumTest implements ModelInterface, ArrayAccess
/** /**
* Gets outer_enum * Gets outer_enum
* *
* @return \OpenAPI\Client\Model\OuterEnum * @return \OpenAPI\Client\Model\OuterEnum|null
*/ */
public function getOuterEnum() public function getOuterEnum()
{ {
@ -472,7 +472,7 @@ class EnumTest implements ModelInterface, ArrayAccess
/** /**
* Sets outer_enum * Sets outer_enum
* *
* @param \OpenAPI\Client\Model\OuterEnum $outer_enum outer_enum * @param \OpenAPI\Client\Model\OuterEnum|null $outer_enum outer_enum
* *
* @return $this * @return $this
*/ */

View File

@ -343,7 +343,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets integer * Gets integer
* *
* @return int * @return int|null
*/ */
public function getInteger() public function getInteger()
{ {
@ -353,7 +353,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets integer * Sets integer
* *
* @param int $integer integer * @param int|null $integer integer
* *
* @return $this * @return $this
*/ */
@ -375,7 +375,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets int32 * Gets int32
* *
* @return int * @return int|null
*/ */
public function getInt32() public function getInt32()
{ {
@ -385,7 +385,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets int32 * Sets int32
* *
* @param int $int32 int32 * @param int|null $int32 int32
* *
* @return $this * @return $this
*/ */
@ -407,7 +407,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets int64 * Gets int64
* *
* @return int * @return int|null
*/ */
public function getInt64() public function getInt64()
{ {
@ -417,7 +417,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets int64 * Sets int64
* *
* @param int $int64 int64 * @param int|null $int64 int64
* *
* @return $this * @return $this
*/ */
@ -463,7 +463,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets float * Gets float
* *
* @return float * @return float|null
*/ */
public function getFloat() public function getFloat()
{ {
@ -473,7 +473,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets float * Sets float
* *
* @param float $float float * @param float|null $float float
* *
* @return $this * @return $this
*/ */
@ -495,7 +495,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets double * Gets double
* *
* @return double * @return double|null
*/ */
public function getDouble() public function getDouble()
{ {
@ -505,7 +505,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets double * Sets double
* *
* @param double $double double * @param double|null $double double
* *
* @return $this * @return $this
*/ */
@ -527,7 +527,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets string * Gets string
* *
* @return string * @return string|null
*/ */
public function getString() public function getString()
{ {
@ -537,7 +537,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets string * Sets string
* *
* @param string $string string * @param string|null $string string
* *
* @return $this * @return $this
*/ */
@ -580,7 +580,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets binary * Gets binary
* *
* @return \SplFileObject * @return \SplFileObject|null
*/ */
public function getBinary() public function getBinary()
{ {
@ -590,7 +590,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets binary * Sets binary
* *
* @param \SplFileObject $binary binary * @param \SplFileObject|null $binary binary
* *
* @return $this * @return $this
*/ */
@ -628,7 +628,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets date_time * Gets date_time
* *
* @return \DateTime * @return \DateTime|null
*/ */
public function getDateTime() public function getDateTime()
{ {
@ -638,7 +638,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets date_time * Sets date_time
* *
* @param \DateTime $date_time date_time * @param \DateTime|null $date_time date_time
* *
* @return $this * @return $this
*/ */
@ -652,7 +652,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Gets uuid * Gets uuid
* *
* @return string * @return string|null
*/ */
public function getUuid() public function getUuid()
{ {
@ -662,7 +662,7 @@ class FormatTest implements ModelInterface, ArrayAccess
/** /**
* Sets uuid * Sets uuid
* *
* @param string $uuid uuid * @param string|null $uuid uuid
* *
* @return $this * @return $this
*/ */

View File

@ -213,7 +213,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess
/** /**
* Gets bar * Gets bar
* *
* @return string * @return string|null
*/ */
public function getBar() public function getBar()
{ {
@ -223,7 +223,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess
/** /**
* Sets bar * Sets bar
* *
* @param string $bar bar * @param string|null $bar bar
* *
* @return $this * @return $this
*/ */
@ -237,7 +237,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess
/** /**
* Gets foo * Gets foo
* *
* @return string * @return string|null
*/ */
public function getFoo() public function getFoo()
{ {
@ -247,7 +247,7 @@ class HasOnlyReadOnly implements ModelInterface, ArrayAccess
/** /**
* Sets foo * Sets foo
* *
* @param string $foo foo * @param string|null $foo foo
* *
* @return $this * @return $this
*/ */

View File

@ -228,7 +228,7 @@ class MapTest implements ModelInterface, ArrayAccess
/** /**
* Gets map_map_of_string * Gets map_map_of_string
* *
* @return map[string,map[string,string]] * @return map[string,map[string,string]]|null
*/ */
public function getMapMapOfString() public function getMapMapOfString()
{ {
@ -238,7 +238,7 @@ class MapTest implements ModelInterface, ArrayAccess
/** /**
* Sets map_map_of_string * Sets map_map_of_string
* *
* @param map[string,map[string,string]] $map_map_of_string map_map_of_string * @param map[string,map[string,string]]|null $map_map_of_string map_map_of_string
* *
* @return $this * @return $this
*/ */
@ -252,7 +252,7 @@ class MapTest implements ModelInterface, ArrayAccess
/** /**
* Gets map_of_enum_string * Gets map_of_enum_string
* *
* @return map[string,string] * @return map[string,string]|null
*/ */
public function getMapOfEnumString() public function getMapOfEnumString()
{ {
@ -262,7 +262,7 @@ class MapTest implements ModelInterface, ArrayAccess
/** /**
* Sets map_of_enum_string * Sets map_of_enum_string
* *
* @param map[string,string] $map_of_enum_string map_of_enum_string * @param map[string,string]|null $map_of_enum_string map_of_enum_string
* *
* @return $this * @return $this
*/ */

View File

@ -219,7 +219,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
/** /**
* Gets uuid * Gets uuid
* *
* @return string * @return string|null
*/ */
public function getUuid() public function getUuid()
{ {
@ -229,7 +229,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
/** /**
* Sets uuid * Sets uuid
* *
* @param string $uuid uuid * @param string|null $uuid uuid
* *
* @return $this * @return $this
*/ */
@ -243,7 +243,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
/** /**
* Gets date_time * Gets date_time
* *
* @return \DateTime * @return \DateTime|null
*/ */
public function getDateTime() public function getDateTime()
{ {
@ -253,7 +253,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
/** /**
* Sets date_time * Sets date_time
* *
* @param \DateTime $date_time date_time * @param \DateTime|null $date_time date_time
* *
* @return $this * @return $this
*/ */
@ -267,7 +267,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
/** /**
* Gets map * Gets map
* *
* @return map[string,\OpenAPI\Client\Model\Animal] * @return map[string,\OpenAPI\Client\Model\Animal]|null
*/ */
public function getMap() public function getMap()
{ {
@ -277,7 +277,7 @@ class MixedPropertiesAndAdditionalPropertiesClass implements ModelInterface, Arr
/** /**
* Sets map * Sets map
* *
* @param map[string,\OpenAPI\Client\Model\Animal] $map map * @param map[string,\OpenAPI\Client\Model\Animal]|null $map map
* *
* @return $this * @return $this
*/ */

View File

@ -214,7 +214,7 @@ class Model200Response implements ModelInterface, ArrayAccess
/** /**
* Gets name * Gets name
* *
* @return int * @return int|null
*/ */
public function getName() public function getName()
{ {
@ -224,7 +224,7 @@ class Model200Response implements ModelInterface, ArrayAccess
/** /**
* Sets name * Sets name
* *
* @param int $name name * @param int|null $name name
* *
* @return $this * @return $this
*/ */
@ -238,7 +238,7 @@ class Model200Response implements ModelInterface, ArrayAccess
/** /**
* Gets class * Gets class
* *
* @return string * @return string|null
*/ */
public function getClass() public function getClass()
{ {
@ -248,7 +248,7 @@ class Model200Response implements ModelInterface, ArrayAccess
/** /**
* Sets class * Sets class
* *
* @param string $class class * @param string|null $class class
* *
* @return $this * @return $this
*/ */

View File

@ -207,7 +207,7 @@ class ModelList implements ModelInterface, ArrayAccess
/** /**
* Gets _123_list * Gets _123_list
* *
* @return string * @return string|null
*/ */
public function get123List() public function get123List()
{ {
@ -217,7 +217,7 @@ class ModelList implements ModelInterface, ArrayAccess
/** /**
* Sets _123_list * Sets _123_list
* *
* @param string $_123_list _123_list * @param string|null $_123_list _123_list
* *
* @return $this * @return $this
*/ */

View File

@ -208,7 +208,7 @@ class ModelReturn implements ModelInterface, ArrayAccess
/** /**
* Gets return * Gets return
* *
* @return int * @return int|null
*/ */
public function getReturn() public function getReturn()
{ {
@ -218,7 +218,7 @@ class ModelReturn implements ModelInterface, ArrayAccess
/** /**
* Sets return * Sets return
* *
* @param int $return return * @param int|null $return return
* *
* @return $this * @return $this
*/ */

View File

@ -253,7 +253,7 @@ class Name implements ModelInterface, ArrayAccess
/** /**
* Gets snake_case * Gets snake_case
* *
* @return int * @return int|null
*/ */
public function getSnakeCase() public function getSnakeCase()
{ {
@ -263,7 +263,7 @@ class Name implements ModelInterface, ArrayAccess
/** /**
* Sets snake_case * Sets snake_case
* *
* @param int $snake_case snake_case * @param int|null $snake_case snake_case
* *
* @return $this * @return $this
*/ */
@ -277,7 +277,7 @@ class Name implements ModelInterface, ArrayAccess
/** /**
* Gets property * Gets property
* *
* @return string * @return string|null
*/ */
public function getProperty() public function getProperty()
{ {
@ -287,7 +287,7 @@ class Name implements ModelInterface, ArrayAccess
/** /**
* Sets property * Sets property
* *
* @param string $property property * @param string|null $property property
* *
* @return $this * @return $this
*/ */
@ -301,7 +301,7 @@ class Name implements ModelInterface, ArrayAccess
/** /**
* Gets _123_number * Gets _123_number
* *
* @return int * @return int|null
*/ */
public function get123Number() public function get123Number()
{ {
@ -311,7 +311,7 @@ class Name implements ModelInterface, ArrayAccess
/** /**
* Sets _123_number * Sets _123_number
* *
* @param int $_123_number _123_number * @param int|null $_123_number _123_number
* *
* @return $this * @return $this
*/ */

View File

@ -207,7 +207,7 @@ class NumberOnly implements ModelInterface, ArrayAccess
/** /**
* Gets just_number * Gets just_number
* *
* @return float * @return float|null
*/ */
public function getJustNumber() public function getJustNumber()
{ {
@ -217,7 +217,7 @@ class NumberOnly implements ModelInterface, ArrayAccess
/** /**
* Sets just_number * Sets just_number
* *
* @param float $just_number just_number * @param float|null $just_number just_number
* *
* @return $this * @return $this
*/ */

View File

@ -262,7 +262,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Gets id * Gets id
* *
* @return int * @return int|null
*/ */
public function getId() public function getId()
{ {
@ -272,7 +272,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Sets id * Sets id
* *
* @param int $id id * @param int|null $id id
* *
* @return $this * @return $this
*/ */
@ -286,7 +286,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Gets pet_id * Gets pet_id
* *
* @return int * @return int|null
*/ */
public function getPetId() public function getPetId()
{ {
@ -296,7 +296,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Sets pet_id * Sets pet_id
* *
* @param int $pet_id pet_id * @param int|null $pet_id pet_id
* *
* @return $this * @return $this
*/ */
@ -310,7 +310,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Gets quantity * Gets quantity
* *
* @return int * @return int|null
*/ */
public function getQuantity() public function getQuantity()
{ {
@ -320,7 +320,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Sets quantity * Sets quantity
* *
* @param int $quantity quantity * @param int|null $quantity quantity
* *
* @return $this * @return $this
*/ */
@ -334,7 +334,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Gets ship_date * Gets ship_date
* *
* @return \DateTime * @return \DateTime|null
*/ */
public function getShipDate() public function getShipDate()
{ {
@ -344,7 +344,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Sets ship_date * Sets ship_date
* *
* @param \DateTime $ship_date ship_date * @param \DateTime|null $ship_date ship_date
* *
* @return $this * @return $this
*/ */
@ -358,7 +358,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Gets status * Gets status
* *
* @return string * @return string|null
*/ */
public function getStatus() public function getStatus()
{ {
@ -368,7 +368,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Sets status * Sets status
* *
* @param string $status Order Status * @param string|null $status Order Status
* *
* @return $this * @return $this
*/ */
@ -391,7 +391,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Gets complete * Gets complete
* *
* @return bool * @return bool|null
*/ */
public function getComplete() public function getComplete()
{ {
@ -401,7 +401,7 @@ class Order implements ModelInterface, ArrayAccess
/** /**
* Sets complete * Sets complete
* *
* @param bool $complete complete * @param bool|null $complete complete
* *
* @return $this * @return $this
*/ */

View File

@ -219,7 +219,7 @@ class OuterComposite implements ModelInterface, ArrayAccess
/** /**
* Gets my_number * Gets my_number
* *
* @return float * @return float|null
*/ */
public function getMyNumber() public function getMyNumber()
{ {
@ -229,7 +229,7 @@ class OuterComposite implements ModelInterface, ArrayAccess
/** /**
* Sets my_number * Sets my_number
* *
* @param float $my_number my_number * @param float|null $my_number my_number
* *
* @return $this * @return $this
*/ */
@ -243,7 +243,7 @@ class OuterComposite implements ModelInterface, ArrayAccess
/** /**
* Gets my_string * Gets my_string
* *
* @return string * @return string|null
*/ */
public function getMyString() public function getMyString()
{ {
@ -253,7 +253,7 @@ class OuterComposite implements ModelInterface, ArrayAccess
/** /**
* Sets my_string * Sets my_string
* *
* @param string $my_string my_string * @param string|null $my_string my_string
* *
* @return $this * @return $this
*/ */
@ -267,7 +267,7 @@ class OuterComposite implements ModelInterface, ArrayAccess
/** /**
* Gets my_boolean * Gets my_boolean
* *
* @return bool * @return bool|null
*/ */
public function getMyBoolean() public function getMyBoolean()
{ {
@ -277,7 +277,7 @@ class OuterComposite implements ModelInterface, ArrayAccess
/** /**
* Sets my_boolean * Sets my_boolean
* *
* @param bool $my_boolean my_boolean * @param bool|null $my_boolean my_boolean
* *
* @return $this * @return $this
*/ */

View File

@ -268,7 +268,7 @@ class Pet implements ModelInterface, ArrayAccess
/** /**
* Gets id * Gets id
* *
* @return int * @return int|null
*/ */
public function getId() public function getId()
{ {
@ -278,7 +278,7 @@ class Pet implements ModelInterface, ArrayAccess
/** /**
* Sets id * Sets id
* *
* @param int $id id * @param int|null $id id
* *
* @return $this * @return $this
*/ */
@ -292,7 +292,7 @@ class Pet implements ModelInterface, ArrayAccess
/** /**
* Gets category * Gets category
* *
* @return \OpenAPI\Client\Model\Category * @return \OpenAPI\Client\Model\Category|null
*/ */
public function getCategory() public function getCategory()
{ {
@ -302,7 +302,7 @@ class Pet implements ModelInterface, ArrayAccess
/** /**
* Sets category * Sets category
* *
* @param \OpenAPI\Client\Model\Category $category category * @param \OpenAPI\Client\Model\Category|null $category category
* *
* @return $this * @return $this
*/ */
@ -364,7 +364,7 @@ class Pet implements ModelInterface, ArrayAccess
/** /**
* Gets tags * Gets tags
* *
* @return \OpenAPI\Client\Model\Tag[] * @return \OpenAPI\Client\Model\Tag[]|null
*/ */
public function getTags() public function getTags()
{ {
@ -374,7 +374,7 @@ class Pet implements ModelInterface, ArrayAccess
/** /**
* Sets tags * Sets tags
* *
* @param \OpenAPI\Client\Model\Tag[] $tags tags * @param \OpenAPI\Client\Model\Tag[]|null $tags tags
* *
* @return $this * @return $this
*/ */
@ -388,7 +388,7 @@ class Pet implements ModelInterface, ArrayAccess
/** /**
* Gets status * Gets status
* *
* @return string * @return string|null
*/ */
public function getStatus() public function getStatus()
{ {
@ -398,7 +398,7 @@ class Pet implements ModelInterface, ArrayAccess
/** /**
* Sets status * Sets status
* *
* @param string $status pet status in the store * @param string|null $status pet status in the store
* *
* @return $this * @return $this
*/ */

View File

@ -213,7 +213,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess
/** /**
* Gets bar * Gets bar
* *
* @return string * @return string|null
*/ */
public function getBar() public function getBar()
{ {
@ -223,7 +223,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess
/** /**
* Sets bar * Sets bar
* *
* @param string $bar bar * @param string|null $bar bar
* *
* @return $this * @return $this
*/ */
@ -237,7 +237,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess
/** /**
* Gets baz * Gets baz
* *
* @return string * @return string|null
*/ */
public function getBaz() public function getBaz()
{ {
@ -247,7 +247,7 @@ class ReadOnlyFirst implements ModelInterface, ArrayAccess
/** /**
* Sets baz * Sets baz
* *
* @param string $baz baz * @param string|null $baz baz
* *
* @return $this * @return $this
*/ */

View File

@ -207,7 +207,7 @@ class SpecialModelName implements ModelInterface, ArrayAccess
/** /**
* Gets special_property_name * Gets special_property_name
* *
* @return int * @return int|null
*/ */
public function getSpecialPropertyName() public function getSpecialPropertyName()
{ {
@ -217,7 +217,7 @@ class SpecialModelName implements ModelInterface, ArrayAccess
/** /**
* Sets special_property_name * Sets special_property_name
* *
* @param int $special_property_name special_property_name * @param int|null $special_property_name special_property_name
* *
* @return $this * @return $this
*/ */

View File

@ -213,7 +213,7 @@ class Tag implements ModelInterface, ArrayAccess
/** /**
* Gets id * Gets id
* *
* @return int * @return int|null
*/ */
public function getId() public function getId()
{ {
@ -223,7 +223,7 @@ class Tag implements ModelInterface, ArrayAccess
/** /**
* Sets id * Sets id
* *
* @param int $id id * @param int|null $id id
* *
* @return $this * @return $this
*/ */
@ -237,7 +237,7 @@ class Tag implements ModelInterface, ArrayAccess
/** /**
* Gets name * Gets name
* *
* @return string * @return string|null
*/ */
public function getName() public function getName()
{ {
@ -247,7 +247,7 @@ class Tag implements ModelInterface, ArrayAccess
/** /**
* Sets name * Sets name
* *
* @param string $name name * @param string|null $name name
* *
* @return $this * @return $this
*/ */

View File

@ -249,7 +249,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Gets id * Gets id
* *
* @return int * @return int|null
*/ */
public function getId() public function getId()
{ {
@ -259,7 +259,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Sets id * Sets id
* *
* @param int $id id * @param int|null $id id
* *
* @return $this * @return $this
*/ */
@ -273,7 +273,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Gets username * Gets username
* *
* @return string * @return string|null
*/ */
public function getUsername() public function getUsername()
{ {
@ -283,7 +283,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Sets username * Sets username
* *
* @param string $username username * @param string|null $username username
* *
* @return $this * @return $this
*/ */
@ -297,7 +297,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Gets first_name * Gets first_name
* *
* @return string * @return string|null
*/ */
public function getFirstName() public function getFirstName()
{ {
@ -307,7 +307,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Sets first_name * Sets first_name
* *
* @param string $first_name first_name * @param string|null $first_name first_name
* *
* @return $this * @return $this
*/ */
@ -321,7 +321,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Gets last_name * Gets last_name
* *
* @return string * @return string|null
*/ */
public function getLastName() public function getLastName()
{ {
@ -331,7 +331,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Sets last_name * Sets last_name
* *
* @param string $last_name last_name * @param string|null $last_name last_name
* *
* @return $this * @return $this
*/ */
@ -345,7 +345,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Gets email * Gets email
* *
* @return string * @return string|null
*/ */
public function getEmail() public function getEmail()
{ {
@ -355,7 +355,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Sets email * Sets email
* *
* @param string $email email * @param string|null $email email
* *
* @return $this * @return $this
*/ */
@ -369,7 +369,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Gets password * Gets password
* *
* @return string * @return string|null
*/ */
public function getPassword() public function getPassword()
{ {
@ -379,7 +379,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Sets password * Sets password
* *
* @param string $password password * @param string|null $password password
* *
* @return $this * @return $this
*/ */
@ -393,7 +393,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Gets phone * Gets phone
* *
* @return string * @return string|null
*/ */
public function getPhone() public function getPhone()
{ {
@ -403,7 +403,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Sets phone * Sets phone
* *
* @param string $phone phone * @param string|null $phone phone
* *
* @return $this * @return $this
*/ */
@ -417,7 +417,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Gets user_status * Gets user_status
* *
* @return int * @return int|null
*/ */
public function getUserStatus() public function getUserStatus()
{ {
@ -427,7 +427,7 @@ class User implements ModelInterface, ArrayAccess
/** /**
* Sets user_status * Sets user_status
* *
* @param int $user_status User Status * @param int|null $user_status User Status
* *
* @return $this * @return $this
*/ */