-
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/dependency_vulnerability
- Loading branch information
Showing
21 changed files
with
416 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
tests: | ||
- src/test/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: 'src/test/**/*' | ||
|
||
java: | ||
- '**/*.java' | ||
- changed-files: | ||
- any-glob-to-any-file: '**/*.java' | ||
|
||
documentation: | ||
- '**/*.md' | ||
- changed-files: | ||
- any-glob-to-any-file: '**/*.md' | ||
|
||
markdown: | ||
- '**/*.md' | ||
- changed-files: | ||
- any-glob-to-any-file: '**/*.md' | ||
|
||
github-actions: | ||
- .github/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: '.github/**/*' | ||
|
||
dependencies: | ||
- pom.xml | ||
- changed-files: | ||
- any-glob-to-any-file: 'pom.xml' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/java/com/whatsapp/api/domain/phone/Throughput.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.whatsapp.api.domain.phone; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonInclude.Include; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.whatsapp.api.domain.phone.type.LevelType; | ||
|
||
/** | ||
* The type Throughput. | ||
*/ | ||
@JsonInclude(value = Include.NON_NULL) | ||
public record Throughput( | ||
|
||
@JsonProperty("level") LevelType Level) | ||
{ | ||
} |
38 changes: 38 additions & 0 deletions
38
src/main/java/com/whatsapp/api/domain/phone/type/LevelType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package com.whatsapp.api.domain.phone.type; | ||
|
||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** | ||
* The enum Level type. | ||
*/ | ||
public enum LevelType | ||
{ | ||
|
||
/** | ||
* Standard Level type. | ||
*/ | ||
STANDARD("STANDARD"), | ||
/** | ||
* High Level type. | ||
*/ | ||
HIGH("HIGH"), | ||
NOT_APPLICABLE("NOT_APPLICABLE"); | ||
|
||
private final String value; | ||
|
||
LevelType(String value) | ||
{ | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Gets value. | ||
* | ||
* @return the value | ||
*/ | ||
@JsonValue | ||
public String getValue() | ||
{ | ||
return value; | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
src/main/java/com/whatsapp/api/domain/phone/type/PlatformType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package com.whatsapp.api.domain.phone.type; | ||
|
||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** | ||
* The enum Platform type. | ||
*/ | ||
public enum PlatformType | ||
{ | ||
|
||
/** | ||
* Cloud API Platform type. | ||
*/ | ||
CLOUD_API("CLOUD_API"), | ||
/** | ||
* On-Premises API Platform type. | ||
*/ | ||
ON_PREMISE("ON_PREMISE"), | ||
NOT_APPLICABLE("NOT_APPLICABLE"); | ||
|
||
private final String value; | ||
|
||
PlatformType(String value) | ||
{ | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Gets value. | ||
* | ||
* @return the value | ||
*/ | ||
@JsonValue | ||
public String getValue() | ||
{ | ||
return value; | ||
} | ||
} |
Oops, something went wrong.