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

package com.azure.resourcemanager.providerhub.models;

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

/** The AuthorizationActionMapping model. */
@Fluent
public final class AuthorizationActionMapping {
    /*
     * The original property.
     */
    @JsonProperty(value = "original")
    private String original;

    /*
     * The desired property.
     */
    @JsonProperty(value = "desired")
    private String desired;

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

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

    /**
     * Set the original property: The original property.
     *
     * @param original the original value to set.
     * @return the AuthorizationActionMapping object itself.
     */
    public AuthorizationActionMapping withOriginal(String original) {
        this.original = original;
        return this;
    }

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

    /**
     * Set the desired property: The desired property.
     *
     * @param desired the desired value to set.
     * @return the AuthorizationActionMapping object itself.
     */
    public AuthorizationActionMapping withDesired(String desired) {
        this.desired = desired;
        return this;
    }

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