@@ -13,6 +13,7 @@ namespace Models
1313 class GenerateWuyingServerSceneUrlRequest : public Darabonba ::Model {
1414 public:
1515 friend void to_json (Darabonba::Json& j, const GenerateWuyingServerSceneUrlRequest& obj) {
16+ DARABONBA_PTR_TO_JSON (ApiKey, apiKey_);
1617 DARABONBA_PTR_TO_JSON (ClientId, clientId_);
1718 DARABONBA_PTR_TO_JSON (ClientIp, clientIp_);
1819 DARABONBA_PTR_TO_JSON (ClientOS, clientOS_);
@@ -28,6 +29,7 @@ namespace Models
2829 DARABONBA_PTR_TO_JSON (WuyingServerId, wuyingServerId_);
2930 };
3031 friend void from_json (const Darabonba::Json& j, GenerateWuyingServerSceneUrlRequest& obj) {
32+ DARABONBA_PTR_FROM_JSON (ApiKey, apiKey_);
3133 DARABONBA_PTR_FROM_JSON (ClientId, clientId_);
3234 DARABONBA_PTR_FROM_JSON (ClientIp, clientIp_);
3335 DARABONBA_PTR_FROM_JSON (ClientOS, clientOS_);
@@ -53,10 +55,17 @@ namespace Models
5355 };
5456 virtual void fromMap (const Darabonba::Json &obj) override { from_json (obj, *this ); validate (); };
5557 virtual Darabonba::Json toMap () const override { Darabonba::Json obj; to_json (obj, *this ); return obj; };
56- virtual bool empty () const override { return this ->clientId_ == nullptr
57- && return this ->clientIp_ == nullptr && return this ->clientOS_ == nullptr && return this ->clientType_ == nullptr && return this ->clientVersion_ == nullptr && return this ->endUserId_ == nullptr
58- && return this ->loginRegionId_ == nullptr && return this ->loginToken_ == nullptr && return this ->productType_ == nullptr && return this ->scene_ == nullptr && return this ->sessionId_ == nullptr
59- && return this ->uuid_ == nullptr && return this ->wuyingServerId_ == nullptr ; };
58+ virtual bool empty () const override { return this ->apiKey_ == nullptr
59+ && return this ->clientId_ == nullptr && return this ->clientIp_ == nullptr && return this ->clientOS_ == nullptr && return this ->clientType_ == nullptr && return this ->clientVersion_ == nullptr
60+ && return this ->endUserId_ == nullptr && return this ->loginRegionId_ == nullptr && return this ->loginToken_ == nullptr && return this ->productType_ == nullptr && return this ->scene_ == nullptr
61+ && return this ->sessionId_ == nullptr && return this ->uuid_ == nullptr && return this ->wuyingServerId_ == nullptr ; };
62+ // apiKey Field Functions
63+ bool hasApiKey () const { return this ->apiKey_ != nullptr ;};
64+ void deleteApiKey () { this ->apiKey_ = nullptr ;};
65+ inline string apiKey () const { DARABONBA_PTR_GET_DEFAULT (apiKey_, " " ) };
66+ inline GenerateWuyingServerSceneUrlRequest& setApiKey (string apiKey) { DARABONBA_PTR_SET_VALUE (apiKey_, apiKey) };
67+
68+
6069 // clientId Field Functions
6170 bool hasClientId () const { return this ->clientId_ != nullptr ;};
6271 void deleteClientId () { this ->clientId_ = nullptr ;};
@@ -149,20 +158,20 @@ namespace Models
149158
150159
151160 protected:
161+ // This parameter is required.
162+ std::shared_ptr<string> apiKey_ = nullptr ;
152163 std::shared_ptr<string> clientId_ = nullptr ;
153164 std::shared_ptr<string> clientIp_ = nullptr ;
154165 std::shared_ptr<string> clientOS_ = nullptr ;
155166 std::shared_ptr<string> clientType_ = nullptr ;
156167 std::shared_ptr<string> clientVersion_ = nullptr ;
157168 std::shared_ptr<string> endUserId_ = nullptr ;
158169 std::shared_ptr<string> loginRegionId_ = nullptr ;
159- // This parameter is required.
160170 std::shared_ptr<string> loginToken_ = nullptr ;
161171 // This parameter is required.
162172 std::shared_ptr<string> productType_ = nullptr ;
163173 // This parameter is required.
164174 std::shared_ptr<string> scene_ = nullptr ;
165- // This parameter is required.
166175 std::shared_ptr<string> sessionId_ = nullptr ;
167176 std::shared_ptr<string> uuid_ = nullptr ;
168177 // This parameter is required.
0 commit comments