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

package com.azure.resourcemanager.newrelicobservability.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.newrelicobservability.models.BillingSource;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Details of Organizations. */
@Fluent
public final class OrganizationProperties {
    /*
     * organization id
     */
    @JsonProperty(value = "organizationId")
    private String organizationId;

    /*
     * organization name
     */
    @JsonProperty(value = "organizationName")
    private String organizationName;

    /*
     * Billing source
     */
    @JsonProperty(value = "billingSource")
    private BillingSource billingSource;

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

    /**
     * Get the organizationId property: organization id.
     *
     * @return the organizationId value.
     */
    public String organizationId() {
        return this.organizationId;
    }

    /**
     * Set the organizationId property: organization id.
     *
     * @param organizationId the organizationId value to set.
     * @return the OrganizationProperties object itself.
     */
    public OrganizationProperties withOrganizationId(String organizationId) {
        this.organizationId = organizationId;
        return this;
    }

    /**
     * Get the organizationName property: organization name.
     *
     * @return the organizationName value.
     */
    public String organizationName() {
        return this.organizationName;
    }

    /**
     * Set the organizationName property: organization name.
     *
     * @param organizationName the organizationName value to set.
     * @return the OrganizationProperties object itself.
     */
    public OrganizationProperties withOrganizationName(String organizationName) {
        this.organizationName = organizationName;
        return this;
    }

    /**
     * Get the billingSource property: Billing source.
     *
     * @return the billingSource value.
     */
    public BillingSource billingSource() {
        return this.billingSource;
    }

    /**
     * Set the billingSource property: Billing source.
     *
     * @param billingSource the billingSource value to set.
     * @return the OrganizationProperties object itself.
     */
    public OrganizationProperties withBillingSource(BillingSource billingSource) {
        this.billingSource = billingSource;
        return this;
    }

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