Package odata.msgraph.client.complex
Class OmaSettingBase64
- java.lang.Object
-
- odata.msgraph.client.complex.OmaSetting
-
- odata.msgraph.client.complex.OmaSettingBase64
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class OmaSettingBase64 extends OmaSetting implements com.github.davidmoten.odata.client.ODataType
“OMA Settings Base64 definition.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOmaSettingBase64.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringfileNameprotected Stringvalue-
Fields inherited from class odata.msgraph.client.complex.OmaSetting
contextPath, description, displayName, odataType, omaUri, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOmaSettingBase64()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OmaSettingBase64.BuilderbuilderOmaSettingBase64()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getFileName()“File name associated with the Value property (*.cer | *.crt | *.p7b | *.bin).”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getValue()“Value.StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()OmaSettingBase64withFileName(String fileName)Returns an immutable copy ofthiswith just thefileNamefield changed.OmaSettingBase64withUnmappedField(String name, Object value)OmaSettingBase64withValue(String value)Returns an immutable copy ofthiswith just thevaluefield changed.-
Methods inherited from class odata.msgraph.client.complex.OmaSetting
getDescription, getDisplayName, getOmaUri, withDescription, withDisplayName, withOmaUri
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOmaSetting
-
getFileName
public Optional<String> getFileName()
“File name associated with the Value property (*.cer | *.crt | *.p7b | *.bin).”- Returns:
- property fileName
-
withFileName
public OmaSettingBase64 withFileName(String fileName)
Returns an immutable copy ofthiswith just thefileNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“File name associated with the Value property (*.cer | *.crt | *.p7b | *.bin).”
- Parameters:
fileName- new value offileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileNamefield changed
-
getValue
public Optional<String> getValue()
“Value. (Base64 encoded string)”- Returns:
- property value
-
withValue
public OmaSettingBase64 withValue(String value)
Returns an immutable copy ofthiswith just thevaluefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Value. (Base64 encoded string)”
- Parameters:
value- new value ofvaluefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevaluefield changed
-
withUnmappedField
public OmaSettingBase64 withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classOmaSetting
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOmaSetting
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOmaSetting
-
builderOmaSettingBase64
public static OmaSettingBase64.Builder builderOmaSettingBase64()
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
-
toString
public String toString()
- Overrides:
toStringin classOmaSetting
-
-