// WithSubject adds the subject to the revoke authentication session params
550716
func (o *RevokeAuthenticationSessionParams) WithSubject(subject string) *RevokeAuthenticationSessionParams {
	o.SetSubject(subject)
	return o
}
958330
func WithSession(ctx context.Context, task string, data ...lager.Data) lager.Logger {
	return FromContext(ctx).Session(task, data...)
}
8561
func (builder *UpdateMapCommandBuilder) WithReturnBody(returnBody bool) *UpdateMapCommandBuilder {
	builder.protobuf.ReturnBody = &returnBody
	return builder
}
107852
func (o *RevokeAuthenticationSessionParams) WithHTTPClient(client *http.Client) *RevokeAuthenticationSessionParams {
	o.SetHTTPClient(client)
	return o
}
779742
func (o *PostNodesIdentifierObmIdentifyParams) WithBody(body *bool) *PostNodesIdentifierObmIdentifyParams {
	o.Body = body
	return o
}
596857
func (s *NatsServer) initSubject(subject string) (chan io.Reader, error) {
	s.Lock()
	defer s.Unlock()
	if _, ok := s.queue[subject]; !ok {
		s.queue[subject] = make(chan io.Reader)
	}
	return s.queue[subject], nil
}
325409
func WithUser(parent context.Context, user User) context.Context {
	return context.WithValue(parent, userKey, user)
}
55777
func WithReturnClientID(b bool) autorest.PrepareDecorator {
	return autorest.WithHeader(HeaderReturnClientID, strconv.FormatBool(b))
}
375428
func (o *RevokeOAuth2TokenParams) WithContext(ctx context.Context) *RevokeOAuth2TokenParams {
	o.SetContext(ctx)
	return o
}
219701
func WithSession(ctx context.Context, session *Session) context.Context {
	return context.WithValue(ctx, sessionKey, session)
}
646638
func (builder *UpdateCounterCommandBuilder) WithReturnBody(returnBody bool) *UpdateCounterCommandBuilder {
	builder.returnBody = returnBody
	return builder
}
1281914
func (o *RejectConsentRequestParams) WithBody(body *models.RequestDeniedError) *RejectConsentRequestParams {
	o.SetBody(body)
	return o
}
481949
func (o *UpdateOneParams) WithBody(body *models.Item) *UpdateOneParams {
	o.SetBody(body)
	return o
}
277198
func (s *LoadBalancerTlsCertificate) SetSubject(v string) *LoadBalancerTlsCertificate {
	s.Subject = &v
	return s
}
951141
func (o *UpdateJSONWebKeyParams) WithBody(body *models.SwaggerJSONWebKey) *UpdateJSONWebKeyParams {
	o.SetBody(body)
	return o
}
1231965
func (s *SimpleEmail) SetSubject(v *SimpleEmailPart) *SimpleEmail {
	s.Subject = v
	return s
}
712035
func (o *RevokeConsentSessionsParams) WithContext(ctx context.Context) *RevokeConsentSessionsParams {
	o.SetContext(ctx)
	return o
}