
com.factset.sdk.Signals.models.ContractPropertyItems 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;
/**
* Information about list of items if type is array
*/
@ApiModel(description = "Information about list of items if type is array")
@JsonPropertyOrder({
ContractPropertyItems.JSON_PROPERTY_TYPE
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ContractPropertyItems implements Serializable {
private static final long serialVersionUID = 1L;
public static final String JSON_PROPERTY_TYPE = "type";
private String type;
public ContractPropertyItems() {
}
@JsonCreator
public ContractPropertyItems(
@JsonProperty(value=JSON_PROPERTY_TYPE, required=true) String type
) {
this();
this.type = type;
}
public ContractPropertyItems type(String type) {
this.type = type;
return this;
}
/**
* Type of the elements contained in the list
* @return type
**/
@jakarta.annotation.Nonnull
@ApiModelProperty(required = true, value = "Type of the elements contained in the list")
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getType() {
return type;
}
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setType(String type) {
this.type = type;
}
/**
* Return true if this contractProperty_items object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ContractPropertyItems contractPropertyItems = (ContractPropertyItems) o;
return Objects.equals(this.type, contractPropertyItems.type);
}
@Override
public int hashCode() {
return Objects.hash(type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ContractPropertyItems {\n");
sb.append(" type: ").append(toIndentedString(type)).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