// WithID adds the id to the delete lookups ID params
500574
func (o *DeleteLookupsIDParams) WithID(id string) *DeleteLookupsIDParams {
	o.ID = id
	return o
}
231140
func (idx *UniqueIndex) RemoveID(id []byte) error {
	c := idx.IndexBucket.Cursor()

	for val, ident := c.First(); val != nil; val, ident = c.Next() {
		if bytes.Equal(ident, id) {
			return idx.Remove(val)
		}
	}
	return nil
}
1195875
func (o *ListTasksParams) WithSinceID(sinceID *int64) *ListTasksParams {
	o.SetSinceID(sinceID)
	return o
}
848901
func (o *DeleteOAuth2ClientParams) WithID(id string) *DeleteOAuth2ClientParams {
	o.SetID(id)
	return o
}
1189747
func (a *AsyncHttpManager) NewHandlerWithId(id string) *AsyncHttpHandler {
	handler := &AsyncHttpHandler{
		manager: a,
		id:      id,
	}

	a.lock.Lock()
	defer a.lock.Unlock()

	_, idPresent := a.handlers[handler.id]
	godbc.Require(!idPresent)
	a.handlers[handler.id] = handler

	return handler
}
828655
func (o *GetCatalogsParams) WithQuery(query *string) *GetCatalogsParams {
	o.Query = query
	return o
}
605487
func WithActivityID(activityID *guid.GUID) EventOpt {
	return func(options *eventOptions) {
		options.activityID = activityID
	}
}
260647
func (o *GetIdentityIDParams) WithID(id string) *GetIdentityIDParams {
	o.SetID(id)
	return o
}
598554
func (o *DeleteNodesIdentifierParams) WithIdentifier(identifier string) *DeleteNodesIdentifierParams {
	o.Identifier = identifier
	return o
}
1164747
func (o *DeleteNodesIdentifierTagsTagnameParams) WithIdentifier(identifier string) *DeleteNodesIdentifierTagsTagnameParams {
	o.Identifier = identifier
	return o
}
1245335
func GetProjectWithId(projectId int64) Project {
	o := orm.NewOrm()

	project := Project{Id: projectId}
	err := o.Read(&project)
	fmt.Printf("ERR: %v\n", err)
	return project
}
1245223
func (o *OrderDeleteParams) WithTimeout(timeout time.Duration) *OrderDeleteParams {
	o.SetTimeout(timeout)
	return o
}
319082
func (o *PutEndpointIDParams) WithID(id string) *PutEndpointIDParams {
	o.SetID(id)
	return o
}
883238
func (o *Oauth2TokenParams) WithClientID(clientID *string) *Oauth2TokenParams {
	o.SetClientID(clientID)
	return o
}
646674
func (o *PetUploadImageParams) WithPetID(petID int64) *PetUploadImageParams {
	o.SetPetID(petID)
	return o
}
56313
func WithEngineID(id int) Option {
	return func(e *Engine) {
		e.engineID = &id
		e.defaultMetricLabels["engine_id"] = fmt.Sprint(*e.engineID)
	}
}
195237
func (bpmap *BreakpointMap) SetWithID(id int, addr uint64, writeBreakpoint WriteBreakpointFn) (*Breakpoint, error) {
	bp, err := bpmap.Set(addr, UserBreakpoint, nil, writeBreakpoint)
	if err == nil {
		bp.ID = id
		bpmap.breakpointIDCounter--
	}
	return bp, err
}