Class GroupPolicyMigrationReport

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

    public class GroupPolicyMigrationReport
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The Group Policy migration report.”
    • Field Detail

      • displayName

        protected String displayName
      • groupPolicyCreatedDateTime

        protected OffsetDateTime groupPolicyCreatedDateTime
      • groupPolicyLastModifiedDateTime

        protected OffsetDateTime groupPolicyLastModifiedDateTime
      • groupPolicyObjectId

        protected UUID groupPolicyObjectId
      • ouDistinguishedName

        protected String ouDistinguishedName
      • supportedSettingsCount

        protected Integer supportedSettingsCount
      • supportedSettingsPercent

        protected Integer supportedSettingsPercent
      • targetedInActiveDirectory

        protected Boolean targetedInActiveDirectory
      • totalSettingsCount

        protected Integer totalSettingsCount
    • Constructor Detail

      • GroupPolicyMigrationReport

        protected GroupPolicyMigrationReport()
    • Method Detail

      • odataTypeName

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

        public static GroupPolicyMigrationReport.Builder builderGroupPolicyMigrationReport()
        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
      • getCreatedDateTime

        public Optional<OffsetDateTime> getCreatedDateTime()
        “The date and time at which the GroupPolicyMigrationReport was created.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public GroupPolicyMigrationReport withCreatedDateTime​(OffsetDateTime createdDateTime)
        Returns an immutable copy of this with just the createdDateTime 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 date and time at which the GroupPolicyMigrationReport was created.”

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

        public Optional<String> getDisplayName()
        “The name of Group Policy Object from the GPO Xml Content”
        Returns:
        property displayName
      • withDisplayName

        public GroupPolicyMigrationReport withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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 name of Group Policy Object from the GPO Xml Content”

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

        public Optional<OffsetDateTime> getGroupPolicyCreatedDateTime()
        “The date and time at which the GroupPolicyMigrationReport was created.”
        Returns:
        property groupPolicyCreatedDateTime
      • withGroupPolicyCreatedDateTime

        public GroupPolicyMigrationReport withGroupPolicyCreatedDateTime​(OffsetDateTime groupPolicyCreatedDateTime)
        Returns an immutable copy of this with just the groupPolicyCreatedDateTime 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 date and time at which the GroupPolicyMigrationReport was created.”

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

        public Optional<OffsetDateTime> getGroupPolicyLastModifiedDateTime()
        “The date and time at which the GroupPolicyMigrationReport was last modified.”
        Returns:
        property groupPolicyLastModifiedDateTime
      • withGroupPolicyLastModifiedDateTime

        public GroupPolicyMigrationReport withGroupPolicyLastModifiedDateTime​(OffsetDateTime groupPolicyLastModifiedDateTime)
        Returns an immutable copy of this with just the groupPolicyLastModifiedDateTime 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 date and time at which the GroupPolicyMigrationReport was last modified.”

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

        public Optional<UUID> getGroupPolicyObjectId()
        “The Group Policy Object GUID from GPO Xml content”
        Returns:
        property groupPolicyObjectId
      • withGroupPolicyObjectId

        public GroupPolicyMigrationReport withGroupPolicyObjectId​(UUID groupPolicyObjectId)
        Returns an immutable copy of this with just the groupPolicyObjectId 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 Group Policy Object GUID from GPO Xml content”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “The date and time at which the GroupPolicyMigrationReport was last modified.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public GroupPolicyMigrationReport 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 date and time at which the GroupPolicyMigrationReport was last modified.”

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

        public Optional<GroupPolicyMigrationReadiness> getMigrationReadiness()
        “The Intune coverage for the associated Group Policy Object file.”
        Returns:
        property migrationReadiness
      • withMigrationReadiness

        public GroupPolicyMigrationReport withMigrationReadiness​(GroupPolicyMigrationReadiness migrationReadiness)
        Returns an immutable copy of this with just the migrationReadiness 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 Intune coverage for the associated Group Policy Object file.”

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

        public Optional<String> getOuDistinguishedName()
        “The distinguished name of the OU.”
        Returns:
        property ouDistinguishedName
      • withOuDistinguishedName

        public GroupPolicyMigrationReport withOuDistinguishedName​(String ouDistinguishedName)
        Returns an immutable copy of this with just the ouDistinguishedName 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 distinguished name of the OU.”

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

        public Optional<Integer> getSupportedSettingsCount()
        “The number of Group Policy Settings supported by Intune.”
        Returns:
        property supportedSettingsCount
      • withSupportedSettingsCount

        public GroupPolicyMigrationReport withSupportedSettingsCount​(Integer supportedSettingsCount)
        Returns an immutable copy of this with just the supportedSettingsCount 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 number of Group Policy Settings supported by Intune.”

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

        public Optional<Integer> getSupportedSettingsPercent()
        “The Percentage of Group Policy Settings supported by Intune.”
        Returns:
        property supportedSettingsPercent
      • withSupportedSettingsPercent

        public GroupPolicyMigrationReport withSupportedSettingsPercent​(Integer supportedSettingsPercent)
        Returns an immutable copy of this with just the supportedSettingsPercent 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 Percentage of Group Policy Settings supported by Intune.”

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

        public Optional<Boolean> getTargetedInActiveDirectory()
        “The Targeted in AD property from GPO Xml Content”
        Returns:
        property targetedInActiveDirectory
      • withTargetedInActiveDirectory

        public GroupPolicyMigrationReport withTargetedInActiveDirectory​(Boolean targetedInActiveDirectory)
        Returns an immutable copy of this with just the targetedInActiveDirectory 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 Targeted in AD property from GPO Xml Content”

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

        public Optional<Integer> getTotalSettingsCount()
        “The total number of Group Policy Settings from GPO file.”
        Returns:
        property totalSettingsCount
      • withTotalSettingsCount

        public GroupPolicyMigrationReport withTotalSettingsCount​(Integer totalSettingsCount)
        Returns an immutable copy of this with just the totalSettingsCount 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 total number of Group Policy Settings from GPO file.”

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

        public GroupPolicySettingMappingCollectionRequest getGroupPolicySettingMappings()
        “A list of group policy settings to MDM/Intune mappings.”
        Returns:
        navigational property groupPolicySettingMappings
      • getUnsupportedGroupPolicyExtensions

        public UnsupportedGroupPolicyExtensionCollectionRequest getUnsupportedGroupPolicyExtensions()
        “A list of unsupported group policy extensions inside the Group Policy Object.”
        Returns:
        navigational property unsupportedGroupPolicyExtensions
      • 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 GroupPolicyMigrationReport 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 GroupPolicyMigrationReport 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