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

package tsptest.methodoverride.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.Generated;

/**
 * The GroupQueryOptions model.
 */
@Fluent
public final class GroupQueryOptions {
    /*
     * The foo property.
     */
    @Generated
    private String foo;

    /*
     * The bar property.
     */
    @Generated
    private String bar;

    /**
     * Creates an instance of GroupQueryOptions class.
     */
    @Generated
    public GroupQueryOptions() {
    }

    /**
     * Get the foo property: The foo property.
     * 
     * @return the foo value.
     */
    @Generated
    public String getFoo() {
        return this.foo;
    }

    /**
     * Set the foo property: The foo property.
     * 
     * @param foo the foo value to set.
     * @return the GroupQueryOptions object itself.
     */
    @Generated
    public GroupQueryOptions setFoo(String foo) {
        this.foo = foo;
        return this;
    }

    /**
     * Get the bar property: The bar property.
     * 
     * @return the bar value.
     */
    @Generated
    public String getBar() {
        return this.bar;
    }

    /**
     * Set the bar property: The bar property.
     * 
     * @param bar the bar value to set.
     * @return the GroupQueryOptions object itself.
     */
    @Generated
    public GroupQueryOptions setBar(String bar) {
        this.bar = bar;
        return this;
    }
}
