com.factset.sdk.Signals.models.SignalMetaDataData Maven / Gradle / Ivy
/*
* Signals API
* Collection of endpoints for providing Signal Events, Definitions and Metadata
*
* The version of the OpenAPI document: 2.6.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.factset.sdk.Signals.models;
import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.factset.sdk.Signals.JSON;
/**
* SignalMetaDataData
*/
@JsonPropertyOrder({
SignalMetaDataData.JSON_PROPERTY_ID,
SignalMetaDataData.JSON_PROPERTY_NAME,
SignalMetaDataData.JSON_PROPERTY_DESCRIPTION
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class SignalMetaDataData implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_ID = "id";
private String id;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public SignalMetaDataData() {
}
@JsonCreator
public SignalMetaDataData(
@JsonProperty(value=JSON_PROPERTY_ID, required=true) String id,
@JsonProperty(value=JSON_PROPERTY_NAME, required=true) String name,
@JsonProperty(value=JSON_PROPERTY_DESCRIPTION, required=true) String description
) {
this();
this.id = id;
this.name = name;
this.description = description;
}
public SignalMetaDataData id(String id) {
this.id = id;
return this;
}
/**
* UUID of a signal
* @return id
**/
@jakarta.annotation.Nonnull
@ApiModelProperty(required = true, value = "UUID of a signal")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setId(String id) {
this.id = id;
}
public SignalMetaDataData name(String name) {
this.name = name;
return this;
}
/**
* Name of the signal
* @return name
**/
@jakarta.annotation.Nonnull
@ApiModelProperty(required = true, value = "Name of the signal")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
public SignalMetaDataData description(String description) {
this.description = description;
return this;
}
/**
* A description of the signal
* @return description
**/
@jakarta.annotation.Nonnull
@ApiModelProperty(required = true, value = "A description of the signal")
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDescription(String description) {
this.description = description;
}
/**
* Return true if this signalMetaData_data object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SignalMetaDataData signalMetaDataData = (SignalMetaDataData) o;
return Objects.equals(this.id, signalMetaDataData.id) &&
Objects.equals(this.name, signalMetaDataData.name) &&
Objects.equals(this.description, signalMetaDataData.description);
}
@Override
public int hashCode() {
return Objects.hash(id, name, description);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SignalMetaDataData {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy