Package odata.msgraph.client.beta.entity
Class WindowsPhone81CertificateProfileBase
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.WindowsPhone81CertificateProfileBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
WindowsPhone81SCEPCertificateProfile
public class WindowsPhone81CertificateProfileBase extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Base Windows Phone 8.1+ certificate profile.”
-
-
Field Summary
Fields Modifier and Type Field Description protected CertificateValidityPeriodScalecertificateValidityPeriodScaleprotected IntegercertificateValidityPeriodValueprotected List<ExtendedKeyUsage>extendedKeyUsagesprotected StringextendedKeyUsagesNextLinkprotected KeyStorageProviderOptionkeyStorageProviderprotected IntegerrenewalThresholdPercentageprotected SubjectAlternativeNameTypesubjectAlternativeNameTypeprotected SubjectNameFormatsubjectNameFormat-
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 protectedWindowsPhone81CertificateProfileBase()
-
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 Validtiy Period.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage>getExtendedKeyUsages()“Extended Key Usage (EKU) settings.com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage>getExtendedKeyUsages(com.github.davidmoten.odata.client.HttpRequestOptions options)“Extended Key Usage (EKU) settings.Optional<KeyStorageProviderOption>getKeyStorageProvider()“Key Storage Provider (KSP).”Optional<Integer>getRenewalThresholdPercentage()“Certificate renewal threshold percentage.”Optional<SubjectAlternativeNameType>getSubjectAlternativeNameType()“Certificate Subject Alternative Name Type.”Optional<SubjectNameFormat>getSubjectNameFormat()“Certificate Subject Name Format.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsPhone81CertificateProfileBasepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsPhone81CertificateProfileBaseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsPhone81CertificateProfileBasewithCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield changed.WindowsPhone81CertificateProfileBasewithCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield changed.WindowsPhone81CertificateProfileBasewithExtendedKeyUsages(List<ExtendedKeyUsage> extendedKeyUsages)Returns an immutable copy ofthiswith just theextendedKeyUsagesfield changed.WindowsPhone81CertificateProfileBasewithKeyStorageProvider(KeyStorageProviderOption keyStorageProvider)Returns an immutable copy ofthiswith just thekeyStorageProviderfield changed.WindowsPhone81CertificateProfileBasewithRenewalThresholdPercentage(Integer renewalThresholdPercentage)Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield changed.WindowsPhone81CertificateProfileBasewithSubjectAlternativeNameType(SubjectAlternativeNameType subjectAlternativeNameType)Returns an immutable copy ofthiswith just thesubjectAlternativeNameTypefield changed.WindowsPhone81CertificateProfileBasewithSubjectNameFormat(SubjectNameFormat subjectNameFormat)Returns an immutable copy ofthiswith just thesubjectNameFormatfield changed.WindowsPhone81CertificateProfileBasewithUnmappedField(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
-
extendedKeyUsages
protected List<ExtendedKeyUsage> extendedKeyUsages
-
extendedKeyUsagesNextLink
protected String extendedKeyUsagesNextLink
-
keyStorageProvider
protected KeyStorageProviderOption keyStorageProvider
-
renewalThresholdPercentage
protected Integer renewalThresholdPercentage
-
subjectAlternativeNameType
protected SubjectAlternativeNameType subjectAlternativeNameType
-
subjectNameFormat
protected SubjectNameFormat 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 WindowsPhone81CertificateProfileBase 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 Validtiy Period.”- Returns:
- property certificateValidityPeriodValue
-
withCertificateValidityPeriodValue
public WindowsPhone81CertificateProfileBase 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 Validtiy Period.”
- Parameters:
certificateValidityPeriodValue- new value ofcertificateValidityPeriodValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateValidityPeriodValuefield changed
-
getExtendedKeyUsages
public com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage> getExtendedKeyUsages()
“Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements.”- Returns:
- property extendedKeyUsages
-
withExtendedKeyUsages
public WindowsPhone81CertificateProfileBase withExtendedKeyUsages(List<ExtendedKeyUsage> extendedKeyUsages)
Returns an immutable copy ofthiswith just theextendedKeyUsagesfield 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.“Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements.”
- Parameters:
extendedKeyUsages- new value ofextendedKeyUsagesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theextendedKeyUsagesfield changed
-
getExtendedKeyUsages
public com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage> getExtendedKeyUsages(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property extendedKeyUsages
-
getKeyStorageProvider
public Optional<KeyStorageProviderOption> getKeyStorageProvider()
“Key Storage Provider (KSP).”- Returns:
- property keyStorageProvider
-
withKeyStorageProvider
public WindowsPhone81CertificateProfileBase withKeyStorageProvider(KeyStorageProviderOption keyStorageProvider)
Returns an immutable copy ofthiswith just thekeyStorageProviderfield 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.“Key Storage Provider (KSP).”
- Parameters:
keyStorageProvider- new value ofkeyStorageProviderfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeyStorageProviderfield changed
-
getRenewalThresholdPercentage
public Optional<Integer> getRenewalThresholdPercentage()
“Certificate renewal threshold percentage.”- Returns:
- property renewalThresholdPercentage
-
withRenewalThresholdPercentage
public WindowsPhone81CertificateProfileBase 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 WindowsPhone81CertificateProfileBase 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<SubjectNameFormat> getSubjectNameFormat()
“Certificate Subject Name Format.”- Returns:
- property subjectNameFormat
-
withSubjectNameFormat
public WindowsPhone81CertificateProfileBase withSubjectNameFormat(SubjectNameFormat 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 WindowsPhone81CertificateProfileBase 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 WindowsPhone81CertificateProfileBase 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 WindowsPhone81CertificateProfileBase 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
-
-