func (o *GetDataSourceParams) SetCreationDate(creationDate *int32) {
	o.CreationDate = creationDate
}
SetCreationDate adds the creationDate to the get data source params
package config_service
import (
	"net/http"
	"time"
	"golang.org/x/net/context"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	"github.com/go-openapi/swag"
	strfmt "github.com/go-openapi/strfmt"
)
func NewGetDataSourceParams() *GetDataSourceParams {
	var (
		encryptionModeDefault = string("CLEAR")
		storageTypeDefault    = string("LOCAL")
	)
	return &GetDataSourceParams{
		EncryptionMode: &encryptionModeDefault,
		StorageType:    &storageTypeDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewGetDataSourceParamsWithTimeout(timeout time.Duration) *GetDataSourceParams {
	var (
		encryptionModeDefault = string("CLEAR")
		storageTypeDefault    = string("LOCAL")
	)
	return &GetDataSourceParams{
		EncryptionMode: &encryptionModeDefault,
		StorageType:    &storageTypeDefault,
		timeout: timeout,
	}
}
func NewGetDataSourceParamsWithContext(ctx context.Context) *GetDataSourceParams {
	var (
		encryptionModeDefault = string("CLEAR")
		storageTypeDefault    = string("LOCAL")
	)
	return &GetDataSourceParams{
		EncryptionMode: &encryptionModeDefault,
		StorageType:    &storageTypeDefault,
		Context: ctx,
	}
}
func NewGetDataSourceParamsWithHTTPClient(client *http.Client) *GetDataSourceParams {
	var (
		encryptionModeDefault = string("CLEAR")
		storageTypeDefault    = string("LOCAL")
	)
	return &GetDataSourceParams{
		EncryptionMode: &encryptionModeDefault,
		StorageType:    &storageTypeDefault,
		HTTPClient:     client,
	}
}
type GetDataSourceParams struct {
	APIKey *string
	APISecret *string
	CreationDate *int32
	Disabled *bool
	EncryptionKey *string
	EncryptionMode *string
	LastSynchronizationDate *int32
	Name string
	ObjectsBaseFolder *string
	ObjectsBucket *string
	ObjectsHost *string
	ObjectsPort *int32
	ObjectsSecure *bool
	ObjectsServiceName *string
	PeerAddress *string
	StorageType *string
	VersioningPolicyName *string
	Watch *bool
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetDataSourceParams) WithTimeout(timeout time.Duration) *GetDataSourceParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetDataSourceParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetDataSourceParams) WithContext(ctx context.Context) *GetDataSourceParams {
	o.SetContext(ctx)
	return o
}
func (o *GetDataSourceParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetDataSourceParams) WithHTTPClient(client *http.Client) *GetDataSourceParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetDataSourceParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetDataSourceParams) WithAPIKey(aPIKey *string) *GetDataSourceParams {
	o.SetAPIKey(aPIKey)
	return o
}
func (o *GetDataSourceParams) SetAPIKey(aPIKey *string) {
	o.APIKey = aPIKey
}
func (o *GetDataSourceParams) WithAPISecret(aPISecret *string) *GetDataSourceParams {
	o.SetAPISecret(aPISecret)
	return o
}
func (o *GetDataSourceParams) SetAPISecret(aPISecret *string) {
	o.APISecret = aPISecret
}
func (o *GetDataSourceParams) WithCreationDate(creationDate *int32) *GetDataSourceParams {
	o.SetCreationDate(creationDate)
	return o
}