// WithID adds the id to the get task comments params
197541
func (o *GetTaskCommentsParams) WithID(id int64) *GetTaskCommentsParams {
	o.SetID(id)
	return o
}
265067
func (bt *BaseTask) WithComment(comment string) TransitionState {
	bt.comment = comment
	return bt
}
1163693
func NewProviderWithID(name string, id *guid.GUID, callback EnableCallback) (provider *Provider, err error) {
	return nil, nil
}
883238
func (o *Oauth2TokenParams) WithClientID(clientID *string) *Oauth2TokenParams {
	o.SetClientID(clientID)
	return o
}
1251932
func (e *Environment) GoWithID(f func(ctx context.Context) error) {
	e.Go(func(ctx context.Context) error {
		return f(WithRequestID(ctx, e.generator.Generate()))
	})
}
1113801
func WithRequestID(ctx context.Context, requestID string) context.Context {
	return context.WithValue(ctx, requestIDKey, requestID)
}
456706
func (o *AddCommentToTaskParams) WithBody(body AddCommentToTaskBody) *AddCommentToTaskParams {
	o.SetBody(body)
	return o
}
658191
func (o *GetEndpointIDConfigParams) WithID(id string) *GetEndpointIDConfigParams {
	o.SetID(id)
	return o
}
668805
func (o *GetLookupsIDParams) WithID(id string) *GetLookupsIDParams {
	o.ID = 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
}
1290607
func (o *PatchEndpointIDLabelsParams) WithID(id string) *PatchEndpointIDLabelsParams {
	o.SetID(id)
	return o
}
319082
func (o *PutEndpointIDParams) WithID(id string) *PutEndpointIDParams {
	o.SetID(id)
	return o
}
190440
func (o *UpdateTaskParams) WithID(id int64) *UpdateTaskParams {
	o.SetID(id)
	return o
}
196245
func (h *Hook) GetID() int64 {
	if h == nil || h.ID == nil {
		return 0
	}
	return *h.ID
}
1303950
func WithVPCID(id string) OptionFunc {
	return func(cs *CloudStackClient, p interface{}) error {
		vs, ok := p.(VPCIDSetter)

		if !ok || id == "" {
			return nil
		}

		vs.SetVpcid(id)

		return nil
	}
}
853040
func (o *CreateTaskParams) WithBody(body *models.Task) *CreateTaskParams {
	o.SetBody(body)
	return o
}
848901
func (o *DeleteOAuth2ClientParams) WithID(id string) *DeleteOAuth2ClientParams {
	o.SetID(id)
	return o
}