# coding: utf-8
# Copyright (c) 2016, 2026, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200131


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class NonDisclosureAgreement(object):
    """
    A non-disclosure agreement that describes terms of use for a particular compliance document.
    """

    def __init__(self, **kwargs):
        """
        Initializes a new NonDisclosureAgreement object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this NonDisclosureAgreement.
        :type id: str

        :param time_created:
            The value to assign to the time_created property of this NonDisclosureAgreement.
        :type time_created: datetime

        :param document_id:
            The value to assign to the document_id property of this NonDisclosureAgreement.
        :type document_id: str

        :param user_id:
            The value to assign to the user_id property of this NonDisclosureAgreement.
        :type user_id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this NonDisclosureAgreement.
        :type compartment_id: str

        :param agreement_content:
            The value to assign to the agreement_content property of this NonDisclosureAgreement.
        :type agreement_content: str

        """
        self.swagger_types = {
            'id': 'str',
            'time_created': 'datetime',
            'document_id': 'str',
            'user_id': 'str',
            'compartment_id': 'str',
            'agreement_content': 'str'
        }
        self.attribute_map = {
            'id': 'id',
            'time_created': 'timeCreated',
            'document_id': 'documentId',
            'user_id': 'userId',
            'compartment_id': 'compartmentId',
            'agreement_content': 'agreementContent'
        }
        self._id = None
        self._time_created = None
        self._document_id = None
        self._user_id = None
        self._compartment_id = None
        self._agreement_content = None

    @property
    def id(self):
        """
        **[Required]** Gets the id of this NonDisclosureAgreement.
        The `OCID`__ of the non-disclosure agreement, which is assigned
        when you create the non-disclosure agreement as an Oracle Cloud Infrastructure resource and is immutable.

        __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The id of this NonDisclosureAgreement.
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """
        Sets the id of this NonDisclosureAgreement.
        The `OCID`__ of the non-disclosure agreement, which is assigned
        when you create the non-disclosure agreement as an Oracle Cloud Infrastructure resource and is immutable.

        __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param id: The id of this NonDisclosureAgreement.
        :type: str
        """
        self._id = id

    @property
    def time_created(self):
        """
        Gets the time_created of this NonDisclosureAgreement.
        The date and time the non-disclosure agreement was created, expressed in `RFC 3339`__ timestamp format.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_created of this NonDisclosureAgreement.
        :rtype: datetime
        """
        return self._time_created

    @time_created.setter
    def time_created(self, time_created):
        """
        Sets the time_created of this NonDisclosureAgreement.
        The date and time the non-disclosure agreement was created, expressed in `RFC 3339`__ timestamp format.

        __ https://tools.ietf.org/html/rfc3339


        :param time_created: The time_created of this NonDisclosureAgreement.
        :type: datetime
        """
        self._time_created = time_created

    @property
    def document_id(self):
        """
        **[Required]** Gets the document_id of this NonDisclosureAgreement.
        The ID of the compliance document associated with the non-disclosure agreement.


        :return: The document_id of this NonDisclosureAgreement.
        :rtype: str
        """
        return self._document_id

    @document_id.setter
    def document_id(self, document_id):
        """
        Sets the document_id of this NonDisclosureAgreement.
        The ID of the compliance document associated with the non-disclosure agreement.


        :param document_id: The document_id of this NonDisclosureAgreement.
        :type: str
        """
        self._document_id = document_id

    @property
    def user_id(self):
        """
        **[Required]** Gets the user_id of this NonDisclosureAgreement.
        The OCID of the principal that called `CreateNonDisclosureAgreement`__.

        __ https://docs.oracle.com/en-us/iaas/api/#/en/compliancedocs/release/NonDisclosureAgreement/CreateNonDisclosureAgreement


        :return: The user_id of this NonDisclosureAgreement.
        :rtype: str
        """
        return self._user_id

    @user_id.setter
    def user_id(self, user_id):
        """
        Sets the user_id of this NonDisclosureAgreement.
        The OCID of the principal that called `CreateNonDisclosureAgreement`__.

        __ https://docs.oracle.com/en-us/iaas/api/#/en/compliancedocs/release/NonDisclosureAgreement/CreateNonDisclosureAgreement


        :param user_id: The user_id of this NonDisclosureAgreement.
        :type: str
        """
        self._user_id = user_id

    @property
    def compartment_id(self):
        """
        **[Required]** Gets the compartment_id of this NonDisclosureAgreement.
        The OCID of the compartment that contains the non-disclosure agreement.


        :return: The compartment_id of this NonDisclosureAgreement.
        :rtype: str
        """
        return self._compartment_id

    @compartment_id.setter
    def compartment_id(self, compartment_id):
        """
        Sets the compartment_id of this NonDisclosureAgreement.
        The OCID of the compartment that contains the non-disclosure agreement.


        :param compartment_id: The compartment_id of this NonDisclosureAgreement.
        :type: str
        """
        self._compartment_id = compartment_id

    @property
    def agreement_content(self):
        """
        **[Required]** Gets the agreement_content of this NonDisclosureAgreement.
        The actual terms of the non-disclosure agreement between the customer and Oracle.


        :return: The agreement_content of this NonDisclosureAgreement.
        :rtype: str
        """
        return self._agreement_content

    @agreement_content.setter
    def agreement_content(self, agreement_content):
        """
        Sets the agreement_content of this NonDisclosureAgreement.
        The actual terms of the non-disclosure agreement between the customer and Oracle.


        :param agreement_content: The agreement_content of this NonDisclosureAgreement.
        :type: str
        """
        self._agreement_content = agreement_content

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other
