diff --git a/sailpoint/beta/api/identity_attributes_api.py b/sailpoint/beta/api/identity_attributes_api.py index 5a726ffbf..8ab78b7e6 100644 --- a/sailpoint/beta/api/identity_attributes_api.py +++ b/sailpoint/beta/api/identity_attributes_api.py @@ -69,7 +69,7 @@ def create_identity_attribute( ) -> IdentityAttribute: """Create Identity Attribute - Use this API to create a new identity attribute. + Use this API to create a new identity attribute. A token with ORG_ADMIN authority is required to call this API. :param identity_attribute: (required) :type identity_attribute: IdentityAttribute @@ -142,7 +142,7 @@ def create_identity_attribute_with_http_info( ) -> ApiResponse[IdentityAttribute]: """Create Identity Attribute - Use this API to create a new identity attribute. + Use this API to create a new identity attribute. A token with ORG_ADMIN authority is required to call this API. :param identity_attribute: (required) :type identity_attribute: IdentityAttribute @@ -215,7 +215,7 @@ def create_identity_attribute_without_preload_content( ) -> RESTResponseType: """Create Identity Attribute - Use this API to create a new identity attribute. + Use this API to create a new identity attribute. A token with ORG_ADMIN authority is required to call this API. :param identity_attribute: (required) :type identity_attribute: IdentityAttribute @@ -359,7 +359,7 @@ def delete_identity_attribute( ) -> None: """Delete Identity Attribute - This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. + This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. A token with ORG_ADMIN authority is required to call this API. :param name: The attribute's technical name. (required) :type name: str @@ -432,7 +432,7 @@ def delete_identity_attribute_with_http_info( ) -> ApiResponse[None]: """Delete Identity Attribute - This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. + This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. A token with ORG_ADMIN authority is required to call this API. :param name: The attribute's technical name. (required) :type name: str @@ -505,7 +505,7 @@ def delete_identity_attribute_without_preload_content( ) -> RESTResponseType: """Delete Identity Attribute - This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. + This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. A token with ORG_ADMIN authority is required to call this API. :param name: The attribute's technical name. (required) :type name: str @@ -636,7 +636,7 @@ def delete_identity_attributes_in_bulk( ) -> None: """Bulk delete Identity Attributes - Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. + Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. A token with ORG_ADMIN authority is required to call this API. :param identity_attribute_names: (required) :type identity_attribute_names: IdentityAttributeNames @@ -709,7 +709,7 @@ def delete_identity_attributes_in_bulk_with_http_info( ) -> ApiResponse[None]: """Bulk delete Identity Attributes - Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. + Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. A token with ORG_ADMIN authority is required to call this API. :param identity_attribute_names: (required) :type identity_attribute_names: IdentityAttributeNames @@ -782,7 +782,7 @@ def delete_identity_attributes_in_bulk_without_preload_content( ) -> RESTResponseType: """Bulk delete Identity Attributes - Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. + Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. A token with ORG_ADMIN authority is required to call this API. :param identity_attribute_names: (required) :type identity_attribute_names: IdentityAttributeNames @@ -1531,7 +1531,7 @@ def put_identity_attribute( ) -> IdentityAttribute: """Update Identity Attribute - This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. + This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. A token with ORG_ADMIN authority is required to call this API. :param name: The attribute's technical name. (required) :type name: str @@ -1608,7 +1608,7 @@ def put_identity_attribute_with_http_info( ) -> ApiResponse[IdentityAttribute]: """Update Identity Attribute - This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. + This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. A token with ORG_ADMIN authority is required to call this API. :param name: The attribute's technical name. (required) :type name: str @@ -1685,7 +1685,7 @@ def put_identity_attribute_without_preload_content( ) -> RESTResponseType: """Update Identity Attribute - This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. + This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. A token with ORG_ADMIN authority is required to call this API. :param name: The attribute's technical name. (required) :type name: str diff --git a/sailpoint/beta/docs/IdentityAttributesApi.md b/sailpoint/beta/docs/IdentityAttributesApi.md index 1ed12cd3b..0e9d25f70 100644 --- a/sailpoint/beta/docs/IdentityAttributesApi.md +++ b/sailpoint/beta/docs/IdentityAttributesApi.md @@ -17,7 +17,7 @@ Method | HTTP request | Description Create Identity Attribute -Use this API to create a new identity attribute. +Use this API to create a new identity attribute. A token with ORG_ADMIN authority is required to call this API. ### Example @@ -103,7 +103,7 @@ Name | Type | Description | Notes Delete Identity Attribute -This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. +This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. A token with ORG_ADMIN authority is required to call this API. ### Example @@ -186,7 +186,7 @@ void (empty response body) Bulk delete Identity Attributes -Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. +Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. A token with ORG_ADMIN authority is required to call this API. ### Example @@ -447,7 +447,7 @@ Name | Type | Description | Notes Update Identity Attribute -This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. +This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. A token with ORG_ADMIN authority is required to call this API. ### Example diff --git a/sailpoint/beta/docs/Source1.md b/sailpoint/beta/docs/Source1.md index 00acb50e7..3e4d6db71 100644 --- a/sailpoint/beta/docs/Source1.md +++ b/sailpoint/beta/docs/Source1.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Source type. | [optional] -**properties** | **object** | Source properties. | [optional] +**type** | **str** | Attribute mapping type. | [optional] +**properties** | **object** | Attribute mapping properties. | [optional] ## Example diff --git a/sailpoint/beta/models/source1.py b/sailpoint/beta/models/source1.py index 087ef9da2..12a5a1e3e 100644 --- a/sailpoint/beta/models/source1.py +++ b/sailpoint/beta/models/source1.py @@ -30,8 +30,8 @@ class Source1(BaseModel): """ Source1 """ # noqa: E501 - type: Optional[StrictStr] = Field(default=None, description="Source type.") - properties: Optional[Dict[str, Any]] = Field(default=None, description="Source properties.") + type: Optional[StrictStr] = Field(default=None, description="Attribute mapping type.") + properties: Optional[Dict[str, Any]] = Field(default=None, description="Attribute mapping properties.") __properties: ClassVar[List[str]] = ["type", "properties"] model_config = { diff --git a/sailpoint/beta/test/test_identity_attribute.py b/sailpoint/beta/test/test_identity_attribute.py index 1bd2c6579..4c0df6957 100644 --- a/sailpoint/beta/test/test_identity_attribute.py +++ b/sailpoint/beta/test/test_identity_attribute.py @@ -36,22 +36,22 @@ def make_instance(self, include_optional) -> IdentityAttribute: model = IdentityAttribute() if include_optional: return IdentityAttribute( - name = 'uid', - display_name = 'Identity Security Cloud Username', - standard = True, + name = 'costCenter', + display_name = 'Cost Center', + standard = False, type = 'string', multi = False, - searchable = True, + searchable = False, system = False, sources = [ sailpoint.beta.models.source_1.Source_1( type = 'rule', - properties = {attribute=null, sourceName=Employees}, ) + properties = {ruleType=IdentityAttribute, ruleName=Cloud Promote Identity Attribute}, ) ] ) else: return IdentityAttribute( - name = 'uid', + name = 'costCenter', ) """ diff --git a/sailpoint/beta/test/test_source1.py b/sailpoint/beta/test/test_source1.py index 75513e16f..59357dd38 100644 --- a/sailpoint/beta/test/test_source1.py +++ b/sailpoint/beta/test/test_source1.py @@ -37,7 +37,7 @@ def make_instance(self, include_optional) -> Source1: if include_optional: return Source1( type = 'rule', - properties = {attribute=null, sourceName=Employees} + properties = {ruleType=IdentityAttribute, ruleName=Cloud Promote Identity Attribute} ) else: return Source1(