
DELETE /api/v1/summits/{id} Required scopes '%s/summits/write' Change-Id: Ic2fd1f4ca3ec612c6cc6dd3b5e5ad2ce3663627a
93 lines
2.0 KiB
PHP
93 lines
2.0 KiB
PHP
<?php namespace models\summit;
|
|
/**
|
|
* Copyright 2017 OpenStack Foundation
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
**/
|
|
use Doctrine\ORM\Cache;
|
|
use models\utils\SilverstripeBaseModel;
|
|
use Doctrine\ORM\Mapping AS ORM;
|
|
/**
|
|
* @ORM\Entity
|
|
* @ORM\Table(name="SummitWIFIConnection")
|
|
* Class SummitWIFIConnection
|
|
* @package models\summit\SummitWIFIConnection
|
|
*/
|
|
class SummitWIFIConnection extends SilverstripeBaseModel
|
|
{
|
|
use SummitOwned;
|
|
|
|
/**
|
|
* @ORM\Column(name="SSID", type="string")
|
|
* @var string
|
|
*/
|
|
private $ssid;
|
|
|
|
/**
|
|
* @ORM\Column(name="Password", type="string")
|
|
* @var string
|
|
*/
|
|
private $password;
|
|
|
|
/**
|
|
* @ORM\Column(name="Description", type="string")
|
|
* @var string
|
|
*/
|
|
private $description;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSsid()
|
|
{
|
|
return $this->ssid;
|
|
}
|
|
|
|
/**
|
|
* @param string $ssid
|
|
*/
|
|
public function setSsid($ssid)
|
|
{
|
|
$this->ssid = $ssid;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getPassword()
|
|
{
|
|
return $this->password;
|
|
}
|
|
|
|
/**
|
|
* @param string $password
|
|
*/
|
|
public function setPassword($password)
|
|
{
|
|
$this->password = $password;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDescription()
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
/**
|
|
* @param string $description
|
|
*/
|
|
public function setDescription($description)
|
|
{
|
|
$this->description = $description;
|
|
}
|
|
|
|
} |