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

package com.azure.resourcemanager.securityinsights.models;

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

/** Resources created in GitHub repository. */
@Fluent
public final class GitHubResourceInfo {
    /*
     * GitHub application installation id.
     */
    @JsonProperty(value = "appInstallationId")
    private String appInstallationId;

    /**
     * Get the appInstallationId property: GitHub application installation id.
     *
     * @return the appInstallationId value.
     */
    public String appInstallationId() {
        return this.appInstallationId;
    }

    /**
     * Set the appInstallationId property: GitHub application installation id.
     *
     * @param appInstallationId the appInstallationId value to set.
     * @return the GitHubResourceInfo object itself.
     */
    public GitHubResourceInfo withAppInstallationId(String appInstallationId) {
        this.appInstallationId = appInstallationId;
        return this;
    }

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