Package odata.msgraph.client.complex
Class PasswordCredential
- java.lang.Object
-
- odata.msgraph.client.complex.PasswordCredential
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class PasswordCredential extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPasswordCredential.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected byte[]customKeyIdentifierprotected StringdisplayNameprotected OffsetDateTimeendDateTimeprotected Stringhintprotected StringkeyIdprotected StringodataTypeprotected StringsecretTextprotected OffsetDateTimestartDateTimeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedPasswordCredential()
-
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
-
customKeyIdentifier
protected byte[] customKeyIdentifier
-
displayName
protected String displayName
-
endDateTime
protected OffsetDateTime endDateTime
-
hint
protected String hint
-
keyId
protected String keyId
-
secretText
protected String secretText
-
startDateTime
protected OffsetDateTime startDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getCustomKeyIdentifier
public Optional<byte[]> getCustomKeyIdentifier()
-
withCustomKeyIdentifier
public PasswordCredential withCustomKeyIdentifier(byte[] customKeyIdentifier)
-
withDisplayName
public PasswordCredential withDisplayName(String displayName)
-
getEndDateTime
public Optional<OffsetDateTime> getEndDateTime()
-
withEndDateTime
public PasswordCredential withEndDateTime(OffsetDateTime endDateTime)
-
withHint
public PasswordCredential withHint(String hint)
-
withKeyId
public PasswordCredential withKeyId(String keyId)
-
withSecretText
public PasswordCredential withSecretText(String secretText)
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
-
withStartDateTime
public PasswordCredential withStartDateTime(OffsetDateTime startDateTime)
-
withUnmappedField
public PasswordCredential withUnmappedField(String name, String 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 PasswordCredential.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
-
-