in aws-android-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/CampaignResponse.java [965:1068]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof CampaignResponse == false)
return false;
CampaignResponse other = (CampaignResponse) obj;
if (other.getAdditionalTreatments() == null ^ this.getAdditionalTreatments() == null)
return false;
if (other.getAdditionalTreatments() != null
&& other.getAdditionalTreatments().equals(this.getAdditionalTreatments()) == false)
return false;
if (other.getApplicationId() == null ^ this.getApplicationId() == null)
return false;
if (other.getApplicationId() != null
&& other.getApplicationId().equals(this.getApplicationId()) == false)
return false;
if (other.getCreationDate() == null ^ this.getCreationDate() == null)
return false;
if (other.getCreationDate() != null
&& other.getCreationDate().equals(this.getCreationDate()) == false)
return false;
if (other.getDefaultState() == null ^ this.getDefaultState() == null)
return false;
if (other.getDefaultState() != null
&& other.getDefaultState().equals(this.getDefaultState()) == false)
return false;
if (other.getDescription() == null ^ this.getDescription() == null)
return false;
if (other.getDescription() != null
&& other.getDescription().equals(this.getDescription()) == false)
return false;
if (other.getHoldoutPercent() == null ^ this.getHoldoutPercent() == null)
return false;
if (other.getHoldoutPercent() != null
&& other.getHoldoutPercent().equals(this.getHoldoutPercent()) == false)
return false;
if (other.getHook() == null ^ this.getHook() == null)
return false;
if (other.getHook() != null && other.getHook().equals(this.getHook()) == false)
return false;
if (other.getId() == null ^ this.getId() == null)
return false;
if (other.getId() != null && other.getId().equals(this.getId()) == false)
return false;
if (other.getIsPaused() == null ^ this.getIsPaused() == null)
return false;
if (other.getIsPaused() != null && other.getIsPaused().equals(this.getIsPaused()) == false)
return false;
if (other.getLastModifiedDate() == null ^ this.getLastModifiedDate() == null)
return false;
if (other.getLastModifiedDate() != null
&& other.getLastModifiedDate().equals(this.getLastModifiedDate()) == false)
return false;
if (other.getLimits() == null ^ this.getLimits() == null)
return false;
if (other.getLimits() != null && other.getLimits().equals(this.getLimits()) == false)
return false;
if (other.getMessageConfiguration() == null ^ this.getMessageConfiguration() == null)
return false;
if (other.getMessageConfiguration() != null
&& other.getMessageConfiguration().equals(this.getMessageConfiguration()) == false)
return false;
if (other.getName() == null ^ this.getName() == null)
return false;
if (other.getName() != null && other.getName().equals(this.getName()) == false)
return false;
if (other.getSchedule() == null ^ this.getSchedule() == null)
return false;
if (other.getSchedule() != null && other.getSchedule().equals(this.getSchedule()) == false)
return false;
if (other.getSegmentId() == null ^ this.getSegmentId() == null)
return false;
if (other.getSegmentId() != null
&& other.getSegmentId().equals(this.getSegmentId()) == false)
return false;
if (other.getSegmentVersion() == null ^ this.getSegmentVersion() == null)
return false;
if (other.getSegmentVersion() != null
&& other.getSegmentVersion().equals(this.getSegmentVersion()) == false)
return false;
if (other.getState() == null ^ this.getState() == null)
return false;
if (other.getState() != null && other.getState().equals(this.getState()) == false)
return false;
if (other.getTreatmentDescription() == null ^ this.getTreatmentDescription() == null)
return false;
if (other.getTreatmentDescription() != null
&& other.getTreatmentDescription().equals(this.getTreatmentDescription()) == false)
return false;
if (other.getTreatmentName() == null ^ this.getTreatmentName() == null)
return false;
if (other.getTreatmentName() != null
&& other.getTreatmentName().equals(this.getTreatmentName()) == false)
return false;
if (other.getVersion() == null ^ this.getVersion() == null)
return false;
if (other.getVersion() != null && other.getVersion().equals(this.getVersion()) == false)
return false;
return true;
}