Class BatchGetUsersResponse
- java.lang.Object
-
- java.util.AbstractMap<java.lang.String,java.lang.Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.rcsbusinessmessaging.v1.model.BatchGetUsersResponse
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public final class BatchGetUsersResponse extends com.google.api.client.json.GenericJsonResponse message for RBMService.BatchGetUsers method.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
-
-
Constructor Summary
Constructors Constructor Description BatchGetUsersResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetUsersResponseclone()java.lang.IntegergetReachableRandomSampleUserCount()Amount of users' phone numbers from the randomly selected list that are RCS-enabled regardless of the launch status for the agent.java.util.List<java.lang.String>getReachableUsers()List of users' phone numbers that can be reached from the RBM platform.java.lang.IntegergetTotalRandomSampleUserCount()Amount of users' phone number randomly selected from the request.BatchGetUsersResponseset(java.lang.String fieldName, java.lang.Object value)BatchGetUsersResponsesetReachableRandomSampleUserCount(java.lang.Integer reachableRandomSampleUserCount)Amount of users' phone numbers from the randomly selected list that are RCS-enabled regardless of the launch status for the agent.BatchGetUsersResponsesetReachableUsers(java.util.List<java.lang.String> reachableUsers)List of users' phone numbers that can be reached from the RBM platform.BatchGetUsersResponsesetTotalRandomSampleUserCount(java.lang.Integer totalRandomSampleUserCount)Amount of users' phone number randomly selected from the request.-
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
-
-
-
-
Method Detail
-
getReachableRandomSampleUserCount
public java.lang.Integer getReachableRandomSampleUserCount()
Amount of users' phone numbers from the randomly selected list that are RCS-enabled regardless of the launch status for the agent. The ratio between this value and the total_random_sample_user_count can be used to approximate the potential reach for a list of users.- Returns:
- value or
nullfor none
-
setReachableRandomSampleUserCount
public BatchGetUsersResponse setReachableRandomSampleUserCount(java.lang.Integer reachableRandomSampleUserCount)
Amount of users' phone numbers from the randomly selected list that are RCS-enabled regardless of the launch status for the agent. The ratio between this value and the total_random_sample_user_count can be used to approximate the potential reach for a list of users.- Parameters:
reachableRandomSampleUserCount- reachableRandomSampleUserCount ornullfor none
-
getReachableUsers
public java.util.List<java.lang.String> getReachableUsers()
List of users' phone numbers that can be reached from the RBM platform. Only users on carriers that the agent is launched on will be returned.- Returns:
- value or
nullfor none
-
setReachableUsers
public BatchGetUsersResponse setReachableUsers(java.util.List<java.lang.String> reachableUsers)
List of users' phone numbers that can be reached from the RBM platform. Only users on carriers that the agent is launched on will be returned.- Parameters:
reachableUsers- reachableUsers ornullfor none
-
getTotalRandomSampleUserCount
public java.lang.Integer getTotalRandomSampleUserCount()
Amount of users' phone number randomly selected from the request. Typically this value will be ~75% of the total requested users in the initial BatchGetUsers request. This value will be 0 if the amount of requested users is less than 500.- Returns:
- value or
nullfor none
-
setTotalRandomSampleUserCount
public BatchGetUsersResponse setTotalRandomSampleUserCount(java.lang.Integer totalRandomSampleUserCount)
Amount of users' phone number randomly selected from the request. Typically this value will be ~75% of the total requested users in the initial BatchGetUsers request. This value will be 0 if the amount of requested users is less than 500.- Parameters:
totalRandomSampleUserCount- totalRandomSampleUserCount ornullfor none
-
set
public BatchGetUsersResponse set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public BatchGetUsersResponse clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-