Skip to content

Commit

Permalink
Automated build 'Automated commit 'Merge pull request #1725 from sail…
Browse files Browse the repository at this point in the history
…point/DEVREL-1620

Fixed schema examples and scopes' by github action: 9769391149' python sdk: 9769393961
  • Loading branch information
developer-relations-sp committed Jul 2, 2024
1 parent e37475e commit 5b41bf5
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
24 changes: 12 additions & 12 deletions sailpoint/beta/api/identity_attributes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions sailpoint/beta/docs/IdentityAttributesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions sailpoint/beta/docs/Source1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions sailpoint/beta/models/source1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
12 changes: 6 additions & 6 deletions sailpoint/beta/test/test_identity_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
"""

Expand Down
2 changes: 1 addition & 1 deletion sailpoint/beta/test/test_source1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5b41bf5

Please sign in to comment.