Package odata.msgraph.client.complex
Class PasswordCredentialConfiguration
- java.lang.Object
-
- odata.msgraph.client.complex.PasswordCredentialConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class PasswordCredentialConfiguration extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPasswordCredentialConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected DurationmaxLifetimeprotected StringodataTypeprotected OffsetDateTimerestrictForAppsCreatedAfterDateTimeprotected AppCredentialRestrictionTyperestrictionTypeprotected AppManagementRestrictionStatestateprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedPasswordCredentialConfiguration()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
maxLifetime
protected Duration maxLifetime
-
restrictForAppsCreatedAfterDateTime
protected OffsetDateTime restrictForAppsCreatedAfterDateTime
-
restrictionType
protected AppCredentialRestrictionType restrictionType
-
state
protected AppManagementRestrictionState state
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withMaxLifetime
public PasswordCredentialConfiguration withMaxLifetime(Duration maxLifetime)
-
getRestrictForAppsCreatedAfterDateTime
public Optional<OffsetDateTime> getRestrictForAppsCreatedAfterDateTime()
-
withRestrictForAppsCreatedAfterDateTime
public PasswordCredentialConfiguration withRestrictForAppsCreatedAfterDateTime(OffsetDateTime restrictForAppsCreatedAfterDateTime)
-
getRestrictionType
public Optional<AppCredentialRestrictionType> getRestrictionType()
-
withRestrictionType
public PasswordCredentialConfiguration withRestrictionType(AppCredentialRestrictionType restrictionType)
-
getState
public Optional<AppManagementRestrictionState> getState()
-
withState
public PasswordCredentialConfiguration withState(AppManagementRestrictionState state)
-
withUnmappedField
public PasswordCredentialConfiguration withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static PasswordCredentialConfiguration.Builder builder()
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
-
-