Class 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.”
    • Constructor Detail

      • IosCertificateProfileBase

        protected IosCertificateProfileBase()
    • Method Detail

      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class IosCertificateProfile
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class IosCertificateProfile
      • getCertificateValidityPeriodScale

        public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodScale()
        “Scale for the Certificate Validity Period.”
        Returns:
        property certificateValidityPeriodScale
      • withCertificateValidityPeriodScale

        public IosCertificateProfileBase withCertificateValidityPeriodScale​(CertificateValidityPeriodScale certificateValidityPeriodScale)
        Returns an immutable copy of this with just the certificateValidityPeriodScale field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of certificateValidityPeriodScale field (as defined in service metadata)
        Returns:
        immutable copy of this with just the certificateValidityPeriodScale field 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 of this with just the certificateValidityPeriodValue field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of certificateValidityPeriodValue field (as defined in service metadata)
        Returns:
        immutable copy of this with just the certificateValidityPeriodValue field 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 of this with just the renewalThresholdPercentage field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of renewalThresholdPercentage field (as defined in service metadata)
        Returns:
        immutable copy of this with just the renewalThresholdPercentage field changed
      • getSubjectAlternativeNameType

        public Optional<SubjectAlternativeNameType> getSubjectAlternativeNameType()
        “Certificate Subject Alternative Name type.”
        Returns:
        property subjectAlternativeNameType
      • withSubjectAlternativeNameType

        public IosCertificateProfileBase withSubjectAlternativeNameType​(SubjectAlternativeNameType subjectAlternativeNameType)
        Returns an immutable copy of this with just the subjectAlternativeNameType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Certificate Subject Alternative Name type.”

        Parameters:
        subjectAlternativeNameType - new value of subjectAlternativeNameType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the subjectAlternativeNameType field changed
      • getSubjectNameFormat

        public Optional<AppleSubjectNameFormat> getSubjectNameFormat()
        “Certificate Subject Name Format.”
        Returns:
        property subjectNameFormat
      • withSubjectNameFormat

        public IosCertificateProfileBase withSubjectNameFormat​(AppleSubjectNameFormat subjectNameFormat)
        Returns an immutable copy of this with just the subjectNameFormat field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Certificate Subject Name Format.”

        Parameters:
        subjectNameFormat - new value of subjectNameFormat field (as defined in service metadata)
        Returns:
        immutable copy of this with just the subjectNameFormat field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class IosCertificateProfile
      • patch

        public IosCertificateProfileBase patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class IosCertificateProfile
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class IosCertificateProfile
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected