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

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

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

/** Shipment pick up response. */
@Immutable
public final class ShipmentPickUpResponseInner {
    /*
     * Confirmation number for the pick up request.
     */
    @JsonProperty(value = "confirmationNumber", access = JsonProperty.Access.WRITE_ONLY)
    private String confirmationNumber;

    /*
     * Time by which shipment should be ready for pick up, this is in local time of pick up area.
     */
    @JsonProperty(value = "readyByTime", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime readyByTime;

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

    /**
     * Get the confirmationNumber property: Confirmation number for the pick up request.
     *
     * @return the confirmationNumber value.
     */
    public String confirmationNumber() {
        return this.confirmationNumber;
    }

    /**
     * Get the readyByTime property: Time by which shipment should be ready for pick up, this is in local time of pick
     * up area.
     *
     * @return the readyByTime value.
     */
    public OffsetDateTime readyByTime() {
        return this.readyByTime;
    }

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