// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.media.videoanalyzer.edge.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Image transformations and formatting options to be applied to the video frame(s). */
@Fluent
public final class ImageProperties {
    /*
     * Image scaling mode.
     */
    @JsonProperty(value = "scale")
    private ImageScale scale;

    /*
     * Base class for image formatting properties.
     */
    @JsonProperty(value = "format")
    private ImageFormatProperties format;

    /**
     * Get the scale property: Image scaling mode.
     *
     * @return the scale value.
     */
    public ImageScale getScale() {
        return this.scale;
    }

    /**
     * Set the scale property: Image scaling mode.
     *
     * @param scale the scale value to set.
     * @return the ImageProperties object itself.
     */
    public ImageProperties setScale(ImageScale scale) {
        this.scale = scale;
        return this;
    }

    /**
     * Get the format property: Base class for image formatting properties.
     *
     * @return the format value.
     */
    public ImageFormatProperties getFormat() {
        return this.format;
    }

    /**
     * Set the format property: Base class for image formatting properties.
     *
     * @param format the format value to set.
     * @return the ImageProperties object itself.
     */
    public ImageProperties setFormat(ImageFormatProperties format) {
        this.format = format;
        return this;
    }
}
