-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25b823b
commit e562a15
Showing
3 changed files
with
37 additions
and
0 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
15 changes: 15 additions & 0 deletions
15
templates/client/src/main/java/conversation/ConversationQuickStart.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,15 @@ | ||
package conversation; | ||
|
||
import com.sinch.sdk.domains.conversation.api.v1.ConversationService; | ||
|
||
public class ConversationQuickStart { | ||
|
||
private final ConversationService conversationService; | ||
|
||
public ConversationQuickStart(ConversationService conversationService) { | ||
this.conversationService = conversationService; | ||
|
||
// replace by your code and business logic | ||
Snippet.execute(this.conversationService); | ||
} | ||
} |
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,14 @@ | ||
package conversation; | ||
|
||
import com.sinch.sdk.domains.conversation.*; | ||
import java.util.logging.Logger; | ||
|
||
public class Snippet { | ||
|
||
private static final Logger LOGGER = Logger.getLogger(Snippet.class.getName()); | ||
|
||
static void execute(ConversationService conversationService) { | ||
|
||
LOGGER.info("Snippet execution"); | ||
} | ||
} |