TeamsUserAccessTokenRequest.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.communication.identity.implementation.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The TeamsUserAccessTokenRequest model. */
@Fluent
public final class TeamsUserAccessTokenRequest {
/*
* AAD access token of a Teams User to acquire a new Communication Identity
* access token.
*/
@JsonProperty(value = "token", required = true)
private String token;
/**
* Get the token property: AAD access token of a Teams User to acquire a new Communication Identity access token.
*
* @return the token value.
*/
public String getToken() {
return this.token;
}
/**
* Set the token property: AAD access token of a Teams User to acquire a new Communication Identity access token.
*
* @param token the token value to set.
* @return the TeamsUserAccessTokenRequest object itself.
*/
public TeamsUserAccessTokenRequest setToken(String token) {
this.token = token;
return this;
}
}