Skip to content

Commit feae951

Browse files
Initial Project Added
0 parents  commit feae951

File tree

455 files changed

+70040
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

455 files changed

+70040
-0
lines changed

AvataryugJavaSDK/.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Gradle files
2+
.gradle/
3+
build/
4+
5+
# Local configuration file (sdk path, etc)
6+
local.properties
7+
8+
# Log/OS Files
9+
*.log
10+
11+
# Android Studio generated files and folders
12+
captures/
13+
.externalNativeBuild/
14+
.cxx/
15+
*.apk
16+
output.json
17+
18+
# IntelliJ
19+
*.iml
20+
.idea/
21+
misc.xml
22+
deploymentTargetDropDown.xml
23+
render.experimental.xml
24+
25+
# Keystore files
26+
*.jks
27+
*.keystore
28+
29+
# Google Services (e.g. APIs or Firebase)
30+
google-services.json
31+
32+
# Android Profiling
33+
*.hprof

AvataryugJavaSDK/app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

AvataryugJavaSDK/app/build.gradle

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
plugins {
2+
id 'com.android.application'
3+
}
4+
5+
android {
6+
namespace 'com.example.myjavasdkandroid'
7+
compileSdk 33
8+
9+
defaultConfig {
10+
applicationId "com.example.myjavasdkandroid"
11+
minSdk 24
12+
targetSdk 33
13+
versionCode 1
14+
versionName "1.0"
15+
16+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17+
}
18+
packagingOptions {
19+
exclude 'META-INF/DEPENDENCIES'
20+
}
21+
buildTypes {
22+
release {
23+
minifyEnabled false
24+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
25+
}
26+
}
27+
compileOptions {
28+
sourceCompatibility JavaVersion.VERSION_1_8
29+
targetCompatibility JavaVersion.VERSION_1_8
30+
}
31+
}
32+
ext {
33+
swagger_annotations_version = "1.6.6"
34+
gson_version = "2.8.9"
35+
httpmime_version = "4.5.13"
36+
volley_version = "1.2.1"
37+
junit_version = "4.13.2"
38+
robolectric_version = "4.5.1"
39+
concurrent_unit_version = "0.4.6"
40+
}
41+
dependencies {
42+
43+
implementation 'androidx.appcompat:appcompat:1.6.1'
44+
implementation 'com.google.android.material:material:1.5.0'
45+
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
46+
implementation 'androidx.gridlayout:gridlayout:1.0.0'
47+
testImplementation 'junit:junit:4.13.2'
48+
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
49+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
50+
implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
51+
implementation "com.google.code.gson:gson:$gson_version"
52+
implementation "org.apache.httpcomponents:httpmime:$httpmime_version"
53+
implementation "com.android.volley:volley:${volley_version}"
54+
testImplementation "org.robolectric:robolectric:${robolectric_version}"
55+
testImplementation "net.jodah:concurrentunit:${concurrent_unit_version}"
56+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/**
2+
* Client
3+
* AvatarYug Client side API
4+
*
5+
* The version of the OpenAPI document: 1.0
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
package org.openapitools.client;
14+
15+
public class ApiException extends Exception {
16+
int code = 0;
17+
String message = null;
18+
19+
public ApiException() {}
20+
21+
public ApiException(int code, String message) {
22+
this.code = code;
23+
this.message = message;
24+
}
25+
26+
/**
27+
* Get the HTTP status code.
28+
*
29+
* @return HTTP status code
30+
*/
31+
public int getCode() {
32+
return code;
33+
}
34+
35+
/**
36+
* Set the HTTP status code.
37+
*
38+
* @param code HTTP status code.
39+
*/
40+
public void setCode(int code) {
41+
this.code = code;
42+
}
43+
44+
/**
45+
* Get the error message.
46+
*
47+
* @return Error message.
48+
*/
49+
public String getMessage() {
50+
return message;
51+
}
52+
53+
/**
54+
* Set the error messages.
55+
*
56+
* @param message Error message.
57+
*/
58+
public void setMessage(String message) {
59+
this.message = message;
60+
}
61+
62+
@Override
63+
public String toString() {
64+
return "ApiException{" +
65+
"code=" + code +
66+
", message=" + message +
67+
'}';
68+
}
69+
}

0 commit comments

Comments
 (0)