"""
    HCL AppScan on Cloud (v2)

    This API allows you to interact with the service. The API allows you to perform many of the operations available in the UI and more.</br>For authentication, use the relevant APIs in the Account section. A successful authentication response includes a bearer token for use in subsequent API calls. Pasting this token in the 'Access token' field above will automatically add the authorization header to any API call that requires a valid session.

    OpenAPI spec version: v2

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


import pprint
import re  # noqa: F401

from pyasoc.configuration import Configuration


class SystemWebHttpODataQuerySkipQueryOption:
    """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 = {
        "context": "SystemWebHttpODataODataQueryContext",
        "raw_value": "str",
        "value": "int",
        "validator": "SystemWebHttpODataQueryValidatorsSkipQueryValidator",
    }

    attribute_map = {
        "context": "Context",
        "raw_value": "RawValue",
        "value": "Value",
        "validator": "Validator",
    }

    def __init__(
        self,
        context=None,
        raw_value=None,
        value=None,
        validator=None,
        _configuration=None,
    ):
        """SystemWebHttpODataQuerySkipQueryOption - a model defined in Swagger"""
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._context = None
        self._raw_value = None
        self._value = None
        self._validator = None
        self.discriminator = None

        if context is not None:
            self.context = context
        if raw_value is not None:
            self.raw_value = raw_value
        if value is not None:
            self.value = value
        if validator is not None:
            self.validator = validator

    @property
    def context(self):
        # type: () -> SystemWebHttpODataODataQueryContext
        """Gets the context of this SystemWebHttpODataQuerySkipQueryOption.


        :return: The context of this SystemWebHttpODataQuerySkipQueryOption.
        :rtype: SystemWebHttpODataODataQueryContext
        """
        return self._context

    @context.setter
    def context(self, context):
        """Sets the context of this SystemWebHttpODataQuerySkipQueryOption.


        :param context: The context of this SystemWebHttpODataQuerySkipQueryOption.
        :type: SystemWebHttpODataODataQueryContext
        """

        self._context = context

    @property
    def raw_value(self):
        # type: () -> str
        """Gets the raw_value of this SystemWebHttpODataQuerySkipQueryOption.


        :return: The raw_value of this SystemWebHttpODataQuerySkipQueryOption.
        :rtype: str
        """
        return self._raw_value

    @raw_value.setter
    def raw_value(self, raw_value):
        """Sets the raw_value of this SystemWebHttpODataQuerySkipQueryOption.


        :param raw_value: The raw_value of this SystemWebHttpODataQuerySkipQueryOption.
        :type: str
        """

        self._raw_value = raw_value

    @property
    def value(self):
        # type: () -> int
        """Gets the value of this SystemWebHttpODataQuerySkipQueryOption.


        :return: The value of this SystemWebHttpODataQuerySkipQueryOption.
        :rtype: int
        """
        return self._value

    @value.setter
    def value(self, value):
        """Sets the value of this SystemWebHttpODataQuerySkipQueryOption.


        :param value: The value of this SystemWebHttpODataQuerySkipQueryOption.
        :type: int
        """

        self._value = value

    @property
    def validator(self):
        # type: () -> SystemWebHttpODataQueryValidatorsSkipQueryValidator
        """Gets the validator of this SystemWebHttpODataQuerySkipQueryOption.


        :return: The validator of this SystemWebHttpODataQuerySkipQueryOption.
        :rtype: SystemWebHttpODataQueryValidatorsSkipQueryValidator
        """
        return self._validator

    @validator.setter
    def validator(self, validator):
        """Sets the validator of this SystemWebHttpODataQuerySkipQueryOption.


        :param validator: The validator of this SystemWebHttpODataQuerySkipQueryOption.
        :type: SystemWebHttpODataQueryValidatorsSkipQueryValidator
        """

        self._validator = validator

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

        for attr, _ in self.swagger_types.items():
            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(SystemWebHttpODataQuerySkipQueryOption, 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, SystemWebHttpODataQuerySkipQueryOption):
            return False

        return self.to_dict() == other.to_dict()

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

        return self.to_dict() != other.to_dict()
