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

package com.azure.resourcemanager.devtestlabs.models;

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

/** Properties of an hourly schedule. */
@Fluent
public final class HourDetails {
    /*
     * Minutes of the hour the schedule will run.
     */
    @JsonProperty(value = "minute")
    private Integer minute;

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

    /**
     * Get the minute property: Minutes of the hour the schedule will run.
     *
     * @return the minute value.
     */
    public Integer minute() {
        return this.minute;
    }

    /**
     * Set the minute property: Minutes of the hour the schedule will run.
     *
     * @param minute the minute value to set.
     * @return the HourDetails object itself.
     */
    public HourDetails withMinute(Integer minute) {
        this.minute = minute;
        return this;
    }

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