/******************************************************************************* **NOTE** This code was generated by a tool and will occasionally be overwritten. We welcome comments and issues regarding this code; they will be addressed in the generation tool. If you wish to submit pull requests, please do so for the templates in that tool. This code was generated by Vipr (https://github.com/microsoft/vipr) using the T4TemplateWriter (https://github.com/msopentech/vipr-t4templatewriter). Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License 2.0; see LICENSE in the source repository root for authoritative license information. ******************************************************************************/ package com.microsoft.services.graph; /** * The type Service Principal. */ public class ServicePrincipal extends DirectoryObject { public ServicePrincipal(){ setODataType("#Microsoft.Graph.ServicePrincipal"); } private Boolean accountEnabled; /** * Gets the account Enabled. * * @return the Boolean */ public Boolean getAccountEnabled() { return this.accountEnabled; } /** * Sets the account Enabled. * * @param value the Boolean */ public void setAccountEnabled(Boolean value) { this.accountEnabled = value; valueChanged("accountEnabled", value); } private String appDisplayName; /** * Gets the app Display Name. * * @return the String */ public String getAppDisplayName() { return this.appDisplayName; } /** * Sets the app Display Name. * * @param value the String */ public void setAppDisplayName(String value) { this.appDisplayName = value; valueChanged("appDisplayName", value); } private String appId; /** * Gets the app Id. * * @return the String */ public String getAppId() { return this.appId; } /** * Sets the app Id. * * @param value the String */ public void setAppId(String value) { this.appId = value; valueChanged("appId", value); } private java.util.UUID appOwnerTenantId; /** * Gets the app Owner Tenant Id. * * @return the java.util.UUID */ public java.util.UUID getAppOwnerTenantId() { return this.appOwnerTenantId; } /** * Sets the app Owner Tenant Id. * * @param value the java.util.UUID */ public void setAppOwnerTenantId(java.util.UUID value) { this.appOwnerTenantId = value; valueChanged("appOwnerTenantId", value); } private Boolean appRoleAssignmentRequired; /** * Gets the app Role Assignment Required. * * @return the Boolean */ public Boolean getAppRoleAssignmentRequired() { return this.appRoleAssignmentRequired; } /** * Sets the app Role Assignment Required. * * @param value the Boolean */ public void setAppRoleAssignmentRequired(Boolean value) { this.appRoleAssignmentRequired = value; valueChanged("appRoleAssignmentRequired", value); } private java.util.List<AppRole> appRoles = null; /** * Gets the app Roles. * * @return the java.util.List<AppRole> */ public java.util.List<AppRole> getAppRoles() { return this.appRoles; } /** * Sets the app Roles. * * @param value the java.util.List<AppRole> */ public void setAppRoles(java.util.List<AppRole> value) { this.appRoles = value; valueChanged("appRoles", value); } private String displayName; /** * Gets the display Name. * * @return the String */ public String getDisplayName() { return this.displayName; } /** * Sets the display Name. * * @param value the String */ public void setDisplayName(String value) { this.displayName = value; valueChanged("displayName", value); } private String errorUrl; /** * Gets the error Url. * * @return the String */ public String getErrorUrl() { return this.errorUrl; } /** * Sets the error Url. * * @param value the String */ public void setErrorUrl(String value) { this.errorUrl = value; valueChanged("errorUrl", value); } private String homepage; /** * Gets the homepage. * * @return the String */ public String getHomepage() { return this.homepage; } /** * Sets the homepage. * * @param value the String */ public void setHomepage(String value) { this.homepage = value; valueChanged("homepage", value); } private java.util.List<KeyCredential> keyCredentials = null; /** * Gets the key Credentials. * * @return the java.util.List<KeyCredential> */ public java.util.List<KeyCredential> getKeyCredentials() { return this.keyCredentials; } /** * Sets the key Credentials. * * @param value the java.util.List<KeyCredential> */ public void setKeyCredentials(java.util.List<KeyCredential> value) { this.keyCredentials = value; valueChanged("keyCredentials", value); } private String logoutUrl; /** * Gets the logout Url. * * @return the String */ public String getLogoutUrl() { return this.logoutUrl; } /** * Sets the logout Url. * * @param value the String */ public void setLogoutUrl(String value) { this.logoutUrl = value; valueChanged("logoutUrl", value); } private java.util.List<OAuth2Permission> oauth2Permissions = null; /** * Gets the oauth2Permissions. * * @return the java.util.List<OAuth2Permission> */ public java.util.List<OAuth2Permission> getOauth2Permissions() { return this.oauth2Permissions; } /** * Sets the oauth2Permissions. * * @param value the java.util.List<OAuth2Permission> */ public void setOauth2Permissions(java.util.List<OAuth2Permission> value) { this.oauth2Permissions = value; valueChanged("oauth2Permissions", value); } private java.util.List<PasswordCredential> passwordCredentials = null; /** * Gets the password Credentials. * * @return the java.util.List<PasswordCredential> */ public java.util.List<PasswordCredential> getPasswordCredentials() { return this.passwordCredentials; } /** * Sets the password Credentials. * * @param value the java.util.List<PasswordCredential> */ public void setPasswordCredentials(java.util.List<PasswordCredential> value) { this.passwordCredentials = value; valueChanged("passwordCredentials", value); } private String preferredTokenSigningKeyThumbprint; /** * Gets the preferred Token Signing Key Thumbprint. * * @return the String */ public String getPreferredTokenSigningKeyThumbprint() { return this.preferredTokenSigningKeyThumbprint; } /** * Sets the preferred Token Signing Key Thumbprint. * * @param value the String */ public void setPreferredTokenSigningKeyThumbprint(String value) { this.preferredTokenSigningKeyThumbprint = value; valueChanged("preferredTokenSigningKeyThumbprint", value); } private String publisherName; /** * Gets the publisher Name. * * @return the String */ public String getPublisherName() { return this.publisherName; } /** * Sets the publisher Name. * * @param value the String */ public void setPublisherName(String value) { this.publisherName = value; valueChanged("publisherName", value); } private java.util.List<String> replyUrls = null; /** * Gets the reply Urls. * * @return the java.util.List<String> */ public java.util.List<String> getReplyUrls() { return this.replyUrls; } /** * Sets the reply Urls. * * @param value the java.util.List<String> */ public void setReplyUrls(java.util.List<String> value) { this.replyUrls = value; valueChanged("replyUrls", value); } private String samlMetadataUrl; /** * Gets the saml Metadata Url. * * @return the String */ public String getSamlMetadataUrl() { return this.samlMetadataUrl; } /** * Sets the saml Metadata Url. * * @param value the String */ public void setSamlMetadataUrl(String value) { this.samlMetadataUrl = value; valueChanged("samlMetadataUrl", value); } private java.util.List<String> servicePrincipalNames = null; /** * Gets the service Principal Names. * * @return the java.util.List<String> */ public java.util.List<String> getServicePrincipalNames() { return this.servicePrincipalNames; } /** * Sets the service Principal Names. * * @param value the java.util.List<String> */ public void setServicePrincipalNames(java.util.List<String> value) { this.servicePrincipalNames = value; valueChanged("servicePrincipalNames", value); } private java.util.List<String> tags = null; /** * Gets the tags. * * @return the java.util.List<String> */ public java.util.List<String> getTags() { return this.tags; } /** * Sets the tags. * * @param value the java.util.List<String> */ public void setTags(java.util.List<String> value) { this.tags = value; valueChanged("tags", value); } private AppRoleAssignment appRoleAssignedTo; /** * Gets the app Role Assigned To. * * @return the AppRoleAssignment */ public AppRoleAssignment getAppRoleAssignedTo() { return this.appRoleAssignedTo; } /** * Sets the app Role Assigned To. * * @param value the AppRoleAssignment */ public void setAppRoleAssignedTo(AppRoleAssignment value) { this.appRoleAssignedTo = value; valueChanged("appRoleAssignedTo", value); } private java.util.List<AppRoleAssignment> appRoleAssignments = null; /** * Gets the app Role Assignments. * * @return the java.util.List<AppRoleAssignment> */ public java.util.List<AppRoleAssignment> getAppRoleAssignments() { return this.appRoleAssignments; } /** * Sets the app Role Assignments. * * @param value the java.util.List<AppRoleAssignment> */ public void setAppRoleAssignments(java.util.List<AppRoleAssignment> value) { this.appRoleAssignments = value; valueChanged("appRoleAssignments", value); } private java.util.List<OAuth2PermissionGrant> oauth2PermissionGrants = null; /** * Gets the oauth2Permission Grants. * * @return the java.util.List<OAuth2PermissionGrant> */ public java.util.List<OAuth2PermissionGrant> getOauth2PermissionGrants() { return this.oauth2PermissionGrants; } /** * Sets the oauth2Permission Grants. * * @param value the java.util.List<OAuth2PermissionGrant> */ public void setOauth2PermissionGrants(java.util.List<OAuth2PermissionGrant> value) { this.oauth2PermissionGrants = value; valueChanged("oauth2PermissionGrants", value); } private java.util.List<DirectoryObject> memberOf = null; /** * Gets the member Of. * * @return the java.util.List<DirectoryObject> */ public java.util.List<DirectoryObject> getMemberOf() { return this.memberOf; } /** * Sets the member Of. * * @param value the java.util.List<DirectoryObject> */ public void setMemberOf(java.util.List<DirectoryObject> value) { this.memberOf = value; valueChanged("memberOf", value); } private DirectoryObject createdOnBehalfOf; /** * Gets the created On Behalf Of. * * @return the DirectoryObject */ public DirectoryObject getCreatedOnBehalfOf() { return this.createdOnBehalfOf; } /** * Sets the created On Behalf Of. * * @param value the DirectoryObject */ public void setCreatedOnBehalfOf(DirectoryObject value) { this.createdOnBehalfOf = value; valueChanged("createdOnBehalfOf", value); } private java.util.List<DirectoryObject> createdObjects = null; /** * Gets the created Objects. * * @return the java.util.List<DirectoryObject> */ public java.util.List<DirectoryObject> getCreatedObjects() { return this.createdObjects; } /** * Sets the created Objects. * * @param value the java.util.List<DirectoryObject> */ public void setCreatedObjects(java.util.List<DirectoryObject> value) { this.createdObjects = value; valueChanged("createdObjects", value); } private java.util.List<DirectoryObject> owners = null; /** * Gets the owners. * * @return the java.util.List<DirectoryObject> */ public java.util.List<DirectoryObject> getOwners() { return this.owners; } /** * Sets the owners. * * @param value the java.util.List<DirectoryObject> */ public void setOwners(java.util.List<DirectoryObject> value) { this.owners = value; valueChanged("owners", value); } private java.util.List<DirectoryObject> ownedObjects = null; /** * Gets the owned Objects. * * @return the java.util.List<DirectoryObject> */ public java.util.List<DirectoryObject> getOwnedObjects() { return this.ownedObjects; } /** * Sets the owned Objects. * * @param value the java.util.List<DirectoryObject> */ public void setOwnedObjects(java.util.List<DirectoryObject> value) { this.ownedObjects = value; valueChanged("ownedObjects", value); } }