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

package com.azure.resourcemanager.logic.models;

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

/** The callback url parameters. */
@Fluent
public final class GetCallbackUrlParameters {
    /*
     * The expiry time.
     */
    @JsonProperty(value = "notAfter")
    private OffsetDateTime notAfter;

    /*
     * The key type.
     */
    @JsonProperty(value = "keyType")
    private KeyType keyType;

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

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

    /**
     * Set the notAfter property: The expiry time.
     *
     * @param notAfter the notAfter value to set.
     * @return the GetCallbackUrlParameters object itself.
     */
    public GetCallbackUrlParameters withNotAfter(OffsetDateTime notAfter) {
        this.notAfter = notAfter;
        return this;
    }

    /**
     * Get the keyType property: The key type.
     *
     * @return the keyType value.
     */
    public KeyType keyType() {
        return this.keyType;
    }

    /**
     * Set the keyType property: The key type.
     *
     * @param keyType the keyType value to set.
     * @return the GetCallbackUrlParameters object itself.
     */
    public GetCallbackUrlParameters withKeyType(KeyType keyType) {
        this.keyType = keyType;
        return this;
    }

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