Skip to content

Commit

Permalink
Automated build 'Automated commit 'Merge pull request #1912 from sail…
Browse files Browse the repository at this point in the history
…point/fix/searchget

update search get 200 reponse schemas' by github action: 12300734614' python sdk: 12300742469
  • Loading branch information
developer-relations-sp committed Dec 12, 2024
1 parent 53db367 commit e61c04a
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions sailpoint/v2024/docs/EventAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**id** | **str** | The unique ID of the trigger |
**filter_** | **str** | JSON path expression that will limit which events the trigger will fire on | [optional]
**description** | **str** | Description of the event trigger | [optional]
**attribute_to_filter** | **str** | The attribute to filter on | [optional]

## Example

Expand Down
1 change: 1 addition & 0 deletions sailpoint/v2024/docs/WorkflowTriggerAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**id** | **str** | The unique ID of the trigger |
**filter_** | **str** | JSON path expression that will limit which events the trigger will fire on | [optional]
**description** | **str** | Additonal context about the external trigger | [optional]
**attribute_to_filter** | **str** | The attribute to filter on | [optional]
**name** | **str** | A unique name for the external trigger | [optional]
**client_id** | **str** | OAuth Client ID to authenticate with this trigger | [optional]
**url** | **str** | URL to invoke this workflow | [optional]
Expand Down
6 changes: 4 additions & 2 deletions sailpoint/v2024/models/event_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class EventAttributes(BaseModel):
id: StrictStr = Field(description="The unique ID of the trigger")
filter_: Optional[StrictStr] = Field(default=None, description="JSON path expression that will limit which events the trigger will fire on", alias="filter.$")
description: Optional[StrictStr] = Field(default=None, description="Description of the event trigger")
__properties: ClassVar[List[str]] = ["id", "filter.$", "description"]
attribute_to_filter: Optional[StrictStr] = Field(default=None, description="The attribute to filter on", alias="attributeToFilter")
__properties: ClassVar[List[str]] = ["id", "filter.$", "description", "attributeToFilter"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -84,7 +85,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"id": obj.get("id"),
"filter.$": obj.get("filter.$"),
"description": obj.get("description")
"description": obj.get("description"),
"attributeToFilter": obj.get("attributeToFilter")
})
return _obj

Expand Down
3 changes: 2 additions & 1 deletion sailpoint/v2024/test/test_event_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def make_instance(self, include_optional) -> EventAttributes:
return EventAttributes(
id = 'idn:identity-attributes-changed',
filter_ = '$.changes[?(@.attribute == 'manager')]',
description = ''
description = 'Triggered when an identity's manager attribute changes',
attribute_to_filter = 'LifecycleState'
)
else:
return EventAttributes(
Expand Down
1 change: 1 addition & 0 deletions sailpoint/v2024/test/test_workflow_trigger_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> WorkflowTriggerAttributes:
id = 'idn:identity-attributes-changed',
filter_ = '$.changes[?(@.attribute == 'manager')]',
description = 'Run a search and notify the results',
attribute_to_filter = 'LifecycleState',
name = 'search-and-notify',
client_id = '87e239b2-b85b-4bde-b9a7-55bf304ddcdc',
url = 'https://tenant.api.identitynow.com/beta/workflows/execute/external/c79e0079-562c-4df5-aa73-60a9e25c916d',
Expand Down
1 change: 1 addition & 0 deletions sailpoint/v3/docs/EventAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**id** | **str** | The unique ID of the trigger |
**filter_** | **str** | JSON path expression that will limit which events the trigger will fire on | [optional]
**description** | **str** | Description of the event trigger | [optional]
**attribute_to_filter** | **str** | The attribute to filter on | [optional]

## Example

Expand Down
1 change: 1 addition & 0 deletions sailpoint/v3/docs/WorkflowTriggerAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**id** | **str** | The unique ID of the trigger |
**filter_** | **str** | JSON path expression that will limit which events the trigger will fire on | [optional]
**description** | **str** | Additonal context about the external trigger | [optional]
**attribute_to_filter** | **str** | The attribute to filter on | [optional]
**name** | **str** | A unique name for the external trigger | [optional]
**client_id** | **str** | OAuth Client ID to authenticate with this trigger | [optional]
**url** | **str** | URL to invoke this workflow | [optional]
Expand Down
6 changes: 4 additions & 2 deletions sailpoint/v3/models/event_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class EventAttributes(BaseModel):
id: StrictStr = Field(description="The unique ID of the trigger")
filter_: Optional[StrictStr] = Field(default=None, description="JSON path expression that will limit which events the trigger will fire on", alias="filter.$")
description: Optional[StrictStr] = Field(default=None, description="Description of the event trigger")
__properties: ClassVar[List[str]] = ["id", "filter.$", "description"]
attribute_to_filter: Optional[StrictStr] = Field(default=None, description="The attribute to filter on", alias="attributeToFilter")
__properties: ClassVar[List[str]] = ["id", "filter.$", "description", "attributeToFilter"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -84,7 +85,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"id": obj.get("id"),
"filter.$": obj.get("filter.$"),
"description": obj.get("description")
"description": obj.get("description"),
"attributeToFilter": obj.get("attributeToFilter")
})
return _obj

Expand Down
3 changes: 2 additions & 1 deletion sailpoint/v3/test/test_event_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def make_instance(self, include_optional) -> EventAttributes:
return EventAttributes(
id = 'idn:identity-attributes-changed',
filter_ = '$.changes[?(@.attribute == 'manager')]',
description = ''
description = 'Triggered when an identity's manager attribute changes',
attribute_to_filter = 'LifecycleState'
)
else:
return EventAttributes(
Expand Down
1 change: 1 addition & 0 deletions sailpoint/v3/test/test_workflow_trigger_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> WorkflowTriggerAttributes:
id = 'idn:identity-attributes-changed',
filter_ = '$.changes[?(@.attribute == 'manager')]',
description = 'Run a search and notify the results',
attribute_to_filter = 'LifecycleState',
name = 'search-and-notify',
client_id = '87e239b2-b85b-4bde-b9a7-55bf304ddcdc',
url = 'https://tenant.api.identitynow.com/beta/workflows/execute/external/c79e0079-562c-4df5-aa73-60a9e25c916d',
Expand Down

0 comments on commit e61c04a

Please sign in to comment.