Class DeviceManagementConfigurationPolicyTemplateReference

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

    public class DeviceManagementConfigurationPolicyTemplateReference
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Policy template reference information”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • templateDisplayName

        protected String templateDisplayName
      • templateDisplayVersion

        protected String templateDisplayVersion
      • templateId

        protected String templateId
    • Constructor Detail

      • DeviceManagementConfigurationPolicyTemplateReference

        protected DeviceManagementConfigurationPolicyTemplateReference()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getTemplateDisplayName

        public Optional<String> getTemplateDisplayName()
        “Template Display Name of the referenced template. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property templateDisplayName
      • withTemplateDisplayName

        public DeviceManagementConfigurationPolicyTemplateReference withTemplateDisplayName​(String templateDisplayName)
        Returns an immutable copy of this with just the templateDisplayName 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.

        “Template Display Name of the referenced template. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<String> getTemplateDisplayVersion()
        “Template Display Version of the referenced Template. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property templateDisplayVersion
      • withTemplateDisplayVersion

        public DeviceManagementConfigurationPolicyTemplateReference withTemplateDisplayVersion​(String templateDisplayVersion)
        Returns an immutable copy of this with just the templateDisplayVersion 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.

        “Template Display Version of the referenced Template. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<DeviceManagementConfigurationTemplateFamily> getTemplateFamily()
        “Template Family of the referenced Template. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property templateFamily
      • withTemplateFamily

        public DeviceManagementConfigurationPolicyTemplateReference withTemplateFamily​(DeviceManagementConfigurationTemplateFamily templateFamily)
        Returns an immutable copy of this with just the templateFamily 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.

        “Template Family of the referenced Template. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

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

        public Optional<String> getTemplateId()
        “Template id”
        Returns:
        property templateId
      • withTemplateId

        public DeviceManagementConfigurationPolicyTemplateReference withTemplateId​(String templateId)
        Returns an immutable copy of this with just the templateId 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.

        “Template id”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

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