Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.graphrbac.implementation;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
Active Directory application information.
/**
* Active Directory application information.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("Application")
public class ApplicationInner extends DirectoryObjectInner {
The application ID.
/**
* The application ID.
*/
@JsonProperty(value = "appId")
private String appId;
The application permissions.
/**
* The application permissions.
*/
@JsonProperty(value = "appPermissions")
private List<String> appPermissions;
Whether the application is be available to other tenants.
/**
* Whether the application is be available to other tenants.
*/
@JsonProperty(value = "availableToOtherTenants")
private Boolean availableToOtherTenants;
The display name of the application.
/**
* The display name of the application.
*/
@JsonProperty(value = "displayName")
private String displayName;
A collection of URIs for the application.
/**
* A collection of URIs for the application.
*/
@JsonProperty(value = "identifierUris")
private List<String> identifierUris;
A collection of reply URLs for the application.
/**
* A collection of reply URLs for the application.
*/
@JsonProperty(value = "replyUrls")
private List<String> replyUrls;
The home page of the application.
/**
* The home page of the application.
*/
@JsonProperty(value = "homepage")
private String homepage;
Whether to allow implicit grant flow for OAuth2.
/**
* Whether to allow implicit grant flow for OAuth2.
*/
@JsonProperty(value = "oauth2AllowImplicitFlow")
private Boolean oauth2AllowImplicitFlow;
Get the appId value.
Returns: the appId value
/**
* Get the appId value.
*
* @return the appId value
*/
public String appId() {
return this.appId;
}
Set the appId value.
Params: - appId – the appId value to set
Returns: the ApplicationInner object itself.
/**
* Set the appId value.
*
* @param appId the appId value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withAppId(String appId) {
this.appId = appId;
return this;
}
Get the appPermissions value.
Returns: the appPermissions value
/**
* Get the appPermissions value.
*
* @return the appPermissions value
*/
public List<String> appPermissions() {
return this.appPermissions;
}
Set the appPermissions value.
Params: - appPermissions – the appPermissions value to set
Returns: the ApplicationInner object itself.
/**
* Set the appPermissions value.
*
* @param appPermissions the appPermissions value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withAppPermissions(List<String> appPermissions) {
this.appPermissions = appPermissions;
return this;
}
Get the availableToOtherTenants value.
Returns: the availableToOtherTenants value
/**
* Get the availableToOtherTenants value.
*
* @return the availableToOtherTenants value
*/
public Boolean availableToOtherTenants() {
return this.availableToOtherTenants;
}
Set the availableToOtherTenants value.
Params: - availableToOtherTenants – the availableToOtherTenants value to set
Returns: the ApplicationInner object itself.
/**
* Set the availableToOtherTenants value.
*
* @param availableToOtherTenants the availableToOtherTenants value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withAvailableToOtherTenants(Boolean availableToOtherTenants) {
this.availableToOtherTenants = availableToOtherTenants;
return this;
}
Get the displayName value.
Returns: the displayName value
/**
* Get the displayName value.
*
* @return the displayName value
*/
public String displayName() {
return this.displayName;
}
Set the displayName value.
Params: - displayName – the displayName value to set
Returns: the ApplicationInner object itself.
/**
* Set the displayName value.
*
* @param displayName the displayName value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
Get the identifierUris value.
Returns: the identifierUris value
/**
* Get the identifierUris value.
*
* @return the identifierUris value
*/
public List<String> identifierUris() {
return this.identifierUris;
}
Set the identifierUris value.
Params: - identifierUris – the identifierUris value to set
Returns: the ApplicationInner object itself.
/**
* Set the identifierUris value.
*
* @param identifierUris the identifierUris value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withIdentifierUris(List<String> identifierUris) {
this.identifierUris = identifierUris;
return this;
}
Get the replyUrls value.
Returns: the replyUrls value
/**
* Get the replyUrls value.
*
* @return the replyUrls value
*/
public List<String> replyUrls() {
return this.replyUrls;
}
Set the replyUrls value.
Params: - replyUrls – the replyUrls value to set
Returns: the ApplicationInner object itself.
/**
* Set the replyUrls value.
*
* @param replyUrls the replyUrls value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withReplyUrls(List<String> replyUrls) {
this.replyUrls = replyUrls;
return this;
}
Get the homepage value.
Returns: the homepage value
/**
* Get the homepage value.
*
* @return the homepage value
*/
public String homepage() {
return this.homepage;
}
Set the homepage value.
Params: - homepage – the homepage value to set
Returns: the ApplicationInner object itself.
/**
* Set the homepage value.
*
* @param homepage the homepage value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withHomepage(String homepage) {
this.homepage = homepage;
return this;
}
Get the oauth2AllowImplicitFlow value.
Returns: the oauth2AllowImplicitFlow value
/**
* Get the oauth2AllowImplicitFlow value.
*
* @return the oauth2AllowImplicitFlow value
*/
public Boolean oauth2AllowImplicitFlow() {
return this.oauth2AllowImplicitFlow;
}
Set the oauth2AllowImplicitFlow value.
Params: - oauth2AllowImplicitFlow – the oauth2AllowImplicitFlow value to set
Returns: the ApplicationInner object itself.
/**
* Set the oauth2AllowImplicitFlow value.
*
* @param oauth2AllowImplicitFlow the oauth2AllowImplicitFlow value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withOauth2AllowImplicitFlow(Boolean oauth2AllowImplicitFlow) {
this.oauth2AllowImplicitFlow = oauth2AllowImplicitFlow;
return this;
}
}