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

package com.azure.maps.weather.models;

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

/** The ColorValue model. */
@Fluent
public final class ColorValue {
    /*
     * Red component of the RGB value.
     */
    @JsonProperty(value = "red")
    private Integer red;

    /*
     * Green component of the RGB value.
     */
    @JsonProperty(value = "green")
    private Integer green;

    /*
     * Blue component of the RGB value
     */
    @JsonProperty(value = "blue")
    private Integer blue;

    /*
     * Hexadecimal color value.
     */
    @JsonProperty(value = "hex")
    private String hex;

    /** Set default ColorValue constructor to private */
    private ColorValue() {}

    /**
     * Get the red property: Red component of the RGB value.
     *
     * @return the red value.
     */
    public Integer getRed() {
        return this.red;
    }

    /**
     * Get the green property: Green component of the RGB value.
     *
     * @return the green value.
     */
    public Integer getGreen() {
        return this.green;
    }

    /**
     * Get the blue property: Blue component of the RGB value.
     *
     * @return the blue value.
     */
    public Integer getBlue() {
        return this.blue;
    }

    /**
     * Get the hex property: Hexadecimal color value.
     *
     * @return the hex value.
     */
    public String getHex() {
        return this.hex;
    }
}
