Gamebase SDK for Android  1.14.2
Toast Gamebase Platform
BanInfo Class Reference

Ban information for user who have been banned. More...

Inheritance diagram for BanInfo:
Inheritance graph
Collaboration diagram for BanInfo:
Collaboration graph

Public Member Functions

String toJsonString ()
 
String toPrettyJsonString ()
 
String toString ()
 

Static Public Member Functions

static< T > T fromJson (@NonNull String json, Class< T > classOfT)
 
static< T > T fromJson (@NonNull JSONObject jsonObject, Class< T > classOfT)
 
static< T > T fromJson (@NonNull String json, Type type)
 

Public Attributes

String userId
 User ID who was banned. More...
 
String banType
 There are two types of the banning. More...
 
long beginDate
 Time when banning was started. More...
 
long endDate
 Time when banning will be released. More...
 
String message
 Banning message entered from the Gamebase console. More...
 
String csInfo
 The URL of the customer center web page. More...
 
String csUrl
 The email address of the customer center. More...
 

Detailed Description

Ban information for user who have been banned.

Author
byoun.nosp@m.ghyo.nosp@m.un.ba.nosp@m.c@nh.nosp@m.nent..nosp@m.com
Since
Added 1.11.0.

Member Function Documentation

◆ fromJson() [1/3]

static <T> T fromJson ( @NonNull String  json,
Class< T >  classOfT 
)
staticinherited
Here is the caller graph for this function:

◆ fromJson() [2/3]

static <T> T fromJson ( @NonNull JSONObject  jsonObject,
Class< T >  classOfT 
)
staticinherited
Here is the call graph for this function:

◆ fromJson() [3/3]

static <T> T fromJson ( @NonNull String  json,
Type  type 
)
staticinherited

◆ toJsonString()

String toJsonString ( )
inherited
Here is the caller graph for this function:

◆ toPrettyJsonString()

String toPrettyJsonString ( )
inherited

◆ toString()

String toString ( )
inherited
Here is the call graph for this function:

Member Data Documentation

◆ banType

String banType

There are two types of the banning.


"TEMPORARY", "PERMANENT".

◆ beginDate

long beginDate

Time when banning was started.

◆ csInfo

String csInfo

The URL of the customer center web page.

◆ csUrl

String csUrl

The email address of the customer center.

◆ endDate

long endDate

Time when banning will be released.

◆ message

String message

Banning message entered from the Gamebase console.

◆ userId

String userId

User ID who was banned.