parent
d86a1587a9
commit
f1e2034460
@ -0,0 +1,46 @@ |
||||
package com.github.catvod.bean; |
||||
|
||||
import com.google.gson.annotations.SerializedName; |
||||
|
||||
import java.util.List; |
||||
|
||||
public class Filter { |
||||
|
||||
@SerializedName("key") |
||||
private String key; |
||||
@SerializedName("name") |
||||
private String name; |
||||
@SerializedName("value") |
||||
private List<Value> value; |
||||
|
||||
public Filter(String key, String name, List<Value> value) { |
||||
this.key = key; |
||||
this.name = name; |
||||
this.value = value; |
||||
} |
||||
|
||||
public void setKey(String key) { |
||||
this.key = key; |
||||
} |
||||
|
||||
public void setName(String name) { |
||||
this.name = name; |
||||
} |
||||
|
||||
public void setValue(List<Value> value) { |
||||
this.value = value; |
||||
} |
||||
|
||||
public static class Value { |
||||
|
||||
@SerializedName("n") |
||||
private String n; |
||||
@SerializedName("v") |
||||
private String v; |
||||
|
||||
public Value(String n, String v) { |
||||
this.n = n; |
||||
this.v = v; |
||||
} |
||||
} |
||||
} |
||||
Loading…
Reference in new issue