Package odata.msgraph.client.beta.entity
Class Windows10XTrustedRootCertificate
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
-
- odata.msgraph.client.beta.entity.Windows10XTrustedRootCertificate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10XTrustedRootCertificate extends DeviceManagementResourceAccessProfileBase implements com.github.davidmoten.odata.client.ODataEntityType
“Windows X Trusted Root Certificate configuration profile”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10XTrustedRootCertificate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcertFileNameprotected CertificateDestinationStoredestinationStoreprotected byte[]trustedRootCertificate-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
creationDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindows10XTrustedRootCertificate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10XTrustedRootCertificate.BuilderbuilderWindows10XTrustedRootCertificate()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()Windows10XTrustedRootCertificatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10XTrustedRootCertificateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10XTrustedRootCertificatewithCertFileName(String certFileName)Returns an immutable copy ofthiswith just thecertFileNamefield changed.Windows10XTrustedRootCertificatewithDestinationStore(CertificateDestinationStore destinationStore)Returns an immutable copy ofthiswith just thedestinationStorefield changed.Windows10XTrustedRootCertificatewithTrustedRootCertificate(byte[] trustedRootCertificate)Returns an immutable copy ofthiswith just thetrustedRootCertificatefield changed.Windows10XTrustedRootCertificatewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementResourceAccessProfileBase
assign, getAssignments, getCreationDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getVersion, withCreationDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, 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 classDeviceManagementResourceAccessProfileBase
-
builderWindows10XTrustedRootCertificate
public static Windows10XTrustedRootCertificate.Builder builderWindows10XTrustedRootCertificate()
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 classDeviceManagementResourceAccessProfileBase
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementResourceAccessProfileBase
-
getCertFileName
public Optional<String> getCertFileName()
“File name to display in UI.”- Returns:
- property certFileName
-
withCertFileName
public Windows10XTrustedRootCertificate 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 Windows10XTrustedRootCertificate 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 Windows10XTrustedRootCertificate 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 Windows10XTrustedRootCertificate withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementResourceAccessProfileBase
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementResourceAccessProfileBase
-
patch
public Windows10XTrustedRootCertificate patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementResourceAccessProfileBase- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Windows10XTrustedRootCertificate put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementResourceAccessProfileBase- 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 classDeviceManagementResourceAccessProfileBase
-
-