Package odata.msgraph.client.beta.entity
Class AndroidForWorkCertificateProfileBase
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.AndroidForWorkCertificateProfileBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AndroidForWorkPkcsCertificateProfile,AndroidForWorkScepCertificateProfile
public class AndroidForWorkCertificateProfileBase extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Android For Work certificate profile base.”
-
-
Field Summary
Fields Modifier and Type Field Description protected CertificateValidityPeriodScalecertificateValidityPeriodScaleprotected IntegercertificateValidityPeriodValueprotected List<ExtendedKeyUsage>extendedKeyUsagesprotected StringextendedKeyUsagesNextLinkprotected 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 protectedAndroidForWorkCertificateProfileBase()
-
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()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<Integer>getRenewalThresholdPercentage()“Certificate renewal threshold percentage.AndroidForWorkTrustedRootCertificateRequestgetRootCertificate()“Trusted Root Certificate.”Optional<SubjectAlternativeNameType>getSubjectAlternativeNameType()“Certificate Subject Alternative Name Type.”Optional<SubjectNameFormat>getSubjectNameFormat()“Certificate Subject Name Format.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AndroidForWorkCertificateProfileBasepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidForWorkCertificateProfileBaseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidForWorkCertificateProfileBasewithCertificateValidityPeriodScale(CertificateValidityPeriodScale certificateValidityPeriodScale)Returns an immutable copy ofthiswith just thecertificateValidityPeriodScalefield changed.AndroidForWorkCertificateProfileBasewithCertificateValidityPeriodValue(Integer certificateValidityPeriodValue)Returns an immutable copy ofthiswith just thecertificateValidityPeriodValuefield changed.AndroidForWorkCertificateProfileBasewithExtendedKeyUsages(List<ExtendedKeyUsage> extendedKeyUsages)Returns an immutable copy ofthiswith just theextendedKeyUsagesfield changed.AndroidForWorkCertificateProfileBasewithRenewalThresholdPercentage(Integer renewalThresholdPercentage)Returns an immutable copy ofthiswith just therenewalThresholdPercentagefield changed.AndroidForWorkCertificateProfileBasewithSubjectAlternativeNameType(SubjectAlternativeNameType subjectAlternativeNameType)Returns an immutable copy ofthiswith just thesubjectAlternativeNameTypefield changed.AndroidForWorkCertificateProfileBasewithSubjectNameFormat(SubjectNameFormat subjectNameFormat)Returns an immutable copy ofthiswith just thesubjectNameFormatfield changed.AndroidForWorkCertificateProfileBasewithUnmappedField(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
-
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 AndroidForWorkCertificateProfileBase 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 AndroidForWorkCertificateProfileBase 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
-
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 AndroidForWorkCertificateProfileBase 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
-
getRenewalThresholdPercentage
public Optional<Integer> getRenewalThresholdPercentage()
“Certificate renewal threshold percentage. Valid values 1 to 99”- Returns:
- property renewalThresholdPercentage
-
withRenewalThresholdPercentage
public AndroidForWorkCertificateProfileBase 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 AndroidForWorkCertificateProfileBase 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 AndroidForWorkCertificateProfileBase 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 AndroidForWorkCertificateProfileBase withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getRootCertificate
public AndroidForWorkTrustedRootCertificateRequest getRootCertificate()
“Trusted Root Certificate.”- Returns:
- navigational property rootCertificate
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public AndroidForWorkCertificateProfileBase 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 AndroidForWorkCertificateProfileBase 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
-
-