com.factset.sdk.Signals.models.EventMeta 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.factset.sdk.Signals.models.IdResolutionsMeta;
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;
/**
* EventMeta
*/
@JsonPropertyOrder({
EventMeta.JSON_PROPERTY_SIGNAL_REQUEST_ID,
EventMeta.JSON_PROPERTY_ID_RESOLUTIONS
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class EventMeta implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_SIGNAL_REQUEST_ID = "signalRequestId";
private java.util.UUID signalRequestId;
public static final String JSON_PROPERTY_ID_RESOLUTIONS = "idResolutions";
private IdResolutionsMeta idResolutions;
public EventMeta() {
}
@JsonCreator
public EventMeta(
@JsonProperty(value=JSON_PROPERTY_SIGNAL_REQUEST_ID, required=true) java.util.UUID signalRequestId,
@JsonProperty(value=JSON_PROPERTY_ID_RESOLUTIONS, required=true) IdResolutionsMeta idResolutions
) {
this();
this.signalRequestId = signalRequestId;
this.idResolutions = idResolutions;
}
public EventMeta signalRequestId(java.util.UUID signalRequestId) {
this.signalRequestId = signalRequestId;
return this;
}
/**
* Get signalRequestId
* @return signalRequestId
**/
@jakarta.annotation.Nonnull
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_SIGNAL_REQUEST_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public java.util.UUID getSignalRequestId() {
return signalRequestId;
}
@JsonProperty(JSON_PROPERTY_SIGNAL_REQUEST_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSignalRequestId(java.util.UUID signalRequestId) {
this.signalRequestId = signalRequestId;
}
public EventMeta idResolutions(IdResolutionsMeta idResolutions) {
this.idResolutions = idResolutions;
return this;
}
/**
* Get idResolutions
* @return idResolutions
**/
@jakarta.annotation.Nonnull
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_ID_RESOLUTIONS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public IdResolutionsMeta getIdResolutions() {
return idResolutions;
}
@JsonProperty(JSON_PROPERTY_ID_RESOLUTIONS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIdResolutions(IdResolutionsMeta idResolutions) {
this.idResolutions = idResolutions;
}
/**
* Return true if this eventMeta object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EventMeta eventMeta = (EventMeta) o;
return Objects.equals(this.signalRequestId, eventMeta.signalRequestId) &&
Objects.equals(this.idResolutions, eventMeta.idResolutions);
}
@Override
public int hashCode() {
return Objects.hash(signalRequestId, idResolutions);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EventMeta {\n");
sb.append(" signalRequestId: ").append(toIndentedString(signalRequestId)).append("\n");
sb.append(" idResolutions: ").append(toIndentedString(idResolutions)).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