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

com.azure.resourcemanager.healthbot.models.HealthBotProperties Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Healthbot Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft Healthcare Bot is a cloud platform that empowers developers in Healthcare organizations to build and deploy their compliant, AI-powered virtual health assistants and health bots, that help them improve processes and reduce costs. Package tag package-2020-12-08.

The 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.healthbot.models;

import com.azure.core.annotation.Immutable;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import java.io.IOException;

/**
 * HealthBotProperties
 * 
 * The properties of a HealthBot. The Health Bot Service is a cloud platform that empowers developers in Healthcare
 * organizations to build and deploy their compliant, AI-powered virtual health assistants and health bots, that help
 * them improve processes and reduce costs.
 */
@Immutable
public final class HealthBotProperties implements JsonSerializable {
    /*
     * The provisioning state of the Healthbot resource.
     */
    private String provisioningState;

    /*
     * The link.
     */
    private String botManagementPortalLink;

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

    /**
     * Get the provisioningState property: The provisioning state of the Healthbot resource.
     * 
     * @return the provisioningState value.
     */
    public String provisioningState() {
        return this.provisioningState;
    }

    /**
     * Get the botManagementPortalLink property: The link.
     * 
     * @return the botManagementPortalLink value.
     */
    public String botManagementPortalLink() {
        return this.botManagementPortalLink;
    }

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

    /**
     * {@inheritDoc}
     */
    @Override
    public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
        jsonWriter.writeStartObject();
        return jsonWriter.writeEndObject();
    }

    /**
     * Reads an instance of HealthBotProperties from the JsonReader.
     * 
     * @param jsonReader The JsonReader being read.
     * @return An instance of HealthBotProperties if the JsonReader was pointing to an instance of it, or null if it was
     * pointing to JSON null.
     * @throws IOException If an error occurs while reading the HealthBotProperties.
     */
    public static HealthBotProperties fromJson(JsonReader jsonReader) throws IOException {
        return jsonReader.readObject(reader -> {
            HealthBotProperties deserializedHealthBotProperties = new HealthBotProperties();
            while (reader.nextToken() != JsonToken.END_OBJECT) {
                String fieldName = reader.getFieldName();
                reader.nextToken();

                if ("provisioningState".equals(fieldName)) {
                    deserializedHealthBotProperties.provisioningState = reader.getString();
                } else if ("botManagementPortalLink".equals(fieldName)) {
                    deserializedHealthBotProperties.botManagementPortalLink = reader.getString();
                } else {
                    reader.skipChildren();
                }
            }

            return deserializedHealthBotProperties;
        });
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy