def networks(id = nil)
      endpoint = "networks"
      unless id.nil?
        endpoint = endpoint + "/" + id
      end
      return get_request(address(endpoint), @token)
    end
def networks(id = nil)
      endpoint = "networks"
      unless id.nil?
        endpoint = endpoint + "/" + id
      end
      return get_request(address(endpoint), @token)
    end
Networks

 Get a list of a tenants networks

 :call-seq:
   networks(id) => A single network with the id matching the parameter
   networks => All networks visible to the tenant making the request