Class GatewayDeploymentStatusAcknowledgmentDTO
java.lang.Object
org.wso2.am.integration.clients.internal.api.dto.GatewayDeploymentStatusAcknowledgmentDTO
GatewayDeploymentStatusAcknowledgmentDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe action performed by the gateway.static enumThe final status of the deployment action. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanerrorMessage(String errorMessage) The action performed by the gateway.getApiId()Unique identifier of the deployed API.The final status of the deployment action.A unique code identifying the error, present only if deploymentStatus is 'FAILURE'.A descriptive error message, present only if deploymentStatus is 'FAILURE'.The unique identifier assigned to the newly registered gateway.Unique identifier of the API revision that was deployed or undeployed.Get tenantDomainThe timestamp when the heartbeat was generated.inthashCode()revisionId(String revisionId) voidvoidvoidvoidsetErrorCode(Integer errorCode) voidsetErrorMessage(String errorMessage) voidsetGatewayId(String gatewayId) voidsetRevisionId(String revisionId) voidsetTenantDomain(String tenantDomain) voidsetTimeStamp(Long timeStamp) tenantDomain(String tenantDomain) toString()
-
Constructor Details
-
GatewayDeploymentStatusAcknowledgmentDTO
public GatewayDeploymentStatusAcknowledgmentDTO()
-
-
Method Details
-
gatewayId
-
getGatewayId
The unique identifier assigned to the newly registered gateway.- Returns:
- gatewayId
-
setGatewayId
-
apiId
-
getApiId
Unique identifier of the deployed API.- Returns:
- apiId
-
setApiId
-
tenantDomain
-
getTenantDomain
Get tenantDomain- Returns:
- tenantDomain
-
setTenantDomain
-
deploymentStatus
public GatewayDeploymentStatusAcknowledgmentDTO deploymentStatus(GatewayDeploymentStatusAcknowledgmentDTO.DeploymentStatusEnum deploymentStatus) -
getDeploymentStatus
The final status of the deployment action.- Returns:
- deploymentStatus
-
setDeploymentStatus
public void setDeploymentStatus(GatewayDeploymentStatusAcknowledgmentDTO.DeploymentStatusEnum deploymentStatus) -
timeStamp
-
getTimeStamp
The timestamp when the heartbeat was generated.- Returns:
- timeStamp
-
setTimeStamp
-
action
public GatewayDeploymentStatusAcknowledgmentDTO action(GatewayDeploymentStatusAcknowledgmentDTO.ActionEnum action) -
getAction
The action performed by the gateway.- Returns:
- action
-
setAction
-
revisionId
-
getRevisionId
Unique identifier of the API revision that was deployed or undeployed.- Returns:
- revisionId
-
setRevisionId
-
errorCode
-
getErrorCode
A unique code identifying the error, present only if deploymentStatus is 'FAILURE'.- Returns:
- errorCode
-
setErrorCode
-
errorMessage
-
getErrorMessage
A descriptive error message, present only if deploymentStatus is 'FAILURE'.- Returns:
- errorMessage
-
setErrorMessage
-
equals
-
hashCode
public int hashCode() -
toString
-