VerticalsUserUpdateObj¶
- pydantic model openapi_client.models.verticals_user_update_obj.VerticalsUserUpdateObj¶
PUT /verticals/{id}/users body. Username is required. Other fields apply only for BI grant/revoke/upgrade as described on the operation.
- Fields:
- field username: Optional[StrictStr] = None (alias 'Username')¶
Target Amorphic user ID. User must exist and be active in Cognito.
- field quicksight_access_type: Optional[StrictStr] = None (alias 'QuicksightAccessType')¶
Required for BI grant-access and upgrade-role. ADMIN, AUTHOR, or READER. When IsQEnabled=yes, ADMIN_PRO, AUTHOR_PRO, and READER_PRO are also valid.
- field enable_gen_ai_features: Optional[StrictBool] = None (alias 'EnableGenAIFeatures')¶
Optional. Forwarded on BI upgrade-role when present.
- field delete_action: Optional[StrictStr] = None¶
BI revoke-access only. delete_resources or transfer_resources. Ignored for read-only target users (they have no resources).
- field new_owner_user: Optional[StrictStr] = None¶
Required when delete_action is transfer_resources. Must be a different Amorphic user with owner or editor on the BI vertical and registered in QuickSight.
- field additional_properties: Dict[str, Any] = {}¶
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of VerticalsUserUpdateObj from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
Fields in self.additional_properties are added to the output dict.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of VerticalsUserUpdateObj from a dict
- Return type:
Optional[Self]