// 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;

/** Exchange request properties. */
@Fluent
public final class ExchangeRequestProperties {
    /*
     * SessionId that was returned by CalculateExchange API.
     */
    @JsonProperty(value = "sessionId")
    private String sessionId;

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

    /**
     * Get the sessionId property: SessionId that was returned by CalculateExchange API.
     *
     * @return the sessionId value.
     */
    public String sessionId() {
        return this.sessionId;
    }

    /**
     * Set the sessionId property: SessionId that was returned by CalculateExchange API.
     *
     * @param sessionId the sessionId value to set.
     * @return the ExchangeRequestProperties object itself.
     */
    public ExchangeRequestProperties withSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

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