func (c *Client) GetSetupConfig(ctx context.Context, accountNumber, provider string) (*EventStreamConfig, error) {
	config := &EventStreamConfig{}
	path, err := genPathWithQueryParams(
		fmt.Sprintf("cloudaccounts/%s/event/setup", accountNumber),
		map[string]string{"provider": provider},
	)
	if err != nil {
		return nil, err
	}

	err = c.Do(ctx, http.MethodGet, *path, nil, config)
	if err != nil {
		return nil, err
	}
	return config, nil
}
//GetSetupConfig get the config for event stream setup from secure state
GetSetupConfig get the config for event stream setup from secure state
// GetSetupConfig get the config for event stream setup from secure state
func (c *Client) GetSetupConfig(ctx context.Context, accountNumber, provider string) (*EventStreamConfig, error) {
	config := &EventStreamConfig{}
	path, err := genPathWithQueryParams(
		fmt.Sprintf("cloudaccounts/%s/event/setup", accountNumber),
		map[string]string{"provider": provider},
	)
	if err != nil {
		return nil, err
	}
	err = c.Do(ctx, http.MethodGet, *path, nil, config)
	if err != nil {
		return nil, err
	}
	return config, nil
}
func ( c * Client ) GetSetupConfig ( ctx context . Context , accountNumber , provider string ) ( * EventStreamConfig , error ) { config := & EventStreamConfig { } path , err := genPathWithQueryParams ( fmt . Sprintf ( " " , accountNumber ) , map [ string ] string { " " : provider } , ) if err != nil { return nil , err } err = c . Do ( ctx , http . MethodGet , * path , nil , config ) if err != nil { return nil , err } return config , nil }
GetSetupConfig get the config for event stream setup from secure state
GetSetupConfig get the config for event stream setup from secure state