   #   properties that belongs to current API node
   #
   get $properties: -> @_$properties
-  set $properties: (properties) -> setProperties properties
+  set $properties: (properties) -> @setProperties properties
   #
   # Sets API node properties.
   #

  #   collections that belongs to current API level
  #
  get $collections: -> @_$collections
  set $collections: (collections) -> setCollections collections
  #
  # Sets API node collections.
  #


    value

  #
  # Updates node to current state.
  #
  # @note This method returns meaningfull results only inside of a fiber.
  #
  # @param callback [Function]
  #
  # @return [ApiNodes.OVirtResourceLink] current node
  #
  update: (callback) ->
    if @href?
      do @clear
      @$connection.performRequest @, uri: @href, callback

  #
  # Clears everything but attributes.
  #
  # @return [ApiNodes.OVirtResourceLink] current node
  #
  clear: ->
    @[section] = {} for section in ['$actions', '$collections', '$properties', '$resourceLincs']
    @


OVirtApiNode.API_NODE_TYPES.node = OVirtApiNode

