Package com.bandwidth.iris.sdk.model
Class Site
- java.lang.Object
-
- com.bandwidth.iris.sdk.model.BaseModel
-
- com.bandwidth.iris.sdk.model.Site
-
public class Site extends BaseModel
-
-
Constructor Summary
Constructors Constructor Description Site()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Sitecreate(IrisClient client, Site site)voiddelete()static Siteget(IrisClient client, String siteId)AddressgetAddress()StringgetDescription()StringgetId()StringgetName()static List<Site>list(IrisClient client)voidsetAddress(Address address)voidsetDescription(String description)voidsetId(String id)voidsetName(String name)voidupdate()
-
-
-
Method Detail
-
get
public static Site get(IrisClient client, String siteId) throws Exception
- Throws:
Exception
-
create
public static Site create(IrisClient client, Site site) throws Exception
- Throws:
Exception
-
list
public static List<Site> list(IrisClient client) throws Exception
- Throws:
Exception
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getAddress
public Address getAddress()
-
setAddress
public void setAddress(Address address)
-
-