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

package com.azure.resourcemanager.automation.fluent.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;

/** Definition of the statistic. */
@Immutable
public final class StatisticsInner {
    /*
     * Gets the property value of the statistic.
     */
    @JsonProperty(value = "counterProperty", access = JsonProperty.Access.WRITE_ONLY)
    private String counterProperty;

    /*
     * Gets the value of the statistic.
     */
    @JsonProperty(value = "counterValue", access = JsonProperty.Access.WRITE_ONLY)
    private Long counterValue;

    /*
     * Gets the startTime of the statistic.
     */
    @JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime startTime;

    /*
     * Gets the endTime of the statistic.
     */
    @JsonProperty(value = "endTime", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime endTime;

    /*
     * Gets the id.
     */
    @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
    private String id;

    /**
     * Get the counterProperty property: Gets the property value of the statistic.
     *
     * @return the counterProperty value.
     */
    public String counterProperty() {
        return this.counterProperty;
    }

    /**
     * Get the counterValue property: Gets the value of the statistic.
     *
     * @return the counterValue value.
     */
    public Long counterValue() {
        return this.counterValue;
    }

    /**
     * Get the startTime property: Gets the startTime of the statistic.
     *
     * @return the startTime value.
     */
    public OffsetDateTime startTime() {
        return this.startTime;
    }

    /**
     * Get the endTime property: Gets the endTime of the statistic.
     *
     * @return the endTime value.
     */
    public OffsetDateTime endTime() {
        return this.endTime;
    }

    /**
     * Get the id property: Gets the id.
     *
     * @return the id value.
     */
    public String id() {
        return this.id;
    }

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