
Model.ReportingV3ReportDefinitionsNameGet200Response Maven / Gradle / Ivy
/*
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package Model;
import java.util.Objects;
import java.util.Arrays;
import Model.ReportingV3ReportDefinitionsNameGet200ResponseAttributes;
import Model.ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* ReportingV3ReportDefinitionsNameGet200Response
*/
public class ReportingV3ReportDefinitionsNameGet200Response {
@SerializedName("type")
private String type = null;
@SerializedName("reportDefinitionId")
private Integer reportDefinitionId = null;
@SerializedName("reportDefintionName")
private String reportDefintionName = null;
@SerializedName("attributes")
private List attributes = null;
@SerializedName("supportedFormats")
private List supportedFormats = null;
@SerializedName("description")
private String description = null;
@SerializedName("defaultSettings")
private ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings defaultSettings = null;
@SerializedName("subscriptionType")
private String subscriptionType = null;
public ReportingV3ReportDefinitionsNameGet200Response type(String type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@ApiModelProperty(value = "")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public ReportingV3ReportDefinitionsNameGet200Response reportDefinitionId(Integer reportDefinitionId) {
this.reportDefinitionId = reportDefinitionId;
return this;
}
/**
* Get reportDefinitionId
* @return reportDefinitionId
**/
@ApiModelProperty(value = "")
public Integer getReportDefinitionId() {
return reportDefinitionId;
}
public void setReportDefinitionId(Integer reportDefinitionId) {
this.reportDefinitionId = reportDefinitionId;
}
public ReportingV3ReportDefinitionsNameGet200Response reportDefintionName(String reportDefintionName) {
this.reportDefintionName = reportDefintionName;
return this;
}
/**
* Get reportDefintionName
* @return reportDefintionName
**/
@ApiModelProperty(value = "")
public String getReportDefintionName() {
return reportDefintionName;
}
public void setReportDefintionName(String reportDefintionName) {
this.reportDefintionName = reportDefintionName;
}
public ReportingV3ReportDefinitionsNameGet200Response attributes(List attributes) {
this.attributes = attributes;
return this;
}
public ReportingV3ReportDefinitionsNameGet200Response addAttributesItem(ReportingV3ReportDefinitionsNameGet200ResponseAttributes attributesItem) {
if (this.attributes == null) {
this.attributes = new ArrayList();
}
this.attributes.add(attributesItem);
return this;
}
/**
* Get attributes
* @return attributes
**/
@ApiModelProperty(value = "")
public List getAttributes() {
return attributes;
}
public void setAttributes(List attributes) {
this.attributes = attributes;
}
public ReportingV3ReportDefinitionsNameGet200Response supportedFormats(List supportedFormats) {
this.supportedFormats = supportedFormats;
return this;
}
public ReportingV3ReportDefinitionsNameGet200Response addSupportedFormatsItem(String supportedFormatsItem) {
if (this.supportedFormats == null) {
this.supportedFormats = new ArrayList();
}
this.supportedFormats.add(supportedFormatsItem);
return this;
}
/**
* Get supportedFormats
* @return supportedFormats
**/
@ApiModelProperty(value = "")
public List getSupportedFormats() {
return supportedFormats;
}
public void setSupportedFormats(List supportedFormats) {
this.supportedFormats = supportedFormats;
}
public ReportingV3ReportDefinitionsNameGet200Response description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@ApiModelProperty(value = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ReportingV3ReportDefinitionsNameGet200Response defaultSettings(ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings defaultSettings) {
this.defaultSettings = defaultSettings;
return this;
}
/**
* Get defaultSettings
* @return defaultSettings
**/
@ApiModelProperty(value = "")
public ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings getDefaultSettings() {
return defaultSettings;
}
public void setDefaultSettings(ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings defaultSettings) {
this.defaultSettings = defaultSettings;
}
public ReportingV3ReportDefinitionsNameGet200Response subscriptionType(String subscriptionType) {
this.subscriptionType = subscriptionType;
return this;
}
/**
* 'The subscription type for which report definition is required. By default the type will be CUSTOM.' Valid Values: - 'CLASSIC' - 'CUSTOM' - 'STANDARD'
* @return subscriptionType
**/
@ApiModelProperty(example = "CLASSIC", value = "'The subscription type for which report definition is required. By default the type will be CUSTOM.' Valid Values: - 'CLASSIC' - 'CUSTOM' - 'STANDARD' ")
public String getSubscriptionType() {
return subscriptionType;
}
public void setSubscriptionType(String subscriptionType) {
this.subscriptionType = subscriptionType;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ReportingV3ReportDefinitionsNameGet200Response reportingV3ReportDefinitionsNameGet200Response = (ReportingV3ReportDefinitionsNameGet200Response) o;
return Objects.equals(this.type, reportingV3ReportDefinitionsNameGet200Response.type) &&
Objects.equals(this.reportDefinitionId, reportingV3ReportDefinitionsNameGet200Response.reportDefinitionId) &&
Objects.equals(this.reportDefintionName, reportingV3ReportDefinitionsNameGet200Response.reportDefintionName) &&
Objects.equals(this.attributes, reportingV3ReportDefinitionsNameGet200Response.attributes) &&
Objects.equals(this.supportedFormats, reportingV3ReportDefinitionsNameGet200Response.supportedFormats) &&
Objects.equals(this.description, reportingV3ReportDefinitionsNameGet200Response.description) &&
Objects.equals(this.defaultSettings, reportingV3ReportDefinitionsNameGet200Response.defaultSettings) &&
Objects.equals(this.subscriptionType, reportingV3ReportDefinitionsNameGet200Response.subscriptionType);
}
@Override
public int hashCode() {
return Objects.hash(type, reportDefinitionId, reportDefintionName, attributes, supportedFormats, description, defaultSettings, subscriptionType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ReportingV3ReportDefinitionsNameGet200Response {\n");
if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n");
if (reportDefinitionId != null) sb.append(" reportDefinitionId: ").append(toIndentedString(reportDefinitionId)).append("\n");
if (reportDefintionName != null) sb.append(" reportDefintionName: ").append(toIndentedString(reportDefintionName)).append("\n");
if (attributes != null) sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
if (supportedFormats != null) sb.append(" supportedFormats: ").append(toIndentedString(supportedFormats)).append("\n");
if (description != null) sb.append(" description: ").append(toIndentedString(description)).append("\n");
if (defaultSettings != null) sb.append(" defaultSettings: ").append(toIndentedString(defaultSettings)).append("\n");
if (subscriptionType != null) sb.append(" subscriptionType: ").append(toIndentedString(subscriptionType)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
// return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy