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

package com.azure.ai.personalizer.administration.models;

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

/** A date range starting at From and ending at To. */
@Immutable
public class PersonalizerDateRange {
    /*
     * Start date for the range.
     */
    @JsonProperty(value = "from", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime from;

    /*
     * End date for the range.
     */
    @JsonProperty(value = "to", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime to;

    /**
     * Get the from property: Start date for the range.
     *
     * @return the from value.
     */
    public OffsetDateTime getFrom() {
        return this.from;
    }

    /**
     * Get the to property: End date for the range.
     *
     * @return the to value.
     */
    public OffsetDateTime getTo() {
        return this.to;
    }
}
