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

com.notronix.etsy.impl.model.EtsyTaxonomy Maven / Gradle / Ivy

There is a newer version: 3.0.0014
Show newest version
package com.notronix.etsy.impl.model;

import com.google.gson.annotations.SerializedName;
import com.notronix.etsy.api.model.Taxonomy;

import java.util.List;

public class EtsyTaxonomy implements Taxonomy
{
    private Long id;
    private Integer level;
    private String name;
    private String parent;

    @SerializedName(value = "parent_id")
    private Long parentId;
    private String path;

    @SerializedName(value = "category_id")
    private Long categoryId;

    private List children;

    @SerializedName(value = "children_ids")
    private List childrenIds;

    @SerializedName(value = "full_path_taxonomy_ids")
    private List fullPathTaxonomyIds;

    @Override
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    @Override
    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    @Override
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    @Override
    public List getChildren() {
        return children;
    }

    public void setChildren(List children) {
        this.children = children;
    }

    @Override
    public List getChildrenIds() {
        return childrenIds;
    }

    public void setChildrenIds(List childrenIds) {
        this.childrenIds = childrenIds;
    }

    @Override
    public List getFullPathTaxonomyIds() {
        return fullPathTaxonomyIds;
    }

    public void setFullPathTaxonomyIds(List fullPathTaxonomyIds) {
        this.fullPathTaxonomyIds = fullPathTaxonomyIds;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy