Newer
Older
drafter-groovy / src / main / groovy / io / swagger / model / Draftset.groovy
package io.swagger.model;

import groovy.transform.Canonical
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.model.Graph;
import java.util.UUID;
import java.util.List;
@Canonical
class Draftset {

  private def camel(String k) {
    return k.replaceAll("-([A-Za-z0-9])", {Object [] it -> it[1].toUpperCase()})
  }

  Draftset(Map map) {
    map?.each { k, v -> this[camel(k)] = v}
  }

  /* Unique identifier representing this draftset */
  UUID id = null

  /* The user who created this Draftset */
  String createdBy = null

    Map<String, Graph> changes = new HashMap<String, Graph>()

  /* Display name of the Draftset */
  String displayName = null

  /* The current owner of this Draftset */
  String currentOwner = null

  /* The owner who submitted this Draftset for review */
  String submittedBy = null

  /* The required role for users who can claim this Draftset */
  String claimRole = null

  /* The user who can claim this Draftset */
  String claimUser = null

  /* A description of the Draftset */
  String description = null

  /* IS0 8601 DateTime representing the time the draftsets metadata was last updated */
  Date updatedAt = null

  /* IS0 8601 DateTime representing the time the draftset was created */
  Date createdAt = null
  

}