Class Domain

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class Domain
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Field Detail

      • authenticationType

        protected String authenticationType
      • availabilityStatus

        protected String availabilityStatus
      • isAdminManaged

        protected Boolean isAdminManaged
      • isDefault

        protected Boolean isDefault
      • isInitial

        protected Boolean isInitial
      • isVerified

        protected Boolean isVerified
      • manufacturer

        protected String manufacturer
      • model

        protected String model
      • passwordNotificationWindowInDays

        protected Integer passwordNotificationWindowInDays
      • passwordValidityPeriodInDays

        protected Integer passwordValidityPeriodInDays
      • supportedServices

        protected List<String> supportedServices
      • supportedServicesNextLink

        protected String supportedServicesNextLink
    • Constructor Detail

      • Domain

        protected Domain()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderDomain

        public static Domain.Builder builderDomain()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • 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 Entity
      • postInject

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

        public Optional<String> getAuthenticationType()
      • withAuthenticationType

        public Domain withAuthenticationType​(String authenticationType)
      • getAvailabilityStatus

        public Optional<String> getAvailabilityStatus()
      • withAvailabilityStatus

        public Domain withAvailabilityStatus​(String availabilityStatus)
      • withIsAdminManaged

        public Domain withIsAdminManaged​(Boolean isAdminManaged)
      • withIsDefault

        public Domain withIsDefault​(Boolean isDefault)
      • withIsInitial

        public Domain withIsInitial​(Boolean isInitial)
      • withIsVerified

        public Domain withIsVerified​(Boolean isVerified)
      • withManufacturer

        public Domain withManufacturer​(String manufacturer)
      • getPasswordNotificationWindowInDays

        public Optional<Integer> getPasswordNotificationWindowInDays()
      • withPasswordNotificationWindowInDays

        public Domain withPasswordNotificationWindowInDays​(Integer passwordNotificationWindowInDays)
      • getPasswordValidityPeriodInDays

        public Optional<Integer> getPasswordValidityPeriodInDays()
      • withPasswordValidityPeriodInDays

        public Domain withPasswordValidityPeriodInDays​(Integer passwordValidityPeriodInDays)
      • getSupportedServices

        public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedServices()
      • withSupportedServices

        public Domain withSupportedServices​(List<String> supportedServices)
      • getSupportedServices

        public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedServices​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withServiceConfigurationRecords

        public Domain withServiceConfigurationRecords​(List<DomainDnsRecord> serviceConfigurationRecords)
      • getUnmappedFields

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

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

        public com.github.davidmoten.odata.client.ActionRequestNoReturn forceDelete​(Boolean disableUserAccounts)
      • promote

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean> promote()
      • verify

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Domain> verify()