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

package com.azure.resourcemanager.botservice.models;

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

/** the constraints of the bot meta data. */
@Fluent
public final class ServiceProviderParameterMetadataConstraints {
    /*
     * Whether required the constraints of the bot meta data.
     */
    @JsonProperty(value = "required")
    private Boolean required;

    /**
     * Get the required property: Whether required the constraints of the bot meta data.
     *
     * @return the required value.
     */
    public Boolean required() {
        return this.required;
    }

    /**
     * Set the required property: Whether required the constraints of the bot meta data.
     *
     * @param required the required value to set.
     * @return the ServiceProviderParameterMetadataConstraints object itself.
     */
    public ServiceProviderParameterMetadataConstraints withRequired(Boolean required) {
        this.required = required;
        return this;
    }

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