io.logicdrop.openapi.models.InlineResponse200Cookies Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sparks-openapi-models Show documentation
Show all versions of sparks-openapi-models Show documentation
Logicdrop Sparks OpenAPI client
/*
* Sparks OpenAPI
* Generated documentation for the Logicdrop Sparks API and OpenAPI clients. Logicdrop Sparks lets users build rules, analyze data, and automate documents. Use it to make decisions faster, generate documents better, and learn from your data. ### Documentation - [User Documentation](https://docs.logicdrop.com) ### Modules - [Sparks Compute](https://docs.logicdrop.com/rules/introduction) - [Sparks Decision Tables](https://docs.logicdrop.com/rules/authoring-decision-tables) - [Sparks Documents](https://docs.logicdrop.com/documents/introduction) ### Clients - [OpenAPI Clients](https://docs.logicdrop.com/development/sample-clients) ### Security - [Authorizing API Requests](https://docs.logicdrop.com/development/authorization)
*
* The version of the OpenAPI document: v_VERSION_, build# _BUILD_
* 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 io.logicdrop.openapi.models;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.OffsetDateTime;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* InlineResponse200Cookies
*/
@JsonPropertyOrder({
InlineResponse200Cookies.JSON_PROPERTY_NAME,
InlineResponse200Cookies.JSON_PROPERTY_VALUE,
InlineResponse200Cookies.JSON_PROPERTY_VERSION,
InlineResponse200Cookies.JSON_PROPERTY_PATH,
InlineResponse200Cookies.JSON_PROPERTY_DOMAIN,
InlineResponse200Cookies.JSON_PROPERTY_COMMENT,
InlineResponse200Cookies.JSON_PROPERTY_MAX_AGE,
InlineResponse200Cookies.JSON_PROPERTY_EXPIRY,
InlineResponse200Cookies.JSON_PROPERTY_SECURE,
InlineResponse200Cookies.JSON_PROPERTY_HTTP_ONLY
})
public class InlineResponse200Cookies {
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_VALUE = "value";
private String value;
public static final String JSON_PROPERTY_VERSION = "version";
private Integer version;
public static final String JSON_PROPERTY_PATH = "path";
private String path;
public static final String JSON_PROPERTY_DOMAIN = "domain";
private String domain;
public static final String JSON_PROPERTY_COMMENT = "comment";
private String comment;
public static final String JSON_PROPERTY_MAX_AGE = "maxAge";
private Integer maxAge;
public static final String JSON_PROPERTY_EXPIRY = "expiry";
private OffsetDateTime expiry;
public static final String JSON_PROPERTY_SECURE = "secure";
private Boolean secure;
public static final String JSON_PROPERTY_HTTP_ONLY = "httpOnly";
private Boolean httpOnly;
public InlineResponse200Cookies name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public InlineResponse200Cookies value(String value) {
this.value = value;
return this;
}
/**
* Get value
* @return value
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public InlineResponse200Cookies version(Integer version) {
this.version = version;
return this;
}
/**
* Get version
* @return version
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getVersion() {
return version;
}
public void setVersion(Integer version) {
this.version = version;
}
public InlineResponse200Cookies path(String path) {
this.path = path;
return this;
}
/**
* Get path
* @return path
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public InlineResponse200Cookies domain(String domain) {
this.domain = domain;
return this;
}
/**
* Get domain
* @return domain
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DOMAIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDomain() {
return domain;
}
public void setDomain(String domain) {
this.domain = domain;
}
public InlineResponse200Cookies comment(String comment) {
this.comment = comment;
return this;
}
/**
* Get comment
* @return comment
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COMMENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
public InlineResponse200Cookies maxAge(Integer maxAge) {
this.maxAge = maxAge;
return this;
}
/**
* Get maxAge
* @return maxAge
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAX_AGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getMaxAge() {
return maxAge;
}
public void setMaxAge(Integer maxAge) {
this.maxAge = maxAge;
}
public InlineResponse200Cookies expiry(OffsetDateTime expiry) {
this.expiry = expiry;
return this;
}
/**
* Get expiry
* @return expiry
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_EXPIRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getExpiry() {
return expiry;
}
public void setExpiry(OffsetDateTime expiry) {
this.expiry = expiry;
}
public InlineResponse200Cookies secure(Boolean secure) {
this.secure = secure;
return this;
}
/**
* Get secure
* @return secure
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SECURE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getSecure() {
return secure;
}
public void setSecure(Boolean secure) {
this.secure = secure;
}
public InlineResponse200Cookies httpOnly(Boolean httpOnly) {
this.httpOnly = httpOnly;
return this;
}
/**
* Get httpOnly
* @return httpOnly
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_HTTP_ONLY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHttpOnly() {
return httpOnly;
}
public void setHttpOnly(Boolean httpOnly) {
this.httpOnly = httpOnly;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InlineResponse200Cookies inlineResponse200Cookies = (InlineResponse200Cookies) o;
return Objects.equals(this.name, inlineResponse200Cookies.name) &&
Objects.equals(this.value, inlineResponse200Cookies.value) &&
Objects.equals(this.version, inlineResponse200Cookies.version) &&
Objects.equals(this.path, inlineResponse200Cookies.path) &&
Objects.equals(this.domain, inlineResponse200Cookies.domain) &&
Objects.equals(this.comment, inlineResponse200Cookies.comment) &&
Objects.equals(this.maxAge, inlineResponse200Cookies.maxAge) &&
Objects.equals(this.expiry, inlineResponse200Cookies.expiry) &&
Objects.equals(this.secure, inlineResponse200Cookies.secure) &&
Objects.equals(this.httpOnly, inlineResponse200Cookies.httpOnly);
}
@Override
public int hashCode() {
return Objects.hash(name, value, version, path, domain, comment, maxAge, expiry, secure, httpOnly);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InlineResponse200Cookies {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" path: ").append(toIndentedString(path)).append("\n");
sb.append(" domain: ").append(toIndentedString(domain)).append("\n");
sb.append(" comment: ").append(toIndentedString(comment)).append("\n");
sb.append(" maxAge: ").append(toIndentedString(maxAge)).append("\n");
sb.append(" expiry: ").append(toIndentedString(expiry)).append("\n");
sb.append(" secure: ").append(toIndentedString(secure)).append("\n");
sb.append(" httpOnly: ").append(toIndentedString(httpOnly)).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 ");
}
}