com.urbanairship.api.inbox.model.InboxBatchDeleteResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
The Urban Airship Java client library
package com.urbanairship.api.inbox.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Objects;
public class InboxBatchDeleteResponse {
private final List deletedMessageIds;
private final List messageIdErrors;
public InboxBatchDeleteResponse(@JsonProperty("deleted_message_ids") List deletedMessageIds,
@JsonProperty("errors") List messageIdErrors) {
this.deletedMessageIds = deletedMessageIds;
this.messageIdErrors = messageIdErrors;
}
public List getDeletedMessageIds() {
return deletedMessageIds;
}
public List getMessageIdErrors() {
return messageIdErrors;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
InboxBatchDeleteResponse that = (InboxBatchDeleteResponse) o;
return Objects.equals(deletedMessageIds, that.deletedMessageIds) &&
Objects.equals(messageIdErrors, that.messageIdErrors);
}
@Override
public int hashCode() {
return Objects.hash(deletedMessageIds, messageIdErrors);
}
@Override
public String toString() {
return "InboxBatchDeleteResponse{" +
"deletedMessageIds=" + deletedMessageIds +
", messageIdErrors=" + messageIdErrors +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy