Get this object properties

REST: GET /xdsl/incidents/{id}
@param id [required] ID of the incident
16785
public OvhIncident incidents_id_GET(Long id) throws IOException {
		String qPath = "/xdsl/incidents/{id}";
		StringBuilder sb = path(qPath, id);
		String resp = execN(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhIncident.class);
	}
1035828
def get_detector_incidents(self, id, **kwargs):
        
        resp = self._get(
            self._u(self._DETECTOR_ENDPOINT_SUFFIX, id, 'incidents'),
            None,
            **kwargs
        )
        resp.raise_for_status()
        return resp.json()
1364004
def get(self, id):
        
        with rconnect() as conn:
            if id is None:
                raise ValueError

            if isinstance(id, uuid.UUID):
                id = str(id)

            if type(id) != str and type(id) != unicode:
                raise ValueError

            try:
                query = self._base().get(id)
                log.debug(query)
                rv = query.run(conn)
            except ReqlOpFailedError as e:
                log.warn(e)
                raise
            except Exception as e:
                log.warn(e)
                raise
            if rv is not None:
                return self._model(rv)

            return None
1339470
def incident(self, name, owner=None, **kwargs):
        
        return Incident(self.tcex, name, owner=owner, **kwargs)
1195931
def resource(id)
      hash = http_get(url('/resources/%s', id))
      Resource.new(hash)
    rescue ::Hawkular::Exception => e
      return if e.cause.is_a?(::RestClient::NotFound)
      raise
    end
125582
def get_connection_by_id(self, id):
        ''''''
        with self._mutex:
            for conn in self.connections:
                if conn.id == id:
                    return conn
            return None
1220326
def get_log_id(cls, id):
        
        conn = Qubole.agent()
        r = conn.get_raw(cls.element_path(id) + "/logs")
        return r.text
310739
def get_connection(self, id): # pylint: disable=invalid-name,redefined-builtin
        
        schema = ConnectionSchema()
        resp = self.service.get(self.base+str(id)+'/connect/')
        return self.service.decode(schema, resp)
414293
def get_property(self, id=None, uri=None, match=None):
        

        if not id and not uri and not match:
            return None

        if type(id) == type("string"):
            uri = id
            id = None
            if not is_http(uri):
                match = uri
                uri = None
        if match:
            if type(match) != type("string"):
                return []
            res = []
            if ":" in match:  # qname
                for x in self.all_properties:
                    if match.lower() in x.qname.lower():
                        res += [x]
            else:
                for x in self.all_properties:
                    if match.lower() in x.uri.lower():
                        res += [x]
            return res
        else:
            for x in self.all_properties:
                if id and x.id == id:
                    return x
                if uri and x.uri.lower() == uri.lower():
                    return x
            return None
976452
public static Interface_stats get(nitro_service service, String id) throws Exception{
		Interface_stats obj = new Interface_stats();
		obj.set_id(id);
		Interface_stats response = (Interface_stats) obj.stat_resource(service);
		return response;
	}
1010762
def get_by_id(cls, id):
        

        if any((isinstance(id, basestring) and id.isdigit(), isinstance(id,
               (int, float)))):
            return cls.query.get(int(id))
        return None
761875
public ProxyPolicyHandler getProxyPolicyHandler(String id) {
    return (id != null && this.proxyPolicyHandlers != null) ?
        (ProxyPolicyHandler)this.proxyPolicyHandlers.get(id) :
        null;
    }
92043
def usable_id(cls, id):
        
        try:
            # id is maybe a hostname
            qry_id = cls.from_name(id)
            if not qry_id:
                # id is maybe an ip
                qry_id = cls.from_ip(id)
            if not qry_id:
                qry_id = cls.from_vhost(id)
        except Exception:
            qry_id = None

        if not qry_id:
            msg = 'unknown identifier %s' % id
            cls.error(msg)

        return qry_id
1067843
def get_by_id(id, with_estimate = 1)
      params = { :id => id, :with_estimate => with_estimate }
      requires params
      DataSift.request(:GET, 'historics/get', @config, params)
    end
25852
def get(id)
      return unless id
      with_redis { |redis| redis.get(redis_key_for(id)).try { |data| load(data) } }
    end
576266
def find(id)
      response_body = fetch_response([resource.path, id].join('/')).body
      Parsers::MemberParser.new(resource: resource, response: response_body).parse
    end
1293469
def find(id)
      result = self.class.get(worksheet_url + "/" + id).parsed_response
      check_and_raise_error(result)
      Record.new(result_attributes(result)) if result.present? && result["id"]
    end