com.seeq.model.IdentityMappingV1 Maven / Gradle / Ivy
/*
* 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 io.swagger.v3.oas.annotations.media.Schema;
/**
* The list of members that are contained within a synced UserGroup, identified by their Remote Item ID.
*/
@Schema(description = "The list of members that are contained within a synced UserGroup, identified by their Remote Item ID.")
public class IdentityMappingV1 {
@JsonProperty("mappedIdentityDataId")
private String mappedIdentityDataId = null;
@JsonProperty("providerDatasourceClass")
private String providerDatasourceClass = null;
@JsonProperty("providerDatasourceId")
private String providerDatasourceId = null;
public IdentityMappingV1 mappedIdentityDataId(String mappedIdentityDataId) {
this.mappedIdentityDataId = mappedIdentityDataId;
return this;
}
/**
* A unique identifier for the identity within its datasource.
* @return mappedIdentityDataId
**/
@Schema(description = "A unique identifier for the identity within its datasource.")
public String getMappedIdentityDataId() {
return mappedIdentityDataId;
}
public void setMappedIdentityDataId(String mappedIdentityDataId) {
this.mappedIdentityDataId = mappedIdentityDataId;
}
public IdentityMappingV1 providerDatasourceClass(String providerDatasourceClass) {
this.providerDatasourceClass = providerDatasourceClass;
return this;
}
/**
* Along with the Provider Datasource ID, the Provider Datasource Class uniquely identifies the datasource who provides the mapped user group. For example, a datasource may be a particular instance of an AD.
* @return providerDatasourceClass
**/
@Schema(description = "Along with the Provider Datasource ID, the Provider Datasource Class uniquely identifies the datasource who provides the mapped user group. For example, a datasource may be a particular instance of an AD.")
public String getProviderDatasourceClass() {
return providerDatasourceClass;
}
public void setProviderDatasourceClass(String providerDatasourceClass) {
this.providerDatasourceClass = providerDatasourceClass;
}
public IdentityMappingV1 providerDatasourceId(String providerDatasourceId) {
this.providerDatasourceId = providerDatasourceId;
return this;
}
/**
* Along with the Provider Datasource Class, the Provider Datasource ID uniquely identifies the datasource who provides the mapped user group. For example, a datasource may be a particular instance of an AD.
* @return providerDatasourceId
**/
@Schema(description = "Along with the Provider Datasource Class, the Provider Datasource ID uniquely identifies the datasource who provides the mapped user group. For example, a datasource may be a particular instance of an AD.")
public String getProviderDatasourceId() {
return providerDatasourceId;
}
public void setProviderDatasourceId(String providerDatasourceId) {
this.providerDatasourceId = providerDatasourceId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IdentityMappingV1 identityMappingV1 = (IdentityMappingV1) o;
return Objects.equals(this.mappedIdentityDataId, identityMappingV1.mappedIdentityDataId) &&
Objects.equals(this.providerDatasourceClass, identityMappingV1.providerDatasourceClass) &&
Objects.equals(this.providerDatasourceId, identityMappingV1.providerDatasourceId);
}
@Override
public int hashCode() {
return Objects.hash(mappedIdentityDataId, providerDatasourceClass, providerDatasourceId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IdentityMappingV1 {\n");
sb.append(" mappedIdentityDataId: ").append(toIndentedString(mappedIdentityDataId)).append("\n");
sb.append(" providerDatasourceClass: ").append(toIndentedString(providerDatasourceClass)).append("\n");
sb.append(" providerDatasourceId: ").append(toIndentedString(providerDatasourceId)).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 ");
}
}