All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.getstream.core.models.ModerationResponse Maven / Gradle / Ivy

There is a newer version: 3.15.0
Show newest version
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