Skip to content

Commit

Permalink
Merge pull request #1 from centrahq/swagger-test
Browse files Browse the repository at this point in the history
Swagger test
  • Loading branch information
Orion90 authored Feb 18, 2019
2 parents e3b5f9e + a01b10c commit 5475a63
Showing 1 changed file with 5 additions and 35 deletions.
40 changes: 5 additions & 35 deletions lib/Model/PickupLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ class PickupLocation implements ModelInterface, ArrayAccess
'address' => '\Swagger\Client\Model\Address',
'distance' => '\Swagger\Client\Model\Distance',
'operational_hours' => '\Swagger\Client\Model\OperationalHours',
'meta' => 'map[string,string]',
'location_type' => '\Swagger\Client\Model\ShippingPickupLocationType' ];
'meta' => 'map[string,string]' ];

/**
* Array of property to format mappings. Used for (de)serialization
Expand All @@ -75,8 +74,7 @@ class PickupLocation implements ModelInterface, ArrayAccess
'address' => null,
'distance' => null,
'operational_hours' => null,
'meta' => null,
'location_type' => null ];
'meta' => null ];

/**
* Array of property to type mappings. Used for (de)serialization
Expand Down Expand Up @@ -110,8 +108,7 @@ public static function swaggerFormats()
'address' => 'address',
'distance' => 'distance',
'operational_hours' => 'operational_hours',
'meta' => 'meta',
'location_type' => 'location_type' ];
'meta' => 'meta' ];

/**
* Array of attributes to setter functions (for deserialization of responses)
Expand All @@ -124,8 +121,7 @@ public static function swaggerFormats()
'address' => 'setAddress',
'distance' => 'setDistance',
'operational_hours' => 'setOperationalHours',
'meta' => 'setMeta',
'location_type' => 'setLocationType' ];
'meta' => 'setMeta' ];

/**
* Array of attributes to getter functions (for serialization of requests)
Expand All @@ -138,8 +134,7 @@ public static function swaggerFormats()
'address' => 'getAddress',
'distance' => 'getDistance',
'operational_hours' => 'getOperationalHours',
'meta' => 'getMeta',
'location_type' => 'getLocationType' ];
'meta' => 'getMeta' ];

/**
* Array of attributes where the key is the local name,
Expand Down Expand Up @@ -205,7 +200,6 @@ public function __construct(array $data = null)
$this->container['distance'] = isset($data['distance']) ? $data['distance'] : null;
$this->container['operational_hours'] = isset($data['operational_hours']) ? $data['operational_hours'] : null;
$this->container['meta'] = isset($data['meta']) ? $data['meta'] : null;
$this->container['location_type'] = isset($data['location_type']) ? $data['location_type'] : null;
}

/**
Expand Down Expand Up @@ -376,30 +370,6 @@ public function setMeta($meta)

return $this;
}

/**
* Gets location_type
*
* @return \Swagger\Client\Model\ShippingPickupLocationType
*/
public function getLocationType()
{
return $this->container['location_type'];
}

/**
* Sets location_type
*
* @param \Swagger\Client\Model\ShippingPickupLocationType $location_type location_type
*
* @return $this
*/
public function setLocationType($location_type)
{
$this->container['location_type'] = $location_type;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down

0 comments on commit 5475a63

Please sign in to comment.