Class ChromeOSOnboardingSettings

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

    public class ChromeOSOnboardingSettings
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Entity that represents a Chromebook tenant settings”
    • Field Detail

      • lastDirectorySyncDateTime

        protected OffsetDateTime lastDirectorySyncDateTime
      • ownerUserPrincipalName

        protected String ownerUserPrincipalName
    • Constructor Detail

      • ChromeOSOnboardingSettings

        protected ChromeOSOnboardingSettings()
    • Method Detail

      • odataTypeName

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

        public static ChromeOSOnboardingSettings.Builder builderChromeOSOnboardingSettings()
        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
      • getLastDirectorySyncDateTime

        public Optional<OffsetDateTime> getLastDirectorySyncDateTime()
        “The ChromebookTenant's LastDirectorySyncDateTime”
        Returns:
        property lastDirectorySyncDateTime
      • withLastDirectorySyncDateTime

        public ChromeOSOnboardingSettings withLastDirectorySyncDateTime​(OffsetDateTime lastDirectorySyncDateTime)
        Returns an immutable copy of this with just the lastDirectorySyncDateTime 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.

        “The ChromebookTenant's LastDirectorySyncDateTime”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “The ChromebookTenant's LastModifiedDateTime”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public ChromeOSOnboardingSettings withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Returns an immutable copy of this with just the lastModifiedDateTime 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.

        “The ChromebookTenant's LastModifiedDateTime”

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

        public Optional<OnboardingStatus> getOnboardingStatus()
        “The ChromebookTenant's OnboardingStatus”
        Returns:
        property onboardingStatus
      • withOnboardingStatus

        public ChromeOSOnboardingSettings withOnboardingStatus​(OnboardingStatus onboardingStatus)
        Returns an immutable copy of this with just the onboardingStatus 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.

        “The ChromebookTenant's OnboardingStatus”

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

        public Optional<String> getOwnerUserPrincipalName()
        “The ChromebookTenant's OwnerUserPrincipalName”
        Returns:
        property ownerUserPrincipalName
      • withOwnerUserPrincipalName

        public ChromeOSOnboardingSettings withOwnerUserPrincipalName​(String ownerUserPrincipalName)
        Returns an immutable copy of this with just the ownerUserPrincipalName 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.

        “The ChromebookTenant's OwnerUserPrincipalName”

        Parameters:
        ownerUserPrincipalName - new value of ownerUserPrincipalName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the ownerUserPrincipalName 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 Entity
      • patch

        public ChromeOSOnboardingSettings 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 ChromeOSOnboardingSettings 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