Package odata.msgraph.client.beta.entity
Class IosCertificateProfileBase
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.IosCertificateProfile
-
- odata.msgraph.client.beta.entity.IosCertificateProfileBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
IosPkcsCertificateProfile,IosScepCertificateProfile
public class IosCertificateProfileBase extends IosCertificateProfile implements com.github.davidmoten.odata.client.ODataEntityType
“iOS certificate profile base.”
-
-
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 protectedIosCertificateProfileBase()
-
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()IosCertificateProfileBasepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosCertificateProfileBaseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IosCertificateProfileBasewithCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield changed.IosCertificateProfileBasewithCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield changed.IosCertificateProfileBasewithRenewalThresholdPercentage(Integer renewalThresholdPercentage)Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield changed.IosCertificateProfileBasewithSubjectAlternativeNameType(SubjectAlternativeNameType subjectAlternativeNameType)Returns an immutable copy ofthiswith just thesubjectAlternativeNameTypefield changed.IosCertificateProfileBasewithSubjectNameFormat(AppleSubjectNameFormat subjectNameFormat)Returns an immutable copy ofthiswith just thesubjectNameFormatfield changed.IosCertificateProfileBasewithUnmappedField(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 classIosCertificateProfile
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classIosCertificateProfile
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classIosCertificateProfile
-
getCertificateValidityPeriodScale
public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodScale()
“Scale for the Certificate Validity Period.”- Returns:
- property certificateValidityPeriodScale
-
withCertificateValidityPeriodScale
public IosCertificateProfileBase 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 IosCertificateProfileBase 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. Valid values 1 to 99”- Returns:
- property renewalThresholdPercentage
-
withRenewalThresholdPercentage
public IosCertificateProfileBase 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. Valid values 1 to 99”
- 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 IosCertificateProfileBase 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 IosCertificateProfileBase 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 IosCertificateProfileBase withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classIosCertificateProfile
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classIosCertificateProfile
-
patch
public IosCertificateProfileBase patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classIosCertificateProfile- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public IosCertificateProfileBase put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classIosCertificateProfile- 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 classIosCertificateProfile
-
-