interfaces.go raw

   1  //go:build go1.18
   2  // +build go1.18
   3  
   4  // Copyright (c) Microsoft Corporation. All rights reserved.
   5  // Licensed under the MIT License. See License.txt in the project root for license information.
   6  // Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
   7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
   8  
   9  package armresourcegraph
  10  
  11  // FacetClassification provides polymorphic access to related types.
  12  // Call the interface's GetFacet() method to access the common type.
  13  // Use a type switch to determine the concrete type.  The possible types are:
  14  // - *Facet, *FacetError, *FacetResult
  15  type FacetClassification interface {
  16  	// GetFacet returns the Facet content of the underlying type.
  17  	GetFacet() *Facet
  18  }
  19