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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -228,7 +228,7 @@ class MapTest implements ModelInterface, ArrayAccess
/**
* Gets map_map_of_string
*
* @return map[string,map[string,string]]
* @return map[string,map[string,string]]|null
*/
public function getMapMapOfString()
{
@ -238,7 +238,7 @@ class MapTest implements ModelInterface, ArrayAccess
/**
* 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
*/
@ -252,7 +252,7 @@ class MapTest implements ModelInterface, ArrayAccess
/**
* Gets map_of_enum_string
*
* @return map[string,string]
* @return map[string,string]|null
*/
public function getMapOfEnumString()
{
@ -262,7 +262,7 @@ class MapTest implements ModelInterface, ArrayAccess
/**
* 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
*/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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