func (p ProductResult) MarshalJSON() ([]byte, error) {
	objectMap := make(map[string]interface{})
	populate(objectMap, "nextLink", p.NextLink)
	populate(objectMap, "values", p.Values)
	return json.Marshal(objectMap)
}
MarshalJSON implements the json.Marshaller interface for type ProductResult.
package paginggroup
import (
	"encoding/json"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore"
	"reflect"
)
type CustomParameterGroup struct {
	APIVersion string
	Tenant string
}
type ODataProductResult struct {
	ODataNextLink *string    `json:"odata.nextLink,omitempty"`
	Values        []*Product `json:"values,omitempty"`
}
func (o ODataProductResult) MarshalJSON() ([]byte, error) {
	objectMap := make(map[string]interface{})
	populate(objectMap, "odata.nextLink", o.ODataNextLink)
	populate(objectMap, "values", o.Values)
	return json.Marshal(objectMap)
}
type OperationResult struct {
	Status *OperationResultStatus `json:"status,omitempty"`
}
type PagingBeginGetMultiplePagesLROOptions struct {
	ClientRequestID *string
	Maxresults *int32
	Timeout *int32
}
type PagingFirstResponseEmptyOptions struct {
}
type PagingGetMultiplePagesFailureOptions struct {
}
type PagingGetMultiplePagesFailureURIOptions struct {
}
type PagingGetMultiplePagesFragmentNextLinkOptions struct {
}
type PagingGetMultiplePagesFragmentWithGroupingNextLinkOptions struct {
}
type PagingGetMultiplePagesOptions struct {
	ClientRequestID *string
	Maxresults *int32
	Timeout *int32
}
type PagingGetMultiplePagesRetryFirstOptions struct {
}
type PagingGetMultiplePagesRetrySecondOptions struct {
}
type PagingGetMultiplePagesWithOffsetOptions struct {
	ClientRequestID *string
	Maxresults *int32
	Offset int32
	Timeout *int32
}
type PagingGetNoItemNamePagesOptions struct {
}
type PagingGetNullNextLinkNamePagesOptions struct {
}
type PagingGetODataMultiplePagesOptions struct {
	ClientRequestID *string
	Maxresults *int32
	Timeout *int32
}
type PagingGetPagingModelWithItemNameWithXMSClientNameOptions struct {
}
type PagingGetSinglePagesFailureOptions struct {
}
type PagingGetSinglePagesOptions struct {
}
type PagingGetWithQueryParamsOptions struct {
}
type Product struct {
	Properties *ProductProperties `json:"properties,omitempty"`
}
type ProductProperties struct {
	ID   *int32  `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}
type ProductResult struct {
	NextLink *string    `json:"nextLink,omitempty"`
	Values   []*Product `json:"values,omitempty"`
}