# coding: utf-8
"""
    external/v1/auth_service.proto

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

    OpenAPI spec version: version not set

    Generated by: https://github.com/swagger-api/swagger-codegen.git

    NOTE
    ----
    standard swagger-codegen-cli for this python client has been modified
    by custom templates. The purpose of these templates is to include
    typing information in the API and Model code. Please refer to the
    main grid repository for more info
"""

import pprint
import re  # noqa: F401

from typing import TYPE_CHECKING

import six

if TYPE_CHECKING:
    from datetime import datetime
    from lightning_cloud.openapi.models import *


class V1UserFeatures(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 = {
        'byoc_enabled': 'bool',
        'code_tab': 'bool',
        'custom_app_domain': 'bool',
        'direct_vm_driver': 'bool',
        'direct_vm_driver_cloud_space_instances': 'bool',
        'pricing_updates': 'bool',
        'product_generator': 'bool',
        'project_selector': 'bool'
    }

    attribute_map = {
        'byoc_enabled': 'byocEnabled',
        'code_tab': 'codeTab',
        'custom_app_domain': 'customAppDomain',
        'direct_vm_driver': 'directVmDriver',
        'direct_vm_driver_cloud_space_instances':
        'directVmDriverCloudSpaceInstances',
        'pricing_updates': 'pricingUpdates',
        'product_generator': 'productGenerator',
        'project_selector': 'projectSelector'
    }

    def __init__(self,
                 byoc_enabled: 'bool' = None,
                 code_tab: 'bool' = None,
                 custom_app_domain: 'bool' = None,
                 direct_vm_driver: 'bool' = None,
                 direct_vm_driver_cloud_space_instances: 'bool' = None,
                 pricing_updates: 'bool' = None,
                 product_generator: 'bool' = None,
                 project_selector: 'bool' = None):  # noqa: E501
        """V1UserFeatures - a model defined in Swagger"""  # noqa: E501
        self._byoc_enabled = None
        self._code_tab = None
        self._custom_app_domain = None
        self._direct_vm_driver = None
        self._direct_vm_driver_cloud_space_instances = None
        self._pricing_updates = None
        self._product_generator = None
        self._project_selector = None
        self.discriminator = None
        if byoc_enabled is not None:
            self.byoc_enabled = byoc_enabled
        if code_tab is not None:
            self.code_tab = code_tab
        if custom_app_domain is not None:
            self.custom_app_domain = custom_app_domain
        if direct_vm_driver is not None:
            self.direct_vm_driver = direct_vm_driver
        if direct_vm_driver_cloud_space_instances is not None:
            self.direct_vm_driver_cloud_space_instances = direct_vm_driver_cloud_space_instances
        if pricing_updates is not None:
            self.pricing_updates = pricing_updates
        if product_generator is not None:
            self.product_generator = product_generator
        if project_selector is not None:
            self.project_selector = project_selector

    @property
    def byoc_enabled(self) -> 'bool':
        """Gets the byoc_enabled of this V1UserFeatures.  # noqa: E501


        :return: The byoc_enabled of this V1UserFeatures.  # noqa: E501
        :rtype: bool
        """
        return self._byoc_enabled

    @byoc_enabled.setter
    def byoc_enabled(self, byoc_enabled: 'bool'):
        """Sets the byoc_enabled of this V1UserFeatures.


        :param byoc_enabled: The byoc_enabled of this V1UserFeatures.  # noqa: E501
        :type: bool
        """

        self._byoc_enabled = byoc_enabled

    @property
    def code_tab(self) -> 'bool':
        """Gets the code_tab of this V1UserFeatures.  # noqa: E501


        :return: The code_tab of this V1UserFeatures.  # noqa: E501
        :rtype: bool
        """
        return self._code_tab

    @code_tab.setter
    def code_tab(self, code_tab: 'bool'):
        """Sets the code_tab of this V1UserFeatures.


        :param code_tab: The code_tab of this V1UserFeatures.  # noqa: E501
        :type: bool
        """

        self._code_tab = code_tab

    @property
    def custom_app_domain(self) -> 'bool':
        """Gets the custom_app_domain of this V1UserFeatures.  # noqa: E501


        :return: The custom_app_domain of this V1UserFeatures.  # noqa: E501
        :rtype: bool
        """
        return self._custom_app_domain

    @custom_app_domain.setter
    def custom_app_domain(self, custom_app_domain: 'bool'):
        """Sets the custom_app_domain of this V1UserFeatures.


        :param custom_app_domain: The custom_app_domain of this V1UserFeatures.  # noqa: E501
        :type: bool
        """

        self._custom_app_domain = custom_app_domain

    @property
    def direct_vm_driver(self) -> 'bool':
        """Gets the direct_vm_driver of this V1UserFeatures.  # noqa: E501


        :return: The direct_vm_driver of this V1UserFeatures.  # noqa: E501
        :rtype: bool
        """
        return self._direct_vm_driver

    @direct_vm_driver.setter
    def direct_vm_driver(self, direct_vm_driver: 'bool'):
        """Sets the direct_vm_driver of this V1UserFeatures.


        :param direct_vm_driver: The direct_vm_driver of this V1UserFeatures.  # noqa: E501
        :type: bool
        """

        self._direct_vm_driver = direct_vm_driver

    @property
    def direct_vm_driver_cloud_space_instances(self) -> 'bool':
        """Gets the direct_vm_driver_cloud_space_instances of this V1UserFeatures.  # noqa: E501


        :return: The direct_vm_driver_cloud_space_instances of this V1UserFeatures.  # noqa: E501
        :rtype: bool
        """
        return self._direct_vm_driver_cloud_space_instances

    @direct_vm_driver_cloud_space_instances.setter
    def direct_vm_driver_cloud_space_instances(
            self, direct_vm_driver_cloud_space_instances: 'bool'):
        """Sets the direct_vm_driver_cloud_space_instances of this V1UserFeatures.


        :param direct_vm_driver_cloud_space_instances: The direct_vm_driver_cloud_space_instances of this V1UserFeatures.  # noqa: E501
        :type: bool
        """

        self._direct_vm_driver_cloud_space_instances = direct_vm_driver_cloud_space_instances

    @property
    def pricing_updates(self) -> 'bool':
        """Gets the pricing_updates of this V1UserFeatures.  # noqa: E501


        :return: The pricing_updates of this V1UserFeatures.  # noqa: E501
        :rtype: bool
        """
        return self._pricing_updates

    @pricing_updates.setter
    def pricing_updates(self, pricing_updates: 'bool'):
        """Sets the pricing_updates of this V1UserFeatures.


        :param pricing_updates: The pricing_updates of this V1UserFeatures.  # noqa: E501
        :type: bool
        """

        self._pricing_updates = pricing_updates

    @property
    def product_generator(self) -> 'bool':
        """Gets the product_generator of this V1UserFeatures.  # noqa: E501


        :return: The product_generator of this V1UserFeatures.  # noqa: E501
        :rtype: bool
        """
        return self._product_generator

    @product_generator.setter
    def product_generator(self, product_generator: 'bool'):
        """Sets the product_generator of this V1UserFeatures.


        :param product_generator: The product_generator of this V1UserFeatures.  # noqa: E501
        :type: bool
        """

        self._product_generator = product_generator

    @property
    def project_selector(self) -> 'bool':
        """Gets the project_selector of this V1UserFeatures.  # noqa: E501


        :return: The project_selector of this V1UserFeatures.  # noqa: E501
        :rtype: bool
        """
        return self._project_selector

    @project_selector.setter
    def project_selector(self, project_selector: 'bool'):
        """Sets the project_selector of this V1UserFeatures.


        :param project_selector: The project_selector of this V1UserFeatures.  # noqa: E501
        :type: bool
        """

        self._project_selector = project_selector

    def to_dict(self) -> dict:
        """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(V1UserFeatures, dict):
            for key, value in self.items():
                result[key] = value

        return result

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

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

    def __eq__(self, other: 'V1UserFeatures') -> bool:
        """Returns true if both objects are equal"""
        if not isinstance(other, V1UserFeatures):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other: 'V1UserFeatures') -> bool:
        """Returns true if both objects are not equal"""
        return not self == other
