def _set_properties(self, api_response):
        """Update properties from resource in body of ``api_response``

        :type api_response: dict
        :param api_response: response returned from an API call
        """
        self._properties.clear()
        cleaned = api_response.copy()
        self.dns_name = cleaned.pop("dnsName", None)
        if "creationTime" in cleaned:
            cleaned["creationTime"] = _rfc3339_to_datetime(cleaned["creationTime"])
        self._properties.update(cleaned)
def _set_properties ( self , api_response ) : self . _properties . clear ( ) cleaned = api_response . copy ( ) self . dns_name = cleaned . pop ( "dnsName" , None ) if "creationTime" in cleaned : cleaned [ "creationTime" ] = _rfc3339_to_datetime ( cleaned [ "creationTime" ] ) self . _properties . update ( cleaned )
Update properties from resource in body of ``api_response``

        :type api_response: dict
        :param api_response: response returned from an API call