/* Options: Date: 2024-12-22 12:39:56 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetUserOrganizations.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/user/organizations") open class GetUserOrganizations : IReturn, IGet { companion object { private val responseType = GetUserOrganizationsResponse::class.java } override fun getResponseType(): Any? = GetUserOrganizations.responseType } open class GetUserOrganizationsResponse { open var members:ArrayList? = null open var memberInvites:ArrayList? = null open var subscriptions:ArrayList? = null } open class OrganizationMember { open var id:Int? = null open var organizationId:Int? = null open var userId:Int? = null open var userName:String? = null open var isOwner:Boolean? = null open var isModerator:Boolean? = null open var denyAll:Boolean? = null open var denyPosts:Boolean? = null open var denyComments:Boolean? = null open var notes:String? = null } open class OrganizationMemberInvite { open var id:Int? = null open var organizationId:Int? = null open var userId:Int? = null open var userName:String? = null open var dismissed:Date? = null } open class OrganizationSubscription { open var id:Long? = null open var organizationId:Int? = null open var userId:Int? = null open var userName:String? = null open var postTypes:ArrayList? = null open var frequencyDays:Int? = null open var lastSyncedId:Long? = null open var lastSynced:Date? = null open var created:Date? = null }