All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.seeq.model.IdentityPreviewV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 60.1.3-v202304250417
*
*
* 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 com.seeq.model.DatasourcePreviewV1;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* The creator of this folder, analysis, topic, or project
*/
@Schema(description = "The creator of this folder, analysis, topic, or project")
public class IdentityPreviewV1 {
@JsonProperty("datasource")
private DatasourcePreviewV1 datasource = null;
@JsonProperty("email")
private String email = null;
@JsonProperty("id")
private String id = null;
@JsonProperty("isArchived")
private Boolean isArchived = false;
@JsonProperty("isEnabled")
private Boolean isEnabled = false;
@JsonProperty("isRedacted")
private Boolean isRedacted = false;
@JsonProperty("isRemoteGroupEditable")
private Boolean isRemoteGroupEditable = false;
@JsonProperty("name")
private String name = null;
@JsonProperty("translationKey")
private String translationKey = null;
@JsonProperty("type")
private String type = null;
@JsonProperty("username")
private String username = null;
@JsonProperty("usernameReadable")
private Boolean usernameReadable = false;
public IdentityPreviewV1 datasource(DatasourcePreviewV1 datasource) {
this.datasource = datasource;
return this;
}
/**
* Get datasource
* @return datasource
**/
@Schema(description = "")
public DatasourcePreviewV1 getDatasource() {
return datasource;
}
public void setDatasource(DatasourcePreviewV1 datasource) {
this.datasource = datasource;
}
public IdentityPreviewV1 email(String email) {
this.email = email;
return this;
}
/**
* The email address of the user
* @return email
**/
@Schema(description = "The email address of the user")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public IdentityPreviewV1 id(String id) {
this.id = id;
return this;
}
/**
* The ID that can be used to interact with the item
* @return id
**/
@Schema(required = true, description = "The ID that can be used to interact with the item")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public IdentityPreviewV1 isArchived(Boolean isArchived) {
this.isArchived = isArchived;
return this;
}
/**
* Whether item is archived
* @return isArchived
**/
@Schema(description = "Whether item is archived")
public Boolean getIsArchived() {
return isArchived;
}
public void setIsArchived(Boolean isArchived) {
this.isArchived = isArchived;
}
public IdentityPreviewV1 isEnabled(Boolean isEnabled) {
this.isEnabled = isEnabled;
return this;
}
/**
* True if the identity is enabled
* @return isEnabled
**/
@Schema(description = "True if the identity is enabled")
public Boolean getIsEnabled() {
return isEnabled;
}
public void setIsEnabled(Boolean isEnabled) {
this.isEnabled = isEnabled;
}
public IdentityPreviewV1 isRedacted(Boolean isRedacted) {
this.isRedacted = isRedacted;
return this;
}
/**
* Whether item is redacted
* @return isRedacted
**/
@Schema(description = "Whether item is redacted")
public Boolean getIsRedacted() {
return isRedacted;
}
public void setIsRedacted(Boolean isRedacted) {
this.isRedacted = isRedacted;
}
public IdentityPreviewV1 isRemoteGroupEditable(Boolean isRemoteGroupEditable) {
this.isRemoteGroupEditable = isRemoteGroupEditable;
return this;
}
/**
* Whether the user group is editable in Seeq even when sourced from a remote system
* @return isRemoteGroupEditable
**/
@Schema(description = "Whether the user group is editable in Seeq even when sourced from a remote system")
public Boolean getIsRemoteGroupEditable() {
return isRemoteGroupEditable;
}
public void setIsRemoteGroupEditable(Boolean isRemoteGroupEditable) {
this.isRemoteGroupEditable = isRemoteGroupEditable;
}
public IdentityPreviewV1 name(String name) {
this.name = name;
return this;
}
/**
* The human readable name
* @return name
**/
@Schema(required = true, description = "The human readable name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public IdentityPreviewV1 translationKey(String translationKey) {
this.translationKey = translationKey;
return this;
}
/**
* The item's translation key, if any
* @return translationKey
**/
@Schema(description = "The item's translation key, if any")
public String getTranslationKey() {
return translationKey;
}
public void setTranslationKey(String translationKey) {
this.translationKey = translationKey;
}
public IdentityPreviewV1 type(String type) {
this.type = type;
return this;
}
/**
* The type of the item
* @return type
**/
@Schema(required = true, description = "The type of the item")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public IdentityPreviewV1 username(String username) {
this.username = username;
return this;
}
/**
* The username of the user
* @return username
**/
@Schema(description = "The username of the user")
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public IdentityPreviewV1 usernameReadable(Boolean usernameReadable) {
this.usernameReadable = usernameReadable;
return this;
}
/**
* Whether the username is readable by a human
* @return usernameReadable
**/
@Schema(description = "Whether the username is readable by a human")
public Boolean getUsernameReadable() {
return usernameReadable;
}
public void setUsernameReadable(Boolean usernameReadable) {
this.usernameReadable = usernameReadable;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityPreviewV1 identityPreviewV1 = (IdentityPreviewV1) o;
return Objects.equals(this.datasource, identityPreviewV1.datasource) &&
Objects.equals(this.email, identityPreviewV1.email) &&
Objects.equals(this.id, identityPreviewV1.id) &&
Objects.equals(this.isArchived, identityPreviewV1.isArchived) &&
Objects.equals(this.isEnabled, identityPreviewV1.isEnabled) &&
Objects.equals(this.isRedacted, identityPreviewV1.isRedacted) &&
Objects.equals(this.isRemoteGroupEditable, identityPreviewV1.isRemoteGroupEditable) &&
Objects.equals(this.name, identityPreviewV1.name) &&
Objects.equals(this.translationKey, identityPreviewV1.translationKey) &&
Objects.equals(this.type, identityPreviewV1.type) &&
Objects.equals(this.username, identityPreviewV1.username) &&
Objects.equals(this.usernameReadable, identityPreviewV1.usernameReadable);
}
@Override
public int hashCode() {
return Objects.hash(datasource, email, id, isArchived, isEnabled, isRedacted, isRemoteGroupEditable, name, translationKey, type, username, usernameReadable);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityPreviewV1 {\n");
sb.append(" datasource: ").append(toIndentedString(datasource)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).append("\n");
sb.append(" isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
sb.append(" isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
sb.append(" isRemoteGroupEditable: ").append(toIndentedString(isRemoteGroupEditable)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" translationKey: ").append(toIndentedString(translationKey)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" username: ").append(toIndentedString(username)).append("\n");
sb.append(" usernameReadable: ").append(toIndentedString(usernameReadable)).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 ");
}
}