package com.hbc.svc.sundial.v2.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] * Custom, preconfigured, EMR Service role */ @JsonIgnoreProperties(ignoreUnknown=true) data class CustomEmrServiceRole( @JsonProperty("role_name") @get:JsonProperty("role_name") val roleName: String ) : Serializable { fun toJsonString(): String = com.hbc.svc.sundial.v2.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): CustomEmrServiceRole = com.hbc.svc.sundial.v2.models.JacksonObjectMapperFactory.create().readValue( json, CustomEmrServiceRole::class.java) } }