Package odata.msgraph.client.beta.entity
Class MacOSCertificateProfileBase
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.MacOSCertificateProfileBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
MacOSImportedPFXCertificateProfile,MacOSPkcsCertificateProfile,MacOSScepCertificateProfile
public class MacOSCertificateProfileBase extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Mac OS certificate profile.”
-
-
Field Summary
Fields Modifier and Type Field Description protected CertificateValidityPeriodScalecertificateValidityPeriodScaleprotected IntegercertificateValidityPeriodValueprotected IntegerrenewalThresholdPercentageprotected SubjectAlternativeNameTypesubjectAlternativeNameTypeprotected AppleSubjectNameFormatsubjectNameFormat-
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 protectedMacOSCertificateProfileBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<CertificateValidityPeriodScale>getCertificateValidityPeriodScale()“Scale for the Certificate Validity Period.”Optional<Integer>getCertificateValidityPeriodValue()“Value for the Certificate Validity Period.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getRenewalThresholdPercentage()“Certificate renewal threshold percentage.”Optional<SubjectAlternativeNameType>getSubjectAlternativeNameType()“Certificate Subject Alternative Name Type.”Optional<AppleSubjectNameFormat>getSubjectNameFormat()“Certificate Subject Name Format.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MacOSCertificateProfileBasepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MacOSCertificateProfileBaseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MacOSCertificateProfileBasewithCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield changed.MacOSCertificateProfileBasewithCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield changed.MacOSCertificateProfileBasewithRenewalThresholdPercentage(Integer renewalThresholdPercentage)Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield changed.MacOSCertificateProfileBasewithSubjectAlternativeNameType(SubjectAlternativeNameType subjectAlternativeNameType)Returns an immutable copy ofthiswith just thesubjectAlternativeNameTypefield changed.MacOSCertificateProfileBasewithSubjectNameFormat(AppleSubjectNameFormat subjectNameFormat)Returns an immutable copy ofthiswith just thesubjectNameFormatfield changed.MacOSCertificateProfileBasewithUnmappedField(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
-
certificateValidityPeriodScale
protected CertificateValidityPeriodScale certificateValidityPeriodScale
-
certificateValidityPeriodValue
protected Integer certificateValidityPeriodValue
-
renewalThresholdPercentage
protected Integer renewalThresholdPercentage
-
subjectAlternativeNameType
protected SubjectAlternativeNameType subjectAlternativeNameType
-
subjectNameFormat
protected AppleSubjectNameFormat subjectNameFormat
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
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
-
getCertificateValidityPeriodScale
public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodScale()
“Scale for the Certificate Validity Period.”- Returns:
- property certificateValidityPeriodScale
-
withCertificateValidityPeriodScale
public MacOSCertificateProfileBase withCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)
Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield 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.“Scale for the Certificate Validity Period.”
- Parameters:
certificateValidityPeriodScale- new value ofcertificateValidityPeriodScalefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodScalefield changed
-
getCertificateValidityPeriodValue
public Optional<Integer> getCertificateValidityPeriodValue()
“Value for the Certificate Validity Period.”- Returns:
- property certificateValidityPeriodValue
-
withCertificateValidityPeriodValue
public MacOSCertificateProfileBase withCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)
Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield 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 for the Certificate Validity Period.”
- Parameters:
certificateValidityPeriodValue- new value ofcertificateValidityPeriodValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodValuefield changed
-
getRenewalThresholdPercentage
public Optional<Integer> getRenewalThresholdPercentage()
“Certificate renewal threshold percentage.”- Returns:
- property renewalThresholdPercentage
-
withRenewalThresholdPercentage
public MacOSCertificateProfileBase withRenewalThresholdPercentage(Integer renewalThresholdPercentage)
Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield 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.“Certificate renewal threshold percentage.”
- Parameters:
renewalThresholdPercentage- new value ofrenewalThresholdPercentagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therenewalThresholdPercentagefield changed
-
getSubjectAlternativeNameType
public Optional<SubjectAlternativeNameType> getSubjectAlternativeNameType()
“Certificate Subject Alternative Name Type.”- Returns:
- property subjectAlternativeNameType
-
withSubjectAlternativeNameType
public MacOSCertificateProfileBase withSubjectAlternativeNameType(SubjectAlternativeNameType subjectAlternativeNameType)
Returns an immutable copy ofthiswith just thesubjectAlternativeNameTypefield 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.“Certificate Subject Alternative Name Type.”
- Parameters:
subjectAlternativeNameType- new value ofsubjectAlternativeNameTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectAlternativeNameTypefield changed
-
getSubjectNameFormat
public Optional<AppleSubjectNameFormat> getSubjectNameFormat()
“Certificate Subject Name Format.”- Returns:
- property subjectNameFormat
-
withSubjectNameFormat
public MacOSCertificateProfileBase withSubjectNameFormat(AppleSubjectNameFormat subjectNameFormat)
Returns an immutable copy ofthiswith just thesubjectNameFormatfield 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.“Certificate Subject Name Format.”
- Parameters:
subjectNameFormat- new value ofsubjectNameFormatfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectNameFormatfield changed
-
withUnmappedField
public MacOSCertificateProfileBase 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 MacOSCertificateProfileBase 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 MacOSCertificateProfileBase 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
-
-