lib/saklient/cloud/resources/bridge.rb
# (This method is generated in Translator_default#buildImpl)
#
# @param [any] r
(This method is generated in Translator_default#buildImpl)
( This method is generated in Translator_default#buildImpl )
def api_deserialize_impl(r)
          @is_new = (r).nil?
          r = {} if @is_new
          @is_incomplete = false
          if Saklient::Util::exists_path(r, 'ID')
            @m_id = (Saklient::Util::get_by_path(r, 'ID')).nil? ? nil : Saklient::Util::get_by_path(r, 'ID').to_s
          else
            @m_id = nil
            @is_incomplete = true
          end
          @n_id = false
          if Saklient::Util::exists_path(r, 'Name')
            @m_name = (Saklient::Util::get_by_path(r, 'Name')).nil? ? nil : Saklient::Util::get_by_path(r, 'Name').to_s
          else
            @m_name = nil
            @is_incomplete = true
          end
          @n_name = false
          if Saklient::Util::exists_path(r, 'Description')
            @m_description = (Saklient::Util::get_by_path(r, 'Description')).nil? ? nil : Saklient::Util::get_by_path(r, 'Description').to_s
          else
            @m_description = nil
            @is_incomplete = true
          end
          @n_description = false
          if Saklient::Util::exists_path(r, 'Region')
            @m_region = (Saklient::Util::get_by_path(r, 'Region')).nil? ? nil : Saklient::Cloud::Resources::Region.new(@_client, Saklient::Util::get_by_path(r, 'Region'))
          else
            @m_region = nil
            @is_incomplete = true
          end
          @n_region = false
        end
def api_deserialize_impl ( r ) @is_new = ( r ) . nil? r = { } if @is_new @is_incomplete = false if Saklient :: Util :: exists_path ( r , 'ID' ) @m_id = ( Saklient :: Util :: get_by_path ( r , 'ID' ) ) . nil? ? nil : Saklient :: Util :: get_by_path ( r , 'ID' ) . to_s else @m_id = nil @is_incomplete = true end @n_id = false if Saklient :: Util :: exists_path ( r , 'Name' ) @m_name = ( Saklient :: Util :: get_by_path ( r , 'Name' ) ) . nil? ? nil : Saklient :: Util :: get_by_path ( r , 'Name' ) . to_s else @m_name = nil @is_incomplete = true end @n_name = false if Saklient :: Util :: exists_path ( r , 'Description' ) @m_description = ( Saklient :: Util :: get_by_path ( r , 'Description' ) ) . nil? ? nil : Saklient :: Util :: get_by_path ( r , 'Description' ) . to_s else @m_description = nil @is_incomplete = true end @n_description = false if Saklient :: Util :: exists_path ( r , 'Region' ) @m_region = ( Saklient :: Util :: get_by_path ( r , 'Region' ) ) . nil? ? nil : Saklient :: Cloud :: Resources :: Region . new ( @_client , Saklient :: Util :: get_by_path ( r , 'Region' ) ) else @m_region = nil @is_incomplete = true end @n_region = false end
(This method is generated in Translator_default#buildImpl)
( This method is generated in Translator_default#buildImpl )
r
<not_specific>
<not_specific>
None