//go:build go1.18
// +build go1.18

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

package internal

import (
	"context"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
)

// TemplateClient contains the methods for the Template group.
// Don't use this type directly, use NewTemplateClient() instead.
type TemplateClient struct {
	pl runtime.Pipeline
}

// NewTemplateClient creates a new instance of TemplateClient with the specified values.
func NewTemplateClient(pl runtime.Pipeline) *TemplateClient {
	return &TemplateClient{pl: pl}
}

// SomeAPI is an example of an API.
func (t *TemplateClient) SomeAPI(ctx context.Context, options *SomeAPIOptions) (TemplateClientSomeAPIResponse, error) {
	return TemplateClientSomeAPIResponse{Value: to.Ptr("value")}, nil
}
