modeldb-main/backend/server/src/main/java/ai/verta/modeldb/versioning/autogenerated/_public/modeldb/versioning/model/AutogenS3DatasetComponentDiffGen.java
// THIS FILE IS AUTO-GENERATED. DO NOT EDIT
package ai.verta.modeldb.versioning.autogenerated._public.modeldb.versioning.model;

import ai.verta.modeldb.versioning.*;
import ai.verta.modeldb.versioning.blob.diff.*;
import com.pholser.junit.quickcheck.generator.*;
import com.pholser.junit.quickcheck.generator.java.util.*;
import com.pholser.junit.quickcheck.random.*;
import java.util.*;

public class AutogenS3DatasetComponentDiffGen extends Generator<AutogenS3DatasetComponentDiff> {
  public AutogenS3DatasetComponentDiffGen() {
    super(AutogenS3DatasetComponentDiff.class);
  }

  @Override
  public AutogenS3DatasetComponentDiff generate(SourceOfRandomness r, GenerationStatus status) {
    // if (r.nextBoolean())
    //     return null;

    AutogenS3DatasetComponentDiff obj = new AutogenS3DatasetComponentDiff();
    if (r.nextBoolean()) {
      obj.setA(
          Utils.removeEmpty(gen().type(AutogenS3DatasetComponentBlob.class).generate(r, status)));
    }
    if (r.nextBoolean()) {
      obj.setB(
          Utils.removeEmpty(gen().type(AutogenS3DatasetComponentBlob.class).generate(r, status)));
    }
    if (r.nextBoolean()) {
      obj.setC(
          Utils.removeEmpty(gen().type(AutogenS3DatasetComponentBlob.class).generate(r, status)));
    }
    if (r.nextBoolean()) {
      obj.setStatus(
          Utils.removeEmpty(gen().type(AutogenDiffStatusEnumDiffStatus.class).generate(r, status)));
    }
    return obj;
  }
}
