Package odata.msgraph.client.beta.entity
Class ServicePrincipal
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DirectoryObject
-
- odata.msgraph.client.beta.entity.ServicePrincipal
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ServicePrincipal extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServicePrincipal.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.DirectoryObject
deletedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedServicePrincipal()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.DirectoryObject
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTime
-
-
-
-
Field Detail
-
passwordSingleSignOnSettings
protected PasswordSingleSignOnSettings passwordSingleSignOnSettings
-
accountEnabled
protected Boolean accountEnabled
-
addInsNextLink
protected String addInsNextLink
-
alternativeNamesNextLink
protected String alternativeNamesNextLink
-
appDescription
protected String appDescription
-
appDisplayName
protected String appDisplayName
-
appId
protected String appId
-
applicationTemplateId
protected String applicationTemplateId
-
appOwnerOrganizationId
protected UUID appOwnerOrganizationId
-
appRoleAssignmentRequired
protected Boolean appRoleAssignmentRequired
-
appRolesNextLink
protected String appRolesNextLink
-
customSecurityAttributes
protected CustomSecurityAttributeValue customSecurityAttributes
-
description
protected String description
-
disabledByMicrosoftStatus
protected String disabledByMicrosoftStatus
-
displayName
protected String displayName
-
errorUrl
protected String errorUrl
-
homepage
protected String homepage
-
info
protected InformationalUrl info
-
keyCredentials
protected List<KeyCredential> keyCredentials
-
keyCredentialsNextLink
protected String keyCredentialsNextLink
-
loginUrl
protected String loginUrl
-
logoutUrl
protected String logoutUrl
-
notes
protected String notes
-
notificationEmailAddressesNextLink
protected String notificationEmailAddressesNextLink
-
passwordCredentials
protected List<PasswordCredential> passwordCredentials
-
passwordCredentialsNextLink
protected String passwordCredentialsNextLink
-
preferredSingleSignOnMode
protected String preferredSingleSignOnMode
-
preferredTokenSigningKeyEndDateTime
protected OffsetDateTime preferredTokenSigningKeyEndDateTime
-
preferredTokenSigningKeyThumbprint
protected String preferredTokenSigningKeyThumbprint
-
publishedPermissionScopes
protected List<PermissionScope> publishedPermissionScopes
-
publishedPermissionScopesNextLink
protected String publishedPermissionScopesNextLink
-
publisherName
protected String publisherName
-
replyUrlsNextLink
protected String replyUrlsNextLink
-
samlMetadataUrl
protected String samlMetadataUrl
-
samlSingleSignOnSettings
protected SamlSingleSignOnSettings samlSingleSignOnSettings
-
servicePrincipalNamesNextLink
protected String servicePrincipalNamesNextLink
-
servicePrincipalType
protected String servicePrincipalType
-
signInAudience
protected String signInAudience
-
tagsNextLink
protected String tagsNextLink
-
tokenEncryptionKeyId
protected UUID tokenEncryptionKeyId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDirectoryObject
-
builderServicePrincipal
public static ServicePrincipal.Builder builderServicePrincipal()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDirectoryObject
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDirectoryObject
-
getPasswordSingleSignOnSettings
public Optional<PasswordSingleSignOnSettings> getPasswordSingleSignOnSettings()
-
withPasswordSingleSignOnSettings
public ServicePrincipal withPasswordSingleSignOnSettings(PasswordSingleSignOnSettings passwordSingleSignOnSettings)
-
withAccountEnabled
public ServicePrincipal withAccountEnabled(Boolean accountEnabled)
-
getAddIns
public com.github.davidmoten.odata.client.CollectionPage<AddIn> getAddIns()
-
withAddIns
public ServicePrincipal withAddIns(List<AddIn> addIns)
-
getAddIns
public com.github.davidmoten.odata.client.CollectionPage<AddIn> getAddIns(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getAlternativeNames
public com.github.davidmoten.odata.client.CollectionPage<String> getAlternativeNames()
-
withAlternativeNames
public ServicePrincipal withAlternativeNames(List<String> alternativeNames)
-
getAlternativeNames
public com.github.davidmoten.odata.client.CollectionPage<String> getAlternativeNames(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withAppDescription
public ServicePrincipal withAppDescription(String appDescription)
-
withAppDisplayName
public ServicePrincipal withAppDisplayName(String appDisplayName)
-
withAppId
public ServicePrincipal withAppId(String appId)
-
withApplicationTemplateId
public ServicePrincipal withApplicationTemplateId(String applicationTemplateId)
-
withAppOwnerOrganizationId
public ServicePrincipal withAppOwnerOrganizationId(UUID appOwnerOrganizationId)
-
withAppRoleAssignmentRequired
public ServicePrincipal withAppRoleAssignmentRequired(Boolean appRoleAssignmentRequired)
-
getAppRoles
public com.github.davidmoten.odata.client.CollectionPage<AppRole> getAppRoles()
-
withAppRoles
public ServicePrincipal withAppRoles(List<AppRole> appRoles)
-
getAppRoles
public com.github.davidmoten.odata.client.CollectionPage<AppRole> getAppRoles(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCustomSecurityAttributes
public Optional<CustomSecurityAttributeValue> getCustomSecurityAttributes()
-
withCustomSecurityAttributes
public ServicePrincipal withCustomSecurityAttributes(CustomSecurityAttributeValue customSecurityAttributes)
-
withDescription
public ServicePrincipal withDescription(String description)
-
withDisabledByMicrosoftStatus
public ServicePrincipal withDisabledByMicrosoftStatus(String disabledByMicrosoftStatus)
-
withDisplayName
public ServicePrincipal withDisplayName(String displayName)
-
withErrorUrl
public ServicePrincipal withErrorUrl(String errorUrl)
-
withHomepage
public ServicePrincipal withHomepage(String homepage)
-
getInfo
public Optional<InformationalUrl> getInfo()
-
withInfo
public ServicePrincipal withInfo(InformationalUrl info)
-
getKeyCredentials
public com.github.davidmoten.odata.client.CollectionPage<KeyCredential> getKeyCredentials()
-
withKeyCredentials
public ServicePrincipal withKeyCredentials(List<KeyCredential> keyCredentials)
-
getKeyCredentials
public com.github.davidmoten.odata.client.CollectionPage<KeyCredential> getKeyCredentials(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withLoginUrl
public ServicePrincipal withLoginUrl(String loginUrl)
-
withLogoutUrl
public ServicePrincipal withLogoutUrl(String logoutUrl)
-
withNotes
public ServicePrincipal withNotes(String notes)
-
getNotificationEmailAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getNotificationEmailAddresses()
-
withNotificationEmailAddresses
public ServicePrincipal withNotificationEmailAddresses(List<String> notificationEmailAddresses)
-
getNotificationEmailAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getNotificationEmailAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPasswordCredentials
public com.github.davidmoten.odata.client.CollectionPage<PasswordCredential> getPasswordCredentials()
-
withPasswordCredentials
public ServicePrincipal withPasswordCredentials(List<PasswordCredential> passwordCredentials)
-
getPasswordCredentials
public com.github.davidmoten.odata.client.CollectionPage<PasswordCredential> getPasswordCredentials(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withPreferredSingleSignOnMode
public ServicePrincipal withPreferredSingleSignOnMode(String preferredSingleSignOnMode)
-
getPreferredTokenSigningKeyEndDateTime
public Optional<OffsetDateTime> getPreferredTokenSigningKeyEndDateTime()
-
withPreferredTokenSigningKeyEndDateTime
public ServicePrincipal withPreferredTokenSigningKeyEndDateTime(OffsetDateTime preferredTokenSigningKeyEndDateTime)
-
getPreferredTokenSigningKeyThumbprint
public Optional<String> getPreferredTokenSigningKeyThumbprint()
-
withPreferredTokenSigningKeyThumbprint
public ServicePrincipal withPreferredTokenSigningKeyThumbprint(String preferredTokenSigningKeyThumbprint)
-
getPublishedPermissionScopes
public com.github.davidmoten.odata.client.CollectionPage<PermissionScope> getPublishedPermissionScopes()
-
withPublishedPermissionScopes
public ServicePrincipal withPublishedPermissionScopes(List<PermissionScope> publishedPermissionScopes)
-
getPublishedPermissionScopes
public com.github.davidmoten.odata.client.CollectionPage<PermissionScope> getPublishedPermissionScopes(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withPublisherName
public ServicePrincipal withPublisherName(String publisherName)
-
getReplyUrls
public com.github.davidmoten.odata.client.CollectionPage<String> getReplyUrls()
-
withReplyUrls
public ServicePrincipal withReplyUrls(List<String> replyUrls)
-
getReplyUrls
public com.github.davidmoten.odata.client.CollectionPage<String> getReplyUrls(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withSamlMetadataUrl
public ServicePrincipal withSamlMetadataUrl(String samlMetadataUrl)
-
getSamlSingleSignOnSettings
public Optional<SamlSingleSignOnSettings> getSamlSingleSignOnSettings()
-
withSamlSingleSignOnSettings
public ServicePrincipal withSamlSingleSignOnSettings(SamlSingleSignOnSettings samlSingleSignOnSettings)
-
getServicePrincipalNames
public com.github.davidmoten.odata.client.CollectionPage<String> getServicePrincipalNames()
-
withServicePrincipalNames
public ServicePrincipal withServicePrincipalNames(List<String> servicePrincipalNames)
-
getServicePrincipalNames
public com.github.davidmoten.odata.client.CollectionPage<String> getServicePrincipalNames(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withServicePrincipalType
public ServicePrincipal withServicePrincipalType(String servicePrincipalType)
-
withSignInAudience
public ServicePrincipal withSignInAudience(String signInAudience)
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags()
-
withTags
public ServicePrincipal withTags(List<String> tags)
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withTokenEncryptionKeyId
public ServicePrincipal withTokenEncryptionKeyId(UUID tokenEncryptionKeyId)
-
withUnmappedField
public ServicePrincipal withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDirectoryObject
-
getAppManagementPolicies
public AppManagementPolicyCollectionRequest getAppManagementPolicies()
-
getAppRoleAssignedTo
public AppRoleAssignmentCollectionRequest getAppRoleAssignedTo()
-
getAppRoleAssignments
public AppRoleAssignmentCollectionRequest getAppRoleAssignments()
-
getClaimsMappingPolicies
public ClaimsMappingPolicyCollectionRequest getClaimsMappingPolicies()
-
getCreatedObjects
public DirectoryObjectCollectionRequest getCreatedObjects()
-
getDelegatedPermissionClassifications
public DelegatedPermissionClassificationCollectionRequest getDelegatedPermissionClassifications()
-
getEndpoints
public EndpointCollectionRequest getEndpoints()
-
getFederatedIdentityCredentials
public FederatedIdentityCredentialCollectionRequest getFederatedIdentityCredentials()
-
getHomeRealmDiscoveryPolicies
public HomeRealmDiscoveryPolicyCollectionRequest getHomeRealmDiscoveryPolicies()
-
getLicenseDetails
public LicenseDetailsCollectionRequest getLicenseDetails()
-
getMemberOf
public DirectoryObjectCollectionRequest getMemberOf()
-
getOauth2PermissionGrants
public OAuth2PermissionGrantCollectionRequest getOauth2PermissionGrants()
-
getOwnedObjects
public DirectoryObjectCollectionRequest getOwnedObjects()
-
getOwners
public DirectoryObjectCollectionRequest getOwners()
-
getTokenIssuancePolicies
public TokenIssuancePolicyCollectionRequest getTokenIssuancePolicies()
-
getTokenLifetimePolicies
public TokenLifetimePolicyCollectionRequest getTokenLifetimePolicies()
-
getTransitiveMemberOf
public DirectoryObjectCollectionRequest getTransitiveMemberOf()
-
getSynchronization
public SynchronizationRequest getSynchronization()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDirectoryObject
-
patch
public ServicePrincipal patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ServicePrincipal put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
createPasswordSingleSignOnCredentials
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<PasswordSingleSignOnCredentialSet> createPasswordSingleSignOnCredentials(String id, List<Credential> credentials)
-
deletePasswordSingleSignOnCredentials
public com.github.davidmoten.odata.client.ActionRequestNoReturn deletePasswordSingleSignOnCredentials(String id)
-
getPasswordSingleSignOnCredentials
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<PasswordSingleSignOnCredentialSet> getPasswordSingleSignOnCredentials(String id)
-
updatePasswordSingleSignOnCredentials
public com.github.davidmoten.odata.client.ActionRequestNoReturn updatePasswordSingleSignOnCredentials(String id, List<Credential> credentials)
-
addTokenSigningCertificate
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<SelfSignedCertificate> addTokenSigningCertificate(String displayName, OffsetDateTime endDateTime)
-
toString
public String toString()
- Overrides:
toStringin classDirectoryObject
-
-