Package odata.msgraph.client.beta.entity
Class Windows81TrustedRootCertificate
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.Windows81TrustedRootCertificate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows81TrustedRootCertificate extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Windows 8.1 Trusted Certificate configuration profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows81TrustedRootCertificate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcertFileNameprotected CertificateDestinationStoredestinationStoreprotected 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 protectedWindows81TrustedRootCertificate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows81TrustedRootCertificate.BuilderbuilderWindows81TrustedRootCertificate()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<CertificateDestinationStore>getDestinationStore()“Destination store location for the Trusted Root Certificate.”Optional<byte[]>getTrustedRootCertificate()“Trusted Root Certificate”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Windows81TrustedRootCertificatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows81TrustedRootCertificateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows81TrustedRootCertificatewithCertFileName(String certFileName)Returns an immutable copy ofthiswith just thecertFileNamefield changed.Windows81TrustedRootCertificatewithDestinationStore(CertificateDestinationStore destinationStore)Returns an immutable copy ofthiswith just thedestinationStorefield changed.Windows81TrustedRootCertificatewithTrustedRootCertificate(byte[] trustedRootCertificate)Returns an immutable copy ofthiswith just thetrustedRootCertificatefield changed.Windows81TrustedRootCertificatewithUnmappedField(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
-
destinationStore
protected CertificateDestinationStore destinationStore
-
trustedRootCertificate
protected byte[] trustedRootCertificate
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindows81TrustedRootCertificate
public static Windows81TrustedRootCertificate.Builder builderWindows81TrustedRootCertificate()
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 Windows81TrustedRootCertificate 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
-
getDestinationStore
public Optional<CertificateDestinationStore> getDestinationStore()
“Destination store location for the Trusted Root Certificate.”- Returns:
- property destinationStore
-
withDestinationStore
public Windows81TrustedRootCertificate withDestinationStore(CertificateDestinationStore destinationStore)
Returns an immutable copy ofthiswith just thedestinationStorefield 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.“Destination store location for the Trusted Root Certificate.”
- Parameters:
destinationStore- new value ofdestinationStorefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedestinationStorefield changed
-
getTrustedRootCertificate
public Optional<byte[]> getTrustedRootCertificate()
“Trusted Root Certificate”- Returns:
- property trustedRootCertificate
-
withTrustedRootCertificate
public Windows81TrustedRootCertificate 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 Windows81TrustedRootCertificate 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 Windows81TrustedRootCertificate 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 Windows81TrustedRootCertificate 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
-
-