1+ package com.thoo.api.match
2+
3+ class MatchBuilder {
4+
5+ private var type: String? = null
6+ private var backendType: String? = null
7+ private var rarity: String? = null
8+ private var backendRarity: String? = null
9+ private var name: String? = null
10+ private var shortDescription: String? = null
11+ private var description: String? = null
12+ private var set: String? = null
13+ private var series: String? = null
14+ private var backendSeries: String? = null
15+ private var hasSmallIcon: Boolean? = null
16+ private var hasIcon: Boolean? = null
17+ private var hasFeaturedImage: Boolean? = null
18+ private var hasBackgroundImage: Boolean? = null
19+ private var hasCovertArt: Boolean? = null
20+ private var hasDecal: Boolean? = null
21+ private var hasVariants: Boolean? = null
22+ private var hasGameplayTags: Boolean? = null
23+ private var gameplayTag: String? = null
24+
25+ fun setType (type : String ):MatchBuilder {
26+ this .type = type
27+ return this
28+ }
29+
30+ fun setBackendType (backendType : String ):MatchBuilder {
31+ this .backendType = backendType
32+ return this
33+ }
34+
35+ fun setRarity (rarity : String ):MatchBuilder {
36+ this .rarity = rarity
37+ return this
38+ }
39+
40+ fun setBackendRarity (backendRarity : String ):MatchBuilder {
41+ this .backendRarity = backendRarity
42+ return this
43+ }
44+
45+ fun setName (name : String ):MatchBuilder {
46+ this .name = name
47+ return this
48+ }
49+
50+ fun setShortDescription (shortDescription : String ):MatchBuilder {
51+ this .shortDescription = shortDescription
52+ return this
53+ }
54+
55+ fun setDescription (description : String ):MatchBuilder {
56+ this .description = description
57+ return this
58+ }
59+
60+ fun setSet (set : String ):MatchBuilder {
61+ this .set = set
62+ return this
63+ }
64+
65+ fun setSeries (series : String ):MatchBuilder {
66+ this .series = series
67+ return this
68+ }
69+
70+ fun setBackendSeries (backendSeries : String ):MatchBuilder {
71+ this .backendSeries = backendSeries
72+ return this
73+ }
74+
75+ fun setSmallIcon (hasSmallIcon : Boolean ):MatchBuilder {
76+ this .hasSmallIcon = hasSmallIcon
77+ return this
78+ }
79+
80+ fun setIcon (hasIcon : Boolean ):MatchBuilder {
81+ this .hasIcon = hasIcon
82+ return this
83+ }
84+
85+ fun setFeaturedImage (hasFeaturedImage : Boolean ):MatchBuilder {
86+ this .hasFeaturedImage = hasFeaturedImage
87+ return this
88+ }
89+
90+ fun setBackgroundImage (hasBackgroundImage : Boolean ):MatchBuilder {
91+ this .hasBackgroundImage = hasBackgroundImage
92+ return this
93+ }
94+
95+ fun setCovertArt (hasCovertArt : Boolean ):MatchBuilder {
96+ this .hasCovertArt = hasCovertArt
97+ return this
98+ }
99+
100+ fun setDecal (hasDecal : Boolean ):MatchBuilder {
101+ this .hasDecal = hasDecal
102+ return this
103+ }
104+
105+ fun setVariants (hasVariants : Boolean ):MatchBuilder {
106+ this .hasVariants = hasVariants
107+ return this
108+ }
109+
110+ fun setGameplayTags (hasGameplayTags : Boolean ):MatchBuilder {
111+ this .hasGameplayTags = hasGameplayTags
112+ return this
113+ }
114+
115+ fun setGameplayTag (gameplayTag : String ):MatchBuilder {
116+ this .gameplayTag = gameplayTag
117+ return this
118+ }
119+
120+ }
0 commit comments