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

package com.azure.resourcemanager.providerhub.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The ExtensionOptions model. */
@Fluent
public class ExtensionOptions {
    /*
     * The request property.
     */
    @JsonProperty(value = "request")
    private List<ExtensionOptionType> request;

    /*
     * The response property.
     */
    @JsonProperty(value = "response")
    private List<ExtensionOptionType> response;

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

    /**
     * Get the request property: The request property.
     *
     * @return the request value.
     */
    public List<ExtensionOptionType> request() {
        return this.request;
    }

    /**
     * Set the request property: The request property.
     *
     * @param request the request value to set.
     * @return the ExtensionOptions object itself.
     */
    public ExtensionOptions withRequest(List<ExtensionOptionType> request) {
        this.request = request;
        return this;
    }

    /**
     * Get the response property: The response property.
     *
     * @return the response value.
     */
    public List<ExtensionOptionType> response() {
        return this.response;
    }

    /**
     * Set the response property: The response property.
     *
     * @param response the response value to set.
     * @return the ExtensionOptions object itself.
     */
    public ExtensionOptions withResponse(List<ExtensionOptionType> response) {
        this.response = response;
        return this;
    }

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