io.getstream.core.models.ModerationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stream-java Show documentation
Show all versions of stream-java Show documentation
Stream Feeds Java Client for backend and android integrations
package io.getstream.core.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ModerationResponse {
private String Status;
private String RecommendedAction;
private APIError APIError;
private String OriginFeed;
// Default constructor
public ModerationResponse() {}
// Constructor with parameters
@JsonCreator
public ModerationResponse(
@JsonProperty("status") String status,
@JsonProperty("recommended_action") String recommendedAction,
@JsonProperty("api_error") APIError apiError,
@JsonProperty("origin_feed") String originFeed) {
this.Status = status;
this.RecommendedAction = recommendedAction;
this.APIError = apiError;
this.OriginFeed = originFeed;
}
// Getters
public String getStatus() {
return Status;
}
public String getRecommendedAction() {
return RecommendedAction;
}
public APIError getAPIError() {
return APIError;
}
public String getOriginFeed() {
return OriginFeed;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy