Package odata.msgraph.client.beta.entity
Class OpenIdConnectIdentityProvider
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.IdentityProviderBase
-
- odata.msgraph.client.beta.entity.OpenIdConnectIdentityProvider
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OpenIdConnectIdentityProvider extends IdentityProviderBase implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenIdConnectIdentityProvider.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ClaimsMappingclaimsMappingprotected StringclientIdprotected StringclientSecretprotected StringdomainHintprotected StringmetadataUrlprotected OpenIdConnectResponseModeresponseModeprotected OpenIdConnectResponseTypesresponseTypeprotected Stringscope-
Fields inherited from class odata.msgraph.client.beta.entity.IdentityProviderBase
displayName
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOpenIdConnectIdentityProvider()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.IdentityProviderBase
getDisplayName, withDisplayName
-
-
-
-
Field Detail
-
claimsMapping
protected ClaimsMapping claimsMapping
-
clientId
protected String clientId
-
clientSecret
protected String clientSecret
-
domainHint
protected String domainHint
-
metadataUrl
protected String metadataUrl
-
responseMode
protected OpenIdConnectResponseMode responseMode
-
responseType
protected OpenIdConnectResponseTypes responseType
-
scope
protected String scope
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classIdentityProviderBase
-
builderOpenIdConnectIdentityProvider
public static OpenIdConnectIdentityProvider.Builder builderOpenIdConnectIdentityProvider()
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 classIdentityProviderBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classIdentityProviderBase
-
getClaimsMapping
public Optional<ClaimsMapping> getClaimsMapping()
-
withClaimsMapping
public OpenIdConnectIdentityProvider withClaimsMapping(ClaimsMapping claimsMapping)
-
withClientId
public OpenIdConnectIdentityProvider withClientId(String clientId)
-
withClientSecret
public OpenIdConnectIdentityProvider withClientSecret(String clientSecret)
-
withDomainHint
public OpenIdConnectIdentityProvider withDomainHint(String domainHint)
-
withMetadataUrl
public OpenIdConnectIdentityProvider withMetadataUrl(String metadataUrl)
-
getResponseMode
public Optional<OpenIdConnectResponseMode> getResponseMode()
-
withResponseMode
public OpenIdConnectIdentityProvider withResponseMode(OpenIdConnectResponseMode responseMode)
-
getResponseType
public Optional<OpenIdConnectResponseTypes> getResponseType()
-
withResponseType
public OpenIdConnectIdentityProvider withResponseType(OpenIdConnectResponseTypes responseType)
-
withScope
public OpenIdConnectIdentityProvider withScope(String scope)
-
withUnmappedField
public OpenIdConnectIdentityProvider withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classIdentityProviderBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classIdentityProviderBase
-
patch
public OpenIdConnectIdentityProvider patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classIdentityProviderBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public OpenIdConnectIdentityProvider put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classIdentityProviderBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classIdentityProviderBase
-
-