# coding: utf-8

"""
    CyberSource Merged Spec

    All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html

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


from pprint import pformat
from six import iteritems
import re


class RiskV1UpdatePost201Response(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 = {
        'links': 'PtsV2IncrementalAuthorizationPatch201ResponseLinks',
        'client_reference_informaton': 'RiskV1DecisionsPost201ResponseClientReferenceInformation',
        'id': 'str',
        'status': 'str',
        'submit_time_utc': 'str'
    }

    attribute_map = {
        'links': '_links',
        'client_reference_informaton': 'clientReferenceInformaton',
        'id': 'id',
        'status': 'status',
        'submit_time_utc': 'submitTimeUtc'
    }

    def __init__(self, links=None, client_reference_informaton=None, id=None, status=None, submit_time_utc=None):
        """
        RiskV1UpdatePost201Response - a model defined in Swagger
        """

        self._links = None
        self._client_reference_informaton = None
        self._id = None
        self._status = None
        self._submit_time_utc = None

        if links is not None:
          self.links = links
        if client_reference_informaton is not None:
          self.client_reference_informaton = client_reference_informaton
        if id is not None:
          self.id = id
        if status is not None:
          self.status = status
        if submit_time_utc is not None:
          self.submit_time_utc = submit_time_utc

    @property
    def links(self):
        """
        Gets the links of this RiskV1UpdatePost201Response.

        :return: The links of this RiskV1UpdatePost201Response.
        :rtype: PtsV2IncrementalAuthorizationPatch201ResponseLinks
        """
        return self._links

    @links.setter
    def links(self, links):
        """
        Sets the links of this RiskV1UpdatePost201Response.

        :param links: The links of this RiskV1UpdatePost201Response.
        :type: PtsV2IncrementalAuthorizationPatch201ResponseLinks
        """

        self._links = links

    @property
    def client_reference_informaton(self):
        """
        Gets the client_reference_informaton of this RiskV1UpdatePost201Response.

        :return: The client_reference_informaton of this RiskV1UpdatePost201Response.
        :rtype: RiskV1DecisionsPost201ResponseClientReferenceInformation
        """
        return self._client_reference_informaton

    @client_reference_informaton.setter
    def client_reference_informaton(self, client_reference_informaton):
        """
        Sets the client_reference_informaton of this RiskV1UpdatePost201Response.

        :param client_reference_informaton: The client_reference_informaton of this RiskV1UpdatePost201Response.
        :type: RiskV1DecisionsPost201ResponseClientReferenceInformation
        """

        self._client_reference_informaton = client_reference_informaton

    @property
    def id(self):
        """
        Gets the id of this RiskV1UpdatePost201Response.
        An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. 

        :return: The id of this RiskV1UpdatePost201Response.
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """
        Sets the id of this RiskV1UpdatePost201Response.
        An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. 

        :param id: The id of this RiskV1UpdatePost201Response.
        :type: str
        """

        self._id = id

    @property
    def status(self):
        """
        Gets the status of this RiskV1UpdatePost201Response.
        The status for risk update 201 calls. Possible values are: - INVALID_REQUEST - COMPLETED 

        :return: The status of this RiskV1UpdatePost201Response.
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """
        Sets the status of this RiskV1UpdatePost201Response.
        The status for risk update 201 calls. Possible values are: - INVALID_REQUEST - COMPLETED 

        :param status: The status of this RiskV1UpdatePost201Response.
        :type: str
        """

        self._status = status

    @property
    def submit_time_utc(self):
        """
        Gets the submit_time_utc of this RiskV1UpdatePost201Response.
        Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC.  Returned by Cybersource for all services. 

        :return: The submit_time_utc of this RiskV1UpdatePost201Response.
        :rtype: str
        """
        return self._submit_time_utc

    @submit_time_utc.setter
    def submit_time_utc(self, submit_time_utc):
        """
        Sets the submit_time_utc of this RiskV1UpdatePost201Response.
        Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC.  Returned by Cybersource for all services. 

        :param submit_time_utc: The submit_time_utc of this RiskV1UpdatePost201Response.
        :type: str
        """

        self._submit_time_utc = submit_time_utc

    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, RiskV1UpdatePost201Response):
            return False

        return self.__dict__ == other.__dict__

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