Class GatewayDeploymentStatusAcknowledgmentDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.internal.api.dto.GatewayDeploymentStatusAcknowledgmentDTO
-
public class GatewayDeploymentStatusAcknowledgmentDTO extends Object
GatewayDeploymentStatusAcknowledgmentDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGatewayDeploymentStatusAcknowledgmentDTO.ActionEnumThe action performed by the gateway.static classGatewayDeploymentStatusAcknowledgmentDTO.DeploymentStatusEnumThe final status of the deployment action.
-
Constructor Summary
Constructors Constructor Description GatewayDeploymentStatusAcknowledgmentDTO()
-
Method Summary
-
-
-
Method Detail
-
gatewayId
public GatewayDeploymentStatusAcknowledgmentDTO gatewayId(String gatewayId)
-
getGatewayId
public String getGatewayId()
The unique identifier assigned to the newly registered gateway.- Returns:
- gatewayId
-
setGatewayId
public void setGatewayId(String gatewayId)
-
apiId
public GatewayDeploymentStatusAcknowledgmentDTO apiId(String apiId)
-
getApiId
public String getApiId()
Unique identifier of the deployed API.- Returns:
- apiId
-
setApiId
public void setApiId(String apiId)
-
tenantDomain
public GatewayDeploymentStatusAcknowledgmentDTO tenantDomain(String tenantDomain)
-
getTenantDomain
public String getTenantDomain()
Get tenantDomain- Returns:
- tenantDomain
-
setTenantDomain
public void setTenantDomain(String tenantDomain)
-
deploymentStatus
public GatewayDeploymentStatusAcknowledgmentDTO deploymentStatus(GatewayDeploymentStatusAcknowledgmentDTO.DeploymentStatusEnum deploymentStatus)
-
getDeploymentStatus
public GatewayDeploymentStatusAcknowledgmentDTO.DeploymentStatusEnum getDeploymentStatus()
The final status of the deployment action.- Returns:
- deploymentStatus
-
setDeploymentStatus
public void setDeploymentStatus(GatewayDeploymentStatusAcknowledgmentDTO.DeploymentStatusEnum deploymentStatus)
-
timeStamp
public GatewayDeploymentStatusAcknowledgmentDTO timeStamp(Long timeStamp)
-
getTimeStamp
public Long getTimeStamp()
The timestamp when the heartbeat was generated.- Returns:
- timeStamp
-
setTimeStamp
public void setTimeStamp(Long timeStamp)
-
action
public GatewayDeploymentStatusAcknowledgmentDTO action(GatewayDeploymentStatusAcknowledgmentDTO.ActionEnum action)
-
getAction
public GatewayDeploymentStatusAcknowledgmentDTO.ActionEnum getAction()
The action performed by the gateway.- Returns:
- action
-
setAction
public void setAction(GatewayDeploymentStatusAcknowledgmentDTO.ActionEnum action)
-
revisionId
public GatewayDeploymentStatusAcknowledgmentDTO revisionId(String revisionId)
-
getRevisionId
public String getRevisionId()
Unique identifier of the API revision that was deployed or undeployed.- Returns:
- revisionId
-
setRevisionId
public void setRevisionId(String revisionId)
-
errorCode
public GatewayDeploymentStatusAcknowledgmentDTO errorCode(Integer errorCode)
-
getErrorCode
public Integer getErrorCode()
A unique code identifying the error, present only if deploymentStatus is 'FAILURE'.- Returns:
- errorCode
-
setErrorCode
public void setErrorCode(Integer errorCode)
-
errorMessage
public GatewayDeploymentStatusAcknowledgmentDTO errorMessage(String errorMessage)
-
getErrorMessage
public String getErrorMessage()
A descriptive error message, present only if deploymentStatus is 'FAILURE'.- Returns:
- errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
-