Class File
- 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.File
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public final class File extends com.google.api.client.json.GenericJsonA file resource with a unique name that an agent can use to identify the file when sending messages.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 File()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Fileclone()java.lang.StringgetName()Server-assigned unique name of the file resource, which an agent can use to identify the file when sending messages.Fileset(java.lang.String fieldName, java.lang.Object value)FilesetName(java.lang.String name)Server-assigned unique name of the file resource, which an agent can use to identify the file when sending messages.-
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
-
getName
public java.lang.String getName()
Server-assigned unique name of the file resource, which an agent can use to identify the file when sending messages. The format is "files/{uid}", where {uid} is a unique ID.- Returns:
- value or
nullfor none
-
setName
public File setName(java.lang.String name)
Server-assigned unique name of the file resource, which an agent can use to identify the file when sending messages. The format is "files/{uid}", where {uid} is a unique ID.- Parameters:
name- name ornullfor none
-
set
public File set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public File clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-