com.urbanairship.api.channel.model.ChannelAttributesResponse 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.channel.model;
import java.util.Optional;
public class ChannelAttributesResponse {
private final boolean ok;
Optional warning;
private ChannelAttributesResponse(Builder builder) {
this.ok = builder.ok;
}
public static Builder newBuilder() {
return new Builder();
}
public boolean isOk() {
return ok;
}
public Optional getWarning() {
return warning;
}
public static class Builder {
boolean ok;
String warning;
public Builder setOk(boolean ok) {
this.ok = ok;
return this;
}
public Builder setWarning(String warning) {
this.warning = warning;
return this;
}
public ChannelAttributesResponse build() {
return new ChannelAttributesResponse(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy