// WithTimeout returns a copy of the DB that uses d as the read/write timeout.
549116
func (db *Conn) WithTimeout(d time.Duration) *Conn {
	return newConn(db.ctx, db.baseDB.WithTimeout(d))
}
1035778
func WithTimeout(timeout time.Duration) func(cmd *icmd.Cmd) func() {
	return func(cmd *icmd.Cmd) func() {
		cmd.Timeout = timeout
		return nil
	}
}
1287872
func (o *GetLoginRequestParams) WithTimeout(timeout time.Duration) *GetLoginRequestParams {
	o.SetTimeout(timeout)
	return o
}
292467
func (o *InventoryGetParams) WithTimeout(timeout time.Duration) *InventoryGetParams {
	o.SetTimeout(timeout)
	return o
}
291689
func (o *IntrospectOAuth2TokenParams) WithTimeout(timeout time.Duration) *IntrospectOAuth2TokenParams {
	o.SetTimeout(timeout)
	return o
}
435961
func (o *PetListParams) WithTimeout(timeout time.Duration) *PetListParams {
	o.SetTimeout(timeout)
	return o
}
429129
func (o *GetJSONWebKeyParams) WithTimeout(timeout time.Duration) *GetJSONWebKeyParams {
	o.SetTimeout(timeout)
	return o
}
930889
func (o *DeleteOAuth2ClientParams) WithTimeout(timeout time.Duration) *DeleteOAuth2ClientParams {
	o.SetTimeout(timeout)
	return o
}
639182
func (o *IsInstanceAliveParams) WithTimeout(timeout time.Duration) *IsInstanceAliveParams {
	o.SetTimeout(timeout)
	return o
}
779847
func (o *GetDebuginfoParams) WithTimeout(timeout time.Duration) *GetDebuginfoParams {
	o.SetTimeout(timeout)
	return o
}
99959
func (o *UploadTaskFileParams) WithTimeout(timeout time.Duration) *UploadTaskFileParams {
	o.SetTimeout(timeout)
	return o
}
1215981
func (builder *UpdateGSetCommandBuilder) WithTimeout(timeout time.Duration) *UpdateGSetCommandBuilder {
	timeoutMilliseconds := uint32(timeout / time.Millisecond)
	builder.timeout = timeout
	builder.protobuf.Timeout = &timeoutMilliseconds
	return builder
}
337419
func (o *FlushInactiveOAuth2TokensParams) WithTimeout(timeout time.Duration) *FlushInactiveOAuth2TokensParams {
	o.SetTimeout(timeout)
	return o
}
615994
func (o *DeleteJSONWebKeySetParams) WithTimeout(timeout time.Duration) *DeleteJSONWebKeySetParams {
	o.SetTimeout(timeout)
	return o
}
845316
func (o *OrderCreateParams) WithTimeout(timeout time.Duration) *OrderCreateParams {
	o.SetTimeout(timeout)
	return o
}
38024
func (o *PetCreateParams) WithTimeout(timeout time.Duration) *PetCreateParams {
	o.SetTimeout(timeout)
	return o
}
431909
func (o *GetPrefilterParams) WithTimeout(timeout time.Duration) *GetPrefilterParams {
	o.SetTimeout(timeout)
	return o
}