public class TLUpdateNewAuthorization extends TLAbsUpdate
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateNewAuthorization()
Instantiates a new TL update new authorization.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
long |
getAuthKeyId()
Gets auth key id.
|
int |
getClassId()
Getting TL Class identification
|
int |
getDate()
Gets date.
|
String |
getDevice()
Gets device.
|
String |
getLocation()
Gets location.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAuthKeyId(long authKeyId)
Sets auth key id.
|
void |
setDate(int date)
Sets date.
|
void |
setDevice(String device)
Sets device.
|
void |
setLocation(String location)
Sets location.
|
String |
toString()
Custom toString method
|
getPts, getPtsCountdeserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateNewAuthorization()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getDate()
public void setDate(int date)
date - the datepublic long getAuthKeyId()
public void setAuthKeyId(long authKeyId)
authKeyId - the auth key idpublic String getLocation()
public void setLocation(String location)
location - the locationpublic String getDevice()
public void setDevice(String device)
device - the devicepublic void serializeBody(OutputStream stream) throws IOException
TLObjectserializeBody in class TLObjectstream - destination streamIOExceptionpublic void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObjectdeserializeBody in class TLObjectstream - source streamcontext - tl contextIOExceptionCopyright © 2016. All rights reserved.