// 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 AzureDevOpsConnectorStatsProperties model. */
@Fluent
public final class AzureDevOpsConnectorStatsProperties {
    /*
     * The provisioningState property.
     */
    @JsonProperty(value = "provisioningState")
    private ProvisioningState provisioningState;

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

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

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

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

    /**
     * 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 AzureDevOpsConnectorStatsProperties object itself.
     */
    public AzureDevOpsConnectorStatsProperties withProvisioningState(ProvisioningState provisioningState) {
        this.provisioningState = provisioningState;
        return this;
    }

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

    /**
     * Set the orgsCount property: Gets or sets orgs count.
     *
     * @param orgsCount the orgsCount value to set.
     * @return the AzureDevOpsConnectorStatsProperties object itself.
     */
    public AzureDevOpsConnectorStatsProperties withOrgsCount(Long orgsCount) {
        this.orgsCount = orgsCount;
        return this;
    }

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

    /**
     * Set the projectsCount property: Gets or sets projects count.
     *
     * @param projectsCount the projectsCount value to set.
     * @return the AzureDevOpsConnectorStatsProperties object itself.
     */
    public AzureDevOpsConnectorStatsProperties withProjectsCount(Long projectsCount) {
        this.projectsCount = projectsCount;
        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 AzureDevOpsConnectorStatsProperties object itself.
     */
    public AzureDevOpsConnectorStatsProperties withReposCount(Long reposCount) {
        this.reposCount = reposCount;
        return this;
    }

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