// 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) Go Code Generator. DO NOT EDIT.

package armavs

// UnmarshalJSON implements the json.Unmarshaller interface for type LicensesClientGetPropertiesResponse.
func (l *LicensesClientGetPropertiesResponse) UnmarshalJSON(data []byte) error {
	res, err := unmarshalLicensePropertiesClassification(data)
	if err != nil {
		return err
	}
	l.LicensePropertiesClassification = res
	return nil
}

// UnmarshalJSON implements the json.Unmarshaller interface for type PrivateCloudsClientGetVcfLicenseResponse.
func (p *PrivateCloudsClientGetVcfLicenseResponse) UnmarshalJSON(data []byte) error {
	res, err := unmarshalVcfLicenseClassification(data)
	if err != nil {
		return err
	}
	p.VcfLicenseClassification = res
	return nil
}
