Class BatchGetUsersRequest

  • All Implemented Interfaces:
    java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>

    public final class BatchGetUsersRequest
    extends com.google.api.client.json.GenericJson
    Request to check if users are RBM-reachable.

    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 RCS Business Messaging API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.api.client.util.GenericData

        com.google.api.client.util.GenericData.Flags
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BatchGetUsersRequest clone()  
      java.lang.String getAgentId()
      Optional.
      java.util.List<java.lang.String> getUsers()
      List of users' phone numbers in E.164 format.
      BatchGetUsersRequest set​(java.lang.String fieldName, java.lang.Object value)  
      BatchGetUsersRequest setAgentId​(java.lang.String agentId)
      Optional.
      BatchGetUsersRequest setUsers​(java.util.List<java.lang.String> users)
      List of users' phone numbers in E.164 format.
      • Methods inherited from class com.google.api.client.json.GenericJson

        getFactory, setFactory, toPrettyString, toString
      • Methods inherited from class com.google.api.client.util.GenericData

        entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
      • Methods inherited from class java.util.AbstractMap

        clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • BatchGetUsersRequest

        public BatchGetUsersRequest()
    • Method Detail

      • getAgentId

        public java.lang.String getAgentId()
        Optional. The agent's unique identifier. Defined by RCS Business Messaging.
        Returns:
        value or null for none
      • setAgentId

        public BatchGetUsersRequest setAgentId​(java.lang.String agentId)
        Optional. The agent's unique identifier. Defined by RCS Business Messaging.
        Parameters:
        agentId - agentId or null for none
      • getUsers

        public java.util.List<java.lang.String> getUsers()
        List of users' phone numbers in E.164 format.
        Returns:
        value or null for none
      • setUsers

        public BatchGetUsersRequest setUsers​(java.util.List<java.lang.String> users)
        List of users' phone numbers in E.164 format.
        Parameters:
        users - users or null for none
      • set

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

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