com.microsoft.azure.management.graphrbac.implementation.ApplicationInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-graph-rbac Show documentation
Show all versions of azure-mgmt-graph-rbac Show documentation
This package contains Microsoft Azure Graph RBAC Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-authorization is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("Application")
public class ApplicationInner extends DirectoryObjectInner {
/**
* The application ID.
*/
@JsonProperty(value = "appId")
private String appId;
/**
* The application permissions.
*/
@JsonProperty(value = "appPermissions")
private List appPermissions;
/**
* Whether the application is be available to other tenants.
*/
@JsonProperty(value = "availableToOtherTenants")
private Boolean availableToOtherTenants;
/**
* The display name of the application.
*/
@JsonProperty(value = "displayName")
private String displayName;
/**
* A collection of URIs for the application.
*/
@JsonProperty(value = "identifierUris")
private List identifierUris;
/**
* A collection of reply URLs for the application.
*/
@JsonProperty(value = "replyUrls")
private List replyUrls;
/**
* The home page of the application.
*/
@JsonProperty(value = "homepage")
private String homepage;
/**
* Whether to allow implicit grant flow for OAuth2.
*/
@JsonProperty(value = "oauth2AllowImplicitFlow")
private Boolean oauth2AllowImplicitFlow;
/**
* Get the appId value.
*
* @return the appId value
*/
public String appId() {
return this.appId;
}
/**
* 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.
*
* @return the appPermissions value
*/
public List appPermissions() {
return this.appPermissions;
}
/**
* Set the appPermissions value.
*
* @param appPermissions the appPermissions value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withAppPermissions(List appPermissions) {
this.appPermissions = appPermissions;
return this;
}
/**
* Get the availableToOtherTenants value.
*
* @return the availableToOtherTenants value
*/
public Boolean availableToOtherTenants() {
return this.availableToOtherTenants;
}
/**
* 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.
*
* @return the displayName value
*/
public String displayName() {
return this.displayName;
}
/**
* 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.
*
* @return the identifierUris value
*/
public List identifierUris() {
return this.identifierUris;
}
/**
* Set the identifierUris value.
*
* @param identifierUris the identifierUris value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withIdentifierUris(List identifierUris) {
this.identifierUris = identifierUris;
return this;
}
/**
* Get the replyUrls value.
*
* @return the replyUrls value
*/
public List replyUrls() {
return this.replyUrls;
}
/**
* Set the replyUrls value.
*
* @param replyUrls the replyUrls value to set
* @return the ApplicationInner object itself.
*/
public ApplicationInner withReplyUrls(List replyUrls) {
this.replyUrls = replyUrls;
return this;
}
/**
* Get the homepage value.
*
* @return the homepage value
*/
public String homepage() {
return this.homepage;
}
/**
* 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.
*
* @return the oauth2AllowImplicitFlow value
*/
public Boolean oauth2AllowImplicitFlow() {
return this.oauth2AllowImplicitFlow;
}
/**
* 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;
}
}