Bladeren bron

Ref #3 Added servicePorts in response JSON.

Maximiliano Schvindt 6 jaren geleden
bovenliggende
commit
77c040b3f5
1 gewijzigde bestanden met toevoegingen van 36 en 6 verwijderingen
  1. 36 6
      src/Swagger/Client/FTTH/Model/ONU.php

+ 36 - 6
src/Swagger/Client/FTTH/Model/ONU.php

@@ -70,8 +70,9 @@ class ONU implements ModelInterface, ArrayAccess
         'vlan_profile' => '\Swagger\Client\FTTH\Model\VLanProfile',
         'ip' => 'string',
         'mac' => 'string',
-        'vlans' => '\Swagger\Client\FTTH\Model\VLanID[]',
         'vlan' => '\Swagger\Client\FTTH\Model\VLanID',
+        'vlans' => '\Swagger\Client\FTTH\Model\VLanID[]',
+        'service_ports' => 'object[]',
         'traffic_profile_out' => '\Swagger\Client\FTTH\Model\TrafficProfile',
         'traffic_profile_in' => '\Swagger\Client\FTTH\Model\TrafficProfile',
         'catv' => 'int',
@@ -99,8 +100,9 @@ class ONU implements ModelInterface, ArrayAccess
         'vlan_profile' => null,
         'ip' => null,
         'mac' => null,
-        'vlans' => null,
         'vlan' => null,
+        'vlans' => null,
+        'service_ports' => null,
         'traffic_profile_out' => null,
         'traffic_profile_in' => null,
         'catv' => null,
@@ -149,8 +151,9 @@ class ONU implements ModelInterface, ArrayAccess
         'vlan_profile' => 'vlanProfile',
         'ip' => 'ip',
         'mac' => 'mac',
-        'vlans' => 'vlans',
         'vlan' => 'vlan',
+        'vlans' => 'vlans',
+        'service_ports' => 'servicePorts',
         'traffic_profile_out' => 'trafficProfileOut',
         'traffic_profile_in' => 'trafficProfileIn',
         'catv' => 'catv',
@@ -178,8 +181,9 @@ class ONU implements ModelInterface, ArrayAccess
         'vlan_profile' => 'setVlanProfile',
         'ip' => 'setIp',
         'mac' => 'setMac',
-        'vlans' => 'setVlans',
         'vlan' => 'setVlan',
+        'vlans' => 'setVlans',
+        'service_ports' => 'setServicePorts',
         'traffic_profile_out' => 'setTrafficProfileOut',
         'traffic_profile_in' => 'setTrafficProfileIn',
         'catv' => 'setCatv',
@@ -207,8 +211,9 @@ class ONU implements ModelInterface, ArrayAccess
         'vlan_profile' => 'getVlanProfile',
         'ip' => 'getIp',
         'mac' => 'getMac',
-        'vlans' => 'getVlans',
         'vlan' => 'getVlan',
+        'vlans' => 'getVlans',
+        'service_ports' => 'getServicePorts',
         'traffic_profile_out' => 'getTrafficProfileOut',
         'traffic_profile_in' => 'getTrafficProfileIn',
         'catv' => 'getCatv',
@@ -287,8 +292,9 @@ class ONU implements ModelInterface, ArrayAccess
         $this->container['vlan_profile'] = isset($data['vlan_profile']) ? $data['vlan_profile'] : null;
         $this->container['ip'] = isset($data['ip']) ? $data['ip'] : null;
         $this->container['mac'] = isset($data['mac']) ? $data['mac'] : null;
-        $this->container['vlans'] = isset($data['vlans']) ? $data['vlans'] : null;
         $this->container['vlan'] = isset($data['vlan']) ? $data['vlan'] : null;
+        $this->container['vlans'] = isset($data['vlans']) ? $data['vlans'] : null;
+        $this->container['service_ports'] = isset($data['service_ports']) ? $data['service_ports'] : null;
         $this->container['traffic_profile_out'] = isset($data['traffic_profile_out']) ? $data['traffic_profile_out'] : null;
         $this->container['traffic_profile_in'] = isset($data['traffic_profile_in']) ? $data['traffic_profile_in'] : null;
         $this->container['catv'] = isset($data['catv']) ? $data['catv'] : null;
@@ -630,6 +636,30 @@ class ONU implements ModelInterface, ArrayAccess
         return $this;
     }
 
+    /**
+     * Gets service_ports
+     *
+     * @return string
+     */
+    public function getServicePorts()
+    {
+        return $this->container['service_ports'];
+    }
+
+    /**
+     * Sets service_ports
+     *
+     * @param string $service_ports
+     *
+     * @return $this
+     */
+    public function setServicePorts($service_ports)
+    {
+        $this->container['service_ports'] = $service_ports;
+
+        return $this;
+    }
+
     /**
      * Gets vlan
      *