// 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 armbicep

// DecompileOperationRequest - The body of the request for the decompileBicep operation
type DecompileOperationRequest struct {
	// REQUIRED; The ARM json template to be decompiled into a Bicep file
	Template *string
}

// DecompileOperationSuccessResponse - The response of the decompileBicep operation
type DecompileOperationSuccessResponse struct {
	// REQUIRED; The file path to the main Bicep file generated from the decompiled ARM json template.
	EntryPoint *string

	// REQUIRED; An array of key-value pairs containing the entryPoint string as the key for the Bicep file decompiled from the
	// ARM json template
	Files []*FileDefinition
}

// FileDefinition - The definition of a file along with its contents
type FileDefinition struct {
	// The contents of the Bicep file.
	Contents *string

	// The file path of the Bicep file.
	Path *string
}
