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

com.oracle.bmc.identitydomains.model.Grant Maven / Gradle / Ivy

Go to download

This project contains the SDK distribution used for Oracle Cloud Infrastructure, and all the dependencies that can be shaded. It also has Maven dependencies that cannot be shaded. Therefore, use this module to depend on the shaded distribution via Maven -- it will shade everything that can be shaded, and automatically pull in the other dependencies.

There is a newer version: 3.55.2
Show newest version
/**
 * Copyright (c) 2016, 2024, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */
package com.oracle.bmc.identitydomains.model;

/**
 * Schema for Grant Resource 
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set * fields into account. The constructor, on the other hand, does not take the explicitly set fields * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code * null}). */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") @com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Grant.Builder.class) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public final class Grant extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ "id", "ocid", "schemas", "meta", "idcsCreatedBy", "idcsLastModifiedBy", "idcsPreventedOperations", "tags", "deleteInProgress", "idcsLastUpgradedInRelease", "domainOcid", "compartmentOcid", "tenancyOcid", "grantMechanism", "compositeKey", "isFulfilled", "grantedAttributeValuesJson", "appEntitlementCollection", "grantor", "grantee", "app", "entitlement" }) public Grant( String id, String ocid, java.util.List schemas, Meta meta, IdcsCreatedBy idcsCreatedBy, IdcsLastModifiedBy idcsLastModifiedBy, java.util.List idcsPreventedOperations, java.util.List tags, Boolean deleteInProgress, String idcsLastUpgradedInRelease, String domainOcid, String compartmentOcid, String tenancyOcid, GrantMechanism grantMechanism, String compositeKey, Boolean isFulfilled, String grantedAttributeValuesJson, GrantAppEntitlementCollection appEntitlementCollection, GrantGrantor grantor, GrantGrantee grantee, GrantApp app, GrantEntitlement entitlement) { super(); this.id = id; this.ocid = ocid; this.schemas = schemas; this.meta = meta; this.idcsCreatedBy = idcsCreatedBy; this.idcsLastModifiedBy = idcsLastModifiedBy; this.idcsPreventedOperations = idcsPreventedOperations; this.tags = tags; this.deleteInProgress = deleteInProgress; this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; this.domainOcid = domainOcid; this.compartmentOcid = compartmentOcid; this.tenancyOcid = tenancyOcid; this.grantMechanism = grantMechanism; this.compositeKey = compositeKey; this.isFulfilled = isFulfilled; this.grantedAttributeValuesJson = grantedAttributeValuesJson; this.appEntitlementCollection = appEntitlementCollection; this.grantor = grantor; this.grantee = grantee; this.app = app; this.entitlement = entitlement; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** * Unique identifier for the SCIM Resource as defined by the Service Provider. Each * representation of the Resource MUST include a non-empty id value. This identifier MUST be * unique across the Service Provider's entire set of Resources. It MUST be a stable, * non-reassignable identifier that does not change when the same Resource is returned in * subsequent requests. The value of the id attribute is always issued by the Service * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved * keyword and MUST NOT be used in the unique identifier. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: always - type: string - uniqueness: * global */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** * Unique identifier for the SCIM Resource as defined by the Service Provider. Each * representation of the Resource MUST include a non-empty id value. This identifier MUST be * unique across the Service Provider's entire set of Resources. It MUST be a stable, * non-reassignable identifier that does not change when the same Resource is returned in * subsequent requests. The value of the id attribute is always issued by the Service * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved * keyword and MUST NOT be used in the unique identifier. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: always - type: string - uniqueness: * global * * @param id the value to set * @return this builder */ public Builder id(String id) { this.id = id; this.__explicitlySet__.add("id"); return this; } /** * Unique OCI identifier for the SCIM Resource. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: string - uniqueness: * global */ @com.fasterxml.jackson.annotation.JsonProperty("ocid") private String ocid; /** * Unique OCI identifier for the SCIM Resource. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: string - uniqueness: * global * * @param ocid the value to set * @return this builder */ public Builder ocid(String ocid) { this.ocid = ocid; this.__explicitlySet__.add("ocid"); return this; } /** * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the * supported schema version for a SCIM representation as well any schema extensions * supported by that representation. Each String value must be a unique URI. This * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. * All representations of SCIM schema MUST include a non-zero value array with value(s) of * the URIs supported by that representation. Duplicate values MUST NOT be included. Value * order is not specified and MUST not impact behavior. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: * none */ @com.fasterxml.jackson.annotation.JsonProperty("schemas") private java.util.List schemas; /** * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the * supported schema version for a SCIM representation as well any schema extensions * supported by that representation. Each String value must be a unique URI. This * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. * All representations of SCIM schema MUST include a non-zero value array with value(s) of * the URIs supported by that representation. Duplicate values MUST NOT be included. Value * order is not specified and MUST not impact behavior. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: * none * * @param schemas the value to set * @return this builder */ public Builder schemas(java.util.List schemas) { this.schemas = schemas; this.__explicitlySet__.add("schemas"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("meta") private Meta meta; public Builder meta(Meta meta) { this.meta = meta; this.__explicitlySet__.add("meta"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") private IdcsCreatedBy idcsCreatedBy; public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { this.idcsCreatedBy = idcsCreatedBy; this.__explicitlySet__.add("idcsCreatedBy"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") private IdcsLastModifiedBy idcsLastModifiedBy; public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { this.idcsLastModifiedBy = idcsLastModifiedBy; this.__explicitlySet__.add("idcsLastModifiedBy"); return this; } /** * Each value of this attribute specifies an operation that only an internal client may * perform on this particular resource. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: * readOnly - required: false - returned: request - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") private java.util.List idcsPreventedOperations; /** * Each value of this attribute specifies an operation that only an internal client may * perform on this particular resource. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: * readOnly - required: false - returned: request - type: string - uniqueness: none * * @param idcsPreventedOperations the value to set * @return this builder */ public Builder idcsPreventedOperations( java.util.List idcsPreventedOperations) { this.idcsPreventedOperations = idcsPreventedOperations; this.__explicitlySet__.add("idcsPreventedOperations"); return this; } /** * A list of tags on this resource. * *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - * multiValued: true - mutability: readWrite - required: false - returned: request - type: * complex - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("tags") private java.util.List tags; /** * A list of tags on this resource. * *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - * multiValued: true - mutability: readWrite - required: false - returned: request - type: * complex - uniqueness: none * * @param tags the value to set * @return this builder */ public Builder tags(java.util.List tags) { this.tags = tags; this.__explicitlySet__.add("tags"); return this; } /** * A boolean flag indicating this resource in the process of being deleted. Usually set to * true when synchronous deletion of the resource would take too long. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: * none */ @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") private Boolean deleteInProgress; /** * A boolean flag indicating this resource in the process of being deleted. Usually set to * true when synchronous deletion of the resource would take too long. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: * none * * @param deleteInProgress the value to set * @return this builder */ public Builder deleteInProgress(Boolean deleteInProgress) { this.deleteInProgress = deleteInProgress; this.__explicitlySet__.add("deleteInProgress"); return this; } /** * The release number when the resource was upgraded. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: * none */ @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") private String idcsLastUpgradedInRelease; /** * The release number when the resource was upgraded. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: * none * * @param idcsLastUpgradedInRelease the value to set * @return this builder */ public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; this.__explicitlySet__.add("idcsLastUpgradedInRelease"); return this; } /** * OCI Domain Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: * none */ @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") private String domainOcid; /** * OCI Domain Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: * none * * @param domainOcid the value to set * @return this builder */ public Builder domainOcid(String domainOcid) { this.domainOcid = domainOcid; this.__explicitlySet__.add("domainOcid"); return this; } /** * OCI Compartment Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: * none */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") private String compartmentOcid; /** * OCI Compartment Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: * none * * @param compartmentOcid the value to set * @return this builder */ public Builder compartmentOcid(String compartmentOcid) { this.compartmentOcid = compartmentOcid; this.__explicitlySet__.add("compartmentOcid"); return this; } /** * OCI Tenant Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: * none */ @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") private String tenancyOcid; /** * OCI Tenant Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: * none * * @param tenancyOcid the value to set * @return this builder */ public Builder tenancyOcid(String tenancyOcid) { this.tenancyOcid = tenancyOcid; this.__explicitlySet__.add("tenancyOcid"); return this; } /** * Each value of grantMechanism indicates how (or by what component) some App (or * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which * results in indirect grants to Users who are members of that Group. - * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains * access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: * immutable - required: true - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("grantMechanism") private GrantMechanism grantMechanism; /** * Each value of grantMechanism indicates how (or by what component) some App (or * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which * results in indirect grants to Users who are members of that Group. - * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains * access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: * immutable - required: true - returned: default - type: string - uniqueness: none * * @param grantMechanism the value to set * @return this builder */ public Builder grantMechanism(GrantMechanism grantMechanism) { this.grantMechanism = grantMechanism; this.__explicitlySet__.add("grantMechanism"); return this; } /** * Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor * and grantMechanism. Used to prevent duplicate Grants. * *

*Added In:** 18.1.2 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: request - type: string - uniqueness: * server */ @com.fasterxml.jackson.annotation.JsonProperty("compositeKey") private String compositeKey; /** * Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor * and grantMechanism. Used to prevent duplicate Grants. * *

*Added In:** 18.1.2 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: request - type: string - uniqueness: * server * * @param compositeKey the value to set * @return this builder */ public Builder compositeKey(String compositeKey) { this.compositeKey = compositeKey; this.__explicitlySet__.add("compositeKey"); return this; } /** * If true, this Grant has been fulfilled successfully. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: * readOnly - required: false - returned: default - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("isFulfilled") private Boolean isFulfilled; /** * If true, this Grant has been fulfilled successfully. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: * readOnly - required: false - returned: default - type: boolean - uniqueness: none * * @param isFulfilled the value to set * @return this builder */ public Builder isFulfilled(Boolean isFulfilled) { this.isFulfilled = isFulfilled; this.__explicitlySet__.add("isFulfilled"); return this; } /** * Store granted attribute-values as a string in Javascript Object Notation (JSON) format. * *

*Added In:** 18.3.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: * readWrite - required: false - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("grantedAttributeValuesJson") private String grantedAttributeValuesJson; /** * Store granted attribute-values as a string in Javascript Object Notation (JSON) format. * *

*Added In:** 18.3.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: * readWrite - required: false - returned: default - type: string - uniqueness: none * * @param grantedAttributeValuesJson the value to set * @return this builder */ public Builder grantedAttributeValuesJson(String grantedAttributeValuesJson) { this.grantedAttributeValuesJson = grantedAttributeValuesJson; this.__explicitlySet__.add("grantedAttributeValuesJson"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("appEntitlementCollection") private GrantAppEntitlementCollection appEntitlementCollection; public Builder appEntitlementCollection( GrantAppEntitlementCollection appEntitlementCollection) { this.appEntitlementCollection = appEntitlementCollection; this.__explicitlySet__.add("appEntitlementCollection"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("grantor") private GrantGrantor grantor; public Builder grantor(GrantGrantor grantor) { this.grantor = grantor; this.__explicitlySet__.add("grantor"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("grantee") private GrantGrantee grantee; public Builder grantee(GrantGrantee grantee) { this.grantee = grantee; this.__explicitlySet__.add("grantee"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("app") private GrantApp app; public Builder app(GrantApp app) { this.app = app; this.__explicitlySet__.add("app"); return this; } @com.fasterxml.jackson.annotation.JsonProperty("entitlement") private GrantEntitlement entitlement; public Builder entitlement(GrantEntitlement entitlement) { this.entitlement = entitlement; this.__explicitlySet__.add("entitlement"); return this; } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public Grant build() { Grant model = new Grant( this.id, this.ocid, this.schemas, this.meta, this.idcsCreatedBy, this.idcsLastModifiedBy, this.idcsPreventedOperations, this.tags, this.deleteInProgress, this.idcsLastUpgradedInRelease, this.domainOcid, this.compartmentOcid, this.tenancyOcid, this.grantMechanism, this.compositeKey, this.isFulfilled, this.grantedAttributeValuesJson, this.appEntitlementCollection, this.grantor, this.grantee, this.app, this.entitlement); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } return model; } @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(Grant model) { if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } if (model.wasPropertyExplicitlySet("ocid")) { this.ocid(model.getOcid()); } if (model.wasPropertyExplicitlySet("schemas")) { this.schemas(model.getSchemas()); } if (model.wasPropertyExplicitlySet("meta")) { this.meta(model.getMeta()); } if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { this.idcsCreatedBy(model.getIdcsCreatedBy()); } if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); } if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { this.idcsPreventedOperations(model.getIdcsPreventedOperations()); } if (model.wasPropertyExplicitlySet("tags")) { this.tags(model.getTags()); } if (model.wasPropertyExplicitlySet("deleteInProgress")) { this.deleteInProgress(model.getDeleteInProgress()); } if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); } if (model.wasPropertyExplicitlySet("domainOcid")) { this.domainOcid(model.getDomainOcid()); } if (model.wasPropertyExplicitlySet("compartmentOcid")) { this.compartmentOcid(model.getCompartmentOcid()); } if (model.wasPropertyExplicitlySet("tenancyOcid")) { this.tenancyOcid(model.getTenancyOcid()); } if (model.wasPropertyExplicitlySet("grantMechanism")) { this.grantMechanism(model.getGrantMechanism()); } if (model.wasPropertyExplicitlySet("compositeKey")) { this.compositeKey(model.getCompositeKey()); } if (model.wasPropertyExplicitlySet("isFulfilled")) { this.isFulfilled(model.getIsFulfilled()); } if (model.wasPropertyExplicitlySet("grantedAttributeValuesJson")) { this.grantedAttributeValuesJson(model.getGrantedAttributeValuesJson()); } if (model.wasPropertyExplicitlySet("appEntitlementCollection")) { this.appEntitlementCollection(model.getAppEntitlementCollection()); } if (model.wasPropertyExplicitlySet("grantor")) { this.grantor(model.getGrantor()); } if (model.wasPropertyExplicitlySet("grantee")) { this.grantee(model.getGrantee()); } if (model.wasPropertyExplicitlySet("app")) { this.app(model.getApp()); } if (model.wasPropertyExplicitlySet("entitlement")) { this.entitlement(model.getEntitlement()); } return this; } } /** Create a new builder. */ public static Builder builder() { return new Builder(); } public Builder toBuilder() { return new Builder().copy(this); } /** * Unique identifier for the SCIM Resource as defined by the Service Provider. Each * representation of the Resource MUST include a non-empty id value. This identifier MUST be * unique across the Service Provider's entire set of Resources. It MUST be a stable, * non-reassignable identifier that does not change when the same Resource is returned in * subsequent requests. The value of the id attribute is always issued by the Service Provider * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST * NOT be used in the unique identifier. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** * Unique identifier for the SCIM Resource as defined by the Service Provider. Each * representation of the Resource MUST include a non-empty id value. This identifier MUST be * unique across the Service Provider's entire set of Resources. It MUST be a stable, * non-reassignable identifier that does not change when the same Resource is returned in * subsequent requests. The value of the id attribute is always issued by the Service Provider * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST * NOT be used in the unique identifier. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global * * @return the value */ public String getId() { return id; } /** * Unique OCI identifier for the SCIM Resource. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: string - uniqueness: * global */ @com.fasterxml.jackson.annotation.JsonProperty("ocid") private final String ocid; /** * Unique OCI identifier for the SCIM Resource. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: string - uniqueness: * global * * @return the value */ public String getOcid() { return ocid; } /** * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the * supported schema version for a SCIM representation as well any schema extensions supported by * that representation. Each String value must be a unique URI. This specification defines URIs * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM * schema MUST include a non-zero value array with value(s) of the URIs supported by that * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST * not impact behavior. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("schemas") private final java.util.List schemas; /** * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the * supported schema version for a SCIM representation as well any schema extensions supported by * that representation. Each String value must be a unique URI. This specification defines URIs * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM * schema MUST include a non-zero value array with value(s) of the URIs supported by that * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST * not impact behavior. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none * * @return the value */ public java.util.List getSchemas() { return schemas; } @com.fasterxml.jackson.annotation.JsonProperty("meta") private final Meta meta; public Meta getMeta() { return meta; } @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") private final IdcsCreatedBy idcsCreatedBy; public IdcsCreatedBy getIdcsCreatedBy() { return idcsCreatedBy; } @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") private final IdcsLastModifiedBy idcsLastModifiedBy; public IdcsLastModifiedBy getIdcsLastModifiedBy() { return idcsLastModifiedBy; } /** * Each value of this attribute specifies an operation that only an internal client may perform * on this particular resource. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - * required: false - returned: request - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") private final java.util.List idcsPreventedOperations; /** * Each value of this attribute specifies an operation that only an internal client may perform * on this particular resource. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - * required: false - returned: request - type: string - uniqueness: none * * @return the value */ public java.util.List getIdcsPreventedOperations() { return idcsPreventedOperations; } /** * A list of tags on this resource. * *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - * multiValued: true - mutability: readWrite - required: false - returned: request - type: * complex - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("tags") private final java.util.List tags; /** * A list of tags on this resource. * *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - * multiValued: true - mutability: readWrite - required: false - returned: request - type: * complex - uniqueness: none * * @return the value */ public java.util.List getTags() { return tags; } /** * A boolean flag indicating this resource in the process of being deleted. Usually set to true * when synchronous deletion of the resource would take too long. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") private final Boolean deleteInProgress; /** * A boolean flag indicating this resource in the process of being deleted. Usually set to true * when synchronous deletion of the resource would take too long. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none * * @return the value */ public Boolean getDeleteInProgress() { return deleteInProgress; } /** * The release number when the resource was upgraded. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") private final String idcsLastUpgradedInRelease; /** * The release number when the resource was upgraded. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none * * @return the value */ public String getIdcsLastUpgradedInRelease() { return idcsLastUpgradedInRelease; } /** * OCI Domain Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") private final String domainOcid; /** * OCI Domain Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none * * @return the value */ public String getDomainOcid() { return domainOcid; } /** * OCI Compartment Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") private final String compartmentOcid; /** * OCI Compartment Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none * * @return the value */ public String getCompartmentOcid() { return compartmentOcid; } /** * OCI Tenant Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") private final String tenancyOcid; /** * OCI Tenant Id (ocid) in which the resource lives. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none * * @return the value */ public String getTenancyOcid() { return tenancyOcid; } /** * Each value of grantMechanism indicates how (or by what component) some App (or * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: * immutable - required: true - returned: default - type: string - uniqueness: none */ public enum GrantMechanism implements com.oracle.bmc.http.internal.BmcEnum { ImportApproleMembers("IMPORT_APPROLE_MEMBERS"), AdministratorToUser("ADMINISTRATOR_TO_USER"), AdministratorToDelegatedUser("ADMINISTRATOR_TO_DELEGATED_USER"), AdministratorToGroup("ADMINISTRATOR_TO_GROUP"), ServiceManagerToUser("SERVICE_MANAGER_TO_USER"), AdministratorToApp("ADMINISTRATOR_TO_APP"), ServiceManagerToApp("SERVICE_MANAGER_TO_APP"), OpcInfraToApp("OPC_INFRA_TO_APP"), GroupMembership("GROUP_MEMBERSHIP"), ImportGrants("IMPORT_GRANTS"), SyncToUser("SYNC_TO_USER"), AccessRequest("ACCESS_REQUEST"), AppEntitlementCollection("APP_ENTITLEMENT_COLLECTION"), AdministratorToDynamicResourceGroup("ADMINISTRATOR_TO_DYNAMIC_RESOURCE_GROUP"), /** * This value is used if a service returns a value for this enum that is not recognized by * this version of the SDK. */ UnknownEnumValue(null); private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(GrantMechanism.class); private final String value; private static java.util.Map map; static { map = new java.util.HashMap<>(); for (GrantMechanism v : GrantMechanism.values()) { if (v != UnknownEnumValue) { map.put(v.getValue(), v); } } } GrantMechanism(String value) { this.value = value; } @com.fasterxml.jackson.annotation.JsonValue public String getValue() { return value; } @com.fasterxml.jackson.annotation.JsonCreator public static GrantMechanism create(String key) { if (map.containsKey(key)) { return map.get(key); } LOG.warn( "Received unknown value '{}' for enum 'GrantMechanism', returning UnknownEnumValue", key); return UnknownEnumValue; } }; /** * Each value of grantMechanism indicates how (or by what component) some App (or * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: * immutable - required: true - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("grantMechanism") private final GrantMechanism grantMechanism; /** * Each value of grantMechanism indicates how (or by what component) some App (or * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: * immutable - required: true - returned: default - type: string - uniqueness: none * * @return the value */ public GrantMechanism getGrantMechanism() { return grantMechanism; } /** * Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor and * grantMechanism. Used to prevent duplicate Grants. * *

*Added In:** 18.1.2 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: request - type: string - uniqueness: * server */ @com.fasterxml.jackson.annotation.JsonProperty("compositeKey") private final String compositeKey; /** * Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor and * grantMechanism. Used to prevent duplicate Grants. * *

*Added In:** 18.1.2 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: request - type: string - uniqueness: * server * * @return the value */ public String getCompositeKey() { return compositeKey; } /** * If true, this Grant has been fulfilled successfully. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - * required: false - returned: default - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("isFulfilled") private final Boolean isFulfilled; /** * If true, this Grant has been fulfilled successfully. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - * required: false - returned: default - type: boolean - uniqueness: none * * @return the value */ public Boolean getIsFulfilled() { return isFulfilled; } /** * Store granted attribute-values as a string in Javascript Object Notation (JSON) format. * *

*Added In:** 18.3.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite * - required: false - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("grantedAttributeValuesJson") private final String grantedAttributeValuesJson; /** * Store granted attribute-values as a string in Javascript Object Notation (JSON) format. * *

*Added In:** 18.3.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite * - required: false - returned: default - type: string - uniqueness: none * * @return the value */ public String getGrantedAttributeValuesJson() { return grantedAttributeValuesJson; } @com.fasterxml.jackson.annotation.JsonProperty("appEntitlementCollection") private final GrantAppEntitlementCollection appEntitlementCollection; public GrantAppEntitlementCollection getAppEntitlementCollection() { return appEntitlementCollection; } @com.fasterxml.jackson.annotation.JsonProperty("grantor") private final GrantGrantor grantor; public GrantGrantor getGrantor() { return grantor; } @com.fasterxml.jackson.annotation.JsonProperty("grantee") private final GrantGrantee grantee; public GrantGrantee getGrantee() { return grantee; } @com.fasterxml.jackson.annotation.JsonProperty("app") private final GrantApp app; public GrantApp getApp() { return app; } @com.fasterxml.jackson.annotation.JsonProperty("entitlement") private final GrantEntitlement entitlement; public GrantEntitlement getEntitlement() { return entitlement; } @Override public String toString() { return this.toString(true); } /** * Return a string representation of the object. * * @param includeByteArrayContents true to include the full contents of byte arrays * @return string representation */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("Grant("); sb.append("super=").append(super.toString()); sb.append("id=").append(String.valueOf(this.id)); sb.append(", ocid=").append(String.valueOf(this.ocid)); sb.append(", schemas=").append(String.valueOf(this.schemas)); sb.append(", meta=").append(String.valueOf(this.meta)); sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); sb.append(", idcsPreventedOperations=") .append(String.valueOf(this.idcsPreventedOperations)); sb.append(", tags=").append(String.valueOf(this.tags)); sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); sb.append(", idcsLastUpgradedInRelease=") .append(String.valueOf(this.idcsLastUpgradedInRelease)); sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); sb.append(", grantMechanism=").append(String.valueOf(this.grantMechanism)); sb.append(", compositeKey=").append(String.valueOf(this.compositeKey)); sb.append(", isFulfilled=").append(String.valueOf(this.isFulfilled)); sb.append(", grantedAttributeValuesJson=") .append(String.valueOf(this.grantedAttributeValuesJson)); sb.append(", appEntitlementCollection=") .append(String.valueOf(this.appEntitlementCollection)); sb.append(", grantor=").append(String.valueOf(this.grantor)); sb.append(", grantee=").append(String.valueOf(this.grantee)); sb.append(", app=").append(String.valueOf(this.app)); sb.append(", entitlement=").append(String.valueOf(this.entitlement)); sb.append(")"); return sb.toString(); } @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Grant)) { return false; } Grant other = (Grant) o; return java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.ocid, other.ocid) && java.util.Objects.equals(this.schemas, other.schemas) && java.util.Objects.equals(this.meta, other.meta) && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) && java.util.Objects.equals( this.idcsPreventedOperations, other.idcsPreventedOperations) && java.util.Objects.equals(this.tags, other.tags) && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) && java.util.Objects.equals( this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) && java.util.Objects.equals(this.domainOcid, other.domainOcid) && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) && java.util.Objects.equals(this.grantMechanism, other.grantMechanism) && java.util.Objects.equals(this.compositeKey, other.compositeKey) && java.util.Objects.equals(this.isFulfilled, other.isFulfilled) && java.util.Objects.equals( this.grantedAttributeValuesJson, other.grantedAttributeValuesJson) && java.util.Objects.equals( this.appEntitlementCollection, other.appEntitlementCollection) && java.util.Objects.equals(this.grantor, other.grantor) && java.util.Objects.equals(this.grantee, other.grantee) && java.util.Objects.equals(this.app, other.app) && java.util.Objects.equals(this.entitlement, other.entitlement) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = 1; result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); result = (result * PRIME) + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); result = (result * PRIME) + (this.idcsLastModifiedBy == null ? 43 : this.idcsLastModifiedBy.hashCode()); result = (result * PRIME) + (this.idcsPreventedOperations == null ? 43 : this.idcsPreventedOperations.hashCode()); result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); result = (result * PRIME) + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); result = (result * PRIME) + (this.idcsLastUpgradedInRelease == null ? 43 : this.idcsLastUpgradedInRelease.hashCode()); result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); result = (result * PRIME) + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); result = (result * PRIME) + (this.grantMechanism == null ? 43 : this.grantMechanism.hashCode()); result = (result * PRIME) + (this.compositeKey == null ? 43 : this.compositeKey.hashCode()); result = (result * PRIME) + (this.isFulfilled == null ? 43 : this.isFulfilled.hashCode()); result = (result * PRIME) + (this.grantedAttributeValuesJson == null ? 43 : this.grantedAttributeValuesJson.hashCode()); result = (result * PRIME) + (this.appEntitlementCollection == null ? 43 : this.appEntitlementCollection.hashCode()); result = (result * PRIME) + (this.grantor == null ? 43 : this.grantor.hashCode()); result = (result * PRIME) + (this.grantee == null ? 43 : this.grantee.hashCode()); result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); result = (result * PRIME) + (this.entitlement == null ? 43 : this.entitlement.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy