All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.peckb1.examples.base.fraggles.Boober Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package com.github.peckb1.examples.base.fraggles;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.peckb1.examples.base.Fraggle;
import com.github.peckb1.examples.base.Job;

import java.util.Optional;

public class Boober extends Fraggle {
    public Boober(@JsonProperty(value = HAIR_COLOUR_KEY, required = true) String hairColour,
                  @JsonProperty(value = HAT_KEY, required = true) Boolean wearsHats,
                  @JsonProperty(value = JOB_KEY) Optional job) {
        super(hairColour, wearsHats, job);
    }

    @Override
    public FraggleName getFraggleName() {
        return FraggleName.BOOBER;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy