<?php
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.2
//
// <auto-generated>
//
// Generated from file `UserInfo.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//


namespace
{
    require_once 'Config.php';
}

namespace Smartswitch\Peer\UserGeneration
{
    global $Smartswitch_Peer_UserGeneration__t_UserInfo;
    class UserInfo
    {
        public function __construct($id=0, $name='', $sipSecret='', $login='', $password='', $pin='', $pjsipSecret='')
        {
            $this->id = $id;
            $this->name = $name;
            $this->sipSecret = $sipSecret;
            $this->login = $login;
            $this->password = $password;
            $this->pin = $pin;
            $this->pjsipSecret = $pjsipSecret;
        }

        public function __toString()
        {
            global $Smartswitch_Peer_UserGeneration__t_UserInfo;
            return IcePHP_stringify($this, $Smartswitch_Peer_UserGeneration__t_UserInfo);
        }

        public $id;
        public $name;
        public $sipSecret;
        public $login;
        public $password;
        public $pin;
        public $pjsipSecret;
    }

    global $IcePHP__t_long;
    global $IcePHP__t_string;
    $Smartswitch_Peer_UserGeneration__t_UserInfo = IcePHP_defineStruct('::Smartswitch::Peer::UserGeneration::UserInfo', '\\Smartswitch\\Peer\\UserGeneration\\UserInfo', array(
        array('id', $IcePHP__t_long),
        array('name', $IcePHP__t_string),
        array('sipSecret', $IcePHP__t_string),
        array('login', $IcePHP__t_string),
        array('password', $IcePHP__t_string),
        array('pin', $IcePHP__t_string),
        array('pjsipSecret', $IcePHP__t_string)));
}

namespace Smartswitch\Peer\UserGeneration
{
    global $Smartswitch_Peer_UserGeneration__t_UserInfoSequence;

    if(!isset($Smartswitch_Peer_UserGeneration__t_UserInfoSequence))
    {
        global $Smartswitch_Peer_UserGeneration__t_UserInfo;
        $Smartswitch_Peer_UserGeneration__t_UserInfoSequence = IcePHP_defineSequence('::Smartswitch::Peer::UserGeneration::UserInfoSequence', $Smartswitch_Peer_UserGeneration__t_UserInfo);
    }
}
?>
