Class DomainJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.DomainJson
- All Implemented Interfaces:
Serializable
public class DomainJson extends BaseJson
A single domain's information
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DomainJson()
-
Method Summary
Modifier and Type Method Description String
getAddress()
The domain addressInteger
getId()
The domain's idSet<String>
getRoles()
Roles associated with this domainvoid
setAddress(String address)
The domain addressvoid
setId(Integer id)
The domain's idvoid
setRoles(Set<String> roles)
Roles associated with this domainMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
DomainJson
public DomainJson()
-
-
Method Details
-
getAddress
The domain address- Returns:
- The domain address
-
setAddress
The domain address- Parameters:
address
- The domain address
-
getRoles
Roles associated with this domain- Returns:
- Roles associated with this domain
-
setRoles
Roles associated with this domain- Parameters:
roles
- Roles associated with this domain
-
getId
The domain's id- Returns:
- The domain's id
-
setId
The domain's id- Parameters:
id
- The domain's id
-