func (client *APIVersionLocalClient) getMethodLocalNullCreateRequest(ctx context.Context, options *APIVersionLocalGetMethodLocalNullOptions) (*policy.Request, error) {
	urlPath := "/azurespecials/apiVersion/method/string/none/query/local/null"
	req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.con.Endpoint(), urlPath))
	if err != nil {
		return nil, err
	}
	reqQP := req.Raw().URL.Query()
	if options != nil && options.APIVersion != nil {
		reqQP.Set("api-version", *options.APIVersion)
	}
	req.Raw().URL.RawQuery = reqQP.Encode()
	req.Raw().Header.Set("Accept", "application/json")
	return req, nil
}
getMethodLocalNullCreateRequest creates the GetMethodLocalNull request.
package azurespecialsgroup
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 APIVersionLocalClient struct {
	con *Connection
}
func NewAPIVersionLocalClient(con *Connection) *APIVersionLocalClient {
	return &APIVersionLocalClient{con: con}
}
func (client *APIVersionLocalClient) GetMethodLocalNull(ctx context.Context, options *APIVersionLocalGetMethodLocalNullOptions) (APIVersionLocalGetMethodLocalNullResponse, error) {
	req, err := client.getMethodLocalNullCreateRequest(ctx, options)
	if err != nil {
		return APIVersionLocalGetMethodLocalNullResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return APIVersionLocalGetMethodLocalNullResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return APIVersionLocalGetMethodLocalNullResponse{}, client.getMethodLocalNullHandleError(resp)
	}
	return APIVersionLocalGetMethodLocalNullResponse{RawResponse: resp}, nil
}