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

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

There is a newer version: v1-rev20250115-2.0.0
Show newest version






VariableSet (Google Play EMM API v1-rev20240820-2.0.0)












com.google.api.services.androidenterprise.model

Class VariableSet

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


    public final class VariableSet
    extends com.google.api.client.json.GenericJson
    A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.

    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

      • VariableSet

        public VariableSet()
    • Method Detail

      • getPlaceholder

        public String getPlaceholder()
        The placeholder string; defined by EMM.
        Returns:
        value or null for none
      • setPlaceholder

        public VariableSet setPlaceholder(String placeholder)
        The placeholder string; defined by EMM.
        Parameters:
        placeholder - placeholder or null for none
      • getUserValue

        public String getUserValue()
        The value of the placeholder, specific to the user.
        Returns:
        value or null for none
      • setUserValue

        public VariableSet setUserValue(String userValue)
        The value of the placeholder, specific to the user.
        Parameters:
        userValue - userValue or null for none
      • set

        public VariableSet set(String fieldName,
                               Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy