// 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;

/** GitHub Repo Owner properties. */
@Fluent
public final class GitHubOwnerProperties {
    /*
     * The provisioningState property.
     */
    @JsonProperty(value = "provisioningState")
    private ProvisioningState provisioningState;

    /*
     * Gets or sets gitHub owner url.
     */
    @JsonProperty(value = "ownerUrl")
    private String ownerUrl;

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

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

    /**
     * Get the ownerUrl property: Gets or sets gitHub owner url.
     *
     * @return the ownerUrl value.
     */
    public String ownerUrl() {
        return this.ownerUrl;
    }

    /**
     * Set the ownerUrl property: Gets or sets gitHub owner url.
     *
     * @param ownerUrl the ownerUrl value to set.
     * @return the GitHubOwnerProperties object itself.
     */
    public GitHubOwnerProperties withOwnerUrl(String ownerUrl) {
        this.ownerUrl = ownerUrl;
        return this;
    }

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