mirror of https://github.com/usbharu/Hideout.git
feat: Createアクティビティにactorを追加
This commit is contained in:
parent
b5f6c60e05
commit
f31f89a540
|
@ -2,7 +2,6 @@ package dev.usbharu.hideout.domain.model.ap
|
||||||
|
|
||||||
open class Accept : Object {
|
open class Accept : Object {
|
||||||
var `object`: Object? = null
|
var `object`: Object? = null
|
||||||
var actor: String? = null
|
|
||||||
|
|
||||||
protected constructor() : super()
|
protected constructor() : super()
|
||||||
constructor(
|
constructor(
|
||||||
|
@ -10,9 +9,8 @@ open class Accept : Object {
|
||||||
name: String,
|
name: String,
|
||||||
`object`: Object?,
|
`object`: Object?,
|
||||||
actor: String?
|
actor: String?
|
||||||
) : super(add(type, "Accept"), name) {
|
) : super(add(type, "Accept"), name,actor) {
|
||||||
this.`object` = `object`
|
this.`object` = `object`
|
||||||
this.actor = actor
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun equals(other: Any?): Boolean {
|
override fun equals(other: Any?): Boolean {
|
||||||
|
|
|
@ -2,7 +2,6 @@ package dev.usbharu.hideout.domain.model.ap
|
||||||
|
|
||||||
open class Follow : Object {
|
open class Follow : Object {
|
||||||
var `object`: String? = null
|
var `object`: String? = null
|
||||||
var actor: String? = null
|
|
||||||
|
|
||||||
protected constructor() : super()
|
protected constructor() : super()
|
||||||
constructor(
|
constructor(
|
||||||
|
@ -10,9 +9,8 @@ open class Follow : Object {
|
||||||
name: String,
|
name: String,
|
||||||
`object`: String?,
|
`object`: String?,
|
||||||
actor: String?
|
actor: String?
|
||||||
) : super(add(type, "Follow"), name) {
|
) : super(add(type, "Follow"), name,actor) {
|
||||||
this.`object` = `object`
|
this.`object` = `object`
|
||||||
this.actor = actor
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue