text: # coding: utf-8
  
  """
      Looker API 3.0 Reference
  
      ### Authorization  The Looker API uses Looker **API3** credentials for authorization and access control. Looker admins can create API3 credentials on Looker's **Admin/Users** page. Pass API3 credentials to the **/login** endpoint to obtain a temporary access_token. Include that access_token in the Authorization header of Looker API requests. For details, see [Looker API Authorization](https://looker.com/docs/r/api/authorization)  ### Client SDKs  The Looker API is a RESTful system that should be usable by any programming language capable of making HTTPS requests. Client SDKs for a variety of programming languages can be generated from the Looker API's Swagger JSON metadata to streamline use of the Looker API in your applications. A client SDK for Ruby is available as an example. For more information, see [Looker API Client SDKs](https://looker.com/docs/r/api/client_sdks)  ### Try It Out!  The 'api-docs' page served by the Looker instance includes 'Try It Out!' buttons for each API method. After logging in with API3 credentials, you can use the \"Try It Out!\" buttons to call the API directly from the documentation page to interactively explore API features and responses.  ### Versioning  Future releases of Looker will expand this API release-by-release to securely expose more and more of the core power of Looker to API client applications. API endpoints marked as \"beta\" may receive breaking changes without warning. Stable (non-beta) API endpoints should not receive breaking changes in future releases. For more information, see [Looker API Versioning](https://looker.com/docs/r/api/versioning) 
  
      OpenAPI spec version: 3.0.0
      
      Generated by: https://github.com/swagger-api/swagger-codegen.git
  """
  
  
  from pprint import pformat
  from six import iteritems
  import re
  
  
  class LookmlModelExploreAccessFilter(object):
      """
      NOTE: This class is auto generated by the swagger code generator program.
      Do not edit the class manually.
      """
      def __init__(self, field=None, user_attribute=None):
          """
          LookmlModelExploreAccessFilter - a model defined in Swagger
  
          :param dict swaggerTypes: The key is attribute name
                                    and the value is attribute type.
          :param dict attributeMap: The key is attribute name
                                    and the value is json key in definition.
          """
          self.swagger_types = {
              'field': 'str',
              'user_attribute': 'str'
          }
  
          self.attribute_map = {
              'field': 'field',
              'user_attribute': 'user_attribute'
          }
  
          self._field = field
          self._user_attribute = user_attribute
  
      @property
      def field(self):
          """
          Gets the field of this LookmlModelExploreAccessFilter.
          Field to be filtered
  
          :return: The field of this LookmlModelExploreAccessFilter.
          :rtype: str
          """
          return self._field
  
      @field.setter
      def field(self, field):
          """
          Sets the field of this LookmlModelExploreAccessFilter.
          Field to be filtered
  
          :param field: The field of this LookmlModelExploreAccessFilter.
          :type: str
          """
  
          self._field = field
  
      @property
      def user_attribute(self):
          """
          Gets the user_attribute of this LookmlModelExploreAccessFilter.
          User attribute name
  
          :return: The user_attribute of this LookmlModelExploreAccessFilter.
          :rtype: str
          """
          return self._user_attribute
  
      @user_attribute.setter
      def user_attribute(self, user_attribute):
          """
          Sets the user_attribute of this LookmlModelExploreAccessFilter.
          User attribute name
  
          :param user_attribute: The user_attribute of this LookmlModelExploreAccessFilter.
          :type: str
          """
  
          self._user_attribute = user_attribute
  
      def to_dict(self):
          """
          Returns the model properties as a dict
          """
          result = {}
  
          for attr, _ in 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
  
          return result
  
      def to_str(self):
          """
          Returns the string representation of the model
          """
          return 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, LookmlModelExploreAccessFilter):
              return False
  
          return self.__dict__ == other.__dict__
  
      def __ne__(self, other):
          """
          Returns true if both objects are not equal
          """
          return not self == other
  