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

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

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

/** Policy description properties. */
@Immutable
public final class PolicyDescriptionContractProperties {
    /*
     * Policy description.
     */
    @JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY)
    private String description;

    /*
     * Binary OR value of the Snippet scope.
     */
    @JsonProperty(value = "scope", access = JsonProperty.Access.WRITE_ONLY)
    private Long scope;

    /**
     * Get the description property: Policy description.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Get the scope property: Binary OR value of the Snippet scope.
     *
     * @return the scope value.
     */
    public Long scope() {
        return this.scope;
    }

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