func (client *MultipleInheritanceServiceClient) getCatHandleResponse(resp *http.Response) (MultipleInheritanceServiceClientGetCatResponse, error) {
	result := MultipleInheritanceServiceClientGetCatResponse{RawResponse: resp}
	if err := runtime.UnmarshalAsJSON(resp, &result.Cat); err != nil {
		return MultipleInheritanceServiceClientGetCatResponse{}, runtime.NewResponseError(err, resp)
	}
	return result, nil
}
getCatHandleResponse handles the GetCat response.
package migroup
import (
	"context"
	"errors"
	"fmt"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
	"net/http"
)
type MultipleInheritanceServiceClient struct {
	con *Connection
}
func NewMultipleInheritanceServiceClient(con *Connection) *MultipleInheritanceServiceClient {
	return &MultipleInheritanceServiceClient{con: con}
}
func (client *MultipleInheritanceServiceClient) GetCat(ctx context.Context, options *MultipleInheritanceServiceClientGetCatOptions) (MultipleInheritanceServiceClientGetCatResponse, error) {
	req, err := client.getCatCreateRequest(ctx, options)
	if err != nil {
		return MultipleInheritanceServiceClientGetCatResponse{}, err
	}
	resp, err := client.con.Pipeline().Do(req)
	if err != nil {
		return MultipleInheritanceServiceClientGetCatResponse{}, err
	}
	if !runtime.HasStatusCode(resp, http.StatusOK) {
		return MultipleInheritanceServiceClientGetCatResponse{}, client.getCatHandleError(resp)
	}
	return client.getCatHandleResponse(resp)
}
func (client *MultipleInheritanceServiceClient) getCatCreateRequest(ctx context.Context, options *MultipleInheritanceServiceClientGetCatOptions) (*policy.Request, error) {
	urlPath := "/multipleInheritance/cat"
	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
}