Action

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

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

Constructors

Action
Link copied to clipboard
fun <T : DTO<T>> Action(shortenId: String? = null, type: String? = null, content: T? = null, noAction: Boolean? = null, reason: String? = null, responseTimestamp: String? = 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?
component4
Link copied to clipboard
operator fun component4(): Boolean?
component5
Link copied to clipboard
operator fun component5(): String?
component6
Link copied to clipboard
operator fun component6(): String?
copy
Link copied to clipboard
fun copy(shortenId: String? = null, type: String? = null, content: T? = null, noAction: Boolean? = null, reason: String? = null, responseTimestamp: String? = 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 フィールド
noAction
Link copied to clipboard
var noAction: Boolean? = null
no_action フィールド
reason
Link copied to clipboard
var reason: String? = null
reason フィールド
responseTimestamp
Link copied to clipboard
var responseTimestamp: String? = null
response_timestamp フィールド
shortenId
Link copied to clipboard
var shortenId: String? = null
shorten_id フィールド
type
Link copied to clipboard
var type: String? = null
type フィールド