All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.cognitiveservices.vision.computervision.models.GenerateThumbnailInStreamOptionalParameter Maven / Gradle / Ivy

The newest version!
/**
 * 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.vision.computervision.models;


/**
 * The GenerateThumbnailInStreamOptionalParameter model.
 */
public class GenerateThumbnailInStreamOptionalParameter {
    /**
     * Boolean flag for enabling smart cropping.
     */
    private Boolean smartCropping;

    /**
     * Optional parameter to specify the version of the AI model. Accepted
     * values are: "latest", "2021-04-01". Defaults to "latest".
     */
    private String modelVersion;

    /**
     * Gets or sets the preferred language for the response.
     */
    private String thisclientacceptLanguage;

    /**
     * Get the smartCropping value.
     *
     * @return the smartCropping value
     */
    public Boolean smartCropping() {
        return this.smartCropping;
    }

    /**
     * Set the smartCropping value.
     *
     * @param smartCropping the smartCropping value to set
     * @return the GenerateThumbnailInStreamOptionalParameter object itself.
     */
    public GenerateThumbnailInStreamOptionalParameter withSmartCropping(Boolean smartCropping) {
        this.smartCropping = smartCropping;
        return this;
    }

    /**
     * Get the modelVersion value.
     *
     * @return the modelVersion value
     */
    public String modelVersion() {
        return this.modelVersion;
    }

    /**
     * Set the modelVersion value.
     *
     * @param modelVersion the modelVersion value to set
     * @return the GenerateThumbnailInStreamOptionalParameter object itself.
     */
    public GenerateThumbnailInStreamOptionalParameter withModelVersion(String modelVersion) {
        this.modelVersion = modelVersion;
        return this;
    }

    /**
     * Get the thisclientacceptLanguage value.
     *
     * @return the thisclientacceptLanguage value
     */
    public String thisclientacceptLanguage() {
        return this.thisclientacceptLanguage;
    }

    /**
     * Set the thisclientacceptLanguage value.
     *
     * @param thisclientacceptLanguage the thisclientacceptLanguage value to set
     * @return the GenerateThumbnailInStreamOptionalParameter object itself.
     */
    public GenerateThumbnailInStreamOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage) {
        this.thisclientacceptLanguage = thisclientacceptLanguage;
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy