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

package com.azure.mixedreality.authentication.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Represents a token response message from the STS service. */
@Fluent
public final class StsTokenResponseMessage {
    /*
     * An access token for the account.
     */
    @JsonProperty(value = "AccessToken", required = true)
    private String accessToken;

    /**
     * Get the accessToken property: An access token for the account.
     *
     * @return the accessToken value.
     */
    public String getAccessToken() {
        return this.accessToken;
    }

    /**
     * Set the accessToken property: An access token for the account.
     *
     * @param accessToken the accessToken value to set.
     * @return the StsTokenResponseMessage object itself.
     */
    public StsTokenResponseMessage setAccessToken(String accessToken) {
        this.accessToken = accessToken;
        return this;
    }
}
