// 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.implementation;

import com.azure.resourcemanager.botservice.fluent.models.CheckNameAvailabilityResponseBodyInner;
import com.azure.resourcemanager.botservice.models.CheckNameAvailabilityResponseBody;

public final class CheckNameAvailabilityResponseBodyImpl implements CheckNameAvailabilityResponseBody {
    private CheckNameAvailabilityResponseBodyInner innerObject;

    private final com.azure.resourcemanager.botservice.BotServiceManager serviceManager;

    CheckNameAvailabilityResponseBodyImpl(
        CheckNameAvailabilityResponseBodyInner innerObject,
        com.azure.resourcemanager.botservice.BotServiceManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public Boolean valid() {
        return this.innerModel().valid();
    }

    public String message() {
        return this.innerModel().message();
    }

    public CheckNameAvailabilityResponseBodyInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.botservice.BotServiceManager manager() {
        return this.serviceManager;
    }
}
