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

package com.azure.resourcemanager.hanaonazure.models;

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

/** Detailed HANA operation information. */
@Immutable
public final class Display {
    /*
     * The localized friendly form of the resource provider name. This form is also expected to include the
     * publisher/company responsible. Use Title Casing. Begin with "Microsoft" for 1st party services.
     */
    @JsonProperty(value = "provider", access = JsonProperty.Access.WRITE_ONLY)
    private String provider;

    /*
     * The localized friendly form of the resource type related to this action/operation. This form should match the
     * public documentation for the resource provider. Use Title Casing. For examples, refer to the “name” section.
     */
    @JsonProperty(value = "resource", access = JsonProperty.Access.WRITE_ONLY)
    private String resource;

    /*
     * The localized friendly name for the operation as shown to the user. This name should be concise (to fit in drop
     * downs), but clear (self-documenting). Use Title Casing and include the entity/resource to which it applies.
     */
    @JsonProperty(value = "operation", access = JsonProperty.Access.WRITE_ONLY)
    private String operation;

    /*
     * The localized friendly description for the operation as shown to the user. This description should be thorough,
     * yet concise. It will be used in tool-tips and detailed views.
     */
    @JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY)
    private String description;

    /*
     * The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs
     * UX. Default value is 'user,system'
     */
    @JsonProperty(value = "origin", access = JsonProperty.Access.WRITE_ONLY)
    private String origin;

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

    /**
     * Get the provider property: The localized friendly form of the resource provider name. This form is also expected
     * to include the publisher/company responsible. Use Title Casing. Begin with "Microsoft" for 1st party services.
     *
     * @return the provider value.
     */
    public String provider() {
        return this.provider;
    }

    /**
     * Get the resource property: The localized friendly form of the resource type related to this action/operation.
     * This form should match the public documentation for the resource provider. Use Title Casing. For examples, refer
     * to the “name” section.
     *
     * @return the resource value.
     */
    public String resource() {
        return this.resource;
    }

    /**
     * Get the operation property: The localized friendly name for the operation as shown to the user. This name should
     * be concise (to fit in drop downs), but clear (self-documenting). Use Title Casing and include the entity/resource
     * to which it applies.
     *
     * @return the operation value.
     */
    public String operation() {
        return this.operation;
    }

    /**
     * Get the description property: The localized friendly description for the operation as shown to the user. This
     * description should be thorough, yet concise. It will be used in tool-tips and detailed views.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Get the origin property: The intended executor of the operation; governs the display of the operation in the RBAC
     * UX and the audit logs UX. Default value is 'user,system'.
     *
     * @return the origin value.
     */
    public String origin() {
        return this.origin;
    }

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