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

package com.azure.resourcemanager.recoveryservicessiterecovery.models;

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

/** Migration item recovery point properties. */
@Immutable
public final class MigrationRecoveryPointProperties {
    /*
     * The recovery point time.
     */
    @JsonProperty(value = "recoveryPointTime", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime recoveryPointTime;

    /*
     * The recovery point type.
     */
    @JsonProperty(value = "recoveryPointType", access = JsonProperty.Access.WRITE_ONLY)
    private MigrationRecoveryPointType recoveryPointType;

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

    /**
     * Get the recoveryPointTime property: The recovery point time.
     *
     * @return the recoveryPointTime value.
     */
    public OffsetDateTime recoveryPointTime() {
        return this.recoveryPointTime;
    }

    /**
     * Get the recoveryPointType property: The recovery point type.
     *
     * @return the recoveryPointType value.
     */
    public MigrationRecoveryPointType recoveryPointType() {
        return this.recoveryPointType;
    }

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