Packagecom.electrotank.electroserver4.message.request
Classpublic class AddRoomOperatorRequest
InheritanceAddRoomOperatorRequest Inheritance com.electrotank.electroserver4.message.request.RequestImpl

This request is used for one room operator to request that another user in the room be granted operator privelages.



Public Methods
 MethodDefined by
  
Creates a new AddRoomOperatorRequest.
AddRoomOperatorRequest
  
getRoomId():Number
Gets the room id of the room for which the user should be granted operator status.
AddRoomOperatorRequest
  
getUserId():String
Gets the user id for the user to be added as a room operator.
AddRoomOperatorRequest
  
getZoneId():Number
Gets the zone id for the zone that contains the room.
AddRoomOperatorRequest
  
setRoomId(rId:Number):void
Sets the room id of the room for which the user should be granted operator status.
AddRoomOperatorRequest
  
setUserId(userId:String):void
Sets the user id of the user to be added as a room operator.
AddRoomOperatorRequest
  
setZoneId(zId:Number):void
Sets the zone id for the zone that contains the room.
AddRoomOperatorRequest
  
AddRoomOperatorRequest
Constructor detail
AddRoomOperatorRequest()constructor
public function AddRoomOperatorRequest()

Creates a new AddRoomOperatorRequest.

Method detail
getRoomId()method
public function getRoomId():Number

Gets the room id of the room for which the user should be granted operator status.

Returns
Number — The room id of the room for which the user should be granted operator status.
getUserId()method 
public function getUserId():String

Gets the user id for the user to be added as a room operator.

Returns
String — The user id of the user to be added as a room operator.
getZoneId()method 
public function getZoneId():Number

Gets the zone id for the zone that contains the room.

Returns
Number
setRoomId()method 
public function setRoomId(rId:Number):void

Sets the room id of the room for which the user should be granted operator status.

Parameters
rId:Number — The room id of the room for which the user should be granted operator status.
setUserId()method 
public function setUserId(userId:String):void

Sets the user id of the user to be added as a room operator.

Parameters
userId:String — The user id of the user to be added as a room operator.
setZoneId()method 
public function setZoneId(zId:Number):void

Sets the zone id for the zone that contains the room.

Parameters
zId:Number — The zone id for the zone that contains the room.
validate()method 
public override function validate():ValidationResponse

Returns
ValidationResponse