# coding: utf-8

"""
    seccenter20240508

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

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


import pprint
import re  # noqa: F401

import six

from volcenginesdkcore.configuration import Configuration


class GetAIFingerprintPortRequest(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 = {
        'cmdline': 'str',
        'comm': 'str',
        'exe': 'str',
        'only_ai_application_asset': 'bool',
        'page_number': 'int',
        'page_size': 'int',
        'session_id': 'str',
        'sip': 'str',
        'sort_by': 'str',
        'sort_order': 'str',
        'sport': 'str',
        'type': 'list[int]',
        'username': 'str'
    }

    attribute_map = {
        'cmdline': 'Cmdline',
        'comm': 'Comm',
        'exe': 'Exe',
        'only_ai_application_asset': 'OnlyAIApplicationAsset',
        'page_number': 'PageNumber',
        'page_size': 'PageSize',
        'session_id': 'SessionID',
        'sip': 'Sip',
        'sort_by': 'SortBy',
        'sort_order': 'SortOrder',
        'sport': 'Sport',
        'type': 'Type',
        'username': 'Username'
    }

    def __init__(self, cmdline=None, comm=None, exe=None, only_ai_application_asset=None, page_number=None, page_size=None, session_id=None, sip=None, sort_by=None, sort_order=None, sport=None, type=None, username=None, _configuration=None):  # noqa: E501
        """GetAIFingerprintPortRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._cmdline = None
        self._comm = None
        self._exe = None
        self._only_ai_application_asset = None
        self._page_number = None
        self._page_size = None
        self._session_id = None
        self._sip = None
        self._sort_by = None
        self._sort_order = None
        self._sport = None
        self._type = None
        self._username = None
        self.discriminator = None

        if cmdline is not None:
            self.cmdline = cmdline
        if comm is not None:
            self.comm = comm
        if exe is not None:
            self.exe = exe
        if only_ai_application_asset is not None:
            self.only_ai_application_asset = only_ai_application_asset
        self.page_number = page_number
        self.page_size = page_size
        if session_id is not None:
            self.session_id = session_id
        if sip is not None:
            self.sip = sip
        if sort_by is not None:
            self.sort_by = sort_by
        if sort_order is not None:
            self.sort_order = sort_order
        if sport is not None:
            self.sport = sport
        if type is not None:
            self.type = type
        if username is not None:
            self.username = username

    @property
    def cmdline(self):
        """Gets the cmdline of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The cmdline of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._cmdline

    @cmdline.setter
    def cmdline(self, cmdline):
        """Sets the cmdline of this GetAIFingerprintPortRequest.


        :param cmdline: The cmdline of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._cmdline = cmdline

    @property
    def comm(self):
        """Gets the comm of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The comm of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._comm

    @comm.setter
    def comm(self, comm):
        """Sets the comm of this GetAIFingerprintPortRequest.


        :param comm: The comm of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._comm = comm

    @property
    def exe(self):
        """Gets the exe of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The exe of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._exe

    @exe.setter
    def exe(self, exe):
        """Sets the exe of this GetAIFingerprintPortRequest.


        :param exe: The exe of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._exe = exe

    @property
    def only_ai_application_asset(self):
        """Gets the only_ai_application_asset of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The only_ai_application_asset of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: bool
        """
        return self._only_ai_application_asset

    @only_ai_application_asset.setter
    def only_ai_application_asset(self, only_ai_application_asset):
        """Sets the only_ai_application_asset of this GetAIFingerprintPortRequest.


        :param only_ai_application_asset: The only_ai_application_asset of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: bool
        """

        self._only_ai_application_asset = only_ai_application_asset

    @property
    def page_number(self):
        """Gets the page_number of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The page_number of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: int
        """
        return self._page_number

    @page_number.setter
    def page_number(self, page_number):
        """Sets the page_number of this GetAIFingerprintPortRequest.


        :param page_number: The page_number of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: int
        """
        if self._configuration.client_side_validation and page_number is None:
            raise ValueError("Invalid value for `page_number`, must not be `None`")  # noqa: E501

        self._page_number = page_number

    @property
    def page_size(self):
        """Gets the page_size of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The page_size of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: int
        """
        return self._page_size

    @page_size.setter
    def page_size(self, page_size):
        """Sets the page_size of this GetAIFingerprintPortRequest.


        :param page_size: The page_size of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: int
        """
        if self._configuration.client_side_validation and page_size is None:
            raise ValueError("Invalid value for `page_size`, must not be `None`")  # noqa: E501

        self._page_size = page_size

    @property
    def session_id(self):
        """Gets the session_id of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The session_id of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._session_id

    @session_id.setter
    def session_id(self, session_id):
        """Sets the session_id of this GetAIFingerprintPortRequest.


        :param session_id: The session_id of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._session_id = session_id

    @property
    def sip(self):
        """Gets the sip of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The sip of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._sip

    @sip.setter
    def sip(self, sip):
        """Sets the sip of this GetAIFingerprintPortRequest.


        :param sip: The sip of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._sip = sip

    @property
    def sort_by(self):
        """Gets the sort_by of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The sort_by of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._sort_by

    @sort_by.setter
    def sort_by(self, sort_by):
        """Sets the sort_by of this GetAIFingerprintPortRequest.


        :param sort_by: The sort_by of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._sort_by = sort_by

    @property
    def sort_order(self):
        """Gets the sort_order of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The sort_order of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._sort_order

    @sort_order.setter
    def sort_order(self, sort_order):
        """Sets the sort_order of this GetAIFingerprintPortRequest.


        :param sort_order: The sort_order of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._sort_order = sort_order

    @property
    def sport(self):
        """Gets the sport of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The sport of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._sport

    @sport.setter
    def sport(self, sport):
        """Sets the sport of this GetAIFingerprintPortRequest.


        :param sport: The sport of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._sport = sport

    @property
    def type(self):
        """Gets the type of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The type of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: list[int]
        """
        return self._type

    @type.setter
    def type(self, type):
        """Sets the type of this GetAIFingerprintPortRequest.


        :param type: The type of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: list[int]
        """

        self._type = type

    @property
    def username(self):
        """Gets the username of this GetAIFingerprintPortRequest.  # noqa: E501


        :return: The username of this GetAIFingerprintPortRequest.  # noqa: E501
        :rtype: str
        """
        return self._username

    @username.setter
    def username(self, username):
        """Sets the username of this GetAIFingerprintPortRequest.


        :param username: The username of this GetAIFingerprintPortRequest.  # noqa: E501
        :type: str
        """

        self._username = username

    def to_dict(self):
        """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(GetAIFingerprintPortRequest, 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, GetAIFingerprintPortRequest):
            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, GetAIFingerprintPortRequest):
            return True

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