@@ -19,6 +19,13 @@ public function jsonSerialize()
1919 "app " => $ this ->getApp (),
2020 "appPlatform " => $ this ->getAppPlatform (),
2121 "appSource " => $ this ->getAppSource (),
22+ "displayName " => $ this ->getDisplayName (),
23+ "installSource " => $ this ->getInstallSource (),
24+ "provider " => $ this ->getProvider (),
25+ "rating " => $ this ->getRating (),
26+ "ratingMax " => $ this ->getRatingMax (),
27+ "providerId " => $ this ->getProviderId (),
28+ "providerRating " => $ this ->getProviderRating (),
2229 ];
2330 }
2431
@@ -81,4 +88,82 @@ public function getAppSource($default = null, $trim = true)
8188 $ value = Objects::property ($ this ->_getResultJson (), 'appSource ' , $ default );
8289 return $ trim ? Strings::ntrim ($ value ) : $ value ;
8390 }
91+
92+ /**
93+ * @param mixed $default
94+ * @param bool $trim Trim Value
95+ *
96+ * @return string
97+ */
98+ public function getDisplayName ($ default = null , $ trim = true )
99+ {
100+ $ value = Objects::property ($ this ->_getResultJson (), 'displayName ' , $ default );
101+ return $ trim ? Strings::ntrim ($ value ) : $ value ;
102+ }
103+
104+ /**
105+ * @param mixed $default
106+ * @param bool $trim Trim Value
107+ *
108+ * @return string
109+ */
110+ public function getInstallSource ($ default = null , $ trim = true )
111+ {
112+ $ value = Objects::property ($ this ->_getResultJson (), 'installSource ' , $ default );
113+ return $ trim ? Strings::ntrim ($ value ) : $ value ;
114+ }
115+
116+ /**
117+ * @param mixed $default
118+ * @param bool $trim Trim Value
119+ *
120+ * @return string
121+ */
122+ public function getProvider ($ default = null , $ trim = true )
123+ {
124+ $ value = Objects::property ($ this ->_getResultJson (), 'provider ' , $ default );
125+ return $ trim ? Strings::ntrim ($ value ) : $ value ;
126+ }
127+
128+ /**
129+ * @param mixed $default
130+ *
131+ * @return integer
132+ */
133+ public function getRating ($ default = null )
134+ {
135+ return Objects::property ($ this ->_getResultJson (), 'rating ' , $ default );
136+ }
137+
138+ /**
139+ * @param mixed $default
140+ *
141+ * @return integer
142+ */
143+ public function getRatingMax ($ default = null )
144+ {
145+ return Objects::property ($ this ->_getResultJson (), 'ratingMax ' , $ default );
146+ }
147+
148+ /**
149+ * @param mixed $default
150+ * @param bool $trim Trim Value
151+ *
152+ * @return string
153+ */
154+ public function getProviderId ($ default = null , $ trim = true )
155+ {
156+ $ value = Objects::property ($ this ->_getResultJson (), 'providerId ' , $ default );
157+ return $ trim ? Strings::ntrim ($ value ) : $ value ;
158+ }
159+
160+ /**
161+ * @param mixed $default
162+ *
163+ * @return integer
164+ */
165+ public function getProviderRating ($ default = null )
166+ {
167+ return Objects::property ($ this ->_getResultJson (), 'providerRating ' , $ default );
168+ }
84169}
0 commit comments