def index(params={})
      self.request_options = self.request_options.merge(params[:query] || {})
      response = Zcloudjp::Client.get("/machines", self.request_options)
      response.parsed_response.map do |res|
        update_attributes(res).clone
      end
    end
def index(params={})
      self.request_options = self.request_options.merge(params[:query] || {})
      response = Zcloudjp::Client.get("/machines", self.request_options)
      response.parsed_response.map do |res|
        update_attributes(res).clone
      end
    end
GET /machines.json