
com.microsoft.azure.cognitiveservices.search.customimagesearch.models.ImageContent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-customimagesearch Show documentation
Show all versions of azure-cognitiveservices-customimagesearch Show documentation
This package contains Microsoft Cognitive Service Custom Image Search SDK.
/**
* 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) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.search.customimagesearch.models;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for ImageContent.
*/
public final class ImageContent extends ExpandableStringEnum {
/** Static value Face for ImageContent. */
public static final ImageContent FACE = fromString("Face");
/** Static value Portrait for ImageContent. */
public static final ImageContent PORTRAIT = fromString("Portrait");
/**
* Creates or finds a ImageContent from its string representation.
* @param name a name to look for
* @return the corresponding ImageContent
*/
@JsonCreator
public static ImageContent fromString(String name) {
return fromString(name, ImageContent.class);
}
/**
* @return known ImageContent values
*/
public static Collection values() {
return values(ImageContent.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy