Class NotifyGatewayPayloadDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.internal.api.dto.NotifyGatewayPayloadDTO
-
public class NotifyGatewayPayloadDTO extends Object
NotifyGatewayPayloadDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotifyGatewayPayloadDTO.PayloadTypeEnumIndicates the type of payload.
-
Constructor Summary
Constructors Constructor Description NotifyGatewayPayloadDTO()
-
Method Summary
-
-
-
Method Detail
-
payloadType
public NotifyGatewayPayloadDTO payloadType(NotifyGatewayPayloadDTO.PayloadTypeEnum payloadType)
-
getPayloadType
public NotifyGatewayPayloadDTO.PayloadTypeEnum getPayloadType()
Indicates the type of payload. - \"REGISTER\": Gateway registration payload - \"HEARTBEAT\": Heartbeat update payload- Returns:
- payloadType
-
setPayloadType
public void setPayloadType(NotifyGatewayPayloadDTO.PayloadTypeEnum payloadType)
-
gatewayProperties
public NotifyGatewayPayloadDTO gatewayProperties(GatewayPropertiesDTO gatewayProperties)
-
getGatewayProperties
public GatewayPropertiesDTO getGatewayProperties()
Get gatewayProperties- Returns:
- gatewayProperties
-
setGatewayProperties
public void setGatewayProperties(GatewayPropertiesDTO gatewayProperties)
-
loadingTenants
public NotifyGatewayPayloadDTO loadingTenants(List<String> loadingTenants)
-
addLoadingTenantsItem
public NotifyGatewayPayloadDTO addLoadingTenantsItem(String loadingTenantsItem)
-
getLoadingTenants
public List<String> getLoadingTenants()
List of tenant names- Returns:
- loadingTenants
-
environmentLabels
public NotifyGatewayPayloadDTO environmentLabels(List<String> environmentLabels)
-
addEnvironmentLabelsItem
public NotifyGatewayPayloadDTO addEnvironmentLabelsItem(String environmentLabelsItem)
-
getEnvironmentLabels
public List<String> getEnvironmentLabels()
A list of environments this gateway supports.- Returns:
- environmentLabels
-
gatewayId
public NotifyGatewayPayloadDTO gatewayId(String gatewayId)
-
getGatewayId
public String getGatewayId()
The unique identifier assigned to the newly registered gateway.- Returns:
- gatewayId
-
setGatewayId
public void setGatewayId(String gatewayId)
-
timeStamp
public NotifyGatewayPayloadDTO timeStamp(Long timeStamp)
-
getTimeStamp
public Long getTimeStamp()
The timestamp when the heartbeat was generated.- Returns:
- timeStamp
-
setTimeStamp
public void setTimeStamp(Long timeStamp)
-
-