package com.teambytes.hipchat.sns.bridge.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.Boolean import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class HipchatInstallable( @JsonProperty("callbackUrl") @get:JsonProperty("callbackUrl") val callbackUrl: String?, @JsonProperty("installedUrl") @get:JsonProperty("installedUrl") val installedUrl: String?, @JsonProperty("allowGlobal") @get:JsonProperty("allowGlobal") val allowGlobal: Boolean?, @JsonProperty("allowRoom") @get:JsonProperty("allowRoom") val allowRoom: Boolean? ) : Serializable { fun toJsonString(): String = com.teambytes.hipchat.sns.bridge.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): HipchatInstallable = com.teambytes.hipchat.sns.bridge.v0.models.JacksonObjectMapperFactory.create().readValue( json, HipchatInstallable::class.java) } }