# coding: utf-8

"""
    Fingerprint Server API

    Fingerprint Server API allows you to search, update, and delete identification events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device.   # noqa: E501

    OpenAPI spec version: 3
    Contact: support@fingerprint.com
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import re  # noqa: F401
from typing import Dict, List, Optional  # noqa: F401
from fingerprint_pro_server_api_sdk.base_model import BaseModel
from fingerprint_pro_server_api_sdk.models.raw_device_attribute_error import RawDeviceAttributeError


class RawDeviceAttribute(BaseModel):
    """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 = {
        'value': 'object',
        'error': 'RawDeviceAttributeError'
    }

    nullable_map = {
        'value': False,
        'error': False
    }

    attribute_map = {
        'value': 'value',
        'error': 'error'
    }

    def __init__(self, value=None, error=None):  # noqa: E501
        """RawDeviceAttribute - a model defined in Swagger"""  # noqa: E501
        self._value = None
        self._error = None
        self.discriminator = None
        if value is not None:
            self.value = value
        if error is not None:
            self.error = error

    @property
    def value(self) -> Optional[object]:
        """Gets the value of this RawDeviceAttribute.  # noqa: E501


        :return: The value of this RawDeviceAttribute.  # noqa: E501
        """
        return self._value

    @value.setter
    def value(self, value: Optional[object]):
        """Sets the value of this RawDeviceAttribute.


        :param value: The value of this RawDeviceAttribute.  # noqa: E501
        """

        self._value = value

    @property
    def error(self) -> Optional[RawDeviceAttributeError]:
        """Gets the error of this RawDeviceAttribute.  # noqa: E501


        :return: The error of this RawDeviceAttribute.  # noqa: E501
        """
        return self._error

    @error.setter
    def error(self, error: Optional[RawDeviceAttributeError]):
        """Sets the error of this RawDeviceAttribute.


        :param error: The error of this RawDeviceAttribute.  # noqa: E501
        """

        self._error = error

