com.seeq.model.ScimTokenOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 65.1.6-v202409201821
*
*
* 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 com.seeq.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* ScimTokenOutputV1
*/
public class ScimTokenOutputV1 {
@JsonProperty("authToken")
private String authToken = null;
@JsonProperty("expiration")
private String expiration = null;
public ScimTokenOutputV1 authToken(String authToken) {
this.authToken = authToken;
return this;
}
/**
* The authentication token provided immediately upon generation; a placeholder on the GET response.
* @return authToken
**/
@Schema(description = "The authentication token provided immediately upon generation; a placeholder on the GET response.")
public String getAuthToken() {
return authToken;
}
public void setAuthToken(String authToken) {
this.authToken = authToken;
}
public ScimTokenOutputV1 expiration(String expiration) {
this.expiration = expiration;
return this;
}
/**
* The ISO 8601 date of when the token will expire (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).
* @return expiration
**/
@Schema(description = "The ISO 8601 date of when the token will expire (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).")
public String getExpiration() {
return expiration;
}
public void setExpiration(String expiration) {
this.expiration = expiration;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ScimTokenOutputV1 scimTokenOutputV1 = (ScimTokenOutputV1) o;
return Objects.equals(this.authToken, scimTokenOutputV1.authToken) &&
Objects.equals(this.expiration, scimTokenOutputV1.expiration);
}
@Override
public int hashCode() {
return Objects.hash(authToken, expiration);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ScimTokenOutputV1 {\n");
sb.append(" authToken: ").append(toIndentedString(authToken)).append("\n");
sb.append(" expiration: ").append(toIndentedString(expiration)).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 ");
}
}