...

Source file src/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/contentmoderator/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/contentmoderator

     1  package contentmoderator
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  // StatusEnum enumerates the values for status enum.
    10  type StatusEnum string
    11  
    12  const (
    13  	// Complete ...
    14  	Complete StatusEnum = "Complete"
    15  	// Pending ...
    16  	Pending StatusEnum = "Pending"
    17  	// Unpublished ...
    18  	Unpublished StatusEnum = "Unpublished"
    19  )
    20  
    21  // PossibleStatusEnumValues returns an array of possible values for the StatusEnum const type.
    22  func PossibleStatusEnumValues() []StatusEnum {
    23  	return []StatusEnum{Complete, Pending, Unpublished}
    24  }
    25  
    26  // Type enumerates the values for type.
    27  type Type string
    28  
    29  const (
    30  	// TypeImage ...
    31  	TypeImage Type = "Image"
    32  	// TypeText ...
    33  	TypeText Type = "Text"
    34  )
    35  
    36  // PossibleTypeValues returns an array of possible values for the Type const type.
    37  func PossibleTypeValues() []Type {
    38  	return []Type{TypeImage, TypeText}
    39  }
    40  

View as plain text