Skip to content

AppModel

Gets the basic information about the app.

  • Permissions to view the App is needed.
  • API Tokens cannot be used with this API.

Constructor

Parameter

(none)

Sample code

Init App Model Source code
AppModel appModel = new AppModel();

Methods

getAppId()

Get the appId

Parameter

(none)

Return

Integer

Sample code

get App Id Source code
Integer addId = appModel.getAppId();

getCode()

Get the code

Parameter

(none)

Return

String

Sample code

get Code Source code
String code = appModel.getCode();

getName()

Get the name

Parameter

(none)

Return

String

Sample code

get Name Source code
String name = appModel.getName();

getDescription()

Get the description

Parameter

(none)

Return

String

Sample code

get Description Source code
String description = appModel.getDescription();

getSpaceId()

Get the spaceId

Parameter

(none)

Return

Integer

Sample code

get Space Id Source code
Integer spaceId = appModel.getSpaceId();

getThreadId()

Get the threadId

Parameter

(none)

Return

Integer

Sample code

get Thread Id Source code
Integer threadId = appModel.getThreadId();

getCreator()

Get the creator

Parameter

(none)

Return

Member

Sample code

get Creator Source code
Member member = appModel.getCreator();

getModifier()

Get the modifier

Parameter

(none)

Return

Member

Sample code

get Modifier Source code
Member member = appModel.getModifier();

getCreatedAt()

Get the createdAt

Parameter

(none)

Return

Date

Sample code

get Create Date Source code
Date date = appModel.getCreatedAt();

getModifiedAt()

Get the modifiedAt

Parameter

(none)

Return

Date

Sample code

get Modified Date Source code
Date date = appModel.getModifiedAt();

Reference