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

package com.azure.resourcemanager.securitydevops.models;

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

/** The GitHubConnectorStatsProperties model. */
@Fluent
public final class GitHubConnectorStatsProperties {
    /*
     * The provisioningState property.
     */
    @JsonProperty(value = "provisioningState")
    private ProvisioningState provisioningState;

    /*
     * Gets or sets owners count.
     */
    @JsonProperty(value = "ownersCount")
    private Long ownersCount;

    /*
     * Gets or sets repos count.
     */
    @JsonProperty(value = "reposCount")
    private Long reposCount;

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

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

    /**
     * Set the provisioningState property: The provisioningState property.
     *
     * @param provisioningState the provisioningState value to set.
     * @return the GitHubConnectorStatsProperties object itself.
     */
    public GitHubConnectorStatsProperties withProvisioningState(ProvisioningState provisioningState) {
        this.provisioningState = provisioningState;
        return this;
    }

    /**
     * Get the ownersCount property: Gets or sets owners count.
     *
     * @return the ownersCount value.
     */
    public Long ownersCount() {
        return this.ownersCount;
    }

    /**
     * Set the ownersCount property: Gets or sets owners count.
     *
     * @param ownersCount the ownersCount value to set.
     * @return the GitHubConnectorStatsProperties object itself.
     */
    public GitHubConnectorStatsProperties withOwnersCount(Long ownersCount) {
        this.ownersCount = ownersCount;
        return this;
    }

    /**
     * Get the reposCount property: Gets or sets repos count.
     *
     * @return the reposCount value.
     */
    public Long reposCount() {
        return this.reposCount;
    }

    /**
     * Set the reposCount property: Gets or sets repos count.
     *
     * @param reposCount the reposCount value to set.
     * @return the GitHubConnectorStatsProperties object itself.
     */
    public GitHubConnectorStatsProperties withReposCount(Long reposCount) {
        this.reposCount = reposCount;
        return this;
    }

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