a OfN@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d d Z ed dZejddZeddZejddZeddZejddZeddZejddZeddZejddZddZddZd d!Zd"S)# ActivityLogzj The log of the action taken by different persona on the access request, e.g. approve/deny/revoke LEVEL1LEVEL2LEVEL3ADMINOPERATORAPPROVEDENYREVOKECANCELcKsFdddddd|_dddddd|_d |_d |_d |_d |_d |_d S) a Initializes a new ActivityLog object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param user_id: The value to assign to the user_id property of this ActivityLog. :type user_id: str :param user_level: The value to assign to the user_level property of this ActivityLog. Allowed values for this property are: "LEVEL1", "LEVEL2", "LEVEL3", "ADMIN", "OPERATOR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type user_level: str :param action: The value to assign to the action property of this ActivityLog. Allowed values for this property are: "APPROVE", "DENY", "REVOKE", "CANCEL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action: str :param message: The value to assign to the message property of this ActivityLog. :type message: str :param time_updated: The value to assign to the time_updated property of this ActivityLog. :type time_updated: datetime strdatetime)user_id user_levelactionmessage time_updateduserId userLevelrr timeUpdatedN) swagger_types attribute_map_user_id _user_level_action_message _time_updated)selfkwargsr#/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/lockbox/models/activity_log.py__init__4s" zActivityLog.__init__cCs|jS)z Gets the user_id of this ActivityLog. User OCID of the persona :return: The user_id of this ActivityLog. :rtype: str rr!r#r#r$rhs zActivityLog.user_idcCs ||_dS)z Sets the user_id of this ActivityLog. User OCID of the persona :param user_id: The user_id of this ActivityLog. :type: str Nr&)r!rr#r#r$rts cCs|jS)ax Gets the user_level of this ActivityLog. Level of the persona Allowed values for this property are: "LEVEL1", "LEVEL2", "LEVEL3", "ADMIN", "OPERATOR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The user_level of this ActivityLog. :rtype: str )rr'r#r#r$rs zActivityLog.user_levelcCs gd}t||sd}||_dS)z Sets the user_level of this ActivityLog. Level of the persona :param user_level: The user_level of this ActivityLog. :type: str )rrr r r UNKNOWN_ENUM_VALUEN)rr)r!rallowed_valuesr#r#r$rs  cCs|jS)aj Gets the action of this ActivityLog. The action take by persona Allowed values for this property are: "APPROVE", "DENY", "REVOKE", "CANCEL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The action of this ActivityLog. :rtype: str )rr'r#r#r$rs zActivityLog.actioncCs gd}t||sd}||_dS)z Sets the action of this ActivityLog. The action take by persona :param action: The action of this ActivityLog. :type: str )r r rrr(N)rr)r!rr)r#r#r$rs  cCs|jS)z Gets the message of this ActivityLog. The action justification or details. :return: The message of this ActivityLog. :rtype: str rr'r#r#r$rs zActivityLog.messagecCs ||_dS)z Sets the message of this ActivityLog. The action justification or details. :param message: The message of this ActivityLog. :type: str Nr*)r!rr#r#r$rs cCs|jS)a3 Gets the time_updated of this ActivityLog. The time the action was taken. Format is defined by `RFC3339`__. Example: `2020-01-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this ActivityLog. :rtype: datetime r r'r#r#r$rs zActivityLog.time_updatedcCs ||_dS)a> Sets the time_updated of this ActivityLog. The time the action was taken. Format is defined by `RFC3339`__. Example: `2020-01-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this ActivityLog. :type: datetime Nr+)r!rr#r#r$rs cCst|SN)rr'r#r#r$__repr__szActivityLog.__repr__cCs|dur dS|j|jkS)NF)__dict__r!otherr#r#r$__eq__szActivityLog.__eq__cCs ||k Sr,r#r/r#r#r$__ne__szActivityLog.__ne__N)__name__ __module__ __qualname____doc__USER_LEVEL_LEVEL1USER_LEVEL_LEVEL2USER_LEVEL_LEVEL3USER_LEVEL_ADMINUSER_LEVEL_OPERATORACTION_APPROVE ACTION_DENY ACTION_REVOKE ACTION_CANCELr%propertyrsetterrrrrr-r1r2r#r#r#r$r sD4          rN)oci.utilrrroci.decoratorsrobjectrr#r#r#r$s