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

package com.azure.resourcemanager.reservations.models;

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

/** Request body for change directory of a reservation. */
@Fluent
public final class ChangeDirectoryRequest {
    /*
     * Tenant id GUID that reservation order is to be transferred to
     */
    @JsonProperty(value = "destinationTenantId")
    private String destinationTenantId;

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

    /**
     * Get the destinationTenantId property: Tenant id GUID that reservation order is to be transferred to.
     *
     * @return the destinationTenantId value.
     */
    public String destinationTenantId() {
        return this.destinationTenantId;
    }

    /**
     * Set the destinationTenantId property: Tenant id GUID that reservation order is to be transferred to.
     *
     * @param destinationTenantId the destinationTenantId value to set.
     * @return the ChangeDirectoryRequest object itself.
     */
    public ChangeDirectoryRequest withDestinationTenantId(String destinationTenantId) {
        this.destinationTenantId = destinationTenantId;
        return this;
    }

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