# coding: utf-8
# Copyright (c) 2016, 2023, 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: 20190111


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 SubscribedServiceUser(object):
    """
    User.
    """

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

        :param name:
            The value to assign to the name property of this SubscribedServiceUser.
        :type name: str

        :param username:
            The value to assign to the username property of this SubscribedServiceUser.
        :type username: str

        :param first_name:
            The value to assign to the first_name property of this SubscribedServiceUser.
        :type first_name: str

        :param last_name:
            The value to assign to the last_name property of this SubscribedServiceUser.
        :type last_name: str

        :param email:
            The value to assign to the email property of this SubscribedServiceUser.
        :type email: str

        :param tca_contact_id:
            The value to assign to the tca_contact_id property of this SubscribedServiceUser.
        :type tca_contact_id: int

        :param tca_cust_accnt_site_id:
            The value to assign to the tca_cust_accnt_site_id property of this SubscribedServiceUser.
        :type tca_cust_accnt_site_id: int

        :param tca_party_id:
            The value to assign to the tca_party_id property of this SubscribedServiceUser.
        :type tca_party_id: int

        """
        self.swagger_types = {
            'name': 'str',
            'username': 'str',
            'first_name': 'str',
            'last_name': 'str',
            'email': 'str',
            'tca_contact_id': 'int',
            'tca_cust_accnt_site_id': 'int',
            'tca_party_id': 'int'
        }

        self.attribute_map = {
            'name': 'name',
            'username': 'username',
            'first_name': 'firstName',
            'last_name': 'lastName',
            'email': 'email',
            'tca_contact_id': 'tcaContactId',
            'tca_cust_accnt_site_id': 'tcaCustAccntSiteId',
            'tca_party_id': 'tcaPartyId'
        }

        self._name = None
        self._username = None
        self._first_name = None
        self._last_name = None
        self._email = None
        self._tca_contact_id = None
        self._tca_cust_accnt_site_id = None
        self._tca_party_id = None

    @property
    def name(self):
        """
        Gets the name of this SubscribedServiceUser.
        Name.


        :return: The name of this SubscribedServiceUser.
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """
        Sets the name of this SubscribedServiceUser.
        Name.


        :param name: The name of this SubscribedServiceUser.
        :type: str
        """
        self._name = name

    @property
    def username(self):
        """
        Gets the username of this SubscribedServiceUser.
        Username.


        :return: The username of this SubscribedServiceUser.
        :rtype: str
        """
        return self._username

    @username.setter
    def username(self, username):
        """
        Sets the username of this SubscribedServiceUser.
        Username.


        :param username: The username of this SubscribedServiceUser.
        :type: str
        """
        self._username = username

    @property
    def first_name(self):
        """
        Gets the first_name of this SubscribedServiceUser.
        First name.


        :return: The first_name of this SubscribedServiceUser.
        :rtype: str
        """
        return self._first_name

    @first_name.setter
    def first_name(self, first_name):
        """
        Sets the first_name of this SubscribedServiceUser.
        First name.


        :param first_name: The first_name of this SubscribedServiceUser.
        :type: str
        """
        self._first_name = first_name

    @property
    def last_name(self):
        """
        Gets the last_name of this SubscribedServiceUser.
        Last name.


        :return: The last_name of this SubscribedServiceUser.
        :rtype: str
        """
        return self._last_name

    @last_name.setter
    def last_name(self, last_name):
        """
        Sets the last_name of this SubscribedServiceUser.
        Last name.


        :param last_name: The last_name of this SubscribedServiceUser.
        :type: str
        """
        self._last_name = last_name

    @property
    def email(self):
        """
        Gets the email of this SubscribedServiceUser.
        Email.


        :return: The email of this SubscribedServiceUser.
        :rtype: str
        """
        return self._email

    @email.setter
    def email(self, email):
        """
        Sets the email of this SubscribedServiceUser.
        Email.


        :param email: The email of this SubscribedServiceUser.
        :type: str
        """
        self._email = email

    @property
    def tca_contact_id(self):
        """
        Gets the tca_contact_id of this SubscribedServiceUser.
        TCA contact ID.


        :return: The tca_contact_id of this SubscribedServiceUser.
        :rtype: int
        """
        return self._tca_contact_id

    @tca_contact_id.setter
    def tca_contact_id(self, tca_contact_id):
        """
        Sets the tca_contact_id of this SubscribedServiceUser.
        TCA contact ID.


        :param tca_contact_id: The tca_contact_id of this SubscribedServiceUser.
        :type: int
        """
        self._tca_contact_id = tca_contact_id

    @property
    def tca_cust_accnt_site_id(self):
        """
        Gets the tca_cust_accnt_site_id of this SubscribedServiceUser.
        TCA customer account site ID.


        :return: The tca_cust_accnt_site_id of this SubscribedServiceUser.
        :rtype: int
        """
        return self._tca_cust_accnt_site_id

    @tca_cust_accnt_site_id.setter
    def tca_cust_accnt_site_id(self, tca_cust_accnt_site_id):
        """
        Sets the tca_cust_accnt_site_id of this SubscribedServiceUser.
        TCA customer account site ID.


        :param tca_cust_accnt_site_id: The tca_cust_accnt_site_id of this SubscribedServiceUser.
        :type: int
        """
        self._tca_cust_accnt_site_id = tca_cust_accnt_site_id

    @property
    def tca_party_id(self):
        """
        Gets the tca_party_id of this SubscribedServiceUser.
        TCA party ID.


        :return: The tca_party_id of this SubscribedServiceUser.
        :rtype: int
        """
        return self._tca_party_id

    @tca_party_id.setter
    def tca_party_id(self, tca_party_id):
        """
        Sets the tca_party_id of this SubscribedServiceUser.
        TCA party ID.


        :param tca_party_id: The tca_party_id of this SubscribedServiceUser.
        :type: int
        """
        self._tca_party_id = tca_party_id

    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
