com.urbanairship.api.subscriptionlists.model.NamedUserSubscriptionListsListingResponse 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.subscriptionlists.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.ImmutableList;
import com.urbanairship.api.common.model.ErrorDetails;
import com.urbanairship.api.common.model.GenericResponse;
import java.util.Objects;
public class NamedUserSubscriptionListsListingResponse extends GenericResponse {
private final ImmutableList namedUserSubscriptionListsView;
public NamedUserSubscriptionListsListingResponse(
@JsonProperty("ok") Boolean ok,
@JsonProperty("subscription_lists") ImmutableList namedUserSubscriptionListsView,
@JsonProperty("operation_id") String operationId,
@JsonProperty("error") String error,
@JsonProperty("details") ErrorDetails errorDetails,
@JsonProperty("error_code") Integer errorCode,
@JsonProperty("warning") String warning)
{
super(ok, operationId, error, errorDetails, errorCode, warning);
this.namedUserSubscriptionListsView = namedUserSubscriptionListsView;
}
public ImmutableList getNamedUserSubscriptionListsView() {
return namedUserSubscriptionListsView;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
NamedUserSubscriptionListsListingResponse that = (NamedUserSubscriptionListsListingResponse) o;
return Objects.equals(namedUserSubscriptionListsView, that.namedUserSubscriptionListsView);
}
@Override
public int hashCode() {
return Objects.hash(namedUserSubscriptionListsView);
}
@Override
public String toString() {
return "SubscriptionListsListingRequest{" +
", subscriptionListView=" + namedUserSubscriptionListsView +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy