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

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

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** A license that can be used to deploy an Azure Stack device. */
@Fluent
public final class DeploymentLicenseResponseInner {
    /*
     * A license chain that can be used to temporarily activate an Azure Stack device.
     */
    @JsonProperty(value = "temporaryLicenseChain")
    private List<String> temporaryLicenseChain;

    /*
     * Signature of the license chain.
     */
    @JsonProperty(value = "signature")
    private String signature;

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

    /**
     * Get the temporaryLicenseChain property: A license chain that can be used to temporarily activate an Azure Stack
     * device.
     *
     * @return the temporaryLicenseChain value.
     */
    public List<String> temporaryLicenseChain() {
        return this.temporaryLicenseChain;
    }

    /**
     * Set the temporaryLicenseChain property: A license chain that can be used to temporarily activate an Azure Stack
     * device.
     *
     * @param temporaryLicenseChain the temporaryLicenseChain value to set.
     * @return the DeploymentLicenseResponseInner object itself.
     */
    public DeploymentLicenseResponseInner withTemporaryLicenseChain(List<String> temporaryLicenseChain) {
        this.temporaryLicenseChain = temporaryLicenseChain;
        return this;
    }

    /**
     * Get the signature property: Signature of the license chain.
     *
     * @return the signature value.
     */
    public String signature() {
        return this.signature;
    }

    /**
     * Set the signature property: Signature of the license chain.
     *
     * @param signature the signature value to set.
     * @return the DeploymentLicenseResponseInner object itself.
     */
    public DeploymentLicenseResponseInner withSignature(String signature) {
        this.signature = signature;
        return this;
    }

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