com.seeq.model.AddOnPreviewV1 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.3-v202408082312
*
*
* 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 io.swagger.v3.oas.annotations.media.Schema;
/**
* A list of all Add-ons installed on this system.
*/
@Schema(description = "A list of all Add-ons installed on this system.")
public class AddOnPreviewV1 {
@JsonProperty("addOnIdentifier")
private String addOnIdentifier = null;
@JsonProperty("effectivePermissions")
private PermissionsV1 effectivePermissions = null;
@JsonProperty("id")
private String id = null;
@JsonProperty("inDevelopment")
private Boolean inDevelopment = null;
@JsonProperty("installer")
private IdentityPreviewV1 installer = null;
public AddOnPreviewV1 addOnIdentifier(String addOnIdentifier) {
this.addOnIdentifier = addOnIdentifier;
return this;
}
/**
* The unique identifier associated with this Add-on, shared across all Seeq server instances.
* @return addOnIdentifier
**/
@Schema(description = "The unique identifier associated with this Add-on, shared across all Seeq server instances.")
public String getAddOnIdentifier() {
return addOnIdentifier;
}
public void setAddOnIdentifier(String addOnIdentifier) {
this.addOnIdentifier = addOnIdentifier;
}
public AddOnPreviewV1 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 AddOnPreviewV1 id(String id) {
this.id = id;
return this;
}
/**
* The ID that can be used to interact with the item.
* @return id
**/
@Schema(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 AddOnPreviewV1 inDevelopment(Boolean inDevelopment) {
this.inDevelopment = inDevelopment;
return this;
}
/**
* Whether this item is in Development Mode.
* @return inDevelopment
**/
@Schema(description = "Whether this item is in Development Mode.")
public Boolean getInDevelopment() {
return inDevelopment;
}
public void setInDevelopment(Boolean inDevelopment) {
this.inDevelopment = inDevelopment;
}
public AddOnPreviewV1 installer(IdentityPreviewV1 installer) {
this.installer = installer;
return this;
}
/**
* Get installer
* @return installer
**/
@Schema(description = "")
public IdentityPreviewV1 getInstaller() {
return installer;
}
public void setInstaller(IdentityPreviewV1 installer) {
this.installer = installer;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AddOnPreviewV1 addOnPreviewV1 = (AddOnPreviewV1) o;
return Objects.equals(this.addOnIdentifier, addOnPreviewV1.addOnIdentifier) &&
Objects.equals(this.effectivePermissions, addOnPreviewV1.effectivePermissions) &&
Objects.equals(this.id, addOnPreviewV1.id) &&
Objects.equals(this.inDevelopment, addOnPreviewV1.inDevelopment) &&
Objects.equals(this.installer, addOnPreviewV1.installer);
}
@Override
public int hashCode() {
return Objects.hash(addOnIdentifier, effectivePermissions, id, inDevelopment, installer);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddOnPreviewV1 {\n");
sb.append(" addOnIdentifier: ").append(toIndentedString(addOnIdentifier)).append("\n");
sb.append(" effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" inDevelopment: ").append(toIndentedString(inDevelopment)).append("\n");
sb.append(" installer: ").append(toIndentedString(installer)).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 ");
}
}