text: # coding: utf-8
  
  """
      Apteco API
  
      An API to allow access to Apteco Marketing Suite resources  # noqa: E501
  
      The version of the OpenAPI document: v2
      Contact: support@apteco.com
      Generated by: https://openapi-generator.tech
  """
  
  
  import pprint
  import re  # noqa: F401
  
  import six
  
  
  class SelectionModifiers(object):
      """NOTE: This class is auto generated by OpenAPI Generator.
      Ref: https://openapi-generator.tech
  
      Do not edit the class manually.
      """
  
      """
      Attributes:
        openapi_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.
      """
      openapi_types = {
          'limits': 'Limits',
          'top_n': 'TopN',
          'n_per': 'NPer',
          'rfv': 'RFV'
      }
  
      attribute_map = {
          'limits': 'limits',
          'top_n': 'topN',
          'n_per': 'nPer',
          'rfv': 'rfv'
      }
  
      def __init__(self, limits=None, top_n=None, n_per=None, rfv=None):  # noqa: E501
          """SelectionModifiers - a model defined in OpenAPI"""  # noqa: E501
  
          self._limits = None
          self._top_n = None
          self._n_per = None
          self._rfv = None
          self.discriminator = None
  
          if limits is not None:
              self.limits = limits
          if top_n is not None:
              self.top_n = top_n
          if n_per is not None:
              self.n_per = n_per
          if rfv is not None:
              self.rfv = rfv
  
      @property
      def limits(self):
          """Gets the limits of this SelectionModifiers.  # noqa: E501
  
  
          :return: The limits of this SelectionModifiers.  # noqa: E501
          :rtype: Limits
          """
          return self._limits
  
      @limits.setter
      def limits(self, limits):
          """Sets the limits of this SelectionModifiers.
  
  
          :param limits: The limits of this SelectionModifiers.  # noqa: E501
          :type: Limits
          """
  
          self._limits = limits
  
      @property
      def top_n(self):
          """Gets the top_n of this SelectionModifiers.  # noqa: E501
  
  
          :return: The top_n of this SelectionModifiers.  # noqa: E501
          :rtype: TopN
          """
          return self._top_n
  
      @top_n.setter
      def top_n(self, top_n):
          """Sets the top_n of this SelectionModifiers.
  
  
          :param top_n: The top_n of this SelectionModifiers.  # noqa: E501
          :type: TopN
          """
  
          self._top_n = top_n
  
      @property
      def n_per(self):
          """Gets the n_per of this SelectionModifiers.  # noqa: E501
  
  
          :return: The n_per of this SelectionModifiers.  # noqa: E501
          :rtype: NPer
          """
          return self._n_per
  
      @n_per.setter
      def n_per(self, n_per):
          """Sets the n_per of this SelectionModifiers.
  
  
          :param n_per: The n_per of this SelectionModifiers.  # noqa: E501
          :type: NPer
          """
  
          self._n_per = n_per
  
      @property
      def rfv(self):
          """Gets the rfv of this SelectionModifiers.  # noqa: E501
  
  
          :return: The rfv of this SelectionModifiers.  # noqa: E501
          :rtype: RFV
          """
          return self._rfv
  
      @rfv.setter
      def rfv(self, rfv):
          """Sets the rfv of this SelectionModifiers.
  
  
          :param rfv: The rfv of this SelectionModifiers.  # noqa: E501
          :type: RFV
          """
  
          self._rfv = rfv
  
      def to_dict(self):
          """Returns the model properties as a dict"""
          result = {}
  
          for attr, _ in six.iteritems(self.openapi_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 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, SelectionModifiers):
              return False
  
          return self.__dict__ == other.__dict__
  
      def __ne__(self, other):
          """Returns true if both objects are not equal"""
          return not self == other
  