public class Zone extends AbstractModel
| Constructor and Description |
|---|
Zone() |
Zone(Zone source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCreatedOn()
Get Site creation date
|
String |
getId()
Get Site ID
|
String |
getModifiedOn()
Get Site modification date
|
String |
getName()
Get Site name
|
String[] |
getNameServers()
Get List of name servers assigned by Tencent Cloud
|
String[] |
getOriginalNameServers()
Get List of name servers used by the site
|
Boolean |
getPaused()
Get Indicates whether the site is disabled
|
String |
getStatus()
Get Site status
- `active`: The name server is switched.
|
String |
getType()
Get How the site is connected to EdgeOne.
|
void |
setCreatedOn(String CreatedOn)
Set Site creation date
|
void |
setId(String Id)
Set Site ID
|
void |
setModifiedOn(String ModifiedOn)
Set Site modification date
|
void |
setName(String Name)
Set Site name
|
void |
setNameServers(String[] NameServers)
Set List of name servers assigned by Tencent Cloud
|
void |
setOriginalNameServers(String[] OriginalNameServers)
Set List of name servers used by the site
|
void |
setPaused(Boolean Paused)
Set Indicates whether the site is disabled
|
void |
setStatus(String Status)
Set Site status
- `active`: The name server is switched.
|
void |
setType(String Type)
Set How the site is connected to EdgeOne.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic Zone()
public Zone(Zone source)
public String getId()
public void setId(String Id)
Id - Site IDpublic String getName()
public void setName(String Name)
Name - Site namepublic String[] getOriginalNameServers()
public void setOriginalNameServers(String[] OriginalNameServers)
OriginalNameServers - List of name servers used by the sitepublic String[] getNameServers()
public void setNameServers(String[] NameServers)
NameServers - List of name servers assigned by Tencent Cloudpublic String getStatus()
public void setStatus(String Status)
Status - Site status
- `active`: The name server is switched.
- `pending`: The name server is not switched.
- `moved`: The name server is moved.
- `deactivated`: The name server is blocked.public String getType()
public void setType(String Type)
Type - How the site is connected to EdgeOne.
- `full`: The site is connected via name server.
- `partial`: The site is connected via CNAME.public Boolean getPaused()
public void setPaused(Boolean Paused)
Paused - Indicates whether the site is disabledpublic String getCreatedOn()
public void setCreatedOn(String CreatedOn)
CreatedOn - Site creation datepublic String getModifiedOn()
public void setModifiedOn(String ModifiedOn)
ModifiedOn - Site modification dateCopyright © 2022. All rights reserved.