// 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;

/** The Video resolution. */
@Fluent
public final class VideoResolution {
    /*
     * The number of columns of the Video image.
     */
    @JsonProperty(value = "width")
    private Float width;

    /*
     * The number of lines of the Video image.
     */
    @JsonProperty(value = "height")
    private Float height;

    /**
     * Get the width property: The number of columns of the Video image.
     *
     * @return the width value.
     */
    public Float getWidth() {
        return this.width;
    }

    /**
     * Set the width property: The number of columns of the Video image.
     *
     * @param width the width value to set.
     * @return the VideoResolution object itself.
     */
    public VideoResolution setWidth(Float width) {
        this.width = width;
        return this;
    }

    /**
     * Get the height property: The number of lines of the Video image.
     *
     * @return the height value.
     */
    public Float getHeight() {
        return this.height;
    }

    /**
     * Set the height property: The number of lines of the Video image.
     *
     * @param height the height value to set.
     * @return the VideoResolution object itself.
     */
    public VideoResolution setHeight(Float height) {
        this.height = height;
        return this;
    }
}
