Package ai.promoted.delivery.model
Class LogRequest
- java.lang.Object
-
- ai.promoted.delivery.model.LogRequest
-
public class LogRequest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CLIENT_INFOstatic StringJSON_PROPERTY_COHORT_MEMBERSHIPstatic StringJSON_PROPERTY_DELIVERY_LOGstatic StringJSON_PROPERTY_PLATFORM_IDstatic StringJSON_PROPERTY_TIMINGstatic StringJSON_PROPERTY_USER_INFO
-
Constructor Summary
Constructors Constructor Description LogRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_DELIVERY_LOG
public static final String JSON_PROPERTY_DELIVERY_LOG
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COHORT_MEMBERSHIP
public static final String JSON_PROPERTY_COHORT_MEMBERSHIP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLIENT_INFO
public static final String JSON_PROPERTY_CLIENT_INFO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PLATFORM_ID
public static final String JSON_PROPERTY_PLATFORM_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMING
public static final String JSON_PROPERTY_TIMING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_INFO
public static final String JSON_PROPERTY_USER_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
deliveryLog
public LogRequest deliveryLog(List<DeliveryLog> deliveryLog)
-
addDeliveryLogItem
public LogRequest addDeliveryLogItem(DeliveryLog deliveryLogItem)
-
getDeliveryLog
public List<DeliveryLog> getDeliveryLog()
Get insertion- Returns:
- insertion
-
setCohortMembership
public void setCohortMembership(List<CohortMembership> cohortMembership)
-
cohortMembership
public LogRequest cohortMembership(List<CohortMembership> cohortMembership)
-
addCohortMembershipItem
public LogRequest addCohortMembershipItem(CohortMembership cohortMembershipItem)
-
getCohortMembership
public List<CohortMembership> getCohortMembership()
Get cohortMembership- Returns:
- cohortMembership
-
setDeliveryLog
public void setDeliveryLog(List<DeliveryLog> deliveryLog)
-
clientInfo
public LogRequest clientInfo(ClientInfo clientInfo)
-
getClientInfo
public ClientInfo getClientInfo()
Get clientInfo- Returns:
- clientInfo
-
setClientInfo
public void setClientInfo(ClientInfo clientInfo)
-
platformId
public LogRequest platformId(Integer platformId)
-
getPlatformId
public Integer getPlatformId()
Get platformId- Returns:
- platformId
-
setPlatformId
public void setPlatformId(Integer platformId)
-
userInfo
public LogRequest userInfo(UserInfo userInfo)
-
getUserInfo
public UserInfo getUserInfo()
Get userInfo- Returns:
- userInfo
-
setUserInfo
public void setUserInfo(UserInfo userInfo)
-
timing
public LogRequest timing(Timing timing)
-
getTiming
public Timing getTiming()
Get timing- Returns:
- timing
-
setTiming
public void setTiming(Timing timing)
-
equals
public boolean equals(Object o)
Return true if this Request object is equal to o.
-
-