Package odata.msgraph.client.beta.entity
Class WindowsPhone81TrustedRootCertificate
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.WindowsPhone81TrustedRootCertificate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsPhone81TrustedRootCertificate extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Windows Phone 8.1+ Trusted Root Certificate configuration profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsPhone81TrustedRootCertificate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcertFileNameprotected byte[]trustedRootCertificate-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsPhone81TrustedRootCertificate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsPhone81TrustedRootCertificate.BuilderbuilderWindowsPhone81TrustedRootCertificate()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getCertFileName()“File name to display in UI.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<byte[]>getTrustedRootCertificate()“Trusted Root Certificate”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsPhone81TrustedRootCertificatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsPhone81TrustedRootCertificateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsPhone81TrustedRootCertificatewithCertFileName(String certFileName)Returns an immutable copy ofthiswith just thecertFileNamefield changed.WindowsPhone81TrustedRootCertificatewithTrustedRootCertificate(byte[] trustedRootCertificate)Returns an immutable copy ofthiswith just thetrustedRootCertificatefield changed.WindowsPhone81TrustedRootCertificatewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
certFileName
protected String certFileName
-
trustedRootCertificate
protected byte[] trustedRootCertificate
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindowsPhone81TrustedRootCertificate
public static WindowsPhone81TrustedRootCertificate.Builder builderWindowsPhone81TrustedRootCertificate()
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 classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getCertFileName
public Optional<String> getCertFileName()
“File name to display in UI.”- Returns:
- property certFileName
-
withCertFileName
public WindowsPhone81TrustedRootCertificate withCertFileName(String certFileName)
Returns an immutable copy ofthiswith just thecertFileNamefield 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 to display in UI.”
- Parameters:
certFileName- new value ofcertFileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertFileNamefield changed
-
getTrustedRootCertificate
public Optional<byte[]> getTrustedRootCertificate()
“Trusted Root Certificate”- Returns:
- property trustedRootCertificate
-
withTrustedRootCertificate
public WindowsPhone81TrustedRootCertificate withTrustedRootCertificate(byte[] trustedRootCertificate)
Returns an immutable copy ofthiswith just thetrustedRootCertificatefield 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.“Trusted Root Certificate”
- Parameters:
trustedRootCertificate- new value oftrustedRootCertificatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetrustedRootCertificatefield changed
-
withUnmappedField
public WindowsPhone81TrustedRootCertificate withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public WindowsPhone81TrustedRootCertificate patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WindowsPhone81TrustedRootCertificate put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- 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 classDeviceConfiguration
-
-