All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.botservice.models.ServiceProviderProperties Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for BotService Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Bot Service is a platform for creating smart conversational agents. Package tag package-2021-03-01.

There is a newer version: 1.0.0-beta.6
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.botservice.models;

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

/** The Object used to describe a Service Provider supported by Bot Service. */
@Fluent
public final class ServiceProviderProperties {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(ServiceProviderProperties.class);

    /*
     * Id for Service Provider
     */
    @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
    private String id;

    /*
     * Display Name of the Service Provider
     */
    @JsonProperty(value = "displayName", access = JsonProperty.Access.WRITE_ONLY)
    private String displayName;

    /*
     * Display Name of the Service Provider
     */
    @JsonProperty(value = "serviceProviderName", access = JsonProperty.Access.WRITE_ONLY)
    private String serviceProviderName;

    /*
     * Display Name of the Service Provider
     */
    @JsonProperty(value = "devPortalUrl", access = JsonProperty.Access.WRITE_ONLY)
    private String devPortalUrl;

    /*
     * Display Name of the Service Provider
     */
    @JsonProperty(value = "iconUrl", access = JsonProperty.Access.WRITE_ONLY)
    private String iconUrl;

    /*
     * The list of parameters for the Service Provider
     */
    @JsonProperty(value = "parameters")
    private List parameters;

    /**
     * Get the id property: Id for Service Provider.
     *
     * @return the id value.
     */
    public String id() {
        return this.id;
    }

    /**
     * Get the displayName property: Display Name of the Service Provider.
     *
     * @return the displayName value.
     */
    public String displayName() {
        return this.displayName;
    }

    /**
     * Get the serviceProviderName property: Display Name of the Service Provider.
     *
     * @return the serviceProviderName value.
     */
    public String serviceProviderName() {
        return this.serviceProviderName;
    }

    /**
     * Get the devPortalUrl property: Display Name of the Service Provider.
     *
     * @return the devPortalUrl value.
     */
    public String devPortalUrl() {
        return this.devPortalUrl;
    }

    /**
     * Get the iconUrl property: Display Name of the Service Provider.
     *
     * @return the iconUrl value.
     */
    public String iconUrl() {
        return this.iconUrl;
    }

    /**
     * Get the parameters property: The list of parameters for the Service Provider.
     *
     * @return the parameters value.
     */
    public List parameters() {
        return this.parameters;
    }

    /**
     * Set the parameters property: The list of parameters for the Service Provider.
     *
     * @param parameters the parameters value to set.
     * @return the ServiceProviderProperties object itself.
     */
    public ServiceProviderProperties withParameters(List parameters) {
        this.parameters = parameters;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
        if (parameters() != null) {
            parameters().forEach(e -> e.validate());
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy