All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.androidenterprise.model.ManagedProperty.html Maven / Gradle / Ivy

The newest version!






ManagedProperty (Google Play EMM API v1-rev20241113-2.0.0)












com.google.api.services.androidenterprise.model

Class ManagedProperty

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class ManagedProperty
    extends com.google.api.client.json.GenericJson
    A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play EMM API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • ManagedProperty

        public ManagedProperty()
    • Method Detail

      • getKey

        public String getKey()
        The unique key that identifies the property.
        Returns:
        value or null for none
      • setKey

        public ManagedProperty setKey(String key)
        The unique key that identifies the property.
        Parameters:
        key - key or null for none
      • getValueBool

        public Boolean getValueBool()
        The boolean value - this will only be present if type of the property is bool.
        Returns:
        value or null for none
      • setValueBool

        public ManagedProperty setValueBool(Boolean valueBool)
        The boolean value - this will only be present if type of the property is bool.
        Parameters:
        valueBool - valueBool or null for none
      • getValueBundle

        public ManagedPropertyBundle getValueBundle()
        The bundle of managed properties - this will only be present if type of the property is bundle.
        Returns:
        value or null for none
      • setValueBundle

        public ManagedProperty setValueBundle(ManagedPropertyBundle valueBundle)
        The bundle of managed properties - this will only be present if type of the property is bundle.
        Parameters:
        valueBundle - valueBundle or null for none
      • getValueBundleArray

        public List<ManagedPropertyBundle> getValueBundleArray()
        The list of bundles of properties - this will only be present if type of the property is bundle_array.
        Returns:
        value or null for none
      • setValueBundleArray

        public ManagedProperty setValueBundleArray(List<ManagedPropertyBundle> valueBundleArray)
        The list of bundles of properties - this will only be present if type of the property is bundle_array.
        Parameters:
        valueBundleArray - valueBundleArray or null for none
      • getValueInteger

        public Integer getValueInteger()
        The integer value - this will only be present if type of the property is integer.
        Returns:
        value or null for none
      • setValueInteger

        public ManagedProperty setValueInteger(Integer valueInteger)
        The integer value - this will only be present if type of the property is integer.
        Parameters:
        valueInteger - valueInteger or null for none
      • getValueString

        public String getValueString()
        The string value - this will only be present if type of the property is string, choice or hidden.
        Returns:
        value or null for none
      • setValueString

        public ManagedProperty setValueString(String valueString)
        The string value - this will only be present if type of the property is string, choice or hidden.
        Parameters:
        valueString - valueString or null for none
      • getValueStringArray

        public List<String> getValueStringArray()
        The list of string values - this will only be present if type of the property is multiselect.
        Returns:
        value or null for none
      • setValueStringArray

        public ManagedProperty setValueStringArray(List<String> valueStringArray)
        The list of string values - this will only be present if type of the property is multiselect.
        Parameters:
        valueStringArray - valueStringArray or null for none
      • clone

        public ManagedProperty clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy