// 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.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** Raw image formatting. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@type")
@JsonTypeName("#Microsoft.VideoAnalyzer.ImageFormatRaw")
@Fluent
public final class ImageFormatRaw extends ImageFormatProperties {
    /*
     * Pixel format to be applied to the raw image.
     */
    @JsonProperty(value = "pixelFormat", required = true)
    private ImageFormatRawPixelFormat pixelFormat;

    /**
     * Creates an instance of ImageFormatRaw class.
     *
     * @param pixelFormat the pixelFormat value to set.
     */
    @JsonCreator
    public ImageFormatRaw(@JsonProperty(value = "pixelFormat", required = true) ImageFormatRawPixelFormat pixelFormat) {
        this.pixelFormat = pixelFormat;
    }

    /**
     * Get the pixelFormat property: Pixel format to be applied to the raw image.
     *
     * @return the pixelFormat value.
     */
    public ImageFormatRawPixelFormat getPixelFormat() {
        return this.pixelFormat;
    }
}
