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

package com.azure.resourcemanager.mediaservices.models;

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

/** Filter First Quality. */
@Fluent
public final class FirstQuality {
    /*
     * The first quality bitrate.
     */
    @JsonProperty(value = "bitrate", required = true)
    private int bitrate;

    /** Creates an instance of FirstQuality class. */
    public FirstQuality() {
    }

    /**
     * Get the bitrate property: The first quality bitrate.
     *
     * @return the bitrate value.
     */
    public int bitrate() {
        return this.bitrate;
    }

    /**
     * Set the bitrate property: The first quality bitrate.
     *
     * @param bitrate the bitrate value to set.
     * @return the FirstQuality object itself.
     */
    public FirstQuality withBitrate(int bitrate) {
        this.bitrate = bitrate;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
