openapi-nexus 0.1.4

OpenAPI 3.x multi-language code generator
Documentation
// Code generated by openapi-nexus. DO NOT EDIT.
//
// Petstore API — 1.0.0
// This is a sample Pet Store Server based on the OpenAPI 3.1 specification

package com.example.sdk.models;

import java.util.List;

import com.google.gson.annotations.SerializedName;

/**
 * Pet model
 */
public class Pet {
    private Category category;
    private Long id;
    private String name;
    @SerializedName("photo_urls")
    private List<String> photoUrls;
    private PetStatus status;
    private List<Tag> tags;

    public Pet(Category category, Long id, String name, List<String> photoUrls, PetStatus status,
    List<Tag> tags) {
        this.category = category;
        this.id = id;
        this.name = name;
        this.photoUrls = photoUrls;
        this.status = status;
        this.tags = tags;
    }

    public Category getCategory() {
        return this.category;
    }

    public Long getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public List<String> getPhotoUrls() {
        return this.photoUrls;
    }

    public PetStatus getStatus() {
        return this.status;
    }

    public List<Tag> getTags() {
        return this.tags;
    }
}