diff --git a/README.md b/README.md
index 2c5a621017..7be47dbb6f 100644
--- a/README.md
+++ b/README.md
@@ -62,14 +62,14 @@ The available library modules are listed below.
* `android-sdk-core`: Core functionality (required).
* `android-sdk-api` : Api generated models and methods.
-* `androidsdk`: deprecated copy version of the android-sdk-core(will be removed in future releases).
-* `androidsdkapi` : deprecated copy version of the android-sdk-api(will be removed in future releases).
+* `androidsdk`: deprecated copy version of the android-sdk-core(will be removed in future releases since 01.09.2021).
+* `androidsdkapi` : deprecated copy version of the android-sdk-api(will be removed in future releases since 01.09.2021).
For example, your `app/build.gradle` script will contains such dependencies:
```
dependencies {
- implementation 'com.vk:android-sdk-core:3.0.0
- implementation 'com.vk:android-sdk-api:3.0.0 // generated models and api methods
+ implementation 'com.vk:android-sdk-core:3.x.x
+ implementation 'com.vk:android-sdk-api:3.x.x // generated models and api methods
}
```
diff --git a/dependencies.gradle b/dependencies.gradle
index eac1e39e8d..bb36b32f21 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -23,8 +23,8 @@ SOFTWARE.
*/
ext.sdkVersions = [
- code : '23',
- name : '3.0.0',
+ code : '24',
+ name : '3.1.0',
minSdk : 21,
targetSdk : 29,
diff --git a/publish.gradle b/publish.gradle
index 6e6e8bfabd..8adf1efe2a 100644
--- a/publish.gradle
+++ b/publish.gradle
@@ -38,6 +38,11 @@ def getArtifactId() {
return envArtifactId != null ? envArtifactId : sdkPublish.POM_ARTIFACT_ID
}
+def getArtifactDescription() {
+ def envArtifactId = System.getenv('POM_ARTIFACT_DESCRIPTION')
+ return envArtifactId != null ? envArtifactId : sdkPublish.POM_ARTIFACT_DESCRIPTION
+}
+
if (System.getenv('SDK_UPDATE') == "1") {
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven-publish'
@@ -62,7 +67,7 @@ if (System.getenv('SDK_UPDATE') == "1") {
pom.project {
packaging 'aar'
name sdkPublish.POM_NAME
- description sdkPublish.POM_DESCRIPTION
+ description getArtifactDescription()
url sdkPublish.POM_URL
scm {
diff --git a/samples/app/notTranslatedStrings/values/strings.xml b/samples/app/notTranslatedStrings/values/strings.xml
deleted file mode 100644
index ea100eaef3..0000000000
--- a/samples/app/notTranslatedStrings/values/strings.xml
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/samples/app/sdk/src/.gitignore b/samples/app/sdk/src/.gitignore
deleted file mode 100644
index 796b96d1c4..0000000000
--- a/samples/app/sdk/src/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/build
diff --git a/samples/app/sdk/src/build.gradle b/samples/app/sdk/src/build.gradle
deleted file mode 100644
index 390c26b8bb..0000000000
--- a/samples/app/sdk/src/build.gradle
+++ /dev/null
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: '../../dependencies.gradle'
-
-android {
- compileSdkVersion "$sdkVersions.compileSdk".toInteger()
- buildToolsVersion "$sdkVersions.buildTools"
-
- defaultConfig {
- applicationId = "com.vk.sdk.sample"
- minSdkVersion "$sdkVersions.minSdk"
- targetSdkVersion "$sdkVersions.targetSdk"
- }
-
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
-
- lintOptions {
- abortOnError true
- checkReleaseBuilds true
- }
-
- dexOptions {
- preDexLibraries true
- javaMaxHeapSize "5g"
- }
-}
-
-dependencies {
- implementation sdkLibraries.kotlin
- implementation sdkLibrariesSupport.recyclerView
- implementation sdkLibrariesSupport.appCompat
- implementation (sdkLibraries.picasso) { transitive = false }
- implementation sdkLibraries.okHttp
-
- implementation project(':libapi-sdk-core')
- implementation project(':libapi-sdk-api')
- //implementation 'com.vk:androidsdk:2.0.0'
-}
diff --git a/samples/app/sdk/src/main/AndroidManifest.xml b/samples/app/sdk/src/main/AndroidManifest.xml
deleted file mode 100644
index 1846374115..0000000000
--- a/samples/app/sdk/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/app/sdk/src/main/java/com/vk/sdk/sample/PathUtils.kt b/samples/app/sdk/src/main/java/com/vk/sdk/sample/PathUtils.kt
deleted file mode 100644
index 8233032c4a..0000000000
--- a/samples/app/sdk/src/main/java/com/vk/sdk/sample/PathUtils.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample
-
-import android.content.Context
-import android.net.Uri
-import android.provider.MediaStore
-
-object PathUtils {
- fun getPath(context: Context, uri: Uri): String {
- if (uri.scheme == "file") {
- if (uri.path != null) return uri.path!!
- return ""
- }
- val proj = arrayOf(MediaStore.Images.Media.DATA)
- val cursor = context.contentResolver.query(uri, proj, null, null, null)
- val columnIndex = cursor!!.getColumnIndexOrThrow(MediaStore.Images.Media.DATA)
- cursor.moveToFirst()
- return "file://" + cursor.getString(columnIndex)
- }
-}
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/java/com/vk/sdk/sample/SampleApplication.kt b/samples/app/sdk/src/main/java/com/vk/sdk/sample/SampleApplication.kt
deleted file mode 100644
index 61301210ff..0000000000
--- a/samples/app/sdk/src/main/java/com/vk/sdk/sample/SampleApplication.kt
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample
-
-import android.app.Application
-import com.vk.api.sdk.VK
-import com.vk.api.sdk.VKTokenExpiredHandler
-
-class SampleApplication: Application() {
- override fun onCreate() {
- super.onCreate()
- VK.addTokenExpiredHandler(tokenTracker)
- }
-
- private val tokenTracker = object: VKTokenExpiredHandler {
- override fun onTokenExpired() {
- WelcomeActivity.startFrom(this@SampleApplication)
- }
- }
-}
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/java/com/vk/sdk/sample/UserActivity.kt b/samples/app/sdk/src/main/java/com/vk/sdk/sample/UserActivity.kt
deleted file mode 100644
index d132bb57d6..0000000000
--- a/samples/app/sdk/src/main/java/com/vk/sdk/sample/UserActivity.kt
+++ /dev/null
@@ -1,217 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample
-
-import android.app.Activity
-import android.content.Context
-import android.content.Intent
-import android.net.Uri
-import android.os.Bundle
-import android.text.TextUtils
-import android.util.Log
-import android.view.LayoutInflater
-import android.view.View
-import android.view.ViewGroup
-import android.widget.*
-import androidx.recyclerview.widget.RecyclerView
-import com.squareup.picasso.Picasso
-import com.vk.api.sdk.VK
-import com.vk.api.sdk.VKApiCallback
-import com.vk.sdk.api.friends.dto.FriendsGetFieldsResponseDto
-import com.vk.sdk.api.friends.methods.FriendsGetFields
-import com.vk.sdk.api.users.dto.UsersFields
-import com.vk.sdk.sample.models.VKUser
-import com.vk.sdk.sample.requests.VKUsersCommand
-import com.vk.sdk.sample.requests.VKWallPostCommand
-
-class UserActivity: Activity() {
- override fun onCreate(savedInstanceState: Bundle?) {
- super.onCreate(savedInstanceState)
- setContentView(R.layout.activity_user)
-
- val logoutBtn = findViewById(R.id.logoutBtn)
- logoutBtn.setOnClickListener {
- VK.logout()
- WelcomeActivity.startFrom(this)
- finish()
- }
- val shareBtn = findViewById(R.id.shareBtn)
- shareBtn.setOnClickListener {
- requestPhoto()
- }
-
- requestUsers()
-
- requestFriends()
- }
-
- private fun requestUsers() {
- VK.execute(VKUsersCommand(), object: VKApiCallback> {
- override fun success(result: List) {
- if (!isFinishing && !result.isEmpty()) {
- val nameTV = findViewById(R.id.nameTV)
- val user = result[0]
- nameTV.text = "${user.firstName} ${user.lastName}"
- nameTV.setOnClickListener(createOnClickListener(user.id))
-
- val avatarIV = findViewById(R.id.avatarIV)
- if (!TextUtils.isEmpty(user.photo)) {
- Picasso.get()
- .load(user.photo)
- .error(R.drawable.user_placeholder)
- .into(avatarIV)
- } else {
- avatarIV.setImageResource(R.drawable.user_placeholder)
- }
- avatarIV.setOnClickListener(createOnClickListener(user.id))
- }
- }
- override fun fail(error: Exception) {
- Log.e(TAG, error.toString())
- }
- })
- }
-
- private fun requestFriends() {
- val fields = listOf(UsersFields.PHOTO_200)
- VK.execute(FriendsGetFields(fields = fields), object: VKApiCallback {
- override fun success(result: FriendsGetFieldsResponseDto) {
- val friends = result.items
- if (!isFinishing && friends.isNotEmpty()) {
- val vkUsers = friends.map { friend ->
- VKUser(
- id = friend.id ?: 0,
- firstName = friend.firstName ?: "",
- lastName = friend.lastName ?: "",
- photo = friend.photo200 ?: "",
- deactivated = friend.deactivated != null
- )
- }
- showFriends(vkUsers)
- }
- }
- override fun fail(error: Exception) {
- Log.e(TAG, error.toString())
- }
- })
- }
-
- private fun showFriends(friends: List) {
- val recyclerView = findViewById(R.id.friendsRV)
- recyclerView.layoutManager = androidx.recyclerview.widget.LinearLayoutManager(this, RecyclerView.HORIZONTAL, false)
-
- val adapter = FriendsAdapter()
- adapter.setData(friends)
-
- recyclerView.adapter = adapter
- }
-
- private fun requestPhoto() {
- val intent = Intent(Intent.ACTION_PICK)
- intent.type = "image/*"
- startActivityForResult(intent, IMAGE_REQ_CODE)
- }
-
- override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
- super.onActivityResult(requestCode, resultCode, data)
- if (requestCode == IMAGE_REQ_CODE) {
- if (resultCode == RESULT_OK && data != null && data.data != null) {
- sharePost(Uri.parse(PathUtils.getPath(this, data.data!!)))
- } else {
- sharePost()
- }
- }
- }
-
- private fun sharePost(uri: Uri? = null) {
- val messageField = findViewById(R.id.messageET)
-
- val photos = ArrayList()
- uri?.let {
- photos.add(it)
- }
- VK.execute(VKWallPostCommand(messageField.text.toString(), photos), object: VKApiCallback {
- override fun success(result: Int) {
- // TODO Use ToastUtils
- Toast.makeText(this@UserActivity, R.string.wall_ok, Toast.LENGTH_SHORT).show()
- }
-
- override fun fail(error: Exception) {
- Log.e(TAG, error.toString())
- }
- })
- }
-
- private fun createOnClickListener(userId: Int) = View.OnClickListener {
- VK.urlResolver.open(it.context, "https://vk.com/id$userId")
- }
-
- inner class FriendsAdapter: RecyclerView.Adapter() {
- private val friends: MutableList = arrayListOf()
-
- override fun onCreateViewHolder(parent: ViewGroup, viewType: Int)
- = UserHolder(parent.context)
-
- override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
- (holder as UserHolder).bind(friends[position])
- }
-
- fun setData(friends: List) {
- this.friends.clear()
- this.friends.addAll(friends)
- notifyDataSetChanged()
- }
-
- override fun getItemCount() = friends.size
- }
-
- inner class UserHolder(context: Context?): RecyclerView.ViewHolder(
- LayoutInflater.from(context).inflate(R.layout.item_user, null)) {
- private val avatarIV: ImageView = itemView.findViewById(R.id.avatarIV)
- private val nameTV: TextView = itemView.findViewById(R.id.nameTV)
-
- fun bind(user: VKUser) {
- nameTV.text = "${user.firstName} ${user.lastName}"
- nameTV.setOnClickListener(createOnClickListener(user.id))
- if (!TextUtils.isEmpty(user.photo)) {
- Picasso.get().load(user.photo).error(R.drawable.user_placeholder).into(avatarIV)
- } else {
- avatarIV.setImageResource(R.drawable.user_placeholder)
- }
- avatarIV.setOnClickListener(createOnClickListener(user.id))
- }
- }
-
- companion object {
- private const val TAG = "UserActivity"
-
- private const val IMAGE_REQ_CODE = 101
-
- fun startFrom(context: Context) {
- val intent = Intent(context, UserActivity::class.java)
- context.startActivity(intent)
- }
- }
-}
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/java/com/vk/sdk/sample/WelcomeActivity.kt b/samples/app/sdk/src/main/java/com/vk/sdk/sample/WelcomeActivity.kt
deleted file mode 100644
index 37f246bdf3..0000000000
--- a/samples/app/sdk/src/main/java/com/vk/sdk/sample/WelcomeActivity.kt
+++ /dev/null
@@ -1,76 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample
-
-import android.app.Activity
-import android.content.Context
-import android.content.Intent
-import android.os.Bundle
-import android.widget.Button
-import com.vk.api.sdk.VK
-import com.vk.api.sdk.auth.VKAccessToken
-import com.vk.api.sdk.auth.VKAuthCallback
-import com.vk.api.sdk.auth.VKScope
-
-class WelcomeActivity: Activity() {
- override fun onCreate(savedInstanceState: Bundle?) {
- super.onCreate(savedInstanceState)
-
- if (VK.isLoggedIn()) {
- UserActivity.startFrom(this)
- finish()
- return
- }
- setContentView(R.layout.activity_welcome)
-
- val loginBtn = findViewById(R.id.loginBtn)
- loginBtn.setOnClickListener {
- VK.login(this, arrayListOf(VKScope.WALL, VKScope.PHOTOS))
- }
- }
-
- override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
- val callback = object: VKAuthCallback {
- override fun onLogin(token: VKAccessToken) {
- UserActivity.startFrom(this@WelcomeActivity)
- finish()
- }
-
- override fun onLoginFailed(errorCode: Int) {
- }
- }
- if (!VK.onActivityResult(requestCode, resultCode, data, callback)) {
- super.onActivityResult(requestCode, resultCode, data)
- }
- }
-
- companion object {
- fun startFrom(context: Context) {
- val intent = Intent(context, WelcomeActivity::class.java)
- intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP
- context.startActivity(intent)
- }
- }
-}
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/java/com/vk/sdk/sample/models/UploadModels.kt b/samples/app/sdk/src/main/java/com/vk/sdk/sample/models/UploadModels.kt
deleted file mode 100644
index fd74849efc..0000000000
--- a/samples/app/sdk/src/main/java/com/vk/sdk/sample/models/UploadModels.kt
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample.models
-
-class VKSaveInfo(val id: Int,
- val albumId: Int,
- val ownerId: Int) {
- fun getAttachment() = "photo${ownerId}_$id"
-}
-
-class VKFileUploadInfo(val server: String, val photo: String, val hash: String)
-
-class VKServerUploadInfo(val uploadUrl: String, val albumId: Int, val userId: Int)
-
diff --git a/samples/app/sdk/src/main/java/com/vk/sdk/sample/models/VKUser.kt b/samples/app/sdk/src/main/java/com/vk/sdk/sample/models/VKUser.kt
deleted file mode 100644
index 7b5987e735..0000000000
--- a/samples/app/sdk/src/main/java/com/vk/sdk/sample/models/VKUser.kt
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample.models
-
-import android.os.Parcel
-import android.os.Parcelable
-import org.json.JSONObject
-
-data class VKUser(
- val id: Int = 0,
- val firstName: String = "",
- val lastName: String = "",
- val photo: String = "",
- val deactivated: Boolean = false) : Parcelable {
-
- constructor(parcel: Parcel) : this(
- parcel.readInt(),
- parcel.readString()!!,
- parcel.readString()!!,
- parcel.readString()!!,
- parcel.readByte() != 0.toByte())
-
- override fun writeToParcel(parcel: Parcel, flags: Int) {
- parcel.writeInt(id)
- parcel.writeString(firstName)
- parcel.writeString(lastName)
- parcel.writeString(photo)
- parcel.writeByte(if (deactivated) 1 else 0)
- }
-
- override fun describeContents(): Int {
- return 0
- }
-
- companion object CREATOR : Parcelable.Creator {
- override fun createFromParcel(parcel: Parcel): VKUser {
- return VKUser(parcel)
- }
-
- override fun newArray(size: Int): Array {
- return arrayOfNulls(size)
- }
-
- fun parse(json: JSONObject)
- = VKUser(id = json.optInt("id", 0),
- firstName = json.optString("first_name", ""),
- lastName = json.optString("last_name", ""),
- photo = json.optString("photo_200", ""),
- deactivated = json.optBoolean("deactivated", false))
- }
-}
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/java/com/vk/sdk/sample/requests/VKUsersCommand.kt b/samples/app/sdk/src/main/java/com/vk/sdk/sample/requests/VKUsersCommand.kt
deleted file mode 100644
index 0b1b0e22ed..0000000000
--- a/samples/app/sdk/src/main/java/com/vk/sdk/sample/requests/VKUsersCommand.kt
+++ /dev/null
@@ -1,82 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample.requests
-
-import com.vk.api.sdk.VKApiManager
-import com.vk.api.sdk.VKApiResponseParser
-import com.vk.api.sdk.VKMethodCall
-import com.vk.api.sdk.exceptions.VKApiIllegalResponseException
-import com.vk.api.sdk.internal.ApiCommand
-import com.vk.sdk.sample.models.VKUser
-import org.json.JSONException
-import org.json.JSONObject
-
-class VKUsersCommand(private val uids: IntArray = intArrayOf()): ApiCommand>() {
- override fun onExecute(manager: VKApiManager): List {
-
- if (uids.isEmpty()) {
- // if no uids, send user's data
- val call = VKMethodCall.Builder()
- .method("users.get")
- .args("fields", "photo_200")
- .version(manager.config.version)
- .build()
- return manager.execute(call, ResponseApiParser())
- } else {
- val result = ArrayList()
- val chunks = uids.toList().chunked(CHUNK_LIMIT)
- for (chunk in chunks) {
- val call = VKMethodCall.Builder()
- .method("users.get")
- .args("user_ids", chunk.joinToString(","))
- .args("fields", "photo_200")
- .version(manager.config.version)
- .build()
- result.addAll(manager.execute(call, ResponseApiParser()))
- }
- return result
- }
- }
-
- companion object {
- const val CHUNK_LIMIT = 900
- }
-
- private class ResponseApiParser : VKApiResponseParser> {
- override fun parse(response: String): List {
- try {
- val ja = JSONObject(response).getJSONArray("response")
- val r = ArrayList(ja.length())
- for (i in 0 until ja.length()) {
- val user = VKUser.parse(ja.getJSONObject(i))
- r.add(user)
- }
- return r
- } catch (ex: JSONException) {
- throw VKApiIllegalResponseException(ex)
- }
- }
- }
-}
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/java/com/vk/sdk/sample/requests/VKWallPostCommand.kt b/samples/app/sdk/src/main/java/com/vk/sdk/sample/requests/VKWallPostCommand.kt
deleted file mode 100644
index 381bdc4b0a..0000000000
--- a/samples/app/sdk/src/main/java/com/vk/sdk/sample/requests/VKWallPostCommand.kt
+++ /dev/null
@@ -1,157 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample.requests
-
-import android.net.Uri
-import com.vk.api.sdk.VKApiManager
-import com.vk.api.sdk.VKApiResponseParser
-import com.vk.api.sdk.VKHttpPostCall
-import com.vk.api.sdk.VKMethodCall
-import com.vk.api.sdk.exceptions.VKApiIllegalResponseException
-import com.vk.api.sdk.internal.ApiCommand
-import com.vk.sdk.sample.models.VKFileUploadInfo
-import com.vk.sdk.sample.models.VKSaveInfo
-import com.vk.sdk.sample.models.VKServerUploadInfo
-import org.json.JSONException
-import org.json.JSONObject
-import java.util.concurrent.TimeUnit
-
-class VKWallPostCommand(private val message: String? = null,
- private val photos: List = listOf(),
- private val ownerId: Int = 0,
- private val friendsOnly: Boolean = false,
- private val fromGroup: Boolean = false): ApiCommand() {
- override fun onExecute(manager: VKApiManager): Int {
- val callBuilder = VKMethodCall.Builder()
- .method("wall.post")
- .args("friends_only", if (friendsOnly) 1 else 0)
- .args("from_group", if (fromGroup) 1 else 0)
- .version(manager.config.version)
- message?.let {
- callBuilder.args("message", it)
- }
-
- if (ownerId != 0) {
- callBuilder.args("owner_id", ownerId)
- }
-
- if (photos.isNotEmpty()) {
- val uploadInfo = getServerUploadInfo(manager)
- val attachments = photos.map { uploadPhoto(it, uploadInfo, manager) }
-
- callBuilder.args("attachments", attachments.joinToString(","))
- }
-
- return manager.execute(callBuilder.build(), ResponseApiParser())
- }
-
- private fun getServerUploadInfo(manager: VKApiManager): VKServerUploadInfo {
- val uploadInfoCall = VKMethodCall.Builder()
- .method("photos.getWallUploadServer")
- .version(manager.config.version)
- .build()
- return manager.execute(uploadInfoCall, ServerUploadInfoParser())
- }
-
- private fun uploadPhoto(uri: Uri, serverUploadInfo: VKServerUploadInfo, manager: VKApiManager): String {
- val fileUploadCall = VKHttpPostCall.Builder()
- .url(serverUploadInfo.uploadUrl)
- .args("photo", uri, "image.jpg")
- .timeout(TimeUnit.MINUTES.toMillis(5))
- .retryCount(RETRY_COUNT)
- .build()
- val fileUploadInfo = manager.execute(fileUploadCall, null, FileUploadInfoParser())
-
- val saveCall = VKMethodCall.Builder()
- .method("photos.saveWallPhoto")
- .args("server", fileUploadInfo.server)
- .args("photo", fileUploadInfo.photo)
- .args("hash", fileUploadInfo.hash)
- .version(manager.config.version)
- .build()
-
- val saveInfo = manager.execute(saveCall, SaveInfoParser())
-
- return saveInfo.getAttachment()
- }
-
- companion object {
- const val RETRY_COUNT = 3
- }
-
- private class ResponseApiParser : VKApiResponseParser {
- override fun parse(response: String): Int {
- try {
- return JSONObject(response).getJSONObject("response").getInt("post_id")
- } catch (ex: JSONException) {
- throw VKApiIllegalResponseException(ex)
- }
- }
- }
-
- private class ServerUploadInfoParser : VKApiResponseParser {
- override fun parse(response: String): VKServerUploadInfo{
- try {
- val joResponse = JSONObject(response).getJSONObject("response")
- return VKServerUploadInfo(
- uploadUrl = joResponse.getString("upload_url"),
- albumId = joResponse.getInt("album_id"),
- userId = joResponse.getInt("user_id"))
- } catch (ex: JSONException) {
- throw VKApiIllegalResponseException(ex)
- }
- }
- }
-
- private class FileUploadInfoParser: VKApiResponseParser {
- override fun parse(response: String): VKFileUploadInfo{
- try {
- val joResponse = JSONObject(response)
- return VKFileUploadInfo(
- server = joResponse.getString("server"),
- photo = joResponse.getString("photo"),
- hash = joResponse.getString("hash")
- )
- } catch (ex: JSONException) {
- throw VKApiIllegalResponseException(ex)
- }
- }
- }
-
- private class SaveInfoParser: VKApiResponseParser {
- override fun parse(response: String): VKSaveInfo {
- try {
- val joResponse = JSONObject(response).getJSONArray("response").getJSONObject(0)
- return VKSaveInfo(
- id = joResponse.getInt("id"),
- albumId = joResponse.getInt("album_id"),
- ownerId = joResponse.getInt("owner_id")
- )
- } catch (ex: JSONException) {
- throw VKApiIllegalResponseException(ex)
- }
- }
- }
-}
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/res/drawable-hdpi/user_placeholder.png b/samples/app/sdk/src/main/res/drawable-hdpi/user_placeholder.png
deleted file mode 100644
index 382ce1eeb3..0000000000
Binary files a/samples/app/sdk/src/main/res/drawable-hdpi/user_placeholder.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/drawable-mdpi/user_placeholder.png b/samples/app/sdk/src/main/res/drawable-mdpi/user_placeholder.png
deleted file mode 100644
index c8c776a3ff..0000000000
Binary files a/samples/app/sdk/src/main/res/drawable-mdpi/user_placeholder.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/drawable-xhdpi/user_placeholder.png b/samples/app/sdk/src/main/res/drawable-xhdpi/user_placeholder.png
deleted file mode 100644
index 135ab86a7c..0000000000
Binary files a/samples/app/sdk/src/main/res/drawable-xhdpi/user_placeholder.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/drawable-xxhdpi/user_placeholder.png b/samples/app/sdk/src/main/res/drawable-xxhdpi/user_placeholder.png
deleted file mode 100644
index aa65639635..0000000000
Binary files a/samples/app/sdk/src/main/res/drawable-xxhdpi/user_placeholder.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/layout/activity_user.xml b/samples/app/sdk/src/main/res/layout/activity_user.xml
deleted file mode 100644
index ae0d74d81c..0000000000
--- a/samples/app/sdk/src/main/res/layout/activity_user.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/res/layout/activity_welcome.xml b/samples/app/sdk/src/main/res/layout/activity_welcome.xml
deleted file mode 100644
index a2387df589..0000000000
--- a/samples/app/sdk/src/main/res/layout/activity_welcome.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/res/layout/item_user.xml b/samples/app/sdk/src/main/res/layout/item_user.xml
deleted file mode 100644
index d9d128411e..0000000000
--- a/samples/app/sdk/src/main/res/layout/item_user.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/res/mipmap-hdpi/ic_launcher_round.png b/samples/app/sdk/src/main/res/mipmap-hdpi/ic_launcher_round.png
deleted file mode 100644
index 1cff8082da..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-hdpi/ic_launcher_round.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-hdpi/mp_launcher.png b/samples/app/sdk/src/main/res/mipmap-hdpi/mp_launcher.png
deleted file mode 100644
index 463dadcf78..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-hdpi/mp_launcher.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-mdpi/ic_launcher_round.png b/samples/app/sdk/src/main/res/mipmap-mdpi/ic_launcher_round.png
deleted file mode 100644
index 80c2094948..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-mdpi/ic_launcher_round.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-mdpi/mp_launcher.png b/samples/app/sdk/src/main/res/mipmap-mdpi/mp_launcher.png
deleted file mode 100644
index 653c573f73..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-mdpi/mp_launcher.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/samples/app/sdk/src/main/res/mipmap-xhdpi/ic_launcher_round.png
deleted file mode 100644
index 30ca89a078..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-xhdpi/mp_launcher.png b/samples/app/sdk/src/main/res/mipmap-xhdpi/mp_launcher.png
deleted file mode 100644
index 8dbdd03dde..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-xhdpi/mp_launcher.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/samples/app/sdk/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
deleted file mode 100644
index 908ba994b9..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-xxhdpi/mp_launcher.png b/samples/app/sdk/src/main/res/mipmap-xxhdpi/mp_launcher.png
deleted file mode 100644
index e80e1f832f..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-xxhdpi/mp_launcher.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/samples/app/sdk/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
deleted file mode 100644
index e7b10004dd..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/mipmap-xxxhdpi/mp_launcher.png b/samples/app/sdk/src/main/res/mipmap-xxxhdpi/mp_launcher.png
deleted file mode 100644
index 420303acf7..0000000000
Binary files a/samples/app/sdk/src/main/res/mipmap-xxxhdpi/mp_launcher.png and /dev/null differ
diff --git a/samples/app/sdk/src/main/res/values-es/strings.xml b/samples/app/sdk/src/main/res/values-es/strings.xml
deleted file mode 100644
index 6e5ee98ae8..0000000000
--- a/samples/app/sdk/src/main/res/values-es/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- Войти
- Выйти
- Publicar en el muro
- Ваше сообщение
- Publicada
-
diff --git a/samples/app/sdk/src/main/res/values-kk/strings.xml b/samples/app/sdk/src/main/res/values-kk/strings.xml
deleted file mode 100644
index 30daba69f7..0000000000
--- a/samples/app/sdk/src/main/res/values-kk/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- Кіру
- Шығу
- Қабырғаға жіберу
- Хабарламаңыз
- Жазба жарияланды
-
diff --git a/samples/app/sdk/src/main/res/values-pt/strings.xml b/samples/app/sdk/src/main/res/values-pt/strings.xml
deleted file mode 100644
index c02be6543a..0000000000
--- a/samples/app/sdk/src/main/res/values-pt/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- Entrar
- Sair
- Publicar no mural
- Sua mensagem
- Post publicado
-
diff --git a/samples/app/sdk/src/main/res/values-ru/strings.xml b/samples/app/sdk/src/main/res/values-ru/strings.xml
deleted file mode 100644
index 3d25d4fda2..0000000000
--- a/samples/app/sdk/src/main/res/values-ru/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- Войти
- Выйти
- Отправить на стену
- Ваше сообщение
- Запись опубликована
-
diff --git a/samples/app/sdk/src/main/res/values-uk/strings.xml b/samples/app/sdk/src/main/res/values-uk/strings.xml
deleted file mode 100644
index 9a3b38adb3..0000000000
--- a/samples/app/sdk/src/main/res/values-uk/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- Увійти
- Вийти
- Опублікувати на стіні
- Ваше повідомлення
- Запис опубліковано
-
diff --git a/samples/app/sdk/src/main/res/values/attrs.xml b/samples/app/sdk/src/main/res/values/attrs.xml
deleted file mode 100644
index 110c13e5d4..0000000000
--- a/samples/app/sdk/src/main/res/values/attrs.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/samples/app/sdk/src/main/res/values/colors.xml b/samples/app/sdk/src/main/res/values/colors.xml
deleted file mode 100644
index 3ab3e9cbce..0000000000
--- a/samples/app/sdk/src/main/res/values/colors.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- #3F51B5
- #303F9F
- #FF4081
-
diff --git a/samples/app/sdk/src/main/res/values/styles.xml b/samples/app/sdk/src/main/res/values/styles.xml
deleted file mode 100644
index f047d9fa04..0000000000
--- a/samples/app/sdk/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
diff --git a/samples/app/sdk/src/main/res/xml/network_security_config.xml b/samples/app/sdk/src/main/res/xml/network_security_config.xml
deleted file mode 100644
index 8ec5168796..0000000000
--- a/samples/app/sdk/src/main/res/xml/network_security_config.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/app/src/main/java/com/vk/sdk/sample/requests/VKFriendsRequests.kt b/samples/app/src/main/java/com/vk/sdk/sample/requests/VKFriendsRequests.kt
deleted file mode 100644
index 280f5f7514..0000000000
--- a/samples/app/src/main/java/com/vk/sdk/sample/requests/VKFriendsRequests.kt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample.requests
-
-import com.vk.api.sdk.requests.VKRequest
-import com.vk.sdk.sample.models.VKUser
-import org.json.JSONObject
-import java.util.ArrayList
-
-class VKFriendsRequest(uid: Int = 0): VKRequest>("friends.get") {
- init {
- if (uid != 0) {
- addParam("user_id", uid)
- }
- addParam("fields", "photo_200")
- }
-
- override fun parse(r: JSONObject): List {
- val users = r.getJSONObject("response").getJSONArray("items")
- val result = ArrayList()
- for (i in 0 until users.length()) {
- result.add(VKUser.parse(users.getJSONObject(i)))
- }
- return result
- }
-}
\ No newline at end of file
diff --git a/samples/app/src/main/java/com/vk/sdk/sample/requests/VKUsersRequest.kt b/samples/app/src/main/java/com/vk/sdk/sample/requests/VKUsersRequest.kt
deleted file mode 100644
index 4b1ebeff8a..0000000000
--- a/samples/app/src/main/java/com/vk/sdk/sample/requests/VKUsersRequest.kt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- ******************************************************************************/
-
-package com.vk.sdk.sample.requests
-
-import com.vk.api.sdk.requests.VKRequest
-import com.vk.sdk.sample.models.VKUser
-import org.json.JSONObject
-import java.util.ArrayList
-
-class VKUsersRequest: VKRequest> {
- constructor(uids: IntArray = intArrayOf()): super("users.get") {
- if (uids.isNotEmpty()) {
- addParam("user_ids", uids.joinToString(","))
- }
- addParam("fields", "photo_200")
- }
-
- override fun parse(r: JSONObject): List {
- val users = r.getJSONArray("response")
- val result = ArrayList()
- for (i in 0 until users.length()) {
- result.add(VKUser.parse(users.getJSONObject(i)))
- }
- return result
- }
-}
\ No newline at end of file
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ApiRequestBase.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ApiRequestBase.kt
deleted file mode 100644
index 893b116049..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ApiRequestBase.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api
-
-import com.vk.api.sdk.requests.VKRequest
-import kotlin.String
-
-/**
- * Base class for all Api requests
- * @param methodName api method name
- */
-open class ApiRequestBase(
- methodName: String
-) : VKRequest(method = methodName, requestApiVersion = Constants.API_VERSION)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/Constants.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/Constants.kt
deleted file mode 100644
index 986760ab19..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/Constants.kt
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api
-
-import kotlin.String
-
-object Constants {
- const val API_VERSION: String = "5.126"
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountChangePasswordResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountChangePasswordResponseDto.kt
deleted file mode 100644
index 7177698829..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountChangePasswordResponseDto.kt
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.String
-
-/**
- * @param token New token
- * @param secret New secret
- */
-data class AccountChangePasswordResponseDto(
- @SerializedName(value="token")
- val token: String,
- @SerializedName(value="secret")
- val secret: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetActiveOffersResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetActiveOffersResponseDto.kt
deleted file mode 100644
index 068d911b46..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetActiveOffersResponseDto.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total number
- * @param items no description
- */
-data class AccountGetActiveOffersResponseDto(
- @SerializedName(value="count")
- val count: Int,
- @SerializedName(value="items")
- val items: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetBannedResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetBannedResponseDto.kt
deleted file mode 100644
index 2bcf564307..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetBannedResponseDto.kt
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.groups.dto.GroupsGroup
-import com.vk.sdk.api.users.dto.UsersUserMin
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total number
- * @param items no description
- * @param profiles no description
- * @param groups no description
- */
-data class AccountGetBannedResponseDto(
- @SerializedName(value="count")
- val count: Int,
- @SerializedName(value="items")
- val items: List,
- @SerializedName(value="profiles")
- val profiles: List? = null,
- @SerializedName(value="groups")
- val groups: List? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetCountersFilter.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetCountersFilter.kt
deleted file mode 100644
index f60c7513e4..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetCountersFilter.kt
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AccountGetCountersFilter(
- val value: String
-) {
- FRIENDS("friends"),
-
- MESSAGES("messages"),
-
- PHOTOS("photos"),
-
- VIDEOS("videos"),
-
- NOTES("notes"),
-
- GIFTS("gifts"),
-
- EVENTS("events"),
-
- GROUPS("groups"),
-
- SDK("sdk"),
-
- FRIENDS_SUGGESTIONS("friends_suggestions");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AccountGetCountersFilter?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AccountGetCountersFilter {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetInfoFields.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetInfoFields.kt
deleted file mode 100644
index b80314735f..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountGetInfoFields.kt
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AccountGetInfoFields(
- val value: String
-) {
- COUNTRY("country"),
-
- HTTPS_REQUIRED("https_required"),
-
- OWN_POSTS_DEFAULT("own_posts_default"),
-
- NO_WALL_REPLIES("no_wall_replies"),
-
- INTRO("intro"),
-
- LANG("lang");
-
- class Serializer : JsonSerializer, JsonDeserializer
- {
- override fun serialize(
- src: AccountGetInfoFields?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AccountGetInfoFields {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoBdateVisibility.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoBdateVisibility.kt
deleted file mode 100644
index 3cdec8077c..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoBdateVisibility.kt
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.Int
-
-enum class AccountSaveProfileInfoBdateVisibility(
- val value: Int
-) {
- SHOW(1),
-
- HIDE_YEAR(2),
-
- HIDE(0);
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AccountSaveProfileInfoBdateVisibility?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AccountSaveProfileInfoBdateVisibility {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoRelation.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoRelation.kt
deleted file mode 100644
index a0c5e3164e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoRelation.kt
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.Int
-
-enum class AccountSaveProfileInfoRelation(
- val value: Int
-) {
- SINGLE(1),
-
- RELATIONSHIP(2),
-
- ENGAGED(3),
-
- MARRIED(4),
-
- COMPLICATED(5),
-
- ACTIVELY_SEARCHING(6),
-
- IN_LOVE(7),
-
- NOT_SPECIFIED(0);
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AccountSaveProfileInfoRelation?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AccountSaveProfileInfoRelation {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoResponseDto.kt
deleted file mode 100644
index f857ef449e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoResponseDto.kt
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.base.dto.BaseBoolInt
-
-/**
- * @param changed 1 if changes has been processed
- * @param nameRequest no description
- */
-data class AccountSaveProfileInfoResponseDto(
- @SerializedName(value="changed")
- val changed: BaseBoolInt? = null,
- @SerializedName(value="name_request")
- val nameRequest: AccountNameRequest? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoSex.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoSex.kt
deleted file mode 100644
index 338597d71a..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/dto/AccountSaveProfileInfoSex.kt
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.Int
-
-enum class AccountSaveProfileInfoSex(
- val value: Int
-) {
- UNDEFINED(0),
-
- FEMALE(1),
-
- MALE(2);
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AccountSaveProfileInfoSex?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AccountSaveProfileInfoSex {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountBan.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountBan.kt
deleted file mode 100644
index 71e9fe093b..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountBan.kt
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * @param ownerId
- */
-class AccountBan(
- private val ownerId: Int? = null
-) : ApiRequestBase(methodName = "account.ban") {
- init {
- ownerId?.let { value ->
- addParam("owner_id", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountChangePassword.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountChangePassword.kt
deleted file mode 100644
index 5877ec8daa..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountChangePassword.kt
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.dto.AccountChangePasswordResponseDto
-import com.vk.sdk.api.account.responses.AccountChangePasswordResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Changes a user password after access is successfully restored with the
- * [vk.com/dev/auth.restore|auth.restore] method.
- * @param newPassword New password that will be set as a current minLength 6
- * @param restoreSid Session id received after the [vk.com/dev/auth.restore|auth.restore] method is
- * executed. (If the password is changed right after the access was restored)
- * @param changePasswordHash Hash received after a successful OAuth authorization with a code got by
- * SMS. (If the password is changed right after the access was restored)
- * @param oldPassword Current user password.
- */
-class AccountChangePassword(
- private val newPassword: String,
- private val restoreSid: String? = null,
- private val changePasswordHash: String? = null,
- private val oldPassword: String? = null
-) : ApiRequestBase(methodName = "account.changePassword") {
- init {
- addParam("new_password", newPassword)
- restoreSid?.let { value ->
- addParam("restore_sid", value)
- }
- changePasswordHash?.let { value ->
- addParam("change_password_hash", value)
- }
- oldPassword?.let { value ->
- addParam("old_password", value)
- }
- }
-
- override fun parse(r: JSONObject): AccountChangePasswordResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AccountChangePasswordResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetActiveOffers.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetActiveOffers.kt
deleted file mode 100644
index 02e5332cab..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetActiveOffers.kt
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.dto.AccountGetActiveOffersResponseDto
-import com.vk.sdk.api.account.responses.AccountGetActiveOffersResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns a list of active ads (offers) which executed by the user will bring him/her respective
- * number of votes to his balance in the application.
- * @param offset default 0 minimum 0
- * @param count Number of results to return. default 100 minimum 0 maximum 100
- */
-class AccountGetActiveOffers(
- private val offset: Int? = null,
- private val count: Int? = null
-) : ApiRequestBase(methodName = "account.getActiveOffers") {
- init {
- offset?.let { value ->
- addParam("offset", value)
- }
- count?.let { value ->
- addParam("count", value)
- }
- }
-
- override fun parse(r: JSONObject): AccountGetActiveOffersResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AccountGetActiveOffersResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetAppPermissions.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetAppPermissions.kt
deleted file mode 100644
index af7bf0145d..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetAppPermissions.kt
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.responses.AccountGetAppPermissionsResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Gets settings of the user in this application.
- * @param userId User ID whose settings information shall be got. By default: current user. minimum
- * 0
- */
-class AccountGetAppPermissions(
- private val userId: Int
-) : ApiRequestBase(methodName = "account.getAppPermissions") {
- init {
- addParam("user_id", userId)
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AccountGetAppPermissionsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetBanned.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetBanned.kt
deleted file mode 100644
index c1ad776f19..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetBanned.kt
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.dto.AccountGetBannedResponseDto
-import com.vk.sdk.api.account.responses.AccountGetBannedResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns a user's blacklist.
- * @param offset Offset needed to return a specific subset of results. minimum 0
- * @param count Number of results to return. default 20 minimum 0 maximum 200
- */
-class AccountGetBanned(
- private val offset: Int? = null,
- private val count: Int? = null
-) : ApiRequestBase(methodName = "account.getBanned") {
- init {
- offset?.let { value ->
- addParam("offset", value)
- }
- count?.let { value ->
- addParam("count", value)
- }
- }
-
- override fun parse(r: JSONObject): AccountGetBannedResponseDto =
- GsonHolder.gson.fromJson(r.toString(), AccountGetBannedResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetCounters.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetCounters.kt
deleted file mode 100644
index 561223ebfe..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetCounters.kt
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.dto.AccountAccountCounters
-import com.vk.sdk.api.account.dto.AccountGetCountersFilter
-import com.vk.sdk.api.account.responses.AccountGetCountersResponse
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns non-null values of user counters.
- * @param filter Counters to be returned.
- */
-class AccountGetCounters(
- private val filter: List? = null
-) : ApiRequestBase(methodName = "account.getCounters") {
- init {
- filter?.let { value ->
- addParam("filter", value.map { it.value })
- }
- }
-
- override fun parse(r: JSONObject): AccountAccountCounters =
- GsonHolder.gson.fromJson(r.toString(), AccountGetCountersResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetInfo.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetInfo.kt
deleted file mode 100644
index ad1de330b1..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetInfo.kt
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.dto.AccountGetInfoFields
-import com.vk.sdk.api.account.dto.AccountInfo
-import com.vk.sdk.api.account.responses.AccountGetInfoResponse
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns current account info.
- * @param fields Fields to return. Possible values: *'country' - user country,, *'https_required' -
- * is "HTTPS only" option enabled,, *'own_posts_default' - is "Show my posts only" option is enabled,,
- * *'no_wall_replies' - are wall replies disabled or not,, *'intro' - is intro passed by user or not,,
- * *'lang' - user language. By default: all.
- */
-class AccountGetInfo(
- private val fields: List? = null
-) : ApiRequestBase(methodName = "account.getInfo") {
- init {
- fields?.let { value ->
- addParam("fields", value.map { it.value })
- }
- }
-
- override fun parse(r: JSONObject): AccountInfo = GsonHolder.gson.fromJson(r.toString(),
- AccountGetInfoResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetProfileInfo.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetProfileInfo.kt
deleted file mode 100644
index aa8de65ec6..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetProfileInfo.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.dto.AccountUserSettings
-import com.vk.sdk.api.account.responses.AccountGetProfileInfoResponse
-import org.json.JSONObject
-
-/**
- * Returns the current account info.
- */
-class AccountGetProfileInfo : ApiRequestBase(methodName =
- "account.getProfileInfo") {
- override fun parse(r: JSONObject): AccountUserSettings = GsonHolder.gson.fromJson(r.toString(),
- AccountGetProfileInfoResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetPushSettings.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetPushSettings.kt
deleted file mode 100644
index 4410259ab8..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountGetPushSettings.kt
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.dto.AccountPushSettings
-import com.vk.sdk.api.account.responses.AccountGetPushSettingsResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Gets settings of push notifications.
- * @param deviceId Unique device ID.
- */
-class AccountGetPushSettings(
- private val deviceId: String? = null
-) : ApiRequestBase(methodName = "account.getPushSettings") {
- init {
- deviceId?.let { value ->
- addParam("device_id", value)
- }
- }
-
- override fun parse(r: JSONObject): AccountPushSettings = GsonHolder.gson.fromJson(r.toString(),
- AccountGetPushSettingsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountRegisterDevice.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountRegisterDevice.kt
deleted file mode 100644
index f9ad5df2d0..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountRegisterDevice.kt
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Subscribes an iOS/Android/Windows Phone-based device to receive push notifications
- * @param token Device token used to send notifications. (for mpns, the token shall be URL for
- * sending of notifications)
- * @param deviceId Unique device ID.
- * @param deviceModel String name of device model.
- * @param deviceYear Device year.
- * @param systemVersion String version of device operating system.
- * @param settings Push settings in a [vk.com/dev/push_settings|special format].
- * @param sandbox default 0
- */
-class AccountRegisterDevice(
- private val token: String,
- private val deviceId: String,
- private val deviceModel: String? = null,
- private val deviceYear: Int? = null,
- private val systemVersion: String? = null,
- private val settings: String? = null,
- private val sandbox: Boolean? = null
-) : ApiRequestBase(methodName = "account.registerDevice") {
- init {
- addParam("token", token)
- addParam("device_id", deviceId)
- deviceModel?.let { value ->
- addParam("device_model", value)
- }
- deviceYear?.let { value ->
- addParam("device_year", value)
- }
- systemVersion?.let { value ->
- addParam("system_version", value)
- }
- settings?.let { value ->
- addParam("settings", value)
- }
- sandbox?.let { value ->
- addParam("sandbox", if (value) 1 else 0)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSaveProfileInfo.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSaveProfileInfo.kt
deleted file mode 100644
index f288a9677a..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSaveProfileInfo.kt
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.account.dto.AccountSaveProfileInfoBdateVisibility
-import com.vk.sdk.api.account.dto.AccountSaveProfileInfoRelation
-import com.vk.sdk.api.account.dto.AccountSaveProfileInfoResponseDto
-import com.vk.sdk.api.account.dto.AccountSaveProfileInfoSex
-import com.vk.sdk.api.account.responses.AccountSaveProfileInfoResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Edits current profile info.
- * @param firstName User first name.
- * @param lastName User last name.
- * @param maidenName User maiden name (female only)
- * @param screenName User screen name.
- * @param cancelRequestId ID of the name change request to be canceled. If this parameter is sent,
- * all the others are ignored. minimum 0
- * @param sex User sex. Possible values: , * '1' - female,, * '2' - male. minimum 0
- * @param relation User relationship status. Possible values: , * '1' - single,, * '2' - in a
- * relationship,, * '3' - engaged,, * '4' - married,, * '5' - it's complicated,, * '6' - actively
- * searching,, * '7' - in love,, * '0' - not specified. minimum 0
- * @param relationPartnerId ID of the relationship partner. minimum 0
- * @param bdate User birth date, format: DD.MM.YYYY.
- * @param bdateVisibility Birth date visibility. Returned values: , * '1' - show birth date,, *
- * '2' - show only month and day,, * '0' - hide birth date. minimum 0
- * @param homeTown User home town.
- * @param countryId User country. minimum 0
- * @param cityId User city. minimum 0
- * @param status Status text.
- */
-class AccountSaveProfileInfo(
- private val firstName: String? = null,
- private val lastName: String? = null,
- private val maidenName: String? = null,
- private val screenName: String? = null,
- private val cancelRequestId: Int? = null,
- private val sex: AccountSaveProfileInfoSex? = null,
- private val relation: AccountSaveProfileInfoRelation? = null,
- private val relationPartnerId: Int? = null,
- private val bdate: String? = null,
- private val bdateVisibility: AccountSaveProfileInfoBdateVisibility? = null,
- private val homeTown: String? = null,
- private val countryId: Int? = null,
- private val cityId: Int? = null,
- private val status: String? = null
-) : ApiRequestBase(methodName = "account.saveProfileInfo") {
- init {
- firstName?.let { value ->
- addParam("first_name", value)
- }
- lastName?.let { value ->
- addParam("last_name", value)
- }
- maidenName?.let { value ->
- addParam("maiden_name", value)
- }
- screenName?.let { value ->
- addParam("screen_name", value)
- }
- cancelRequestId?.let { value ->
- addParam("cancel_request_id", value)
- }
- sex?.let { value ->
- addParam("sex", value.value)
- }
- relation?.let { value ->
- addParam("relation", value.value)
- }
- relationPartnerId?.let { value ->
- addParam("relation_partner_id", value)
- }
- bdate?.let { value ->
- addParam("bdate", value)
- }
- bdateVisibility?.let { value ->
- addParam("bdate_visibility", value.value)
- }
- homeTown?.let { value ->
- addParam("home_town", value)
- }
- countryId?.let { value ->
- addParam("country_id", value)
- }
- cityId?.let { value ->
- addParam("city_id", value)
- }
- status?.let { value ->
- addParam("status", value)
- }
- }
-
- override fun parse(r: JSONObject): AccountSaveProfileInfoResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AccountSaveProfileInfoResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetInfo.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetInfo.kt
deleted file mode 100644
index ada1b306d4..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetInfo.kt
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Allows to edit the current account info.
- * @param name Setting name.
- * @param value Setting value.
- */
-class AccountSetInfo(
- private val name: String? = null,
- private val value: String? = null
-) : ApiRequestBase(methodName = "account.setInfo") {
- init {
- name?.let { value ->
- addParam("name", value)
- }
- value?.let { value ->
- addParam("value", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetNameInMenu.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetNameInMenu.kt
deleted file mode 100644
index c8a57d10c7..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetNameInMenu.kt
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Sets an application screen name (up to 17 characters), that is shown to the user in the left
- * menu.
- * @param userId User ID. minimum 0
- * @param name Application screen name.
- */
-class AccountSetNameInMenu(
- private val userId: Int,
- private val name: String? = null
-) : ApiRequestBase(methodName = "account.setNameInMenu") {
- init {
- addParam("user_id", userId)
- name?.let { value ->
- addParam("name", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetOffline.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetOffline.kt
deleted file mode 100644
index c6924e838e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetOffline.kt
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import org.json.JSONObject
-
-/**
- * Marks a current user as offline.
- */
-class AccountSetOffline : ApiRequestBase(methodName = "account.setOffline") {
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetOnline.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetOnline.kt
deleted file mode 100644
index 6a034013eb..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetOnline.kt
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Boolean
-import org.json.JSONObject
-
-/**
- * Marks the current user as online for 15 minutes.
- * @param voip '1' if videocalls are available for current device.
- */
-class AccountSetOnline(
- private val voip: Boolean? = null
-) : ApiRequestBase(methodName = "account.setOnline") {
- init {
- voip?.let { value ->
- addParam("voip", if (value) 1 else 0)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetPushSettings.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetPushSettings.kt
deleted file mode 100644
index fc70867f6e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetPushSettings.kt
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Change push settings.
- * @param deviceId Unique device ID.
- * @param settings Push settings in a [vk.com/dev/push_settings|special format].
- * @param key Notification key.
- * @param value New value for the key in a [vk.com/dev/push_settings|special format].
- */
-class AccountSetPushSettings(
- private val deviceId: String,
- private val settings: String? = null,
- private val key: String? = null,
- private val value: List? = null
-) : ApiRequestBase(methodName = "account.setPushSettings") {
- init {
- addParam("device_id", deviceId)
- settings?.let { value ->
- addParam("settings", value)
- }
- key?.let { value ->
- addParam("key", value)
- }
- value?.let { value ->
- addParam("value", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetSilenceMode.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetSilenceMode.kt
deleted file mode 100644
index 466e0e0c66..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountSetSilenceMode.kt
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Mutes push notifications for the set period of time.
- * @param deviceId Unique device ID.
- * @param time Time in seconds for what notifications should be disabled. '-1' to disable forever.
- * @param peerId Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat
- * ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
- * @param sound '1' - to enable sound in this dialog, '0' - to disable sound. Only if 'peer_id'
- * contains user or community ID.
- */
-class AccountSetSilenceMode(
- private val deviceId: String? = null,
- private val time: Int? = null,
- private val peerId: Int? = null,
- private val sound: Int? = null
-) : ApiRequestBase(methodName = "account.setSilenceMode") {
- init {
- deviceId?.let { value ->
- addParam("device_id", value)
- }
- time?.let { value ->
- addParam("time", value)
- }
- peerId?.let { value ->
- addParam("peer_id", value)
- }
- sound?.let { value ->
- addParam("sound", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountUnban.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountUnban.kt
deleted file mode 100644
index ea592dc293..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountUnban.kt
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * @param ownerId
- */
-class AccountUnban(
- private val ownerId: Int? = null
-) : ApiRequestBase(methodName = "account.unban") {
- init {
- ownerId?.let { value ->
- addParam("owner_id", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountUnregisterDevice.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountUnregisterDevice.kt
deleted file mode 100644
index 559fde498b..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/methods/AccountUnregisterDevice.kt
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Boolean
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Unsubscribes a device from push notifications.
- * @param deviceId Unique device ID.
- * @param sandbox default 0
- */
-class AccountUnregisterDevice(
- private val deviceId: String? = null,
- private val sandbox: Boolean? = null
-) : ApiRequestBase(methodName = "account.unregisterDevice") {
- init {
- deviceId?.let { value ->
- addParam("device_id", value)
- }
- sandbox?.let { value ->
- addParam("sandbox", if (value) 1 else 0)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountChangePasswordResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountChangePasswordResponse.kt
deleted file mode 100644
index 7b12946c45..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountChangePasswordResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.account.dto.AccountChangePasswordResponseDto
-
-/**
- * @param response no description
- */
-data class AccountChangePasswordResponse(
- @SerializedName(value="response")
- val response: AccountChangePasswordResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetActiveOffersResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetActiveOffersResponse.kt
deleted file mode 100644
index d21f243091..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetActiveOffersResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.account.dto.AccountGetActiveOffersResponseDto
-
-/**
- * @param response no description
- */
-data class AccountGetActiveOffersResponse(
- @SerializedName(value="response")
- val response: AccountGetActiveOffersResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetAppPermissionsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetAppPermissionsResponse.kt
deleted file mode 100644
index 3434fcb6d3..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetAppPermissionsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response Permissions mask
- */
-data class AccountGetAppPermissionsResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetBannedResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetBannedResponse.kt
deleted file mode 100644
index c10539b838..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetBannedResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.account.dto.AccountGetBannedResponseDto
-
-/**
- * @param response no description
- */
-data class AccountGetBannedResponse(
- @SerializedName(value="response")
- val response: AccountGetBannedResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetCountersResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetCountersResponse.kt
deleted file mode 100644
index 5710ee55d6..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetCountersResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.account.dto.AccountAccountCounters
-
-/**
- * @param response no description
- */
-data class AccountGetCountersResponse(
- @SerializedName(value="response")
- val response: AccountAccountCounters
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetInfoResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetInfoResponse.kt
deleted file mode 100644
index 7c702c77a5..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetInfoResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.account.dto.AccountInfo
-
-/**
- * @param response no description
- */
-data class AccountGetInfoResponse(
- @SerializedName(value="response")
- val response: AccountInfo
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetProfileInfoResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetProfileInfoResponse.kt
deleted file mode 100644
index 8806a2877e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetProfileInfoResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.account.dto.AccountUserSettings
-
-/**
- * @param response no description
- */
-data class AccountGetProfileInfoResponse(
- @SerializedName(value="response")
- val response: AccountUserSettings
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetPushSettingsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetPushSettingsResponse.kt
deleted file mode 100644
index 4f9fd1cc1f..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountGetPushSettingsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.account.dto.AccountPushSettings
-
-/**
- * @param response no description
- */
-data class AccountGetPushSettingsResponse(
- @SerializedName(value="response")
- val response: AccountPushSettings
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountSaveProfileInfoResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountSaveProfileInfoResponse.kt
deleted file mode 100644
index d4e637917a..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/account/responses/AccountSaveProfileInfoResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.account.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.account.dto.AccountSaveProfileInfoResponseDto
-
-/**
- * @param response no description
- */
-data class AccountSaveProfileInfoResponse(
- @SerializedName(value="response")
- val response: AccountSaveProfileInfoResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCheckLinkLinkType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCheckLinkLinkType.kt
deleted file mode 100644
index 900db980d4..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCheckLinkLinkType.kt
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsCheckLinkLinkType(
- val value: String
-) {
- COMMUNITY("community"),
-
- POST("post"),
-
- APPLICATION("application"),
-
- VIDEO("video"),
-
- SITE("site");
-
- class Serializer : JsonSerializer, JsonDeserializer
- {
- override fun serialize(
- src: AdsCheckLinkLinkType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsCheckLinkLinkType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCreateTargetGroupResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCreateTargetGroupResponseDto.kt
deleted file mode 100644
index 85548c3e42..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCreateTargetGroupResponseDto.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.String
-
-/**
- * @param id Group ID
- * @param pixel Pixel code
- */
-data class AdsCreateTargetGroupResponseDto(
- @SerializedName(value="id")
- val id: Int? = null,
- @SerializedName(value="pixel")
- val pixel: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCriteria.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCriteria.kt
deleted file mode 100644
index 102635ac21..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsCriteria.kt
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.base.dto.BaseBoolInt
-import com.vk.sdk.api.base.dto.BasePropertyExists
-import kotlin.Int
-import kotlin.String
-
-/**
- * @param ageFrom Age from
- * @param ageTo Age to
- * @param apps Apps IDs
- * @param appsNot Apps IDs to except
- * @param birthday Days to birthday
- * @param cities Cities IDs
- * @param citiesNot Cities IDs to except
- * @param country Country ID
- * @param districts Districts IDs
- * @param groups Communities IDs
- * @param interestCategories Interests categories IDs
- * @param interests Interests
- * @param paying Information whether the user has proceeded VK payments before
- * @param positions Positions IDs
- * @param religions Religions IDs
- * @param retargetingGroups Retargeting groups IDs
- * @param retargetingGroupsNot Retargeting groups IDs to except
- * @param schoolFrom School graduation year from
- * @param schoolTo School graduation year to
- * @param schools Schools IDs
- * @param sex no description
- * @param stations Stations IDs
- * @param statuses Relationship statuses
- * @param streets Streets IDs
- * @param travellers Travellers only
- * @param uniFrom University graduation year from
- * @param uniTo University graduation year to
- * @param userBrowsers Browsers
- * @param userDevices Devices
- * @param userOs Operating systems
- */
-data class AdsCriteria(
- @SerializedName(value="age_from")
- val ageFrom: Int? = null,
- @SerializedName(value="age_to")
- val ageTo: Int? = null,
- @SerializedName(value="apps")
- val apps: String? = null,
- @SerializedName(value="apps_not")
- val appsNot: String? = null,
- @SerializedName(value="birthday")
- val birthday: Int? = null,
- @SerializedName(value="cities")
- val cities: String? = null,
- @SerializedName(value="cities_not")
- val citiesNot: String? = null,
- @SerializedName(value="country")
- val country: Int? = null,
- @SerializedName(value="districts")
- val districts: String? = null,
- @SerializedName(value="groups")
- val groups: String? = null,
- @SerializedName(value="interest_categories")
- val interestCategories: String? = null,
- @SerializedName(value="interests")
- val interests: String? = null,
- @SerializedName(value="paying")
- val paying: BaseBoolInt? = null,
- @SerializedName(value="positions")
- val positions: String? = null,
- @SerializedName(value="religions")
- val religions: String? = null,
- @SerializedName(value="retargeting_groups")
- val retargetingGroups: String? = null,
- @SerializedName(value="retargeting_groups_not")
- val retargetingGroupsNot: String? = null,
- @SerializedName(value="school_from")
- val schoolFrom: Int? = null,
- @SerializedName(value="school_to")
- val schoolTo: Int? = null,
- @SerializedName(value="schools")
- val schools: String? = null,
- @SerializedName(value="sex")
- val sex: AdsCriteriaSex? = null,
- @SerializedName(value="stations")
- val stations: String? = null,
- @SerializedName(value="statuses")
- val statuses: String? = null,
- @SerializedName(value="streets")
- val streets: String? = null,
- @SerializedName(value="travellers")
- val travellers: BasePropertyExists? = null,
- @SerializedName(value="uni_from")
- val uniFrom: Int? = null,
- @SerializedName(value="uni_to")
- val uniTo: Int? = null,
- @SerializedName(value="user_browsers")
- val userBrowsers: String? = null,
- @SerializedName(value="user_devices")
- val userDevices: String? = null,
- @SerializedName(value="user_os")
- val userOs: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetCampaignsFields.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetCampaignsFields.kt
deleted file mode 100644
index ae52907969..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetCampaignsFields.kt
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetCampaignsFields(
- val value: String
-) {
- ADS_COUNT("ads_count");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetCampaignsFields?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetCampaignsFields {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetCategoriesResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetCategoriesResponseDto.kt
deleted file mode 100644
index eb1b7b534b..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetCategoriesResponseDto.kt
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.collections.List
-
-/**
- * @param v1 Old categories
- * @param v2 Actual categories
- */
-data class AdsGetCategoriesResponseDto(
- @SerializedName(value="v1")
- val v1: List? = null,
- @SerializedName(value="v2")
- val v2: List? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetDemographicsIdsType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetDemographicsIdsType.kt
deleted file mode 100644
index b44e889897..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetDemographicsIdsType.kt
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetDemographicsIdsType(
- val value: String
-) {
- AD("ad"),
-
- CAMPAIGN("campaign");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetDemographicsIdsType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetDemographicsIdsType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetDemographicsPeriod.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetDemographicsPeriod.kt
deleted file mode 100644
index c29126e8fd..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetDemographicsPeriod.kt
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetDemographicsPeriod(
- val value: String
-) {
- DAY("day"),
-
- MONTH("month"),
-
- OVERALL("overall");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetDemographicsPeriod?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetDemographicsPeriod {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetLookalikeRequestsResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetLookalikeRequestsResponseDto.kt
deleted file mode 100644
index 80094c6ab7..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetLookalikeRequestsResponseDto.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total count of found lookalike requests
- * @param items found lookalike requests
- */
-data class AdsGetLookalikeRequestsResponseDto(
- @SerializedName(value="count")
- val count: Int,
- @SerializedName(value="items")
- val items: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetMusiciansResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetMusiciansResponseDto.kt
deleted file mode 100644
index cde150a4d7..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetMusiciansResponseDto.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.collections.List
-
-/**
- * @param items Musicians
- */
-data class AdsGetMusiciansResponseDto(
- @SerializedName(value="items")
- val items: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetPostsReachIdsType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetPostsReachIdsType.kt
deleted file mode 100644
index be76bd43e4..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetPostsReachIdsType.kt
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetPostsReachIdsType(
- val value: String
-) {
- AD("ad"),
-
- CAMPAIGN("campaign");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetPostsReachIdsType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetPostsReachIdsType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsIdsType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsIdsType.kt
deleted file mode 100644
index 22f81b63c3..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsIdsType.kt
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetStatisticsIdsType(
- val value: String
-) {
- AD("ad"),
-
- CAMPAIGN("campaign"),
-
- CLIENT("client"),
-
- OFFICE("office");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetStatisticsIdsType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetStatisticsIdsType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsPeriod.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsPeriod.kt
deleted file mode 100644
index 32912c8304..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsPeriod.kt
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetStatisticsPeriod(
- val value: String
-) {
- DAY("day"),
-
- MONTH("month"),
-
- OVERALL("overall");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetStatisticsPeriod?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetStatisticsPeriod {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsStatsFields.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsStatsFields.kt
deleted file mode 100644
index 9e036cbe04..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetStatisticsStatsFields.kt
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetStatisticsStatsFields(
- val value: String
-) {
- VIEWS_TIMES("views_times");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetStatisticsStatsFields?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetStatisticsStatsFields {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetSuggestionsLang.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetSuggestionsLang.kt
deleted file mode 100644
index 68b1986fb9..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetSuggestionsLang.kt
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetSuggestionsLang(
- val value: String
-) {
- RUSSIAN("ru"),
-
- UKRAINIAN("ua"),
-
- ENGLISH("en");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetSuggestionsLang?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetSuggestionsLang {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetSuggestionsSection.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetSuggestionsSection.kt
deleted file mode 100644
index cc43d23634..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetSuggestionsSection.kt
+++ /dev/null
@@ -1,87 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsGetSuggestionsSection(
- val value: String
-) {
- COUNTRIES("countries"),
-
- REGIONS("regions"),
-
- CITIES("cities"),
-
- DISTRICTS("districts"),
-
- STATIONS("stations"),
-
- STREETS("streets"),
-
- SCHOOLS("schools"),
-
- INTERESTS("interests"),
-
- POSITIONS("positions"),
-
- GROUP_TYPES("group_types"),
-
- RELIGIONS("religions"),
-
- BROWSERS("browsers");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetSuggestionsSection?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetSuggestionsSection {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetTargetingStatsAdFormat.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetTargetingStatsAdFormat.kt
deleted file mode 100644
index caa9946160..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetTargetingStatsAdFormat.kt
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.Int
-
-enum class AdsGetTargetingStatsAdFormat(
- val value: Int
-) {
- IMAGE_AND_TEXT(1),
-
- BIG_IMAGE(2),
-
- EXCLUSIVE_FORMAT(3),
-
- COMMUNITY_SQUARE_IMAGE(4),
-
- SPECIAL_APP_FORMAT(7),
-
- SPECIAL_COMMUNITY_FORMAT(8),
-
- POST_IN_COMMUNITY(9),
-
- APP_BOARD(10);
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetTargetingStatsAdFormat?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetTargetingStatsAdFormat {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetUploadURLAdFormat.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetUploadURLAdFormat.kt
deleted file mode 100644
index 068a1290e4..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsGetUploadURLAdFormat.kt
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.Int
-
-enum class AdsGetUploadURLAdFormat(
- val value: Int
-) {
- IMAGE_AND_TEXT(1),
-
- BIG_IMAGE(2),
-
- EXCLUSIVE_FORMAT(3),
-
- COMMUNITY_SQUARE_IMAGE(4),
-
- SPECIAL_APP_FORMAT(7);
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsGetUploadURLAdFormat?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsGetUploadURLAdFormat {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsCities.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsCities.kt
deleted file mode 100644
index f526615dc8..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsCities.kt
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.String
-
-/**
- * @param id Object ID
- * @param name Object name
- * @param parent Parent object
- */
-data class AdsTargSuggestionsCities(
- @SerializedName(value="id")
- val id: Int? = null,
- @SerializedName(value="name")
- val name: String? = null,
- @SerializedName(value="parent")
- val parent: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsRegions.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsRegions.kt
deleted file mode 100644
index 1445a9b671..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsRegions.kt
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.String
-
-/**
- * @param id Object ID
- * @param name Object name
- * @param type Object type
- */
-data class AdsTargSuggestionsRegions(
- @SerializedName(value="id")
- val id: Int? = null,
- @SerializedName(value="name")
- val name: String? = null,
- @SerializedName(value="type")
- val type: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsSchools.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsSchools.kt
deleted file mode 100644
index 13fca987b6..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsSchools.kt
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.String
-
-/**
- * @param desc Full school title
- * @param id School ID
- * @param name School title
- * @param parent City name
- * @param type no description
- */
-data class AdsTargSuggestionsSchools(
- @SerializedName(value="desc")
- val desc: String? = null,
- @SerializedName(value="id")
- val id: Int? = null,
- @SerializedName(value="name")
- val name: String? = null,
- @SerializedName(value="parent")
- val parent: String? = null,
- @SerializedName(value="type")
- val type: AdsTargSuggestionsSchoolsType? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsSchoolsType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsSchoolsType.kt
deleted file mode 100644
index abaa00c1d0..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/dto/AdsTargSuggestionsSchoolsType.kt
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AdsTargSuggestionsSchoolsType(
- val value: String
-) {
- SCHOOL("school"),
-
- UNIVERSITY("university"),
-
- FACULTY("faculty"),
-
- CHAIR("chair");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AdsTargSuggestionsSchoolsType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AdsTargSuggestionsSchoolsType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsAddOfficeUsers.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsAddOfficeUsers.kt
deleted file mode 100644
index 72740e68b3..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsAddOfficeUsers.kt
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsUserSpecificationCutted
-import com.vk.sdk.api.ads.responses.AdsAddOfficeUsersResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Adds managers and/or supervisors to advertising account.
- * @param accountId Advertising account ID.
- * @param data Serialized JSON array of objects that describe added managers. Description of
- * 'user_specification' objects see below.
- */
-class AdsAddOfficeUsers(
- private val accountId: Int,
- private val data: List
-) : ApiRequestBase(methodName = "ads.addOfficeUsers") {
- init {
- addParam("account_id", accountId)
- addParam("data", GsonHolder.gson.toJson(data))
- }
-
- override fun parse(r: JSONObject): Boolean = GsonHolder.gson.fromJson(r.toString(),
- AdsAddOfficeUsersResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCheckLink.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCheckLink.kt
deleted file mode 100644
index 1a8bcdf789..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCheckLink.kt
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsCheckLinkLinkType
-import com.vk.sdk.api.ads.dto.AdsLinkStatus
-import com.vk.sdk.api.ads.responses.AdsCheckLinkResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Allows to check the ad link.
- * @param accountId Advertising account ID.
- * @param linkType Object type: *'community' - community,, *'post' - community post,,
- * *'application' - VK application,, *'video' - video,, *'site' - external site.
- * @param linkUrl Object URL.
- * @param campaignId Campaign ID
- */
-class AdsCheckLink(
- private val accountId: Int,
- private val linkType: AdsCheckLinkLinkType,
- private val linkUrl: String,
- private val campaignId: Int? = null
-) : ApiRequestBase(methodName = "ads.checkLink") {
- init {
- addParam("account_id", accountId)
- addParam("link_type", linkType.value)
- addParam("link_url", linkUrl)
- campaignId?.let { value ->
- addParam("campaign_id", value)
- }
- }
-
- override fun parse(r: JSONObject): AdsLinkStatus = GsonHolder.gson.fromJson(r.toString(),
- AdsCheckLinkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateAds.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateAds.kt
deleted file mode 100644
index 924c0a6c15..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateAds.kt
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsCreateAdsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Creates ads.
- * @param accountId Advertising account ID.
- * @param data Serialized JSON array of objects that describe created ads. Description of
- * 'ad_specification' objects see below.
- */
-class AdsCreateAds(
- private val accountId: Int,
- private val data: String
-) : ApiRequestBase>(methodName = "ads.createAds") {
- init {
- addParam("account_id", accountId)
- addParam("data", data)
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsCreateAdsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateCampaigns.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateCampaigns.kt
deleted file mode 100644
index 3c0fb188cf..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateCampaigns.kt
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsCreateCampaignsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Creates advertising campaigns.
- * @param accountId Advertising account ID.
- * @param data Serialized JSON array of objects that describe created campaigns. Description of
- * 'campaign_specification' objects see below.
- */
-class AdsCreateCampaigns(
- private val accountId: Int,
- private val data: String
-) : ApiRequestBase>(methodName = "ads.createCampaigns") {
- init {
- addParam("account_id", accountId)
- addParam("data", data)
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsCreateCampaignsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateClients.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateClients.kt
deleted file mode 100644
index 8faf8e8053..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateClients.kt
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsCreateClientsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Creates clients of an advertising agency.
- * @param accountId Advertising account ID.
- * @param data Serialized JSON array of objects that describe created campaigns. Description of
- * 'client_specification' objects see below.
- */
-class AdsCreateClients(
- private val accountId: Int,
- private val data: String
-) : ApiRequestBase>(methodName = "ads.createClients") {
- init {
- addParam("account_id", accountId)
- addParam("data", data)
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsCreateClientsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateTargetGroup.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateTargetGroup.kt
deleted file mode 100644
index 2ff1247866..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsCreateTargetGroup.kt
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsCreateTargetGroupResponseDto
-import com.vk.sdk.api.ads.responses.AdsCreateTargetGroupResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Creates a group to re-target ads for users who visited advertiser's site (viewed information
- * about the product, registered, etc.).
- * @param accountId Advertising account ID.
- * @param name Name of the target group - a string up to 64 characters long.
- * @param lifetime 'For groups with auditory created with pixel code only.', , Number of days after
- * that users will be automatically removed from the group. minimum 1 maximum 720
- * @param clientId 'Only for advertising agencies.', ID of the client with the advertising account
- * where the group will be created.
- * @param targetPixelId
- * @param targetPixelRules
- */
-class AdsCreateTargetGroup(
- private val accountId: Int,
- private val name: String,
- private val lifetime: Int,
- private val clientId: Int? = null,
- private val targetPixelId: Int? = null,
- private val targetPixelRules: String? = null
-) : ApiRequestBase(methodName = "ads.createTargetGroup") {
- init {
- addParam("account_id", accountId)
- addParam("name", name)
- addParam("lifetime", lifetime)
- clientId?.let { value ->
- addParam("client_id", value)
- }
- targetPixelId?.let { value ->
- addParam("target_pixel_id", value)
- }
- targetPixelRules?.let { value ->
- addParam("target_pixel_rules", value)
- }
- }
-
- override fun parse(r: JSONObject): AdsCreateTargetGroupResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AdsCreateTargetGroupResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteAds.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteAds.kt
deleted file mode 100644
index 9b6a5a7f20..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteAds.kt
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsDeleteAdsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Archives ads.
- * @param accountId Advertising account ID.
- * @param ids Serialized JSON array with ad IDs.
- */
-class AdsDeleteAds(
- private val accountId: Int,
- private val ids: String
-) : ApiRequestBase>(methodName = "ads.deleteAds") {
- init {
- addParam("account_id", accountId)
- addParam("ids", ids)
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsDeleteAdsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteCampaigns.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteCampaigns.kt
deleted file mode 100644
index b8306707a4..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteCampaigns.kt
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsDeleteCampaignsResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Archives advertising campaigns.
- * @param accountId Advertising account ID.
- * @param ids Serialized JSON array with IDs of deleted campaigns.
- */
-class AdsDeleteCampaigns(
- private val accountId: Int,
- private val ids: String
-) : ApiRequestBase(methodName = "ads.deleteCampaigns") {
- init {
- addParam("account_id", accountId)
- addParam("ids", ids)
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AdsDeleteCampaignsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteClients.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteClients.kt
deleted file mode 100644
index 5f352326fd..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteClients.kt
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsDeleteClientsResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Archives clients of an advertising agency.
- * @param accountId Advertising account ID.
- * @param ids Serialized JSON array with IDs of deleted clients.
- */
-class AdsDeleteClients(
- private val accountId: Int,
- private val ids: String
-) : ApiRequestBase(methodName = "ads.deleteClients") {
- init {
- addParam("account_id", accountId)
- addParam("ids", ids)
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AdsDeleteClientsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteTargetGroup.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteTargetGroup.kt
deleted file mode 100644
index be10edab41..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsDeleteTargetGroup.kt
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Deletes a retarget group.
- * @param accountId Advertising account ID.
- * @param targetGroupId Group ID.
- * @param clientId 'Only for advertising agencies.' , ID of the client with the advertising account
- * where the group will be created.
- */
-class AdsDeleteTargetGroup(
- private val accountId: Int,
- private val targetGroupId: Int,
- private val clientId: Int? = null
-) : ApiRequestBase(methodName = "ads.deleteTargetGroup") {
- init {
- addParam("account_id", accountId)
- addParam("target_group_id", targetGroupId)
- clientId?.let { value ->
- addParam("client_id", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAccounts.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAccounts.kt
deleted file mode 100644
index 247a84824e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAccounts.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsAccount
-import com.vk.sdk.api.ads.responses.AdsGetAccountsResponse
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a list of advertising accounts.
- */
-class AdsGetAccounts : ApiRequestBase>(methodName = "ads.getAccounts") {
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetAccountsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAds.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAds.kt
deleted file mode 100644
index 305bc1a776..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAds.kt
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsAd
-import com.vk.sdk.api.ads.responses.AdsGetAdsResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns number of ads.
- * @param accountId Advertising account ID.
- * @param adIds Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads
- * will be shown.
- * @param campaignIds Filter by advertising campaigns. Serialized JSON array with campaign IDs. If
- * the parameter is null, ads of all campaigns will be shown.
- * @param clientId 'Available and required for advertising agencies.' ID of the client ads are
- * retrieved from.
- * @param includeDeleted Flag that specifies whether archived ads shall be shown: *0 - show only
- * active ads,, *1 - show all ads.
- * @param onlyDeleted Flag that specifies whether to show only archived ads: *0 - show all ads,,
- * *1 - show only archived ads. Available when include_deleted flag is *1
- * @param limit Limit of number of returned ads. Used only if ad_ids parameter is null, and
- * 'campaign_ids' parameter contains ID of only one campaign.
- * @param offset Offset. Used in the same cases as 'limit' parameter.
- */
-class AdsGetAds(
- private val accountId: Int,
- private val adIds: String? = null,
- private val campaignIds: String? = null,
- private val clientId: Int? = null,
- private val includeDeleted: Boolean? = null,
- private val onlyDeleted: Boolean? = null,
- private val limit: Int? = null,
- private val offset: Int? = null
-) : ApiRequestBase>(methodName = "ads.getAds") {
- init {
- addParam("account_id", accountId)
- adIds?.let { value ->
- addParam("ad_ids", value)
- }
- campaignIds?.let { value ->
- addParam("campaign_ids", value)
- }
- clientId?.let { value ->
- addParam("client_id", value)
- }
- includeDeleted?.let { value ->
- addParam("include_deleted", if (value) 1 else 0)
- }
- onlyDeleted?.let { value ->
- addParam("only_deleted", if (value) 1 else 0)
- }
- limit?.let { value ->
- addParam("limit", value)
- }
- offset?.let { value ->
- addParam("offset", value)
- }
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetAdsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAdsLayout.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAdsLayout.kt
deleted file mode 100644
index 167ecc5787..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAdsLayout.kt
+++ /dev/null
@@ -1,87 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsAdLayout
-import com.vk.sdk.api.ads.responses.AdsGetAdsLayoutResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns descriptions of ad layouts.
- * @param accountId Advertising account ID.
- * @param adIds Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads
- * will be shown.
- * @param campaignIds Filter by advertising campaigns. Serialized JSON array with campaign IDs. If
- * the parameter is null, ads of all campaigns will be shown.
- * @param clientId 'For advertising agencies.' ID of the client ads are retrieved from.
- * @param includeDeleted Flag that specifies whether archived ads shall be shown. *0 - show only
- * active ads,, *1 - show all ads.
- * @param limit Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and
- * 'campaign_ids' parameter contains ID of only one campaign.
- * @param offset Offset. Used in the same cases as 'limit' parameter.
- */
-class AdsGetAdsLayout(
- private val accountId: Int,
- private val adIds: String? = null,
- private val campaignIds: String? = null,
- private val clientId: Int? = null,
- private val includeDeleted: Boolean? = null,
- private val limit: Int? = null,
- private val offset: Int? = null
-) : ApiRequestBase>(methodName = "ads.getAdsLayout") {
- init {
- addParam("account_id", accountId)
- adIds?.let { value ->
- addParam("ad_ids", value)
- }
- campaignIds?.let { value ->
- addParam("campaign_ids", value)
- }
- clientId?.let { value ->
- addParam("client_id", value)
- }
- includeDeleted?.let { value ->
- addParam("include_deleted", if (value) 1 else 0)
- }
- limit?.let { value ->
- addParam("limit", value)
- }
- offset?.let { value ->
- addParam("offset", value)
- }
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetAdsLayoutResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAdsTargeting.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAdsTargeting.kt
deleted file mode 100644
index b07b783b3b..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetAdsTargeting.kt
+++ /dev/null
@@ -1,87 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsTargSettings
-import com.vk.sdk.api.ads.responses.AdsGetAdsTargetingResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns ad targeting parameters.
- * @param accountId Advertising account ID.
- * @param adIds Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads
- * will be shown.
- * @param campaignIds Filter by advertising campaigns. Serialized JSON array with campaign IDs. If
- * the parameter is null, ads of all campaigns will be shown.
- * @param clientId 'For advertising agencies.' ID of the client ads are retrieved from.
- * @param includeDeleted flag that specifies whether archived ads shall be shown: *0 - show only
- * active ads,, *1 - show all ads.
- * @param limit Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and
- * 'campaign_ids' parameter contains ID of only one campaign.
- * @param offset Offset needed to return a specific subset of results.
- */
-class AdsGetAdsTargeting(
- private val accountId: Int,
- private val adIds: String? = null,
- private val campaignIds: String? = null,
- private val clientId: Int? = null,
- private val includeDeleted: Boolean? = null,
- private val limit: Int? = null,
- private val offset: Int? = null
-) : ApiRequestBase>(methodName = "ads.getAdsTargeting") {
- init {
- addParam("account_id", accountId)
- adIds?.let { value ->
- addParam("ad_ids", value)
- }
- campaignIds?.let { value ->
- addParam("campaign_ids", value)
- }
- clientId?.let { value ->
- addParam("client_id", value)
- }
- includeDeleted?.let { value ->
- addParam("include_deleted", if (value) 1 else 0)
- }
- limit?.let { value ->
- addParam("limit", value)
- }
- offset?.let { value ->
- addParam("offset", value)
- }
- }
-
- override fun parse(r: JSONObject): List =
- GsonHolder.gson.fromJson(r.toString(), AdsGetAdsTargetingResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetBudget.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetBudget.kt
deleted file mode 100644
index ce6a66a705..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetBudget.kt
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsGetBudgetResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns current budget of the advertising account.
- * @param accountId Advertising account ID.
- */
-class AdsGetBudget(
- private val accountId: Int
-) : ApiRequestBase(methodName = "ads.getBudget") {
- init {
- addParam("account_id", accountId)
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AdsGetBudgetResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetCampaigns.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetCampaigns.kt
deleted file mode 100644
index 6729304115..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetCampaigns.kt
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsCampaign
-import com.vk.sdk.api.ads.dto.AdsGetCampaignsFields
-import com.vk.sdk.api.ads.responses.AdsGetCampaignsResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a list of campaigns in an advertising account.
- * @param accountId Advertising account ID.
- * @param clientId 'For advertising agencies'. ID of the client advertising campaigns are retrieved
- * from.
- * @param includeDeleted Flag that specifies whether archived ads shall be shown. *0 - show only
- * active campaigns,, *1 - show all campaigns.
- * @param campaignIds Filter of advertising campaigns to show. Serialized JSON array with campaign
- * IDs. Only campaigns that exist in 'campaign_ids' and belong to the specified advertising account
- * will be shown. If the parameter is null, all campaigns will be shown.
- * @param fields
- */
-class AdsGetCampaigns(
- private val accountId: Int,
- private val clientId: Int? = null,
- private val includeDeleted: Boolean? = null,
- private val campaignIds: String? = null,
- private val fields: List? = null
-) : ApiRequestBase>(methodName = "ads.getCampaigns") {
- init {
- addParam("account_id", accountId)
- clientId?.let { value ->
- addParam("client_id", value)
- }
- includeDeleted?.let { value ->
- addParam("include_deleted", if (value) 1 else 0)
- }
- campaignIds?.let { value ->
- addParam("campaign_ids", value)
- }
- fields?.let { value ->
- addParam("fields", value.map { it.value })
- }
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetCampaignsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetCategories.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetCategories.kt
deleted file mode 100644
index d998b0cd96..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetCategories.kt
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetCategoriesResponseDto
-import com.vk.sdk.api.ads.responses.AdsGetCategoriesResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Returns a list of possible ad categories.
- * @param lang Language. The full list of supported languages is [vk.com/dev/api_requests|here].
- */
-class AdsGetCategories(
- private val lang: String? = null
-) : ApiRequestBase(methodName = "ads.getCategories") {
- init {
- lang?.let { value ->
- addParam("lang", value)
- }
- }
-
- override fun parse(r: JSONObject): AdsGetCategoriesResponseDto =
- GsonHolder.gson.fromJson(r.toString(), AdsGetCategoriesResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetClients.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetClients.kt
deleted file mode 100644
index 91ec345de1..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetClients.kt
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsClient
-import com.vk.sdk.api.ads.responses.AdsGetClientsResponse
-import kotlin.Int
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a list of advertising agency's clients.
- * @param accountId Advertising account ID.
- */
-class AdsGetClients(
- private val accountId: Int
-) : ApiRequestBase>(methodName = "ads.getClients") {
- init {
- addParam("account_id", accountId)
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetClientsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetDemographics.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetDemographics.kt
deleted file mode 100644
index bf8dae38a8..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetDemographics.kt
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsDemoStats
-import com.vk.sdk.api.ads.dto.AdsGetDemographicsIdsType
-import com.vk.sdk.api.ads.dto.AdsGetDemographicsPeriod
-import com.vk.sdk.api.ads.responses.AdsGetDemographicsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns demographics for ads or campaigns.
- * @param accountId Advertising account ID.
- * @param idsType Type of requested objects listed in 'ids' parameter: *ad - ads,, *campaign -
- * campaigns.
- * @param ids IDs requested ads or campaigns, separated with a comma, depending on the value set in
- * 'ids_type'. Maximum 2000 objects.
- * @param period Data grouping by dates: *day - statistics by days,, *month - statistics by months,,
- * *overall - overall statistics. 'date_from' and 'date_to' parameters set temporary limits.
- * @param dateFrom Date to show statistics from. For different value of 'period' different date
- * format is used: *day: YYYY-MM-DD, example: 2011-09-27 - September 27, 2011, **0 - day it was created
- * on,, *month: YYYY-MM, example: 2011-09 - September 2011, **0 - month it was created in,, *overall:
- * 0.
- * @param dateTo Date to show statistics to. For different value of 'period' different date format
- * is used: *day: YYYY-MM-DD, example: 2011-09-27 - September 27, 2011, **0 - current day,, *month:
- * YYYY-MM, example: 2011-09 - September 2011, **0 - current month,, *overall: 0.
- */
-class AdsGetDemographics(
- private val accountId: Int,
- private val idsType: AdsGetDemographicsIdsType,
- private val ids: String,
- private val period: AdsGetDemographicsPeriod,
- private val dateFrom: String,
- private val dateTo: String
-) : ApiRequestBase>(methodName = "ads.getDemographics") {
- init {
- addParam("account_id", accountId)
- addParam("ids_type", idsType.value)
- addParam("ids", ids)
- addParam("period", period.value)
- addParam("date_from", dateFrom)
- addParam("date_to", dateTo)
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetDemographicsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetFloodStats.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetFloodStats.kt
deleted file mode 100644
index 95d191dd06..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetFloodStats.kt
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsFloodStats
-import com.vk.sdk.api.ads.responses.AdsGetFloodStatsResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns information about current state of a counter � number of remaining runs of methods and
- * time to the next counter nulling in seconds.
- * @param accountId Advertising account ID.
- */
-class AdsGetFloodStats(
- private val accountId: Int
-) : ApiRequestBase(methodName = "ads.getFloodStats") {
- init {
- addParam("account_id", accountId)
- }
-
- override fun parse(r: JSONObject): AdsFloodStats = GsonHolder.gson.fromJson(r.toString(),
- AdsGetFloodStatsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetLookalikeRequests.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetLookalikeRequests.kt
deleted file mode 100644
index 4bfb98358f..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetLookalikeRequests.kt
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetLookalikeRequestsResponseDto
-import com.vk.sdk.api.ads.responses.AdsGetLookalikeRequestsResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * @param accountId
- * @param clientId
- * @param requestsIds
- * @param offset default 0 minimum 0
- * @param limit default 10 minimum 0 maximum 200
- * @param sortBy default "id"
- */
-class AdsGetLookalikeRequests(
- private val accountId: Int,
- private val clientId: Int? = null,
- private val requestsIds: String? = null,
- private val offset: Int? = null,
- private val limit: Int? = null,
- private val sortBy: String? = null
-) : ApiRequestBase(methodName = "ads.getLookalikeRequests") {
- init {
- addParam("account_id", accountId)
- clientId?.let { value ->
- addParam("client_id", value)
- }
- requestsIds?.let { value ->
- addParam("requests_ids", value)
- }
- offset?.let { value ->
- addParam("offset", value)
- }
- limit?.let { value ->
- addParam("limit", value)
- }
- sortBy?.let { value ->
- addParam("sort_by", value)
- }
- }
-
- override fun parse(r: JSONObject): AdsGetLookalikeRequestsResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AdsGetLookalikeRequestsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetMusicians.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetMusicians.kt
deleted file mode 100644
index af7927591f..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetMusicians.kt
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetMusiciansResponseDto
-import com.vk.sdk.api.ads.responses.AdsGetMusiciansResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * @param artistName minLength 3
- */
-class AdsGetMusicians(
- private val artistName: String
-) : ApiRequestBase(methodName = "ads.getMusicians") {
- init {
- addParam("artist_name", artistName)
- }
-
- override fun parse(r: JSONObject): AdsGetMusiciansResponseDto =
- GsonHolder.gson.fromJson(r.toString(), AdsGetMusiciansResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetMusiciansByIds.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetMusiciansByIds.kt
deleted file mode 100644
index eac8b879cb..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetMusiciansByIds.kt
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetMusiciansResponseDto
-import com.vk.sdk.api.ads.responses.AdsGetMusiciansResponse
-import kotlin.Int
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * @param ids
- */
-class AdsGetMusiciansByIds(
- private val ids: List
-) : ApiRequestBase(methodName = "ads.getMusiciansByIds") {
- init {
- addParam("ids", ids)
- }
-
- override fun parse(r: JSONObject): AdsGetMusiciansResponseDto =
- GsonHolder.gson.fromJson(r.toString(), AdsGetMusiciansResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetOfficeUsers.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetOfficeUsers.kt
deleted file mode 100644
index 46f6bc412f..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetOfficeUsers.kt
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsUsers
-import com.vk.sdk.api.ads.responses.AdsGetOfficeUsersResponse
-import kotlin.Int
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a list of managers and supervisors of advertising account.
- * @param accountId Advertising account ID.
- */
-class AdsGetOfficeUsers(
- private val accountId: Int
-) : ApiRequestBase>(methodName = "ads.getOfficeUsers") {
- init {
- addParam("account_id", accountId)
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetOfficeUsersResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetPostsReach.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetPostsReach.kt
deleted file mode 100644
index 030801ee38..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetPostsReach.kt
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetPostsReachIdsType
-import com.vk.sdk.api.ads.dto.AdsPromotedPostReach
-import com.vk.sdk.api.ads.responses.AdsGetPostsReachResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns detailed statistics of promoted posts reach from campaigns and ads.
- * @param accountId Advertising account ID.
- * @param idsType Type of requested objects listed in 'ids' parameter: *ad - ads,, *campaign -
- * campaigns.
- * @param ids IDs requested ads or campaigns, separated with a comma, depending on the value set in
- * 'ids_type'. Maximum 100 objects.
- */
-class AdsGetPostsReach(
- private val accountId: Int,
- private val idsType: AdsGetPostsReachIdsType,
- private val ids: String
-) : ApiRequestBase>(methodName = "ads.getPostsReach") {
- init {
- addParam("account_id", accountId)
- addParam("ids_type", idsType.value)
- addParam("ids", ids)
- }
-
- override fun parse(r: JSONObject): List =
- GsonHolder.gson.fromJson(r.toString(), AdsGetPostsReachResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetRejectionReason.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetRejectionReason.kt
deleted file mode 100644
index a83eb6e462..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetRejectionReason.kt
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsRejectReason
-import com.vk.sdk.api.ads.responses.AdsGetRejectionReasonResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns a reason of ad rejection for pre-moderation.
- * @param accountId Advertising account ID.
- * @param adId Ad ID.
- */
-class AdsGetRejectionReason(
- private val accountId: Int,
- private val adId: Int
-) : ApiRequestBase(methodName = "ads.getRejectionReason") {
- init {
- addParam("account_id", accountId)
- addParam("ad_id", adId)
- }
-
- override fun parse(r: JSONObject): AdsRejectReason = GsonHolder.gson.fromJson(r.toString(),
- AdsGetRejectionReasonResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetStatistics.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetStatistics.kt
deleted file mode 100644
index f53ad5c053..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetStatistics.kt
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetStatisticsIdsType
-import com.vk.sdk.api.ads.dto.AdsGetStatisticsPeriod
-import com.vk.sdk.api.ads.dto.AdsGetStatisticsStatsFields
-import com.vk.sdk.api.ads.dto.AdsStats
-import com.vk.sdk.api.ads.responses.AdsGetStatisticsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns statistics of performance indicators for ads, campaigns, clients or the whole account.
- * @param accountId Advertising account ID.
- * @param idsType Type of requested objects listed in 'ids' parameter: *ad - ads,, *campaign -
- * campaigns,, *client - clients,, *office - account.
- * @param ids IDs requested ads, campaigns, clients or account, separated with a comma, depending on
- * the value set in 'ids_type'. Maximum 2000 objects.
- * @param period Data grouping by dates: *day - statistics by days,, *month - statistics by months,,
- * *overall - overall statistics. 'date_from' and 'date_to' parameters set temporary limits.
- * @param dateFrom Date to show statistics from. For different value of 'period' different date
- * format is used: *day: YYYY-MM-DD, example: 2011-09-27 - September 27, 2011, **0 - day it was created
- * on,, *month: YYYY-MM, example: 2011-09 - September 2011, **0 - month it was created in,, *overall:
- * 0.
- * @param dateTo Date to show statistics to. For different value of 'period' different date format
- * is used: *day: YYYY-MM-DD, example: 2011-09-27 - September 27, 2011, **0 - current day,, *month:
- * YYYY-MM, example: 2011-09 - September 2011, **0 - current month,, *overall: 0.
- * @param statsFields Additional fields to add to statistics
- */
-class AdsGetStatistics(
- private val accountId: Int,
- private val idsType: AdsGetStatisticsIdsType,
- private val ids: String,
- private val period: AdsGetStatisticsPeriod,
- private val dateFrom: String,
- private val dateTo: String,
- private val statsFields: List? = null
-) : ApiRequestBase>(methodName = "ads.getStatistics") {
- init {
- addParam("account_id", accountId)
- addParam("ids_type", idsType.value)
- addParam("ids", ids)
- addParam("period", period.value)
- addParam("date_from", dateFrom)
- addParam("date_to", dateTo)
- statsFields?.let { value ->
- addParam("stats_fields", value.map { it.value })
- }
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetStatisticsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestions.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestions.kt
deleted file mode 100644
index 7761b7b14c..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestions.kt
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetSuggestionsLang
-import com.vk.sdk.api.ads.dto.AdsGetSuggestionsSection
-import com.vk.sdk.api.ads.dto.AdsTargSuggestions
-import com.vk.sdk.api.ads.responses.AdsGetSuggestionsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a set of auto-suggestions for various targeting parameters.
- * @param section Section, suggestions are retrieved in. Available values: *countries - request of a
- * list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full
- * list of countries is shown. *regions - requested list of regions. 'country' parameter is required.
- * *cities - requested list of cities. 'country' parameter is required. *districts - requested list of
- * districts. 'cities' parameter is required. *stations - requested list of subway stations. 'cities'
- * parameter is required. *streets - requested list of streets. 'cities' parameter is required.
- * *schools - requested list of educational organizations. 'cities' parameter is required. *interests -
- * requested list of interests. *positions - requested list of positions (professions). *group_types -
- * requested list of group types. *religions - requested list of religious commitments. *browsers -
- * requested list of browsers and mobile devices.
- * @param ids Objects IDs separated by commas. If the parameter is passed, 'q, country, cities'
- * should not be passed.
- * @param q Filter-line of the request (for countries, regions, cities, streets, schools, interests,
- * positions).
- * @param country ID of the country objects are searched in.
- * @param cities IDs of cities where objects are searched in, separated with a comma.
- * @param lang Language of the returned string values. Supported languages: *ru - Russian,, *ua -
- * Ukrainian,, *en - English.
- */
-class AdsGetSuggestions(
- private val section: AdsGetSuggestionsSection,
- private val ids: String? = null,
- private val q: String? = null,
- private val country: Int? = null,
- private val cities: String? = null,
- private val lang: AdsGetSuggestionsLang? = null
-) : ApiRequestBase>(methodName = "ads.getSuggestions") {
- init {
- addParam("section", section.value)
- ids?.let { value ->
- addParam("ids", value)
- }
- q?.let { value ->
- addParam("q", value)
- }
- country?.let { value ->
- addParam("country", value)
- }
- cities?.let { value ->
- addParam("cities", value)
- }
- lang?.let { value ->
- addParam("lang", value.value)
- }
- }
-
- override fun parse(r: JSONObject): List =
- GsonHolder.gson.fromJson(r.toString(), AdsGetSuggestionsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsCities.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsCities.kt
deleted file mode 100644
index 0e54242d3c..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsCities.kt
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetSuggestionsLang
-import com.vk.sdk.api.ads.dto.AdsGetSuggestionsSection
-import com.vk.sdk.api.ads.dto.AdsTargSuggestionsCities
-import com.vk.sdk.api.ads.responses.AdsGetSuggestionsCitiesResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a set of auto-suggestions for various targeting parameters.
- * @param section Section, suggestions are retrieved in. Available values: *countries - request of a
- * list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full
- * list of countries is shown. *regions - requested list of regions. 'country' parameter is required.
- * *cities - requested list of cities. 'country' parameter is required. *districts - requested list of
- * districts. 'cities' parameter is required. *stations - requested list of subway stations. 'cities'
- * parameter is required. *streets - requested list of streets. 'cities' parameter is required.
- * *schools - requested list of educational organizations. 'cities' parameter is required. *interests -
- * requested list of interests. *positions - requested list of positions (professions). *group_types -
- * requested list of group types. *religions - requested list of religious commitments. *browsers -
- * requested list of browsers and mobile devices.
- * @param ids Objects IDs separated by commas. If the parameter is passed, 'q, country, cities'
- * should not be passed.
- * @param q Filter-line of the request (for countries, regions, cities, streets, schools, interests,
- * positions).
- * @param country ID of the country objects are searched in.
- * @param cities IDs of cities where objects are searched in, separated with a comma.
- * @param lang Language of the returned string values. Supported languages: *ru - Russian,, *ua -
- * Ukrainian,, *en - English.
- */
-class AdsGetSuggestionsCities(
- private val section: AdsGetSuggestionsSection,
- private val ids: String? = null,
- private val q: String? = null,
- private val country: Int? = null,
- private val cities: String? = null,
- private val lang: AdsGetSuggestionsLang? = null
-) : ApiRequestBase>(methodName = "ads.getSuggestions") {
- init {
- addParam("section", section.value)
- ids?.let { value ->
- addParam("ids", value)
- }
- q?.let { value ->
- addParam("q", value)
- }
- country?.let { value ->
- addParam("country", value)
- }
- cities?.let { value ->
- addParam("cities", value)
- }
- lang?.let { value ->
- addParam("lang", value.value)
- }
- }
-
- override fun parse(r: JSONObject): List =
- GsonHolder.gson.fromJson(r.toString(),
- AdsGetSuggestionsCitiesResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsRegions.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsRegions.kt
deleted file mode 100644
index dd68a5bda1..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsRegions.kt
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetSuggestionsLang
-import com.vk.sdk.api.ads.dto.AdsGetSuggestionsSection
-import com.vk.sdk.api.ads.dto.AdsTargSuggestionsRegions
-import com.vk.sdk.api.ads.responses.AdsGetSuggestionsRegionsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a set of auto-suggestions for various targeting parameters.
- * @param section Section, suggestions are retrieved in. Available values: *countries - request of a
- * list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full
- * list of countries is shown. *regions - requested list of regions. 'country' parameter is required.
- * *cities - requested list of cities. 'country' parameter is required. *districts - requested list of
- * districts. 'cities' parameter is required. *stations - requested list of subway stations. 'cities'
- * parameter is required. *streets - requested list of streets. 'cities' parameter is required.
- * *schools - requested list of educational organizations. 'cities' parameter is required. *interests -
- * requested list of interests. *positions - requested list of positions (professions). *group_types -
- * requested list of group types. *religions - requested list of religious commitments. *browsers -
- * requested list of browsers and mobile devices.
- * @param ids Objects IDs separated by commas. If the parameter is passed, 'q, country, cities'
- * should not be passed.
- * @param q Filter-line of the request (for countries, regions, cities, streets, schools, interests,
- * positions).
- * @param country ID of the country objects are searched in.
- * @param cities IDs of cities where objects are searched in, separated with a comma.
- * @param lang Language of the returned string values. Supported languages: *ru - Russian,, *ua -
- * Ukrainian,, *en - English.
- */
-class AdsGetSuggestionsRegions(
- private val section: AdsGetSuggestionsSection,
- private val ids: String? = null,
- private val q: String? = null,
- private val country: Int? = null,
- private val cities: String? = null,
- private val lang: AdsGetSuggestionsLang? = null
-) : ApiRequestBase>(methodName = "ads.getSuggestions") {
- init {
- addParam("section", section.value)
- ids?.let { value ->
- addParam("ids", value)
- }
- q?.let { value ->
- addParam("q", value)
- }
- country?.let { value ->
- addParam("country", value)
- }
- cities?.let { value ->
- addParam("cities", value)
- }
- lang?.let { value ->
- addParam("lang", value.value)
- }
- }
-
- override fun parse(r: JSONObject): List =
- GsonHolder.gson.fromJson(r.toString(),
- AdsGetSuggestionsRegionsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsSchools.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsSchools.kt
deleted file mode 100644
index bb8052bda9..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetSuggestionsSchools.kt
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetSuggestionsLang
-import com.vk.sdk.api.ads.dto.AdsGetSuggestionsSection
-import com.vk.sdk.api.ads.dto.AdsTargSuggestionsSchools
-import com.vk.sdk.api.ads.responses.AdsGetSuggestionsSchoolsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a set of auto-suggestions for various targeting parameters.
- * @param section Section, suggestions are retrieved in. Available values: *countries - request of a
- * list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full
- * list of countries is shown. *regions - requested list of regions. 'country' parameter is required.
- * *cities - requested list of cities. 'country' parameter is required. *districts - requested list of
- * districts. 'cities' parameter is required. *stations - requested list of subway stations. 'cities'
- * parameter is required. *streets - requested list of streets. 'cities' parameter is required.
- * *schools - requested list of educational organizations. 'cities' parameter is required. *interests -
- * requested list of interests. *positions - requested list of positions (professions). *group_types -
- * requested list of group types. *religions - requested list of religious commitments. *browsers -
- * requested list of browsers and mobile devices.
- * @param ids Objects IDs separated by commas. If the parameter is passed, 'q, country, cities'
- * should not be passed.
- * @param q Filter-line of the request (for countries, regions, cities, streets, schools, interests,
- * positions).
- * @param country ID of the country objects are searched in.
- * @param cities IDs of cities where objects are searched in, separated with a comma.
- * @param lang Language of the returned string values. Supported languages: *ru - Russian,, *ua -
- * Ukrainian,, *en - English.
- */
-class AdsGetSuggestionsSchools(
- private val section: AdsGetSuggestionsSection,
- private val ids: String? = null,
- private val q: String? = null,
- private val country: Int? = null,
- private val cities: String? = null,
- private val lang: AdsGetSuggestionsLang? = null
-) : ApiRequestBase>(methodName = "ads.getSuggestions") {
- init {
- addParam("section", section.value)
- ids?.let { value ->
- addParam("ids", value)
- }
- q?.let { value ->
- addParam("q", value)
- }
- country?.let { value ->
- addParam("country", value)
- }
- cities?.let { value ->
- addParam("cities", value)
- }
- lang?.let { value ->
- addParam("lang", value.value)
- }
- }
-
- override fun parse(r: JSONObject): List =
- GsonHolder.gson.fromJson(r.toString(),
- AdsGetSuggestionsSchoolsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetTargetGroups.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetTargetGroups.kt
deleted file mode 100644
index 541722e04a..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetTargetGroups.kt
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsTargetGroup
-import com.vk.sdk.api.ads.responses.AdsGetTargetGroupsResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a list of target groups.
- * @param accountId Advertising account ID.
- * @param clientId 'Only for advertising agencies.', ID of the client with the advertising account
- * where the group will be created.
- * @param extended '1' - to return pixel code.
- */
-class AdsGetTargetGroups(
- private val accountId: Int,
- private val clientId: Int? = null,
- private val extended: Boolean? = null
-) : ApiRequestBase>(methodName = "ads.getTargetGroups") {
- init {
- addParam("account_id", accountId)
- clientId?.let { value ->
- addParam("client_id", value)
- }
- extended?.let { value ->
- addParam("extended", if (value) 1 else 0)
- }
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsGetTargetGroupsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetTargetingStats.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetTargetingStats.kt
deleted file mode 100644
index 34020e9e7f..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetTargetingStats.kt
+++ /dev/null
@@ -1,113 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetTargetingStatsAdFormat
-import com.vk.sdk.api.ads.dto.AdsTargStats
-import com.vk.sdk.api.ads.responses.AdsGetTargetingStatsResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Returns the size of targeting audience, and also recommended values for CPC and CPM.
- * @param accountId Advertising account ID.
- * @param linkUrl URL for the advertised object.
- * @param clientId
- * @param criteria Serialized JSON object that describes targeting parameters. Description of
- * 'criteria' object see below.
- * @param adId ID of an ad which targeting parameters shall be analyzed.
- * @param adFormat Ad format. Possible values: *'1' - image and text,, *'2' - big image,, *'3' -
- * exclusive format,, *'4' - community, square image,, *'7' - special app format,, *'8' - special
- * community format,, *'9' - post in community,, *'10' - app board.
- * @param adPlatform Platforms to use for ad showing. Possible values: (for 'ad_format' = '1'),
- * *'0' - VK and partner sites,, *'1' - VK only. (for 'ad_format' = '9'), *'all' - all platforms,,
- * *'desktop' - desktop version,, *'mobile' - mobile version and apps.
- * @param adPlatformNoWall
- * @param adPlatformNoAdNetwork
- * @param linkDomain Domain of the advertised object.
- * @param needPrecise Additionally return recommended cpc and cpm to reach 5,10..95 percents of
- * audience.
- * @param impressionsLimitPeriod Impressions limit period in seconds, must be a multiple of
- * 86400(day)
- */
-class AdsGetTargetingStats(
- private val accountId: Int,
- private val linkUrl: String,
- private val clientId: Int? = null,
- private val criteria: String? = null,
- private val adId: Int? = null,
- private val adFormat: AdsGetTargetingStatsAdFormat? = null,
- private val adPlatform: String? = null,
- private val adPlatformNoWall: String? = null,
- private val adPlatformNoAdNetwork: String? = null,
- private val linkDomain: String? = null,
- private val needPrecise: Boolean? = null,
- private val impressionsLimitPeriod: Int? = null
-) : ApiRequestBase(methodName = "ads.getTargetingStats") {
- init {
- addParam("account_id", accountId)
- addParam("link_url", linkUrl)
- clientId?.let { value ->
- addParam("client_id", value)
- }
- criteria?.let { value ->
- addParam("criteria", value)
- }
- adId?.let { value ->
- addParam("ad_id", value)
- }
- adFormat?.let { value ->
- addParam("ad_format", value.value)
- }
- adPlatform?.let { value ->
- addParam("ad_platform", value)
- }
- adPlatformNoWall?.let { value ->
- addParam("ad_platform_no_wall", value)
- }
- adPlatformNoAdNetwork?.let { value ->
- addParam("ad_platform_no_ad_network", value)
- }
- linkDomain?.let { value ->
- addParam("link_domain", value)
- }
- needPrecise?.let { value ->
- addParam("need_precise", if (value) 1 else 0)
- }
- impressionsLimitPeriod?.let { value ->
- addParam("impressions_limit_period", value)
- }
- }
-
- override fun parse(r: JSONObject): AdsTargStats = GsonHolder.gson.fromJson(r.toString(),
- AdsGetTargetingStatsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetUploadURL.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetUploadURL.kt
deleted file mode 100644
index 166edd11df..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetUploadURL.kt
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsGetUploadURLAdFormat
-import com.vk.sdk.api.ads.responses.AdsGetUploadURLResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Returns URL to upload an ad photo to.
- * @param adFormat Ad format: *1 - image and text,, *2 - big image,, *3 - exclusive format,, *4 -
- * community, square image,, *7 - special app format.
- * @param icon
- */
-class AdsGetUploadURL(
- private val adFormat: AdsGetUploadURLAdFormat,
- private val icon: Int? = null
-) : ApiRequestBase(methodName = "ads.getUploadURL") {
- init {
- addParam("ad_format", adFormat.value)
- icon?.let { value ->
- addParam("icon", value)
- }
- }
-
- override fun parse(r: JSONObject): String = GsonHolder.gson.fromJson(r.toString(),
- AdsGetUploadURLResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetVideoUploadURL.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetVideoUploadURL.kt
deleted file mode 100644
index b6c07b3c83..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsGetVideoUploadURL.kt
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsGetVideoUploadURLResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Returns URL to upload an ad video to.
- */
-class AdsGetVideoUploadURL : ApiRequestBase(methodName = "ads.getVideoUploadURL") {
- override fun parse(r: JSONObject): String = GsonHolder.gson.fromJson(r.toString(),
- AdsGetVideoUploadURLResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsImportTargetContacts.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsImportTargetContacts.kt
deleted file mode 100644
index 733d438fc3..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsImportTargetContacts.kt
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsImportTargetContactsResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Imports a list of advertiser's contacts to count VK registered users against the target group.
- * @param accountId Advertising account ID.
- * @param targetGroupId Target group ID.
- * @param contacts List of phone numbers, emails or user IDs separated with a comma.
- * @param clientId 'Only for advertising agencies.' , ID of the client with the advertising account
- * where the group will be created.
- */
-class AdsImportTargetContacts(
- private val accountId: Int,
- private val targetGroupId: Int,
- private val contacts: String,
- private val clientId: Int? = null
-) : ApiRequestBase(methodName = "ads.importTargetContacts") {
- init {
- addParam("account_id", accountId)
- addParam("target_group_id", targetGroupId)
- addParam("contacts", contacts)
- clientId?.let { value ->
- addParam("client_id", value)
- }
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AdsImportTargetContactsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsRemoveOfficeUsers.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsRemoveOfficeUsers.kt
deleted file mode 100644
index b9639c550c..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsRemoveOfficeUsers.kt
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsRemoveOfficeUsersResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Removes managers and/or supervisors from advertising account.
- * @param accountId Advertising account ID.
- * @param ids Serialized JSON array with IDs of deleted managers.
- */
-class AdsRemoveOfficeUsers(
- private val accountId: Int,
- private val ids: String
-) : ApiRequestBase(methodName = "ads.removeOfficeUsers") {
- init {
- addParam("account_id", accountId)
- addParam("ids", ids)
- }
-
- override fun parse(r: JSONObject): Boolean = GsonHolder.gson.fromJson(r.toString(),
- AdsRemoveOfficeUsersResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateAds.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateAds.kt
deleted file mode 100644
index 75d5be3108..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateAds.kt
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsUpdateAdsResponse
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Edits ads.
- * @param accountId Advertising account ID.
- * @param data Serialized JSON array of objects that describe changes in ads. Description of
- * 'ad_edit_specification' objects see below.
- */
-class AdsUpdateAds(
- private val accountId: Int,
- private val data: String
-) : ApiRequestBase>(methodName = "ads.updateAds") {
- init {
- addParam("account_id", accountId)
- addParam("data", data)
- }
-
- override fun parse(r: JSONObject): List = GsonHolder.gson.fromJson(r.toString(),
- AdsUpdateAdsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateCampaigns.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateCampaigns.kt
deleted file mode 100644
index ddece74b22..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateCampaigns.kt
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsUpdateCampaignsResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Edits advertising campaigns.
- * @param accountId Advertising account ID.
- * @param data Serialized JSON array of objects that describe changes in campaigns. Description of
- * 'campaign_mod' objects see below.
- */
-class AdsUpdateCampaigns(
- private val accountId: Int,
- private val data: String
-) : ApiRequestBase(methodName = "ads.updateCampaigns") {
- init {
- addParam("account_id", accountId)
- addParam("data", data)
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AdsUpdateCampaignsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateClients.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateClients.kt
deleted file mode 100644
index 7febd54e5e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateClients.kt
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.responses.AdsUpdateClientsResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Edits clients of an advertising agency.
- * @param accountId Advertising account ID.
- * @param data Serialized JSON array of objects that describe changes in clients. Description of
- * 'client_mod' objects see below.
- */
-class AdsUpdateClients(
- private val accountId: Int,
- private val data: String
-) : ApiRequestBase(methodName = "ads.updateClients") {
- init {
- addParam("account_id", accountId)
- addParam("data", data)
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AdsUpdateClientsResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateOfficeUsers.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateOfficeUsers.kt
deleted file mode 100644
index ee60abcd16..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateOfficeUsers.kt
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.ads.dto.AdsUpdateOfficeUsersResult
-import com.vk.sdk.api.ads.dto.AdsUserSpecification
-import com.vk.sdk.api.ads.responses.AdsUpdateOfficeUsersResponse
-import kotlin.Int
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Adds managers and/or supervisors to advertising account.
- * @param accountId Advertising account ID. minimum 0
- * @param data Serialized JSON array of objects that describe added managers. Description of
- * 'user_specification' objects see below.
- */
-class AdsUpdateOfficeUsers(
- private val accountId: Int,
- private val data: List
-) : ApiRequestBase>(methodName = "ads.updateOfficeUsers") {
- init {
- addParam("account_id", accountId)
- addParam("data", GsonHolder.gson.toJson(data))
- }
-
- override fun parse(r: JSONObject): List =
- GsonHolder.gson.fromJson(r.toString(),
- AdsUpdateOfficeUsersResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateTargetGroup.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateTargetGroup.kt
deleted file mode 100644
index a41daff450..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/methods/AdsUpdateTargetGroup.kt
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Edits a retarget group.
- * @param accountId Advertising account ID.
- * @param targetGroupId Group ID.
- * @param name New name of the target group - a string up to 64 characters long.
- * @param lifetime 'Only for the groups that get audience from sites with user accounting code.',
- * Time in days when users added to a retarget group will be automatically excluded from it. '0' -
- * automatic exclusion is off. minimum 1 maximum 720
- * @param clientId 'Only for advertising agencies.' , ID of the client with the advertising account
- * where the group will be created.
- * @param domain Domain of the site where user accounting code will be placed.
- * @param targetPixelId
- * @param targetPixelRules
- */
-class AdsUpdateTargetGroup(
- private val accountId: Int,
- private val targetGroupId: Int,
- private val name: String,
- private val lifetime: Int,
- private val clientId: Int? = null,
- private val domain: String? = null,
- private val targetPixelId: Int? = null,
- private val targetPixelRules: String? = null
-) : ApiRequestBase(methodName = "ads.updateTargetGroup") {
- init {
- addParam("account_id", accountId)
- addParam("target_group_id", targetGroupId)
- addParam("name", name)
- addParam("lifetime", lifetime)
- clientId?.let { value ->
- addParam("client_id", value)
- }
- domain?.let { value ->
- addParam("domain", value)
- }
- targetPixelId?.let { value ->
- addParam("target_pixel_id", value)
- }
- targetPixelRules?.let { value ->
- addParam("target_pixel_rules", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsAddOfficeUsersResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsAddOfficeUsersResponse.kt
deleted file mode 100644
index aec6248fda..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsAddOfficeUsersResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Boolean
-
-/**
- * @param response true if success
- */
-data class AdsAddOfficeUsersResponse(
- @SerializedName(value="response")
- val response: Boolean
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCheckLinkResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCheckLinkResponse.kt
deleted file mode 100644
index 2a23d079aa..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCheckLinkResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsLinkStatus
-
-/**
- * @param response no description
- */
-data class AdsCheckLinkResponse(
- @SerializedName(value="response")
- val response: AdsLinkStatus
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateAdsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateAdsResponse.kt
deleted file mode 100644
index c9bf413164..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateAdsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsCreateAdsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateCampaignsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateCampaignsResponse.kt
deleted file mode 100644
index 5e8a5597b6..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateCampaignsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsCreateCampaignsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateClientsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateClientsResponse.kt
deleted file mode 100644
index cdfa6ed861..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateClientsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsCreateClientsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateTargetGroupResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateTargetGroupResponse.kt
deleted file mode 100644
index ba79305a98..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsCreateTargetGroupResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsCreateTargetGroupResponseDto
-
-/**
- * @param response no description
- */
-data class AdsCreateTargetGroupResponse(
- @SerializedName(value="response")
- val response: AdsCreateTargetGroupResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteAdsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteAdsResponse.kt
deleted file mode 100644
index 50edd8b1e0..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteAdsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsDeleteAdsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteCampaignsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteCampaignsResponse.kt
deleted file mode 100644
index 7d165b56e9..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteCampaignsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response 0 if success
- */
-data class AdsDeleteCampaignsResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteClientsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteClientsResponse.kt
deleted file mode 100644
index 503cd87901..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsDeleteClientsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response 0 if sucess
- */
-data class AdsDeleteClientsResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAccountsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAccountsResponse.kt
deleted file mode 100644
index 6c22d5a64c..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAccountsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsAccount
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetAccountsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsLayoutResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsLayoutResponse.kt
deleted file mode 100644
index 35cf0ab492..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsLayoutResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsAdLayout
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetAdsLayoutResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsResponse.kt
deleted file mode 100644
index c8b0076c68..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsAd
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetAdsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsTargetingResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsTargetingResponse.kt
deleted file mode 100644
index 02c76774f6..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetAdsTargetingResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsTargSettings
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetAdsTargetingResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetBudgetResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetBudgetResponse.kt
deleted file mode 100644
index 286d7d6d12..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetBudgetResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response Budget
- */
-data class AdsGetBudgetResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetCampaignsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetCampaignsResponse.kt
deleted file mode 100644
index 1d44ed5417..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetCampaignsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsCampaign
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetCampaignsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetCategoriesResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetCategoriesResponse.kt
deleted file mode 100644
index a28a6c4222..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetCategoriesResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsGetCategoriesResponseDto
-
-/**
- * @param response no description
- */
-data class AdsGetCategoriesResponse(
- @SerializedName(value="response")
- val response: AdsGetCategoriesResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetClientsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetClientsResponse.kt
deleted file mode 100644
index 41f40cb8be..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetClientsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsClient
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetClientsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetDemographicsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetDemographicsResponse.kt
deleted file mode 100644
index e956654555..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetDemographicsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsDemoStats
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetDemographicsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetFloodStatsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetFloodStatsResponse.kt
deleted file mode 100644
index 410ec19a8c..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetFloodStatsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsFloodStats
-
-/**
- * @param response no description
- */
-data class AdsGetFloodStatsResponse(
- @SerializedName(value="response")
- val response: AdsFloodStats
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetLookalikeRequestsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetLookalikeRequestsResponse.kt
deleted file mode 100644
index da101402ed..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetLookalikeRequestsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsGetLookalikeRequestsResponseDto
-
-/**
- * @param response no description
- */
-data class AdsGetLookalikeRequestsResponse(
- @SerializedName(value="response")
- val response: AdsGetLookalikeRequestsResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetMusiciansResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetMusiciansResponse.kt
deleted file mode 100644
index bff96fe4ff..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetMusiciansResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsGetMusiciansResponseDto
-
-/**
- * @param response no description
- */
-data class AdsGetMusiciansResponse(
- @SerializedName(value="response")
- val response: AdsGetMusiciansResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetOfficeUsersResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetOfficeUsersResponse.kt
deleted file mode 100644
index ec3047a941..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetOfficeUsersResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsUsers
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetOfficeUsersResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetPostsReachResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetPostsReachResponse.kt
deleted file mode 100644
index 3e15514ae0..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetPostsReachResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsPromotedPostReach
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetPostsReachResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetRejectionReasonResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetRejectionReasonResponse.kt
deleted file mode 100644
index 5b20cdd6b1..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetRejectionReasonResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsRejectReason
-
-/**
- * @param response no description
- */
-data class AdsGetRejectionReasonResponse(
- @SerializedName(value="response")
- val response: AdsRejectReason
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetStatisticsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetStatisticsResponse.kt
deleted file mode 100644
index 13703449e0..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetStatisticsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsStats
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetStatisticsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsCitiesResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsCitiesResponse.kt
deleted file mode 100644
index 3f6df75623..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsCitiesResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsTargSuggestionsCities
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetSuggestionsCitiesResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsRegionsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsRegionsResponse.kt
deleted file mode 100644
index 8827bc67ad..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsRegionsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsTargSuggestionsRegions
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetSuggestionsRegionsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsResponse.kt
deleted file mode 100644
index b66b13e53e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsTargSuggestions
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetSuggestionsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsSchoolsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsSchoolsResponse.kt
deleted file mode 100644
index 080e118f97..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetSuggestionsSchoolsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsTargSuggestionsSchools
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetSuggestionsSchoolsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetTargetGroupsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetTargetGroupsResponse.kt
deleted file mode 100644
index b2d0d27691..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetTargetGroupsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsTargetGroup
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsGetTargetGroupsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetTargetingStatsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetTargetingStatsResponse.kt
deleted file mode 100644
index 4fb70fa0ce..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetTargetingStatsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsTargStats
-
-/**
- * @param response no description
- */
-data class AdsGetTargetingStatsResponse(
- @SerializedName(value="response")
- val response: AdsTargStats
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetUploadURLResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetUploadURLResponse.kt
deleted file mode 100644
index 38e412aa06..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetUploadURLResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.String
-
-/**
- * @param response Photo upload URL
- */
-data class AdsGetUploadURLResponse(
- @SerializedName(value="response")
- val response: String
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetVideoUploadURLResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetVideoUploadURLResponse.kt
deleted file mode 100644
index 57fe2ef51d..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsGetVideoUploadURLResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.String
-
-/**
- * @param response Video upload URL
- */
-data class AdsGetVideoUploadURLResponse(
- @SerializedName(value="response")
- val response: String
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsImportTargetContactsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsImportTargetContactsResponse.kt
deleted file mode 100644
index 990b482359..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsImportTargetContactsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response Imported contacts number
- */
-data class AdsImportTargetContactsResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsRemoveOfficeUsersResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsRemoveOfficeUsersResponse.kt
deleted file mode 100644
index 4de98137e1..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsRemoveOfficeUsersResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Boolean
-
-/**
- * @param response true if success
- */
-data class AdsRemoveOfficeUsersResponse(
- @SerializedName(value="response")
- val response: Boolean
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateAdsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateAdsResponse.kt
deleted file mode 100644
index 90c894a9c8..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateAdsResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsUpdateAdsResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateCampaignsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateCampaignsResponse.kt
deleted file mode 100644
index 2021901006..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateCampaignsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response Campaign ID
- */
-data class AdsUpdateCampaignsResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateClientsResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateClientsResponse.kt
deleted file mode 100644
index ab638e3e50..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateClientsResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response Client ID
- */
-data class AdsUpdateClientsResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateOfficeUsersResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateOfficeUsersResponse.kt
deleted file mode 100644
index 402741c4fd..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/ads/responses/AdsUpdateOfficeUsersResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.ads.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.ads.dto.AdsUpdateOfficeUsersResult
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AdsUpdateOfficeUsersResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImageUploadServerImageType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImageUploadServerImageType.kt
deleted file mode 100644
index 862227b95b..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImageUploadServerImageType.kt
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppWidgetsGetAppImageUploadServerImageType(
- val value: String
-) {
- SIXTEEN_0X160("160x160"),
-
- SIXTEEN_0X240("160x240"),
-
- TWENTY_FOUR_X24("24x24"),
-
- FIFTYZERO_X50("50x50"),
-
- FIFTY_ONE_0X128("510x128");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AppWidgetsGetAppImageUploadServerImageType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppWidgetsGetAppImageUploadServerImageType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImageUploadServerResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImageUploadServerResponseDto.kt
deleted file mode 100644
index 5a68cc20a8..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImageUploadServerResponseDto.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.String
-
-/**
- * @param uploadUrl To upload an image, generate POST-request to upload_url with a file in photo
- * field. Then call appWidgets.saveAppImage method
- */
-data class AppWidgetsGetAppImageUploadServerResponseDto(
- @SerializedName(value="upload_url")
- val uploadUrl: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImagesImageType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImagesImageType.kt
deleted file mode 100644
index a9f67a362d..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetAppImagesImageType.kt
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppWidgetsGetAppImagesImageType(
- val value: String
-) {
- SIXTEEN_0X160("160x160"),
-
- SIXTEEN_0X240("160x240"),
-
- TWENTY_FOUR_X24("24x24"),
-
- FIFTYZERO_X50("50x50"),
-
- FIFTY_ONE_0X128("510x128");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AppWidgetsGetAppImagesImageType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppWidgetsGetAppImagesImageType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImageUploadServerImageType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImageUploadServerImageType.kt
deleted file mode 100644
index 869b7a4052..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImageUploadServerImageType.kt
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppWidgetsGetGroupImageUploadServerImageType(
- val value: String
-) {
- SIXTEEN_0X160("160x160"),
-
- SIXTEEN_0X240("160x240"),
-
- TWENTY_FOUR_X24("24x24"),
-
- FIFTYZERO_X50("50x50"),
-
- FIFTY_ONE_0X128("510x128");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AppWidgetsGetGroupImageUploadServerImageType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppWidgetsGetGroupImageUploadServerImageType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImageUploadServerResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImageUploadServerResponseDto.kt
deleted file mode 100644
index 61963297a0..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImageUploadServerResponseDto.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.String
-
-/**
- * @param uploadUrl To upload an image, generate POST-request to upload_url with a file in photo
- * field. Then call appWidgets.saveAppImage method
- */
-data class AppWidgetsGetGroupImageUploadServerResponseDto(
- @SerializedName(value="upload_url")
- val uploadUrl: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImagesImageType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImagesImageType.kt
deleted file mode 100644
index e12f60bc87..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsGetGroupImagesImageType.kt
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppWidgetsGetGroupImagesImageType(
- val value: String
-) {
- SIXTEEN_0X160("160x160"),
-
- SIXTEEN_0X240("160x240"),
-
- TWENTY_FOUR_X24("24x24"),
-
- FIFTYZERO_X50("50x50"),
-
- FIFTY_ONE_0X128("510x128");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AppWidgetsGetGroupImagesImageType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppWidgetsGetGroupImagesImageType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsUpdateType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsUpdateType.kt
deleted file mode 100644
index 1b9d687fd4..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/dto/AppWidgetsUpdateType.kt
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppWidgetsUpdateType(
- val value: String
-) {
- COMPACT_LIST("compact_list"),
-
- COVER_LIST("cover_list"),
-
- DONATION("donation"),
-
- LIST("list"),
-
- MATCH("match"),
-
- MATCHES("matches"),
-
- TABLE("table"),
-
- TEXT("text"),
-
- TILES("tiles");
-
- class Serializer : JsonSerializer, JsonDeserializer
- {
- override fun serialize(
- src: AppWidgetsUpdateType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppWidgetsUpdateType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetAppImageUploadServer.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetAppImageUploadServer.kt
deleted file mode 100644
index 263454c9c7..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetAppImageUploadServer.kt
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsGetAppImageUploadServerImageType
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsGetAppImageUploadServerResponseDto
-import com.vk.sdk.api.appWidgets.responses.AppWidgetsGetAppImageUploadServerResponse
-import org.json.JSONObject
-
-/**
- * Returns a URL for uploading a photo to the community collection for community app widgets
- * @param imageType
- */
-class AppWidgetsGetAppImageUploadServer(
- private val imageType: AppWidgetsGetAppImageUploadServerImageType
-) : ApiRequestBase(methodName =
- "appWidgets.getAppImageUploadServer") {
- init {
- addParam("image_type", imageType.value)
- }
-
- override fun parse(r: JSONObject): AppWidgetsGetAppImageUploadServerResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AppWidgetsGetAppImageUploadServerResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetAppImages.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetAppImages.kt
deleted file mode 100644
index 53674535d5..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetAppImages.kt
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsGetAppImagesImageType
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhotos
-import com.vk.sdk.api.appWidgets.responses.AppWidgetsGetAppImagesResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns an app collection of images for community app widgets
- * @param offset Offset needed to return a specific subset of images. minimum 0
- * @param count Maximum count of results. default 20 minimum 0 maximum 100
- * @param imageType
- */
-class AppWidgetsGetAppImages(
- private val offset: Int? = null,
- private val count: Int? = null,
- private val imageType: AppWidgetsGetAppImagesImageType? = null
-) : ApiRequestBase(methodName = "appWidgets.getAppImages") {
- init {
- offset?.let { value ->
- addParam("offset", value)
- }
- count?.let { value ->
- addParam("count", value)
- }
- imageType?.let { value ->
- addParam("image_type", value.value)
- }
- }
-
- override fun parse(r: JSONObject): AppWidgetsPhotos = GsonHolder.gson.fromJson(r.toString(),
- AppWidgetsGetAppImagesResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetGroupImageUploadServer.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetGroupImageUploadServer.kt
deleted file mode 100644
index d9dbaa86ae..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetGroupImageUploadServer.kt
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsGetGroupImageUploadServerImageType
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsGetGroupImageUploadServerResponseDto
-import com.vk.sdk.api.appWidgets.responses.AppWidgetsGetGroupImageUploadServerResponse
-import org.json.JSONObject
-
-/**
- * Returns a URL for uploading a photo to the community collection for community app widgets
- * @param imageType
- */
-class AppWidgetsGetGroupImageUploadServer(
- private val imageType: AppWidgetsGetGroupImageUploadServerImageType
-) : ApiRequestBase(methodName =
- "appWidgets.getGroupImageUploadServer") {
- init {
- addParam("image_type", imageType.value)
- }
-
- override fun parse(r: JSONObject): AppWidgetsGetGroupImageUploadServerResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AppWidgetsGetGroupImageUploadServerResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetGroupImages.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetGroupImages.kt
deleted file mode 100644
index 71002cc383..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetGroupImages.kt
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsGetGroupImagesImageType
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhotos
-import com.vk.sdk.api.appWidgets.responses.AppWidgetsGetGroupImagesResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns a community collection of images for community app widgets
- * @param offset Offset needed to return a specific subset of images. minimum 0
- * @param count Maximum count of results. default 20 minimum 0 maximum 100
- * @param imageType
- */
-class AppWidgetsGetGroupImages(
- private val offset: Int? = null,
- private val count: Int? = null,
- private val imageType: AppWidgetsGetGroupImagesImageType? = null
-) : ApiRequestBase(methodName = "appWidgets.getGroupImages") {
- init {
- offset?.let { value ->
- addParam("offset", value)
- }
- count?.let { value ->
- addParam("count", value)
- }
- imageType?.let { value ->
- addParam("image_type", value.value)
- }
- }
-
- override fun parse(r: JSONObject): AppWidgetsPhotos = GsonHolder.gson.fromJson(r.toString(),
- AppWidgetsGetGroupImagesResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetImagesById.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetImagesById.kt
deleted file mode 100644
index dbd144d44e..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsGetImagesById.kt
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhoto
-import com.vk.sdk.api.appWidgets.responses.AppWidgetsGetImagesByIdResponse
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns an image for community app widgets by its ID
- * @param images List of images IDs
- */
-class AppWidgetsGetImagesById(
- private val images: List
-) : ApiRequestBase>(methodName = "appWidgets.getImagesById") {
- init {
- addParam("images", images)
- }
-
- override fun parse(r: JSONObject): List =
- GsonHolder.gson.fromJson(r.toString(),
- AppWidgetsGetImagesByIdResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsSaveAppImage.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsSaveAppImage.kt
deleted file mode 100644
index bd694e63c8..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsSaveAppImage.kt
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhoto
-import com.vk.sdk.api.appWidgets.responses.AppWidgetsSaveAppImageResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Allows to save image into app collection for community app widgets
- * @param hash Parameter returned when photo is uploaded to server
- * @param image Parameter returned when photo is uploaded to server
- */
-class AppWidgetsSaveAppImage(
- private val hash: String,
- private val image: String
-) : ApiRequestBase(methodName = "appWidgets.saveAppImage") {
- init {
- addParam("hash", hash)
- addParam("image", image)
- }
-
- override fun parse(r: JSONObject): AppWidgetsPhoto = GsonHolder.gson.fromJson(r.toString(),
- AppWidgetsSaveAppImageResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsSaveGroupImage.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsSaveGroupImage.kt
deleted file mode 100644
index 3dcdb081e6..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsSaveGroupImage.kt
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhoto
-import com.vk.sdk.api.appWidgets.responses.AppWidgetsSaveGroupImageResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Allows to save image into community collection for community app widgets
- * @param hash Parameter returned when photo is uploaded to server
- * @param image Parameter returned when photo is uploaded to server
- */
-class AppWidgetsSaveGroupImage(
- private val hash: String,
- private val image: String
-) : ApiRequestBase(methodName = "appWidgets.saveGroupImage") {
- init {
- addParam("hash", hash)
- addParam("image", image)
- }
-
- override fun parse(r: JSONObject): AppWidgetsPhoto = GsonHolder.gson.fromJson(r.toString(),
- AppWidgetsSaveGroupImageResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsUpdate.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsUpdate.kt
deleted file mode 100644
index 48f3c6af33..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/methods/AppWidgetsUpdate.kt
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsUpdateType
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Allows to update community app widget
- * @param code maxLength 100000
- * @param type
- */
-class AppWidgetsUpdate(
- private val code: String,
- private val type: AppWidgetsUpdateType
-) : ApiRequestBase(methodName = "appWidgets.update") {
- init {
- addParam("code", code)
- addParam("type", type.value)
- }
-
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetAppImageUploadServerResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetAppImageUploadServerResponse.kt
deleted file mode 100644
index c953ca9328..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetAppImageUploadServerResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsGetAppImageUploadServerResponseDto
-
-/**
- * @param response no description
- */
-data class AppWidgetsGetAppImageUploadServerResponse(
- @SerializedName(value="response")
- val response: AppWidgetsGetAppImageUploadServerResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetAppImagesResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetAppImagesResponse.kt
deleted file mode 100644
index c8b75bbcfb..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetAppImagesResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhotos
-
-/**
- * @param response no description
- */
-data class AppWidgetsGetAppImagesResponse(
- @SerializedName(value="response")
- val response: AppWidgetsPhotos
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetGroupImageUploadServerResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetGroupImageUploadServerResponse.kt
deleted file mode 100644
index e115689e67..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetGroupImageUploadServerResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsGetGroupImageUploadServerResponseDto
-
-/**
- * @param response no description
- */
-data class AppWidgetsGetGroupImageUploadServerResponse(
- @SerializedName(value="response")
- val response: AppWidgetsGetGroupImageUploadServerResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetGroupImagesResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetGroupImagesResponse.kt
deleted file mode 100644
index 4287448094..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetGroupImagesResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhotos
-
-/**
- * @param response no description
- */
-data class AppWidgetsGetGroupImagesResponse(
- @SerializedName(value="response")
- val response: AppWidgetsPhotos
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetImagesByIdResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetImagesByIdResponse.kt
deleted file mode 100644
index 94555bf11d..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsGetImagesByIdResponse.kt
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhoto
-import kotlin.collections.List
-
-/**
- * @param response no description
- */
-data class AppWidgetsGetImagesByIdResponse(
- @SerializedName(value="response")
- val response: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsSaveAppImageResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsSaveAppImageResponse.kt
deleted file mode 100644
index 3c6cc46e64..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsSaveAppImageResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhoto
-
-/**
- * @param response no description
- */
-data class AppWidgetsSaveAppImageResponse(
- @SerializedName(value="response")
- val response: AppWidgetsPhoto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsSaveGroupImageResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsSaveGroupImageResponse.kt
deleted file mode 100644
index e3534ec9aa..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/appWidgets/responses/AppWidgetsSaveGroupImageResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.appWidgets.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.appWidgets.dto.AppWidgetsPhoto
-
-/**
- * @param response no description
- */
-data class AppWidgetsSaveGroupImageResponse(
- @SerializedName(value="response")
- val response: AppWidgetsPhoto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogFilter.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogFilter.kt
deleted file mode 100644
index bf0e17edae..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogFilter.kt
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppsGetCatalogFilter(
- val value: String
-) {
- FAVORITE("favorite"),
-
- FEATURED("featured"),
-
- INSTALLED("installed"),
-
- NEW("new");
-
- class Serializer : JsonSerializer, JsonDeserializer
- {
- override fun serialize(
- src: AppsGetCatalogFilter?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppsGetCatalogFilter {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogResponseDto.kt
deleted file mode 100644
index abb5d7e8fd..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogResponseDto.kt
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.users.dto.UsersUserMin
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total number
- * @param items no description
- * @param profiles no description
- */
-data class AppsGetCatalogResponseDto(
- @SerializedName(value="count")
- val count: Int? = null,
- @SerializedName(value="items")
- val items: List? = null,
- @SerializedName(value="profiles")
- val profiles: List? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogSort.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogSort.kt
deleted file mode 100644
index 3cba8f0964..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetCatalogSort.kt
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppsGetCatalogSort(
- val value: String
-) {
- POPULAR_TODAY("popular_today"),
-
- VISITORS("visitors"),
-
- CREATE_DATE("create_date"),
-
- GROWTH_RATE("growth_rate"),
-
- POPULAR_WEEK("popular_week");
-
- class Serializer : JsonSerializer, JsonDeserializer {
- override fun serialize(
- src: AppsGetCatalogSort?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppsGetCatalogSort {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetFriendsListResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetFriendsListResponseDto.kt
deleted file mode 100644
index 0a5b096563..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetFriendsListResponseDto.kt
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.users.dto.UsersUserFull
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total number
- * @param items no description
- */
-data class AppsGetFriendsListResponseDto(
- @SerializedName(value="count")
- val count: Int? = null,
- @SerializedName(value="items")
- val items: List? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetFriendsListType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetFriendsListType.kt
deleted file mode 100644
index 71a8a438bb..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetFriendsListType.kt
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppsGetFriendsListType(
- val value: String
-) {
- INVITE("invite"),
-
- REQUEST("request");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AppsGetFriendsListType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppsGetFriendsListType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardExtendedResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardExtendedResponseDto.kt
deleted file mode 100644
index 52eef76547..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardExtendedResponseDto.kt
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.users.dto.UsersUserMin
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total number
- * @param items no description
- * @param profiles no description
- */
-data class AppsGetLeaderboardExtendedResponseDto(
- @SerializedName(value="count")
- val count: Int? = null,
- @SerializedName(value="items")
- val items: List? = null,
- @SerializedName(value="profiles")
- val profiles: List? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardResponseDto.kt
deleted file mode 100644
index b9485c4ef5..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardResponseDto.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total number
- * @param items no description
- */
-data class AppsGetLeaderboardResponseDto(
- @SerializedName(value="count")
- val count: Int? = null,
- @SerializedName(value="items")
- val items: List? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardType.kt
deleted file mode 100644
index 021e2261b8..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetLeaderboardType.kt
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppsGetLeaderboardType(
- val value: String
-) {
- LEVEL("level"),
-
- POINTS("points"),
-
- SCORE("score");
-
- class Serializer : JsonSerializer,
- JsonDeserializer {
- override fun serialize(
- src: AppsGetLeaderboardType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppsGetLeaderboardType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetMiniAppPoliciesResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetMiniAppPoliciesResponseDto.kt
deleted file mode 100644
index 81ec89717c..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetMiniAppPoliciesResponseDto.kt
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.String
-
-/**
- * @param privacyPolicy URL of the app's privacy policy
- * @param terms URL of the app's terms
- */
-data class AppsGetMiniAppPoliciesResponseDto(
- @SerializedName(value="privacy_policy")
- val privacyPolicy: String? = null,
- @SerializedName(value="terms")
- val terms: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetNameCase.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetNameCase.kt
deleted file mode 100644
index 4a4decbd03..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetNameCase.kt
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppsGetNameCase(
- val value: String
-) {
- NOMINATIVE("nom"),
-
- GENITIVE("gen"),
-
- DATIVE("dat"),
-
- ACCUSATIVE("acc"),
-
- INSTRUMENTAL("ins"),
-
- PREPOSITIONAL("abl");
-
- class Serializer : JsonSerializer, JsonDeserializer {
- override fun serialize(
- src: AppsGetNameCase?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppsGetNameCase {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetPlatform.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetPlatform.kt
deleted file mode 100644
index 663d134c96..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetPlatform.kt
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppsGetPlatform(
- val value: String
-) {
- ANDROID("android"),
-
- IOS("ios"),
-
- WEB("web"),
-
- WINPHONE("winphone");
-
- class Serializer : JsonSerializer, JsonDeserializer {
- override fun serialize(
- src: AppsGetPlatform?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppsGetPlatform {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetResponseDto.kt
deleted file mode 100644
index a787cf3b07..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetResponseDto.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total number of applications
- * @param items List of applications
- */
-data class AppsGetResponseDto(
- @SerializedName(value="count")
- val count: Int? = null,
- @SerializedName(value="items")
- val items: List? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetScopesResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetScopesResponseDto.kt
deleted file mode 100644
index 662660214d..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetScopesResponseDto.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-import kotlin.collections.List
-
-/**
- * @param count Total number
- * @param items no description
- */
-data class AppsGetScopesResponseDto(
- @SerializedName(value="count")
- val count: Int,
- @SerializedName(value="items")
- val items: List
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetScopesType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetScopesType.kt
deleted file mode 100644
index b43f43a2d0..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsGetScopesType.kt
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppsGetScopesType(
- val value: String
-) {
- GROUP("group"),
-
- USER("user");
-
- class Serializer : JsonSerializer, JsonDeserializer {
- override fun serialize(
- src: AppsGetScopesType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppsGetScopesType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsImageUploadResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsImageUploadResponseDto.kt
deleted file mode 100644
index 12ff91c2fd..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsImageUploadResponseDto.kt
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.annotations.SerializedName
-import kotlin.String
-
-/**
- * @param hash Uploading hash
- * @param image Uploaded photo data
- */
-data class AppsImageUploadResponseDto(
- @SerializedName(value="hash")
- val hash: String? = null,
- @SerializedName(value="image")
- val image: String? = null
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsSendRequestType.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsSendRequestType.kt
deleted file mode 100644
index 3c3fc57057..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/dto/AppsSendRequestType.kt
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import java.lang.reflect.Type
-import kotlin.String
-
-enum class AppsSendRequestType(
- val value: String
-) {
- INVITE("invite"),
-
- REQUEST("request");
-
- class Serializer : JsonSerializer, JsonDeserializer {
- override fun serialize(
- src: AppsSendRequestType?,
- typeOfSrc: Type?,
- context: JsonSerializationContext?
- ): JsonElement = src?.let { JsonPrimitive(src.value) } ?: JsonNull.INSTANCE
-
- override fun deserialize(
- json: JsonElement?,
- typeOfT: Type?,
- context: JsonDeserializationContext?
- ): AppsSendRequestType {
- val value = values().firstOrNull {
- it.value.toString() == json?.asJsonPrimitive?.asString
- }
- return value ?: throw JsonParseException(json.toString())
- }
- }
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsDeleteAppRequests.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsDeleteAppRequests.kt
deleted file mode 100644
index 8570f61b15..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsDeleteAppRequests.kt
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseOkResponseDto
-import com.vk.sdk.api.base.responses.BaseOkResponse
-import org.json.JSONObject
-
-/**
- * Deletes all request notifications from the current app.
- */
-class AppsDeleteAppRequests : ApiRequestBase(methodName =
- "apps.deleteAppRequests") {
- override fun parse(r: JSONObject): BaseOkResponseDto = GsonHolder.gson.fromJson(r.toString(),
- BaseOkResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGet.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGet.kt
deleted file mode 100644
index 07b5901a82..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGet.kt
+++ /dev/null
@@ -1,95 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.dto.AppsGetNameCase
-import com.vk.sdk.api.apps.dto.AppsGetPlatform
-import com.vk.sdk.api.apps.dto.AppsGetResponseDto
-import com.vk.sdk.api.apps.responses.AppsGetResponse
-import com.vk.sdk.api.users.dto.UsersFields
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns applications data.
- * @param appId Application ID minimum 0
- * @param appIds List of application ID
- * @param platform platform. Possible values: *'ios' - iOS,, *'android' - Android,, *'winphone' -
- * Windows Phone,, *'web' - ---------- -- vk.com. By default: 'web'. default "web"
- * @param extended default 0
- * @param returnFriends default 0
- * @param fields Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate'
- * (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile',
- * 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity',
- * 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities', (only if
- * return_friends - 1)
- * @param nameCase Case for declension of user name and surname: 'nom' - nominative (default),,
- * 'gen' - genitive,, 'dat' - dative,, 'acc' - accusative,, 'ins' - instrumental,, 'abl' -
- * prepositional. (only if 'return_friends' = '1')
- */
-class AppsGet(
- private val appId: Int? = null,
- private val appIds: List? = null,
- private val platform: AppsGetPlatform? = null,
- private val extended: Boolean? = null,
- private val returnFriends: Boolean? = null,
- private val fields: List? = null,
- private val nameCase: AppsGetNameCase? = null
-) : ApiRequestBase(methodName = "apps.get") {
- init {
- appId?.let { value ->
- addParam("app_id", value)
- }
- appIds?.let { value ->
- addParam("app_ids", value)
- }
- platform?.let { value ->
- addParam("platform", value.value)
- }
- extended?.let { value ->
- addParam("extended", if (value) 1 else 0)
- }
- returnFriends?.let { value ->
- addParam("return_friends", if (value) 1 else 0)
- }
- fields?.let { value ->
- addParam("fields", value)
- }
- nameCase?.let { value ->
- addParam("name_case", value.value)
- }
- }
-
- override fun parse(r: JSONObject): AppsGetResponseDto = GsonHolder.gson.fromJson(r.toString(),
- AppsGetResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetCatalog.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetCatalog.kt
deleted file mode 100644
index 9eb028561f..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetCatalog.kt
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.dto.AppsGetCatalogFilter
-import com.vk.sdk.api.apps.dto.AppsGetCatalogResponseDto
-import com.vk.sdk.api.apps.dto.AppsGetCatalogSort
-import com.vk.sdk.api.apps.responses.AppsGetCatalogResponse
-import com.vk.sdk.api.users.dto.UsersFields
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Returns a list of applications (apps) available to users in the App Catalog.
- * @param count Number of apps to return. default 100 minimum 0
- * @param sort Sort order: 'popular_today' - popular for one day (default), 'visitors' - by visitors
- * number , 'create_date' - by creation date, 'growth_rate' - by growth rate, 'popular_week' - popular
- * for one week
- * @param offset Offset required to return a specific subset of apps. minimum 0
- * @param platform
- * @param extended '1' - to return additional fields 'screenshots', 'MAU', 'catalog_position', and
- * 'international'. If set, 'count' must be less than or equal to '100'. '0' - not to return additional
- * fields (default).
- * @param returnFriends
- * @param fields
- * @param nameCase
- * @param q Search query string.
- * @param genreId minimum 0
- * @param filter 'installed' - to return list of installed apps (only for mobile platform).
- */
-class AppsGetCatalog(
- private val count: Int,
- private val sort: AppsGetCatalogSort? = null,
- private val offset: Int? = null,
- private val platform: String? = null,
- private val extended: Boolean? = null,
- private val returnFriends: Boolean? = null,
- private val fields: List? = null,
- private val nameCase: String? = null,
- private val q: String? = null,
- private val genreId: Int? = null,
- private val filter: AppsGetCatalogFilter? = null
-) : ApiRequestBase(methodName = "apps.getCatalog") {
- init {
- addParam("count", count)
- sort?.let { value ->
- addParam("sort", value.value)
- }
- offset?.let { value ->
- addParam("offset", value)
- }
- platform?.let { value ->
- addParam("platform", value)
- }
- extended?.let { value ->
- addParam("extended", if (value) 1 else 0)
- }
- returnFriends?.let { value ->
- addParam("return_friends", if (value) 1 else 0)
- }
- fields?.let { value ->
- addParam("fields", value)
- }
- nameCase?.let { value ->
- addParam("name_case", value)
- }
- q?.let { value ->
- addParam("q", value)
- }
- genreId?.let { value ->
- addParam("genre_id", value)
- }
- filter?.let { value ->
- addParam("filter", value.value)
- }
- }
-
- override fun parse(r: JSONObject): AppsGetCatalogResponseDto =
- GsonHolder.gson.fromJson(r.toString(), AppsGetCatalogResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetFriendsList.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetFriendsList.kt
deleted file mode 100644
index b07525ac0c..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetFriendsList.kt
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.dto.AppsGetFriendsListResponseDto
-import com.vk.sdk.api.apps.dto.AppsGetFriendsListType
-import com.vk.sdk.api.apps.responses.AppsGetFriendsListResponse
-import com.vk.sdk.api.users.dto.UsersFields
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.collections.List
-import org.json.JSONObject
-
-/**
- * Creates friends list for requests and invites in current app.
- * @param extended default 0
- * @param count List size. default 20 minimum 0 maximum 5000
- * @param offset default 0 minimum 0
- * @param type List type. Possible values: * 'invite' - available for invites (don't play the
- * game),, * 'request' - available for request (play the game). By default: 'invite'. default "invite"
- * @param fields Additional profile fields, see [vk.com/dev/fields|description].
- */
-class AppsGetFriendsList(
- private val extended: Boolean? = null,
- private val count: Int? = null,
- private val offset: Int? = null,
- private val type: AppsGetFriendsListType? = null,
- private val fields: List? = null
-) : ApiRequestBase(methodName = "apps.getFriendsList") {
- init {
- extended?.let { value ->
- addParam("extended", if (value) 1 else 0)
- }
- count?.let { value ->
- addParam("count", value)
- }
- offset?.let { value ->
- addParam("offset", value)
- }
- type?.let { value ->
- addParam("type", value.value)
- }
- fields?.let { value ->
- addParam("fields", value)
- }
- }
-
- override fun parse(r: JSONObject): AppsGetFriendsListResponseDto =
- GsonHolder.gson.fromJson(r.toString(), AppsGetFriendsListResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetLeaderboard.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetLeaderboard.kt
deleted file mode 100644
index aa3e964495..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetLeaderboard.kt
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.dto.AppsGetLeaderboardResponseDto
-import com.vk.sdk.api.apps.dto.AppsGetLeaderboardType
-import com.vk.sdk.api.apps.responses.AppsGetLeaderboardResponse
-import kotlin.Boolean
-import org.json.JSONObject
-
-/**
- * Returns players rating in the game.
- * @param type Leaderboard type. Possible values: *'level' - by level,, *'points' - by mission
- * points,, *'score' - by score ().
- * @param global Rating type. Possible values: *'1' - global rating among all players,, *'0' -
- * rating among user friends. default 1
- * @param extended 1 - to return additional info about users default 0
- */
-class AppsGetLeaderboard(
- private val type: AppsGetLeaderboardType,
- private val global: Boolean? = null,
- private val extended: Boolean? = null
-) : ApiRequestBase(methodName = "apps.getLeaderboard") {
- init {
- addParam("type", type.value)
- global?.let { value ->
- addParam("global", if (value) 1 else 0)
- }
- extended?.let { value ->
- addParam("extended", if (value) 1 else 0)
- }
- }
-
- override fun parse(r: JSONObject): AppsGetLeaderboardResponseDto =
- GsonHolder.gson.fromJson(r.toString(), AppsGetLeaderboardResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetLeaderboardExtended.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetLeaderboardExtended.kt
deleted file mode 100644
index e042642578..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetLeaderboardExtended.kt
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.dto.AppsGetLeaderboardExtendedResponseDto
-import com.vk.sdk.api.apps.dto.AppsGetLeaderboardType
-import com.vk.sdk.api.apps.responses.AppsGetLeaderboardExtendedResponse
-import kotlin.Boolean
-import org.json.JSONObject
-
-/**
- * Returns players rating in the game.
- * @param type Leaderboard type. Possible values: *'level' - by level,, *'points' - by mission
- * points,, *'score' - by score ().
- * @param global Rating type. Possible values: *'1' - global rating among all players,, *'0' -
- * rating among user friends. default 1
- * @param extended 1 - to return additional info about users default 0
- */
-class AppsGetLeaderboardExtended(
- private val type: AppsGetLeaderboardType,
- private val global: Boolean? = null,
- private val extended: Boolean? = null
-) : ApiRequestBase(methodName = "apps.getLeaderboard") {
- init {
- addParam("type", type.value)
- global?.let { value ->
- addParam("global", if (value) 1 else 0)
- }
- extended?.let { value ->
- addParam("extended", if (value) 1 else 0)
- }
- }
-
- override fun parse(r: JSONObject): AppsGetLeaderboardExtendedResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AppsGetLeaderboardExtendedResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetMiniAppPolicies.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetMiniAppPolicies.kt
deleted file mode 100644
index f349fc0731..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetMiniAppPolicies.kt
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.dto.AppsGetMiniAppPoliciesResponseDto
-import com.vk.sdk.api.apps.responses.AppsGetMiniAppPoliciesResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns policies and terms given to a mini app.
- * @param appId Mini App ID minimum 0
- */
-class AppsGetMiniAppPolicies(
- private val appId: Int
-) : ApiRequestBase(methodName = "apps.getMiniAppPolicies") {
- init {
- addParam("app_id", appId)
- }
-
- override fun parse(r: JSONObject): AppsGetMiniAppPoliciesResponseDto =
- GsonHolder.gson.fromJson(r.toString(),
- AppsGetMiniAppPoliciesResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetScopes.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetScopes.kt
deleted file mode 100644
index 0e32c424d8..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetScopes.kt
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.dto.AppsGetScopesResponseDto
-import com.vk.sdk.api.apps.dto.AppsGetScopesType
-import com.vk.sdk.api.apps.responses.AppsGetScopesResponse
-import org.json.JSONObject
-
-/**
- * Returns scopes for auth
- * @param type default "user"
- */
-class AppsGetScopes(
- private val type: AppsGetScopesType? = null
-) : ApiRequestBase(methodName = "apps.getScopes") {
- init {
- type?.let { value ->
- addParam("type", value.value)
- }
- }
-
- override fun parse(r: JSONObject): AppsGetScopesResponseDto =
- GsonHolder.gson.fromJson(r.toString(), AppsGetScopesResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetScore.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetScore.kt
deleted file mode 100644
index 4dda80ce10..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsGetScore.kt
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.responses.AppsGetScoreResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * Returns user score in app
- * @param userId minimum 0
- */
-class AppsGetScore(
- private val userId: Int
-) : ApiRequestBase(methodName = "apps.getScore") {
- init {
- addParam("user_id", userId)
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AppsGetScoreResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsPromoHasActiveGift.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsPromoHasActiveGift.kt
deleted file mode 100644
index fb8ac0c1e4..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsPromoHasActiveGift.kt
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseBoolInt
-import com.vk.sdk.api.base.responses.BaseBoolResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * @param promoId Id of game promo action minimum 0
- * @param userId minimum 0
- */
-class AppsPromoHasActiveGift(
- private val promoId: Int,
- private val userId: Int? = null
-) : ApiRequestBase(methodName = "apps.promoHasActiveGift") {
- init {
- addParam("promo_id", promoId)
- userId?.let { value ->
- addParam("user_id", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseBoolInt = GsonHolder.gson.fromJson(r.toString(),
- BaseBoolResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsPromoUseGift.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsPromoUseGift.kt
deleted file mode 100644
index 80c6c7d7e6..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsPromoUseGift.kt
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.base.dto.BaseBoolInt
-import com.vk.sdk.api.base.responses.BaseBoolResponse
-import kotlin.Int
-import org.json.JSONObject
-
-/**
- * @param promoId Id of game promo action minimum 0
- * @param userId minimum 0
- */
-class AppsPromoUseGift(
- private val promoId: Int,
- private val userId: Int? = null
-) : ApiRequestBase(methodName = "apps.promoUseGift") {
- init {
- addParam("promo_id", promoId)
- userId?.let { value ->
- addParam("user_id", value)
- }
- }
-
- override fun parse(r: JSONObject): BaseBoolInt = GsonHolder.gson.fromJson(r.toString(),
- BaseBoolResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsSendRequest.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsSendRequest.kt
deleted file mode 100644
index 675cba17a7..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/methods/AppsSendRequest.kt
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.methods
-
-import com.vk.sdk.api.ApiRequestBase
-import com.vk.sdk.api.GsonHolder
-import com.vk.sdk.api.apps.dto.AppsSendRequestType
-import com.vk.sdk.api.apps.responses.AppsSendRequestResponse
-import kotlin.Boolean
-import kotlin.Int
-import kotlin.String
-import org.json.JSONObject
-
-/**
- * Sends a request to another user in an app that uses VK authorization.
- * @param userId id of the user to send a request minimum 0
- * @param text request text
- * @param type request type. Values: 'invite' - if the request is sent to a user who does not have
- * the app installed,, 'request' - if a user has already installed the app default "request"
- * @param name maxLength 128
- * @param key special string key to be sent with the request
- * @param separate
- */
-class AppsSendRequest(
- private val userId: Int,
- private val text: String? = null,
- private val type: AppsSendRequestType? = null,
- private val name: String? = null,
- private val key: String? = null,
- private val separate: Boolean? = null
-) : ApiRequestBase(methodName = "apps.sendRequest") {
- init {
- addParam("user_id", userId)
- text?.let { value ->
- addParam("text", value)
- }
- type?.let { value ->
- addParam("type", value.value)
- }
- name?.let { value ->
- addParam("name", value)
- }
- key?.let { value ->
- addParam("key", value)
- }
- separate?.let { value ->
- addParam("separate", if (value) 1 else 0)
- }
- }
-
- override fun parse(r: JSONObject): Int = GsonHolder.gson.fromJson(r.toString(),
- AppsSendRequestResponse::class.java).response
-}
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetCatalogResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetCatalogResponse.kt
deleted file mode 100644
index 2d9a112167..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetCatalogResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.apps.dto.AppsGetCatalogResponseDto
-
-/**
- * @param response no description
- */
-data class AppsGetCatalogResponse(
- @SerializedName(value="response")
- val response: AppsGetCatalogResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetFriendsListResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetFriendsListResponse.kt
deleted file mode 100644
index 18fd3d7997..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetFriendsListResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.apps.dto.AppsGetFriendsListResponseDto
-
-/**
- * @param response no description
- */
-data class AppsGetFriendsListResponse(
- @SerializedName(value="response")
- val response: AppsGetFriendsListResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetLeaderboardExtendedResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetLeaderboardExtendedResponse.kt
deleted file mode 100644
index 1fd50faf10..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetLeaderboardExtendedResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.apps.dto.AppsGetLeaderboardExtendedResponseDto
-
-/**
- * @param response no description
- */
-data class AppsGetLeaderboardExtendedResponse(
- @SerializedName(value="response")
- val response: AppsGetLeaderboardExtendedResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetLeaderboardResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetLeaderboardResponse.kt
deleted file mode 100644
index 626f89a49d..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetLeaderboardResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.apps.dto.AppsGetLeaderboardResponseDto
-
-/**
- * @param response no description
- */
-data class AppsGetLeaderboardResponse(
- @SerializedName(value="response")
- val response: AppsGetLeaderboardResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetMiniAppPoliciesResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetMiniAppPoliciesResponse.kt
deleted file mode 100644
index bc543ccd01..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetMiniAppPoliciesResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.apps.dto.AppsGetMiniAppPoliciesResponseDto
-
-/**
- * @param response no description
- */
-data class AppsGetMiniAppPoliciesResponse(
- @SerializedName(value="response")
- val response: AppsGetMiniAppPoliciesResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetResponse.kt
deleted file mode 100644
index f56e9e5545..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.apps.dto.AppsGetResponseDto
-
-/**
- * @param response no description
- */
-data class AppsGetResponse(
- @SerializedName(value="response")
- val response: AppsGetResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetScopesResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetScopesResponse.kt
deleted file mode 100644
index d256db3118..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetScopesResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.apps.dto.AppsGetScopesResponseDto
-
-/**
- * @param response no description
- */
-data class AppsGetScopesResponse(
- @SerializedName(value="response")
- val response: AppsGetScopesResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetScoreResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetScoreResponse.kt
deleted file mode 100644
index 0e878dda9b..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsGetScoreResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response Score number
- */
-data class AppsGetScoreResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsImageUploadResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsImageUploadResponse.kt
deleted file mode 100644
index 922ce30f86..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsImageUploadResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import com.vk.sdk.api.apps.dto.AppsImageUploadResponseDto
-
-/**
- * @param response no description
- */
-data class AppsImageUploadResponse(
- @SerializedName(value="response")
- val response: AppsImageUploadResponseDto
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsSendRequestResponse.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsSendRequestResponse.kt
deleted file mode 100644
index d295eb3cf1..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/apps/responses/AppsSendRequestResponse.kt
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.apps.responses
-
-import com.google.gson.annotations.SerializedName
-import kotlin.Int
-
-/**
- * @param response Request ID
- */
-data class AppsSendRequestResponse(
- @SerializedName(value="response")
- val response: Int
-)
diff --git a/vk-sdk-api/src/main/java/com/vk/sdk/api/auth/dto/AuthRestoreResponseDto.kt b/vk-sdk-api/src/main/java/com/vk/sdk/api/auth/dto/AuthRestoreResponseDto.kt
deleted file mode 100644
index d54e419c0a..0000000000
--- a/vk-sdk-api/src/main/java/com/vk/sdk/api/auth/dto/AuthRestoreResponseDto.kt
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * The MIT License (MIT)
- *
- * Copyright (c) 2019 vk.com
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
-*/
-// *********************************************************************
-// THIS FILE IS AUTO GENERATED!
-// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING.
-// *********************************************************************
-package com.vk.sdk.api.auth.dto
-
-import com.google.gson.JsonDeserializationContext
-import com.google.gson.JsonDeserializer
-import com.google.gson.JsonElement
-import com.google.gson.JsonNull
-import com.google.gson.JsonParseException
-import com.google.gson.JsonPrimitive
-import com.google.gson.JsonSerializationContext
-import com.google.gson.JsonSerializer
-import com.google.gson.annotations.SerializedName
-import java.lang.reflect.Type
-import kotlin.Int
-import kotlin.String
-
-/**
- * @param success 1 if success
- * @param sid Parameter needed to grant access by code
- */
-data class AuthRestoreResponseDto(
- @SerializedName(value="success")
- val success: Success? = null,
- @SerializedName(value="sid")
- val sid: String? = null
-) {
- enum class Success(
- val value: Int
- ) {
- OK(1);
-
- class Serializer : JsonSerializer