func (client *NumberClient) putBigDoubleNegativeDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
putBigDoubleNegativeDecimalHandleError handles the PutBigDoubleNegativeDecimal error response.
package numbergroup
import (
	"context"
	"fmt"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
	"net/http"
)
type NumberClient struct {
	con *Connection
}
func NewNumberClient(con *Connection) *NumberClient {
	return &NumberClient{con: con}
}
func (client *NumberClient) GetBigDecimal(ctx context.Context, options *NumberGetBigDecimalOptions) (NumberGetBigDecimalResponse, error) {
	req, err := client.getBigDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberGetBigDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetBigDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetBigDecimalResponse{}, client.getBigDecimalHandleError(resp)
	}
	return client.getBigDecimalHandleResponse(resp)
}
func (client *NumberClient) getBigDecimalCreateRequest(ctx context.Context, options *NumberGetBigDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/decimal/2.5976931e+101"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getBigDecimalHandleResponse(resp *http.Response) (NumberGetBigDecimalResponse, error) {
	result := NumberGetBigDecimalResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetBigDecimalResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getBigDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetBigDecimalNegativeDecimal(ctx context.Context, options *NumberGetBigDecimalNegativeDecimalOptions) (NumberGetBigDecimalNegativeDecimalResponse, error) {
	req, err := client.getBigDecimalNegativeDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberGetBigDecimalNegativeDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetBigDecimalNegativeDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetBigDecimalNegativeDecimalResponse{}, client.getBigDecimalNegativeDecimalHandleError(resp)
	}
	return client.getBigDecimalNegativeDecimalHandleResponse(resp)
}
func (client *NumberClient) getBigDecimalNegativeDecimalCreateRequest(ctx context.Context, options *NumberGetBigDecimalNegativeDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/decimal/-99999999.99"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getBigDecimalNegativeDecimalHandleResponse(resp *http.Response) (NumberGetBigDecimalNegativeDecimalResponse, error) {
	result := NumberGetBigDecimalNegativeDecimalResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetBigDecimalNegativeDecimalResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getBigDecimalNegativeDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetBigDecimalPositiveDecimal(ctx context.Context, options *NumberGetBigDecimalPositiveDecimalOptions) (NumberGetBigDecimalPositiveDecimalResponse, error) {
	req, err := client.getBigDecimalPositiveDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberGetBigDecimalPositiveDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetBigDecimalPositiveDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetBigDecimalPositiveDecimalResponse{}, client.getBigDecimalPositiveDecimalHandleError(resp)
	}
	return client.getBigDecimalPositiveDecimalHandleResponse(resp)
}
func (client *NumberClient) getBigDecimalPositiveDecimalCreateRequest(ctx context.Context, options *NumberGetBigDecimalPositiveDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/decimal/99999999.99"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getBigDecimalPositiveDecimalHandleResponse(resp *http.Response) (NumberGetBigDecimalPositiveDecimalResponse, error) {
	result := NumberGetBigDecimalPositiveDecimalResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetBigDecimalPositiveDecimalResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getBigDecimalPositiveDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetBigDouble(ctx context.Context, options *NumberGetBigDoubleOptions) (NumberGetBigDoubleResponse, error) {
	req, err := client.getBigDoubleCreateRequest(ctx, options)
	if err != nil {
		return NumberGetBigDoubleResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetBigDoubleResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetBigDoubleResponse{}, client.getBigDoubleHandleError(resp)
	}
	return client.getBigDoubleHandleResponse(resp)
}
func (client *NumberClient) getBigDoubleCreateRequest(ctx context.Context, options *NumberGetBigDoubleOptions) (*policy.Request, error) {
	urlPath := "/number/big/double/2.5976931e+101"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getBigDoubleHandleResponse(resp *http.Response) (NumberGetBigDoubleResponse, error) {
	result := NumberGetBigDoubleResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetBigDoubleResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getBigDoubleHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetBigDoubleNegativeDecimal(ctx context.Context, options *NumberGetBigDoubleNegativeDecimalOptions) (NumberGetBigDoubleNegativeDecimalResponse, error) {
	req, err := client.getBigDoubleNegativeDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberGetBigDoubleNegativeDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetBigDoubleNegativeDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetBigDoubleNegativeDecimalResponse{}, client.getBigDoubleNegativeDecimalHandleError(resp)
	}
	return client.getBigDoubleNegativeDecimalHandleResponse(resp)
}
func (client *NumberClient) getBigDoubleNegativeDecimalCreateRequest(ctx context.Context, options *NumberGetBigDoubleNegativeDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/double/-99999999.99"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getBigDoubleNegativeDecimalHandleResponse(resp *http.Response) (NumberGetBigDoubleNegativeDecimalResponse, error) {
	result := NumberGetBigDoubleNegativeDecimalResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetBigDoubleNegativeDecimalResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getBigDoubleNegativeDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetBigDoublePositiveDecimal(ctx context.Context, options *NumberGetBigDoublePositiveDecimalOptions) (NumberGetBigDoublePositiveDecimalResponse, error) {
	req, err := client.getBigDoublePositiveDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberGetBigDoublePositiveDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetBigDoublePositiveDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetBigDoublePositiveDecimalResponse{}, client.getBigDoublePositiveDecimalHandleError(resp)
	}
	return client.getBigDoublePositiveDecimalHandleResponse(resp)
}
func (client *NumberClient) getBigDoublePositiveDecimalCreateRequest(ctx context.Context, options *NumberGetBigDoublePositiveDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/double/99999999.99"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getBigDoublePositiveDecimalHandleResponse(resp *http.Response) (NumberGetBigDoublePositiveDecimalResponse, error) {
	result := NumberGetBigDoublePositiveDecimalResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetBigDoublePositiveDecimalResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getBigDoublePositiveDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetBigFloat(ctx context.Context, options *NumberGetBigFloatOptions) (NumberGetBigFloatResponse, error) {
	req, err := client.getBigFloatCreateRequest(ctx, options)
	if err != nil {
		return NumberGetBigFloatResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetBigFloatResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetBigFloatResponse{}, client.getBigFloatHandleError(resp)
	}
	return client.getBigFloatHandleResponse(resp)
}
func (client *NumberClient) getBigFloatCreateRequest(ctx context.Context, options *NumberGetBigFloatOptions) (*policy.Request, error) {
	urlPath := "/number/big/float/3.402823e+20"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getBigFloatHandleResponse(resp *http.Response) (NumberGetBigFloatResponse, error) {
	result := NumberGetBigFloatResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetBigFloatResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getBigFloatHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetInvalidDecimal(ctx context.Context, options *NumberGetInvalidDecimalOptions) (NumberGetInvalidDecimalResponse, error) {
	req, err := client.getInvalidDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberGetInvalidDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetInvalidDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetInvalidDecimalResponse{}, client.getInvalidDecimalHandleError(resp)
	}
	return client.getInvalidDecimalHandleResponse(resp)
}
func (client *NumberClient) getInvalidDecimalCreateRequest(ctx context.Context, options *NumberGetInvalidDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/invaliddecimal"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getInvalidDecimalHandleResponse(resp *http.Response) (NumberGetInvalidDecimalResponse, error) {
	result := NumberGetInvalidDecimalResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetInvalidDecimalResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getInvalidDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetInvalidDouble(ctx context.Context, options *NumberGetInvalidDoubleOptions) (NumberGetInvalidDoubleResponse, error) {
	req, err := client.getInvalidDoubleCreateRequest(ctx, options)
	if err != nil {
		return NumberGetInvalidDoubleResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetInvalidDoubleResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetInvalidDoubleResponse{}, client.getInvalidDoubleHandleError(resp)
	}
	return client.getInvalidDoubleHandleResponse(resp)
}
func (client *NumberClient) getInvalidDoubleCreateRequest(ctx context.Context, options *NumberGetInvalidDoubleOptions) (*policy.Request, error) {
	urlPath := "/number/invaliddouble"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getInvalidDoubleHandleResponse(resp *http.Response) (NumberGetInvalidDoubleResponse, error) {
	result := NumberGetInvalidDoubleResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetInvalidDoubleResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getInvalidDoubleHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetInvalidFloat(ctx context.Context, options *NumberGetInvalidFloatOptions) (NumberGetInvalidFloatResponse, error) {
	req, err := client.getInvalidFloatCreateRequest(ctx, options)
	if err != nil {
		return NumberGetInvalidFloatResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetInvalidFloatResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetInvalidFloatResponse{}, client.getInvalidFloatHandleError(resp)
	}
	return client.getInvalidFloatHandleResponse(resp)
}
func (client *NumberClient) getInvalidFloatCreateRequest(ctx context.Context, options *NumberGetInvalidFloatOptions) (*policy.Request, error) {
	urlPath := "/number/invalidfloat"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getInvalidFloatHandleResponse(resp *http.Response) (NumberGetInvalidFloatResponse, error) {
	result := NumberGetInvalidFloatResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetInvalidFloatResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getInvalidFloatHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetNull(ctx context.Context, options *NumberGetNullOptions) (NumberGetNullResponse, error) {
	req, err := client.getNullCreateRequest(ctx, options)
	if err != nil {
		return NumberGetNullResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetNullResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetNullResponse{}, client.getNullHandleError(resp)
	}
	return client.getNullHandleResponse(resp)
}
func (client *NumberClient) getNullCreateRequest(ctx context.Context, options *NumberGetNullOptions) (*policy.Request, error) {
	urlPath := "/number/null"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getNullHandleResponse(resp *http.Response) (NumberGetNullResponse, error) {
	result := NumberGetNullResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetNullResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getNullHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetSmallDecimal(ctx context.Context, options *NumberGetSmallDecimalOptions) (NumberGetSmallDecimalResponse, error) {
	req, err := client.getSmallDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberGetSmallDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetSmallDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetSmallDecimalResponse{}, client.getSmallDecimalHandleError(resp)
	}
	return client.getSmallDecimalHandleResponse(resp)
}
func (client *NumberClient) getSmallDecimalCreateRequest(ctx context.Context, options *NumberGetSmallDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/small/decimal/2.5976931e-101"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getSmallDecimalHandleResponse(resp *http.Response) (NumberGetSmallDecimalResponse, error) {
	result := NumberGetSmallDecimalResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetSmallDecimalResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getSmallDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetSmallDouble(ctx context.Context, options *NumberGetSmallDoubleOptions) (NumberGetSmallDoubleResponse, error) {
	req, err := client.getSmallDoubleCreateRequest(ctx, options)
	if err != nil {
		return NumberGetSmallDoubleResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetSmallDoubleResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetSmallDoubleResponse{}, client.getSmallDoubleHandleError(resp)
	}
	return client.getSmallDoubleHandleResponse(resp)
}
func (client *NumberClient) getSmallDoubleCreateRequest(ctx context.Context, options *NumberGetSmallDoubleOptions) (*policy.Request, error) {
	urlPath := "/number/small/double/2.5976931e-101"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getSmallDoubleHandleResponse(resp *http.Response) (NumberGetSmallDoubleResponse, error) {
	result := NumberGetSmallDoubleResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetSmallDoubleResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getSmallDoubleHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) GetSmallFloat(ctx context.Context, options *NumberGetSmallFloatOptions) (NumberGetSmallFloatResponse, error) {
	req, err := client.getSmallFloatCreateRequest(ctx, options)
	if err != nil {
		return NumberGetSmallFloatResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberGetSmallFloatResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberGetSmallFloatResponse{}, client.getSmallFloatHandleError(resp)
	}
	return client.getSmallFloatHandleResponse(resp)
}
func (client *NumberClient) getSmallFloatCreateRequest(ctx context.Context, options *NumberGetSmallFloatOptions) (*policy.Request, error) {
	urlPath := "/number/small/float/3.402823e-20"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
func (client *NumberClient) getSmallFloatHandleResponse(resp *http.Response) (NumberGetSmallFloatResponse, error) {
	result := NumberGetSmallFloatResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Value); err != nil {
		return NumberGetSmallFloatResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
func (client *NumberClient) getSmallFloatHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) PutBigDecimal(ctx context.Context, numberBody float64, options *NumberPutBigDecimalOptions) (NumberPutBigDecimalResponse, error) {
	req, err := client.putBigDecimalCreateRequest(ctx, numberBody, options)
	if err != nil {
		return NumberPutBigDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberPutBigDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberPutBigDecimalResponse{}, client.putBigDecimalHandleError(resp)
	}
	return NumberPutBigDecimalResponse{RawResponse: resp}, nil
}
func (client *NumberClient) putBigDecimalCreateRequest(ctx context.Context, numberBody float64, options *NumberPutBigDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/decimal/2.5976931e+101"
	req, err := runtime.NewRequest(ctx, http.MethodPut, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, runtime.MarshalAsJSON(req, numberBody)
}
func (client *NumberClient) putBigDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) PutBigDecimalNegativeDecimal(ctx context.Context, options *NumberPutBigDecimalNegativeDecimalOptions) (NumberPutBigDecimalNegativeDecimalResponse, error) {
	req, err := client.putBigDecimalNegativeDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberPutBigDecimalNegativeDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberPutBigDecimalNegativeDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberPutBigDecimalNegativeDecimalResponse{}, client.putBigDecimalNegativeDecimalHandleError(resp)
	}
	return NumberPutBigDecimalNegativeDecimalResponse{RawResponse: resp}, nil
}
func (client *NumberClient) putBigDecimalNegativeDecimalCreateRequest(ctx context.Context, options *NumberPutBigDecimalNegativeDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/decimal/-99999999.99"
	req, err := runtime.NewRequest(ctx, http.MethodPut, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, runtime.MarshalAsJSON(req, -99999999.99)
}
func (client *NumberClient) putBigDecimalNegativeDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) PutBigDecimalPositiveDecimal(ctx context.Context, options *NumberPutBigDecimalPositiveDecimalOptions) (NumberPutBigDecimalPositiveDecimalResponse, error) {
	req, err := client.putBigDecimalPositiveDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberPutBigDecimalPositiveDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberPutBigDecimalPositiveDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberPutBigDecimalPositiveDecimalResponse{}, client.putBigDecimalPositiveDecimalHandleError(resp)
	}
	return NumberPutBigDecimalPositiveDecimalResponse{RawResponse: resp}, nil
}
func (client *NumberClient) putBigDecimalPositiveDecimalCreateRequest(ctx context.Context, options *NumberPutBigDecimalPositiveDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/decimal/99999999.99"
	req, err := runtime.NewRequest(ctx, http.MethodPut, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, runtime.MarshalAsJSON(req, 99999999.99)
}
func (client *NumberClient) putBigDecimalPositiveDecimalHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) PutBigDouble(ctx context.Context, numberBody float64, options *NumberPutBigDoubleOptions) (NumberPutBigDoubleResponse, error) {
	req, err := client.putBigDoubleCreateRequest(ctx, numberBody, options)
	if err != nil {
		return NumberPutBigDoubleResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberPutBigDoubleResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberPutBigDoubleResponse{}, client.putBigDoubleHandleError(resp)
	}
	return NumberPutBigDoubleResponse{RawResponse: resp}, nil
}
func (client *NumberClient) putBigDoubleCreateRequest(ctx context.Context, numberBody float64, options *NumberPutBigDoubleOptions) (*policy.Request, error) {
	urlPath := "/number/big/double/2.5976931e+101"
	req, err := runtime.NewRequest(ctx, http.MethodPut, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, runtime.MarshalAsJSON(req, numberBody)
}
func (client *NumberClient) putBigDoubleHandleError(resp *http.Response) error {
	body, err := runtime.Payload(resp)
	if err != nil {
		return runtime.NewResponseError(err, resp)
	}
	errType := Error{raw: string(body)}
	if err := runtime.UnmarshalAsJSON(resp, &errType); err != nil {
		return runtime.NewResponseError(fmt.Errorf("%s\n%s", string(body), err), resp)
	}
	return runtime.NewResponseError(&errType, resp)
}
func (client *NumberClient) PutBigDoubleNegativeDecimal(ctx context.Context, options *NumberPutBigDoubleNegativeDecimalOptions) (NumberPutBigDoubleNegativeDecimalResponse, error) {
	req, err := client.putBigDoubleNegativeDecimalCreateRequest(ctx, options)
	if err != nil {
		return NumberPutBigDoubleNegativeDecimalResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return NumberPutBigDoubleNegativeDecimalResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return NumberPutBigDoubleNegativeDecimalResponse{}, client.putBigDoubleNegativeDecimalHandleError(resp)
	}
	return NumberPutBigDoubleNegativeDecimalResponse{RawResponse: resp}, nil
}
func (client *NumberClient) putBigDoubleNegativeDecimalCreateRequest(ctx context.Context, options *NumberPutBigDoubleNegativeDecimalOptions) (*policy.Request, error) {
	urlPath := "/number/big/double/-99999999.99"
	req, err := runtime.NewRequest(ctx, http.MethodPut, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	req.Raw().Header.Set("Accept", "application/json")
	return req, runtime.MarshalAsJSON(req, -99999999.99)
}