All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.seeq.model.UserOutputV1 Maven / Gradle / Ivy

There is a newer version: 66.0.0-v202407310200
Show newest version
/*
 * Seeq REST API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 64.3.0-v202405012032
 * 
 *
 * 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.IdentityPreviewV1;
import com.seeq.model.PermissionsV1;
import com.seeq.model.ScalarValueOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
 * UserOutputV1
 */
public class UserOutputV1 {
  @JsonProperty("accessKeyValidityDuration")
  private Long accessKeyValidityDuration = null;

  @JsonProperty("agentProvisioningAt")
  private String agentProvisioningAt = null;

  @JsonProperty("agentProvisioningSourceAddress")
  private String agentProvisioningSourceAddress = null;

  @JsonProperty("agentProvisioningStatus")
  private String agentProvisioningStatus = null;

  @JsonProperty("createdAt")
  private String createdAt = null;

  @JsonProperty("datasourceName")
  private String datasourceName = null;

  @JsonProperty("description")
  private String description = null;

  @JsonProperty("effectiveAccessKeyValidityDuration")
  private ScalarValueOutputV1 effectiveAccessKeyValidityDuration = null;

  @JsonProperty("effectivePermissions")
  private PermissionsV1 effectivePermissions = null;

  @JsonProperty("effectiveSessionDuration")
  private ScalarValueOutputV1 effectiveSessionDuration = null;

  @JsonProperty("email")
  private String email = null;

  @JsonProperty("firstName")
  private String firstName = null;

  @JsonProperty("groups")
  private List groups = new ArrayList();

  @JsonProperty("id")
  private String id = null;

  @JsonProperty("isActive")
  private Boolean isActive = false;

  @JsonProperty("isAdmin")
  private Boolean isAdmin = null;

  @JsonProperty("isArchived")
  private Boolean isArchived = false;

  @JsonProperty("isEnabled")
  private Boolean isEnabled = false;

  @JsonProperty("isPasswordSettable")
  private Boolean isPasswordSettable = false;

  @JsonProperty("isRedacted")
  private Boolean isRedacted = false;

  @JsonProperty("lastLoginAt")
  private String lastLoginAt = null;

  @JsonProperty("lastName")
  private String lastName = null;

  @JsonProperty("maxRequests")
  private Long maxRequests = null;

  @JsonProperty("name")
  private String name = null;

  @JsonProperty("sessionDuration")
  private Long sessionDuration = null;

  @JsonProperty("statusMessage")
  private String statusMessage = null;

  @JsonProperty("translationKey")
  private String translationKey = null;

  @JsonProperty("type")
  private String type = null;

  @JsonProperty("username")
  private String username = null;

  @JsonProperty("workbench")
  private String workbench = null;

  public UserOutputV1 accessKeyValidityDuration(Long accessKeyValidityDuration) {
    this.accessKeyValidityDuration = accessKeyValidityDuration;
    return this;
  }

   /**
   * The access key validity duration, in minutes, to override the 'Authentication/AccessKey/ValidityWithoutUserLogin' configuration. After the last user login, authentication is allowed with an access key for the period specified here. A value of 0 will effectively disable access keys for this user.
   * @return accessKeyValidityDuration
  **/
  @Schema(description = "The access key validity duration, in minutes, to override the 'Authentication/AccessKey/ValidityWithoutUserLogin' configuration. After the last user login, authentication is allowed with an access key for the period specified here. A value of 0 will effectively disable access keys for this user.")
  public Long getAccessKeyValidityDuration() {
    return accessKeyValidityDuration;
  }

  public void setAccessKeyValidityDuration(Long accessKeyValidityDuration) {
    this.accessKeyValidityDuration = accessKeyValidityDuration;
  }

  public UserOutputV1 agentProvisioningAt(String agentProvisioningAt) {
    this.agentProvisioningAt = agentProvisioningAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the user was provisioned for an agent (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return agentProvisioningAt
  **/
  @Schema(description = "The ISO 8601 date of when the user was provisioned for an agent (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  public String getAgentProvisioningAt() {
    return agentProvisioningAt;
  }

  public void setAgentProvisioningAt(String agentProvisioningAt) {
    this.agentProvisioningAt = agentProvisioningAt;
  }

  public UserOutputV1 agentProvisioningSourceAddress(String agentProvisioningSourceAddress) {
    this.agentProvisioningSourceAddress = agentProvisioningSourceAddress;
    return this;
  }

   /**
   * The source IP or CIDR range from where the provisioned agent can connect using the user
   * @return agentProvisioningSourceAddress
  **/
  @Schema(description = "The source IP or CIDR range from where the provisioned agent can connect using the user")
  public String getAgentProvisioningSourceAddress() {
    return agentProvisioningSourceAddress;
  }

  public void setAgentProvisioningSourceAddress(String agentProvisioningSourceAddress) {
    this.agentProvisioningSourceAddress = agentProvisioningSourceAddress;
  }

  public UserOutputV1 agentProvisioningStatus(String agentProvisioningStatus) {
    this.agentProvisioningStatus = agentProvisioningStatus;
    return this;
  }

   /**
   * The agent provisioning status.
   * @return agentProvisioningStatus
  **/
  @Schema(description = "The agent provisioning status.")
  public String getAgentProvisioningStatus() {
    return agentProvisioningStatus;
  }

  public void setAgentProvisioningStatus(String agentProvisioningStatus) {
    this.agentProvisioningStatus = agentProvisioningStatus;
  }

  public UserOutputV1 createdAt(String createdAt) {
    this.createdAt = createdAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the user was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return createdAt
  **/
  @Schema(description = "The ISO 8601 date of when the user was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  public String getCreatedAt() {
    return createdAt;
  }

  public void setCreatedAt(String createdAt) {
    this.createdAt = createdAt;
  }

  public UserOutputV1 datasourceName(String datasourceName) {
    this.datasourceName = datasourceName;
    return this;
  }

   /**
   * The name of the data source (authentication directory) containing the user
   * @return datasourceName
  **/
  @Schema(description = "The name of the data source (authentication directory) containing the user")
  public String getDatasourceName() {
    return datasourceName;
  }

  public void setDatasourceName(String datasourceName) {
    this.datasourceName = datasourceName;
  }

  public UserOutputV1 description(String description) {
    this.description = description;
    return this;
  }

   /**
   * Clarifying information or other plain language description of this item
   * @return description
  **/
  @Schema(description = "Clarifying information or other plain language description of this item")
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public UserOutputV1 effectiveAccessKeyValidityDuration(ScalarValueOutputV1 effectiveAccessKeyValidityDuration) {
    this.effectiveAccessKeyValidityDuration = effectiveAccessKeyValidityDuration;
    return this;
  }

   /**
   * Get effectiveAccessKeyValidityDuration
   * @return effectiveAccessKeyValidityDuration
  **/
  @Schema(description = "")
  public ScalarValueOutputV1 getEffectiveAccessKeyValidityDuration() {
    return effectiveAccessKeyValidityDuration;
  }

  public void setEffectiveAccessKeyValidityDuration(ScalarValueOutputV1 effectiveAccessKeyValidityDuration) {
    this.effectiveAccessKeyValidityDuration = effectiveAccessKeyValidityDuration;
  }

  public UserOutputV1 effectivePermissions(PermissionsV1 effectivePermissions) {
    this.effectivePermissions = effectivePermissions;
    return this;
  }

   /**
   * Get effectivePermissions
   * @return effectivePermissions
  **/
  @Schema(description = "")
  public PermissionsV1 getEffectivePermissions() {
    return effectivePermissions;
  }

  public void setEffectivePermissions(PermissionsV1 effectivePermissions) {
    this.effectivePermissions = effectivePermissions;
  }

  public UserOutputV1 effectiveSessionDuration(ScalarValueOutputV1 effectiveSessionDuration) {
    this.effectiveSessionDuration = effectiveSessionDuration;
    return this;
  }

   /**
   * Get effectiveSessionDuration
   * @return effectiveSessionDuration
  **/
  @Schema(description = "")
  public ScalarValueOutputV1 getEffectiveSessionDuration() {
    return effectiveSessionDuration;
  }

  public void setEffectiveSessionDuration(ScalarValueOutputV1 effectiveSessionDuration) {
    this.effectiveSessionDuration = effectiveSessionDuration;
  }

  public UserOutputV1 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 UserOutputV1 firstName(String firstName) {
    this.firstName = firstName;
    return this;
  }

   /**
   * The first name of the user
   * @return firstName
  **/
  @Schema(description = "The first name of the user")
  public String getFirstName() {
    return firstName;
  }

  public void setFirstName(String firstName) {
    this.firstName = firstName;
  }

  public UserOutputV1 groups(List groups) {
    this.groups = groups;
    return this;
  }

  public UserOutputV1 addGroupsItem(IdentityPreviewV1 groupsItem) {
    if (this.groups == null) {
      this.groups = new ArrayList();
    }
    this.groups.add(groupsItem);
    return this;
  }

   /**
   * Enabled and unarchived groups the user belongs to
   * @return groups
  **/
  @Schema(description = "Enabled and unarchived groups the user belongs to")
  public List getGroups() {
    return groups;
  }

  public void setGroups(List groups) {
    this.groups = groups;
  }

  public UserOutputV1 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 UserOutputV1 isActive(Boolean isActive) {
    this.isActive = isActive;
    return this;
  }

   /**
   * Whether the user is actively using Seeq
   * @return isActive
  **/
  @Schema(description = "Whether the user is actively using Seeq")
  public Boolean getIsActive() {
    return isActive;
  }

  public void setIsActive(Boolean isActive) {
    this.isActive = isActive;
  }

  public UserOutputV1 isAdmin(Boolean isAdmin) {
    this.isAdmin = isAdmin;
    return this;
  }

   /**
   * Whether the user has administrator capabilities in Seeq
   * @return isAdmin
  **/
  @Schema(description = "Whether the user has administrator capabilities in Seeq")
  public Boolean getIsAdmin() {
    return isAdmin;
  }

  public void setIsAdmin(Boolean isAdmin) {
    this.isAdmin = isAdmin;
  }

  public UserOutputV1 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 UserOutputV1 isEnabled(Boolean isEnabled) {
    this.isEnabled = isEnabled;
    return this;
  }

   /**
   * Whether the user is enabled
   * @return isEnabled
  **/
  @Schema(description = "Whether the user is enabled")
  public Boolean getIsEnabled() {
    return isEnabled;
  }

  public void setIsEnabled(Boolean isEnabled) {
    this.isEnabled = isEnabled;
  }

  public UserOutputV1 isPasswordSettable(Boolean isPasswordSettable) {
    this.isPasswordSettable = isPasswordSettable;
    return this;
  }

   /**
   * Whether the user's password may be updated
   * @return isPasswordSettable
  **/
  @Schema(description = "Whether the user's password may be updated")
  public Boolean getIsPasswordSettable() {
    return isPasswordSettable;
  }

  public void setIsPasswordSettable(Boolean isPasswordSettable) {
    this.isPasswordSettable = isPasswordSettable;
  }

  public UserOutputV1 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 UserOutputV1 lastLoginAt(String lastLoginAt) {
    this.lastLoginAt = lastLoginAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the user last logged in (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return lastLoginAt
  **/
  @Schema(description = "The ISO 8601 date of when the user last logged in (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  public String getLastLoginAt() {
    return lastLoginAt;
  }

  public void setLastLoginAt(String lastLoginAt) {
    this.lastLoginAt = lastLoginAt;
  }

  public UserOutputV1 lastName(String lastName) {
    this.lastName = lastName;
    return this;
  }

   /**
   * The last name of the user
   * @return lastName
  **/
  @Schema(description = "The last name of the user")
  public String getLastName() {
    return lastName;
  }

  public void setLastName(String lastName) {
    this.lastName = lastName;
  }

  public UserOutputV1 maxRequests(Long maxRequests) {
    this.maxRequests = maxRequests;
    return this;
  }

   /**
   * The maximum simultaneous API requests allowed by this user. Overrides the global Threads/HttpServer/MaxRequestsPerUser configuration.
   * @return maxRequests
  **/
  @Schema(description = "The maximum simultaneous API requests allowed by this user. Overrides the global Threads/HttpServer/MaxRequestsPerUser configuration.")
  public Long getMaxRequests() {
    return maxRequests;
  }

  public void setMaxRequests(Long maxRequests) {
    this.maxRequests = maxRequests;
  }

  public UserOutputV1 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 UserOutputV1 sessionDuration(Long sessionDuration) {
    this.sessionDuration = sessionDuration;
    return this;
  }

   /**
   * The session duration, in minutes, to override the 'Authentication/DefaultSessionDuration' configuration. This controls the maximum period of inactivity before the user must authenticate again. A value of 0 indicates the user does not have a session duration, effectively meaning their session will never expire.
   * @return sessionDuration
  **/
  @Schema(description = "The session duration, in minutes, to override the 'Authentication/DefaultSessionDuration' configuration. This controls the maximum period of inactivity before the user must authenticate again. A value of 0 indicates the user does not have a session duration, effectively meaning their session will never expire.")
  public Long getSessionDuration() {
    return sessionDuration;
  }

  public void setSessionDuration(Long sessionDuration) {
    this.sessionDuration = sessionDuration;
  }

  public UserOutputV1 statusMessage(String statusMessage) {
    this.statusMessage = statusMessage;
    return this;
  }

   /**
   * A plain language status message with information about any issues that may have been encountered during an operation
   * @return statusMessage
  **/
  @Schema(description = "A plain language status message with information about any issues that may have been encountered during an operation")
  public String getStatusMessage() {
    return statusMessage;
  }

  public void setStatusMessage(String statusMessage) {
    this.statusMessage = statusMessage;
  }

  public UserOutputV1 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 UserOutputV1 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 UserOutputV1 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 UserOutputV1 workbench(String workbench) {
    this.workbench = workbench;
    return this;
  }

   /**
   * The workbench configuration of the user
   * @return workbench
  **/
  @Schema(description = "The workbench configuration of the user")
  public String getWorkbench() {
    return workbench;
  }

  public void setWorkbench(String workbench) {
    this.workbench = workbench;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    UserOutputV1 userOutputV1 = (UserOutputV1) o;
    return Objects.equals(this.accessKeyValidityDuration, userOutputV1.accessKeyValidityDuration) &&
        Objects.equals(this.agentProvisioningAt, userOutputV1.agentProvisioningAt) &&
        Objects.equals(this.agentProvisioningSourceAddress, userOutputV1.agentProvisioningSourceAddress) &&
        Objects.equals(this.agentProvisioningStatus, userOutputV1.agentProvisioningStatus) &&
        Objects.equals(this.createdAt, userOutputV1.createdAt) &&
        Objects.equals(this.datasourceName, userOutputV1.datasourceName) &&
        Objects.equals(this.description, userOutputV1.description) &&
        Objects.equals(this.effectiveAccessKeyValidityDuration, userOutputV1.effectiveAccessKeyValidityDuration) &&
        Objects.equals(this.effectivePermissions, userOutputV1.effectivePermissions) &&
        Objects.equals(this.effectiveSessionDuration, userOutputV1.effectiveSessionDuration) &&
        Objects.equals(this.email, userOutputV1.email) &&
        Objects.equals(this.firstName, userOutputV1.firstName) &&
        Objects.equals(this.groups, userOutputV1.groups) &&
        Objects.equals(this.id, userOutputV1.id) &&
        Objects.equals(this.isActive, userOutputV1.isActive) &&
        Objects.equals(this.isAdmin, userOutputV1.isAdmin) &&
        Objects.equals(this.isArchived, userOutputV1.isArchived) &&
        Objects.equals(this.isEnabled, userOutputV1.isEnabled) &&
        Objects.equals(this.isPasswordSettable, userOutputV1.isPasswordSettable) &&
        Objects.equals(this.isRedacted, userOutputV1.isRedacted) &&
        Objects.equals(this.lastLoginAt, userOutputV1.lastLoginAt) &&
        Objects.equals(this.lastName, userOutputV1.lastName) &&
        Objects.equals(this.maxRequests, userOutputV1.maxRequests) &&
        Objects.equals(this.name, userOutputV1.name) &&
        Objects.equals(this.sessionDuration, userOutputV1.sessionDuration) &&
        Objects.equals(this.statusMessage, userOutputV1.statusMessage) &&
        Objects.equals(this.translationKey, userOutputV1.translationKey) &&
        Objects.equals(this.type, userOutputV1.type) &&
        Objects.equals(this.username, userOutputV1.username) &&
        Objects.equals(this.workbench, userOutputV1.workbench);
  }

  @Override
  public int hashCode() {
    return Objects.hash(accessKeyValidityDuration, agentProvisioningAt, agentProvisioningSourceAddress, agentProvisioningStatus, createdAt, datasourceName, description, effectiveAccessKeyValidityDuration, effectivePermissions, effectiveSessionDuration, email, firstName, groups, id, isActive, isAdmin, isArchived, isEnabled, isPasswordSettable, isRedacted, lastLoginAt, lastName, maxRequests, name, sessionDuration, statusMessage, translationKey, type, username, workbench);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UserOutputV1 {\n");
    
    sb.append("    accessKeyValidityDuration: ").append(toIndentedString(accessKeyValidityDuration)).append("\n");
    sb.append("    agentProvisioningAt: ").append(toIndentedString(agentProvisioningAt)).append("\n");
    sb.append("    agentProvisioningSourceAddress: ").append(toIndentedString(agentProvisioningSourceAddress)).append("\n");
    sb.append("    agentProvisioningStatus: ").append(toIndentedString(agentProvisioningStatus)).append("\n");
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    datasourceName: ").append(toIndentedString(datasourceName)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    effectiveAccessKeyValidityDuration: ").append(toIndentedString(effectiveAccessKeyValidityDuration)).append("\n");
    sb.append("    effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
    sb.append("    effectiveSessionDuration: ").append(toIndentedString(effectiveSessionDuration)).append("\n");
    sb.append("    email: ").append(toIndentedString(email)).append("\n");
    sb.append("    firstName: ").append(toIndentedString(firstName)).append("\n");
    sb.append("    groups: ").append(toIndentedString(groups)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    isActive: ").append(toIndentedString(isActive)).append("\n");
    sb.append("    isAdmin: ").append(toIndentedString(isAdmin)).append("\n");
    sb.append("    isArchived: ").append(toIndentedString(isArchived)).append("\n");
    sb.append("    isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
    sb.append("    isPasswordSettable: ").append(toIndentedString(isPasswordSettable)).append("\n");
    sb.append("    isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
    sb.append("    lastLoginAt: ").append(toIndentedString(lastLoginAt)).append("\n");
    sb.append("    lastName: ").append(toIndentedString(lastName)).append("\n");
    sb.append("    maxRequests: ").append(toIndentedString(maxRequests)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    sessionDuration: ").append(toIndentedString(sessionDuration)).append("\n");
    sb.append("    statusMessage: ").append(toIndentedString(statusMessage)).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("    workbench: ").append(toIndentedString(workbench)).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    ");
  }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy