<reponame>SyntropyNet/syntropy-python-sdk
# coding: utf-8

"""
    syntropy-auth-service

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: 0.1.0
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import pprint
import re  # noqa: F401

import six


class UserSettingsObject(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """

    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        "show_onboarding": "bool",
        "show_registration_form": "bool",
        "user_timezone": "str",
        "auth_sources": "list[AuthSource]",
        "network_disable_sdn_connections": "bool",
        "two_factors_authentication": "bool",
    }

    attribute_map = {
        "show_onboarding": "show_onboarding",
        "show_registration_form": "show_registration_form",
        "user_timezone": "user_timezone",
        "auth_sources": "auth_sources",
        "network_disable_sdn_connections": "network_disable_sdn_connections",
        "two_factors_authentication": "two_factors_authentication",
    }

    def __init__(
        self,
        show_onboarding=None,
        show_registration_form=None,
        user_timezone=None,
        auth_sources=None,
        network_disable_sdn_connections=None,
        two_factors_authentication=None,
    ):  # noqa: E501
        """UserSettingsObject - a model defined in Swagger"""  # noqa: E501
        self._show_onboarding = None
        self._show_registration_form = None
        self._user_timezone = None
        self._auth_sources = None
        self._network_disable_sdn_connections = None
        self._two_factors_authentication = None
        self.discriminator = None
        if show_onboarding is not None:
            self.show_onboarding = show_onboarding
        if show_registration_form is not None:
            self.show_registration_form = show_registration_form
        if user_timezone is not None:
            self.user_timezone = user_timezone
        if auth_sources is not None:
            self.auth_sources = auth_sources
        if network_disable_sdn_connections is not None:
            self.network_disable_sdn_connections = network_disable_sdn_connections
        if two_factors_authentication is not None:
            self.two_factors_authentication = two_factors_authentication

    @property
    def show_onboarding(self):
        """Gets the show_onboarding of this UserSettingsObject.  # noqa: E501


        :return: The show_onboarding of this UserSettingsObject.  # noqa: E501
        :rtype: bool
        """
        return self._show_onboarding

    @show_onboarding.setter
    def show_onboarding(self, show_onboarding):
        """Sets the show_onboarding of this UserSettingsObject.


        :param show_onboarding: The show_onboarding of this UserSettingsObject.  # noqa: E501
        :type: bool
        """

        self._show_onboarding = show_onboarding

    @property
    def show_registration_form(self):
        """Gets the show_registration_form of this UserSettingsObject.  # noqa: E501


        :return: The show_registration_form of this UserSettingsObject.  # noqa: E501
        :rtype: bool
        """
        return self._show_registration_form

    @show_registration_form.setter
    def show_registration_form(self, show_registration_form):
        """Sets the show_registration_form of this UserSettingsObject.


        :param show_registration_form: The show_registration_form of this UserSettingsObject.  # noqa: E501
        :type: bool
        """

        self._show_registration_form = show_registration_form

    @property
    def user_timezone(self):
        """Gets the user_timezone of this UserSettingsObject.  # noqa: E501


        :return: The user_timezone of this UserSettingsObject.  # noqa: E501
        :rtype: str
        """
        return self._user_timezone

    @user_timezone.setter
    def user_timezone(self, user_timezone):
        """Sets the user_timezone of this UserSettingsObject.


        :param user_timezone: The user_timezone of this UserSettingsObject.  # noqa: E501
        :type: str
        """

        self._user_timezone = user_timezone

    @property
    def auth_sources(self):
        """Gets the auth_sources of this UserSettingsObject.  # noqa: E501


        :return: The auth_sources of this UserSettingsObject.  # noqa: E501
        :rtype: list[AuthSource]
        """
        return self._auth_sources

    @auth_sources.setter
    def auth_sources(self, auth_sources):
        """Sets the auth_sources of this UserSettingsObject.


        :param auth_sources: The auth_sources of this UserSettingsObject.  # noqa: E501
        :type: list[AuthSource]
        """

        self._auth_sources = auth_sources

    @property
    def network_disable_sdn_connections(self):
        """Gets the network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501


        :return: The network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501
        :rtype: bool
        """
        return self._network_disable_sdn_connections

    @network_disable_sdn_connections.setter
    def network_disable_sdn_connections(self, network_disable_sdn_connections):
        """Sets the network_disable_sdn_connections of this UserSettingsObject.


        :param network_disable_sdn_connections: The network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501
        :type: bool
        """

        self._network_disable_sdn_connections = network_disable_sdn_connections

    @property
    def two_factors_authentication(self):
        """Gets the two_factors_authentication of this UserSettingsObject.  # noqa: E501


        :return: The two_factors_authentication of this UserSettingsObject.  # noqa: E501
        :rtype: bool
        """
        return self._two_factors_authentication

    @two_factors_authentication.setter
    def two_factors_authentication(self, two_factors_authentication):
        """Sets the two_factors_authentication of this UserSettingsObject.


        :param two_factors_authentication: The two_factors_authentication of this UserSettingsObject.  # noqa: E501
        :type: bool
        """

        self._two_factors_authentication = two_factors_authentication

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(
                    map(lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value)
                )
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(
                    map(
                        lambda item: (item[0], item[1].to_dict())
                        if hasattr(item[1], "to_dict")
                        else item,
                        value.items(),
                    )
                )
            else:
                result[attr] = value
        if issubclass(UserSettingsObject, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, UserSettingsObject):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other

# coding: utf-8

"""
    syntropy-auth-service

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: 0.1.0
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import pprint
import re  # noqa: F401

import six


class UserSettingsObject(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """

    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        "show_onboarding": "bool",
        "show_registration_form": "bool",
        "user_timezone": "str",
        "auth_sources": "list[AuthSource]",
        "network_disable_sdn_connections": "bool",
        "two_factors_authentication": "bool",
    }

    attribute_map = {
        "show_onboarding": "show_onboarding",
        "show_registration_form": "show_registration_form",
        "user_timezone": "user_timezone",
        "auth_sources": "auth_sources",
        "network_disable_sdn_connections": "network_disable_sdn_connections",
        "two_factors_authentication": "two_factors_authentication",
    }

    def __init__(
        self,
        show_onboarding=None,
        show_registration_form=None,
        user_timezone=None,
        auth_sources=None,
        network_disable_sdn_connections=None,
        two_factors_authentication=None,
    ):  # noqa: E501
        """UserSettingsObject - a model defined in Swagger"""  # noqa: E501
        self._show_onboarding = None
        self._show_registration_form = None
        self._user_timezone = None
        self._auth_sources = None
        self._network_disable_sdn_connections = None
        self._two_factors_authentication = None
        self.discriminator = None
        if show_onboarding is not None:
            self.show_onboarding = show_onboarding
        if show_registration_form is not None:
            self.show_registration_form = show_registration_form
        if user_timezone is not None:
            self.user_timezone = user_timezone
        if auth_sources is not None:
            self.auth_sources = auth_sources
        if network_disable_sdn_connections is not None:
            self.network_disable_sdn_connections = network_disable_sdn_connections
        if two_factors_authentication is not None:
            self.two_factors_authentication = two_factors_authentication

    @property
    def show_onboarding(self):
        """Gets the show_onboarding of this UserSettingsObject.  # noqa: E501


        :return: The show_onboarding of this UserSettingsObject.  # noqa: E501
        :rtype: bool
        """
        return self._show_onboarding

    @show_onboarding.setter
    def show_onboarding(self, show_onboarding):
        """Sets the show_onboarding of this UserSettingsObject.


        :param show_onboarding: The show_onboarding of this UserSettingsObject.  # noqa: E501
        :type: bool
        """

        self._show_onboarding = show_onboarding

    @property
    def show_registration_form(self):
        """Gets the show_registration_form of this UserSettingsObject.  # noqa: E501


        :return: The show_registration_form of this UserSettingsObject.  # noqa: E501
        :rtype: bool
        """
        return self._show_registration_form

    @show_registration_form.setter
    def show_registration_form(self, show_registration_form):
        """Sets the show_registration_form of this UserSettingsObject.


        :param show_registration_form: The show_registration_form of this UserSettingsObject.  # noqa: E501
        :type: bool
        """

        self._show_registration_form = show_registration_form

    @property
    def user_timezone(self):
        """Gets the user_timezone of this UserSettingsObject.  # noqa: E501


        :return: The user_timezone of this UserSettingsObject.  # noqa: E501
        :rtype: str
        """
        return self._user_timezone

    @user_timezone.setter
    def user_timezone(self, user_timezone):
        """Sets the user_timezone of this UserSettingsObject.


        :param user_timezone: The user_timezone of this UserSettingsObject.  # noqa: E501
        :type: str
        """

        self._user_timezone = user_timezone

    @property
    def auth_sources(self):
        """Gets the auth_sources of this UserSettingsObject.  # noqa: E501


        :return: The auth_sources of this UserSettingsObject.  # noqa: E501
        :rtype: list[AuthSource]
        """
        return self._auth_sources

    @auth_sources.setter
    def auth_sources(self, auth_sources):
        """Sets the auth_sources of this UserSettingsObject.


        :param auth_sources: The auth_sources of this UserSettingsObject.  # noqa: E501
        :type: list[AuthSource]
        """

        self._auth_sources = auth_sources

    @property
    def network_disable_sdn_connections(self):
        """Gets the network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501


        :return: The network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501
        :rtype: bool
        """
        return self._network_disable_sdn_connections

    @network_disable_sdn_connections.setter
    def network_disable_sdn_connections(self, network_disable_sdn_connections):
        """Sets the network_disable_sdn_connections of this UserSettingsObject.


        :param network_disable_sdn_connections: The network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501
        :type: bool
        """

        self._network_disable_sdn_connections = network_disable_sdn_connections

    @property
    def two_factors_authentication(self):
        """Gets the two_factors_authentication of this UserSettingsObject.  # noqa: E501


        :return: The two_factors_authentication of this UserSettingsObject.  # noqa: E501
        :rtype: bool
        """
        return self._two_factors_authentication

    @two_factors_authentication.setter
    def two_factors_authentication(self, two_factors_authentication):
        """Sets the two_factors_authentication of this UserSettingsObject.


        :param two_factors_authentication: The two_factors_authentication of this UserSettingsObject.  # noqa: E501
        :type: bool
        """

        self._two_factors_authentication = two_factors_authentication

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(
                    map(lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value)
                )
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(
                    map(
                        lambda item: (item[0], item[1].to_dict())
                        if hasattr(item[1], "to_dict")
                        else item,
                        value.items(),
                    )
                )
            else:
                result[attr] = value
        if issubclass(UserSettingsObject, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, UserSettingsObject):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other
# coding: utf-8 syntropy-auth-service      No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501      OpenAPI spec version: 0.1.0          Generated by: https://github.com/swagger-api/swagger-codegen.git # noqa: F401 NOTE: This class is auto generated by the swagger code generator program.      Do not edit the class manually. Attributes:       swagger_types (dict): The key is attribute name                             and the value is attribute type.       attribute_map (dict): The key is attribute name                             and the value is json key in definition. # noqa: E501 UserSettingsObject - a model defined in Swagger # noqa: E501 Gets the show_onboarding of this UserSettingsObject.  # noqa: E501           :return: The show_onboarding of this UserSettingsObject.  # noqa: E501         :rtype: bool Sets the show_onboarding of this UserSettingsObject.           :param show_onboarding: The show_onboarding of this UserSettingsObject.  # noqa: E501         :type: bool Gets the show_registration_form of this UserSettingsObject.  # noqa: E501           :return: The show_registration_form of this UserSettingsObject.  # noqa: E501         :rtype: bool Sets the show_registration_form of this UserSettingsObject.           :param show_registration_form: The show_registration_form of this UserSettingsObject.  # noqa: E501         :type: bool Gets the user_timezone of this UserSettingsObject.  # noqa: E501           :return: The user_timezone of this UserSettingsObject.  # noqa: E501         :rtype: str Sets the user_timezone of this UserSettingsObject.           :param user_timezone: The user_timezone of this UserSettingsObject.  # noqa: E501         :type: str Gets the auth_sources of this UserSettingsObject.  # noqa: E501           :return: The auth_sources of this UserSettingsObject.  # noqa: E501         :rtype: list[AuthSource] Sets the auth_sources of this UserSettingsObject.           :param auth_sources: The auth_sources of this UserSettingsObject.  # noqa: E501         :type: list[AuthSource] Gets the network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501           :return: The network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501         :rtype: bool Sets the network_disable_sdn_connections of this UserSettingsObject.           :param network_disable_sdn_connections: The network_disable_sdn_connections of this UserSettingsObject.  # noqa: E501         :type: bool Gets the two_factors_authentication of this UserSettingsObject.  # noqa: E501           :return: The two_factors_authentication of this UserSettingsObject.  # noqa: E501         :rtype: bool Sets the two_factors_authentication of this UserSettingsObject.           :param two_factors_authentication: The two_factors_authentication of this UserSettingsObject.  # noqa: E501         :type: bool Returns the model properties as a dict Returns the string representation of the model For `print` and `pprint` Returns true if both objects are equal Returns true if both objects are not equal