func (o *GetCSPMGCPUserScriptsAttachmentParams) WithContext(ctx context.Context) *GetCSPMGCPUserScriptsAttachmentParams {
	o.SetContext(ctx)
	return o
}
WithContext adds the context to the get c s p m g c p user scripts attachment params
package d4c_registration
import (
	"context"
	"net/http"
	"time"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	"github.com/go-openapi/strfmt"
)
func NewGetCSPMGCPUserScriptsAttachmentParams() *GetCSPMGCPUserScriptsAttachmentParams {
	return &GetCSPMGCPUserScriptsAttachmentParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetCSPMGCPUserScriptsAttachmentParamsWithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsAttachmentParams {
	return &GetCSPMGCPUserScriptsAttachmentParams{
		timeout: timeout,
	}
}
func NewGetCSPMGCPUserScriptsAttachmentParamsWithContext(ctx context.Context) *GetCSPMGCPUserScriptsAttachmentParams {
	return &GetCSPMGCPUserScriptsAttachmentParams{
		Context: ctx,
	}
}
func NewGetCSPMGCPUserScriptsAttachmentParamsWithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsAttachmentParams {
	return &GetCSPMGCPUserScriptsAttachmentParams{
		HTTPClient: client,
	}
}
type GetCSPMGCPUserScriptsAttachmentParams struct {
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetCSPMGCPUserScriptsAttachmentParams) WithDefaults() *GetCSPMGCPUserScriptsAttachmentParams {
	o.SetDefaults()
	return o
}
func (o *GetCSPMGCPUserScriptsAttachmentParams) SetDefaults() {
}
func (o *GetCSPMGCPUserScriptsAttachmentParams) WithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsAttachmentParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetCSPMGCPUserScriptsAttachmentParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}