# 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 V1Organization(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 = {
        'allow_guest': 'bool',
        'created_at': 'datetime',
        'description': 'str',
        'display_name': 'str',
        'domain': 'str',
        'email': 'str',
        'id': 'str',
        'location': 'str',
        'name': 'str',
        'twitter_username': 'str',
        'updated_at': 'datetime'
    }

    attribute_map = {
        'allow_guest': 'allowGuest',
        'created_at': 'createdAt',
        'description': 'description',
        'display_name': 'displayName',
        'domain': 'domain',
        'email': 'email',
        'id': 'id',
        'location': 'location',
        'name': 'name',
        'twitter_username': 'twitterUsername',
        'updated_at': 'updatedAt'
    }

    def __init__(self, allow_guest: 'bool' =None, created_at: 'datetime' =None, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, id: 'str' =None, location: 'str' =None, name: 'str' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None):  # noqa: E501
        """V1Organization - a model defined in Swagger"""  # noqa: E501
        self._allow_guest = None
        self._created_at = None
        self._description = None
        self._display_name = None
        self._domain = None
        self._email = None
        self._id = None
        self._location = None
        self._name = None
        self._twitter_username = None
        self._updated_at = None
        self.discriminator = None
        if allow_guest is not None:
            self.allow_guest = allow_guest
        if created_at is not None:
            self.created_at = created_at
        if description is not None:
            self.description = description
        if display_name is not None:
            self.display_name = display_name
        if domain is not None:
            self.domain = domain
        if email is not None:
            self.email = email
        if id is not None:
            self.id = id
        if location is not None:
            self.location = location
        if name is not None:
            self.name = name
        if twitter_username is not None:
            self.twitter_username = twitter_username
        if updated_at is not None:
            self.updated_at = updated_at

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


        :return: The allow_guest of this V1Organization.  # noqa: E501
        :rtype: bool
        """
        return self._allow_guest

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


        :param allow_guest: The allow_guest of this V1Organization.  # noqa: E501
        :type: bool
        """

        self._allow_guest = allow_guest

    @property
    def created_at(self) -> 'datetime':
        """Gets the created_at of this V1Organization.  # noqa: E501


        :return: The created_at of this V1Organization.  # noqa: E501
        :rtype: datetime
        """
        return self._created_at

    @created_at.setter
    def created_at(self, created_at: 'datetime'):
        """Sets the created_at of this V1Organization.


        :param created_at: The created_at of this V1Organization.  # noqa: E501
        :type: datetime
        """

        self._created_at = created_at

    @property
    def description(self) -> 'str':
        """Gets the description of this V1Organization.  # noqa: E501


        :return: The description of this V1Organization.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description: 'str'):
        """Sets the description of this V1Organization.


        :param description: The description of this V1Organization.  # noqa: E501
        :type: str
        """

        self._description = description

    @property
    def display_name(self) -> 'str':
        """Gets the display_name of this V1Organization.  # noqa: E501


        :return: The display_name of this V1Organization.  # noqa: E501
        :rtype: str
        """
        return self._display_name

    @display_name.setter
    def display_name(self, display_name: 'str'):
        """Sets the display_name of this V1Organization.


        :param display_name: The display_name of this V1Organization.  # noqa: E501
        :type: str
        """

        self._display_name = display_name

    @property
    def domain(self) -> 'str':
        """Gets the domain of this V1Organization.  # noqa: E501


        :return: The domain of this V1Organization.  # noqa: E501
        :rtype: str
        """
        return self._domain

    @domain.setter
    def domain(self, domain: 'str'):
        """Sets the domain of this V1Organization.


        :param domain: The domain of this V1Organization.  # noqa: E501
        :type: str
        """

        self._domain = domain

    @property
    def email(self) -> 'str':
        """Gets the email of this V1Organization.  # noqa: E501


        :return: The email of this V1Organization.  # noqa: E501
        :rtype: str
        """
        return self._email

    @email.setter
    def email(self, email: 'str'):
        """Sets the email of this V1Organization.


        :param email: The email of this V1Organization.  # noqa: E501
        :type: str
        """

        self._email = email

    @property
    def id(self) -> 'str':
        """Gets the id of this V1Organization.  # noqa: E501


        :return: The id of this V1Organization.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id: 'str'):
        """Sets the id of this V1Organization.


        :param id: The id of this V1Organization.  # noqa: E501
        :type: str
        """

        self._id = id

    @property
    def location(self) -> 'str':
        """Gets the location of this V1Organization.  # noqa: E501


        :return: The location of this V1Organization.  # noqa: E501
        :rtype: str
        """
        return self._location

    @location.setter
    def location(self, location: 'str'):
        """Sets the location of this V1Organization.


        :param location: The location of this V1Organization.  # noqa: E501
        :type: str
        """

        self._location = location

    @property
    def name(self) -> 'str':
        """Gets the name of this V1Organization.  # noqa: E501


        :return: The name of this V1Organization.  # noqa: E501
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name: 'str'):
        """Sets the name of this V1Organization.


        :param name: The name of this V1Organization.  # noqa: E501
        :type: str
        """

        self._name = name

    @property
    def twitter_username(self) -> 'str':
        """Gets the twitter_username of this V1Organization.  # noqa: E501


        :return: The twitter_username of this V1Organization.  # noqa: E501
        :rtype: str
        """
        return self._twitter_username

    @twitter_username.setter
    def twitter_username(self, twitter_username: 'str'):
        """Sets the twitter_username of this V1Organization.


        :param twitter_username: The twitter_username of this V1Organization.  # noqa: E501
        :type: str
        """

        self._twitter_username = twitter_username

    @property
    def updated_at(self) -> 'datetime':
        """Gets the updated_at of this V1Organization.  # noqa: E501


        :return: The updated_at of this V1Organization.  # noqa: E501
        :rtype: datetime
        """
        return self._updated_at

    @updated_at.setter
    def updated_at(self, updated_at: 'datetime'):
        """Sets the updated_at of this V1Organization.


        :param updated_at: The updated_at of this V1Organization.  # noqa: E501
        :type: datetime
        """

        self._updated_at = updated_at

    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(V1Organization, 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: 'V1Organization') -> bool:
        """Returns true if both objects are equal"""
        if not isinstance(other, V1Organization):
            return False

        return self.__dict__ == other.__dict__

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