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.Int import kotlin.String import kotlin.collections.List /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class BatchImageCommand( @JsonProperty("image") @get:JsonProperty("image") val image: String, @JsonProperty("tag") @get:JsonProperty("tag") val tag: String, @JsonProperty("command") @get:JsonProperty("command") val command: List, @JsonProperty("memory") @get:JsonProperty("memory") val memory: Int, @JsonProperty("vCpus") @get:JsonProperty("vCpus") val vCpus: Int, @JsonProperty("job_role_arn") @get:JsonProperty("job_role_arn") val jobRoleArn: String?, @JsonProperty("environment_variables") @get:JsonProperty("environment_variables") val environmentVariables: List, @JsonProperty("job_queue") @get:JsonProperty("job_queue") val jobQueue: String? ) : Serializable { fun toJsonString(): String = com.hbc.svc.sundial.v2.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): BatchImageCommand = com.hbc.svc.sundial.v2.models.JacksonObjectMapperFactory.create().readValue( json, BatchImageCommand::class.java) } }