Action

data class Action<T : DTO<T>>(shortenId: String?, type: String?, content: T?) : DTO<Action<T>>

アクション情報を保持するデータクラスです。

Constructors

Action
Link copied to clipboard
fun <T : DTO<T>> Action(shortenId: String? = null, type: String? = null, content: T? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): T?
copy
Link copied to clipboard
fun copy(shortenId: String? = null, type: String? = null, content: T? = null): Action<T>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
load
Link copied to clipboard
open override fun load(jsonObject: JSONObject?): Action<T>
Load from JSONObject to Object.
toString
Link copied to clipboard
open override fun toString(): String

Properties

content
Link copied to clipboard
var content: T? = null
content フィールド
shortenId
Link copied to clipboard
var shortenId: String? = null
shorten_id フィールド
type
Link copied to clipboard
var type: String? = null
type フィールド