- BlueskyPlatformData
- FacebookPlatformData
- GoogleBusinessPlatformData
- InstagramPlatformData
- LinkedInPlatformData
- PinterestPlatformData
- RedditPlatformData
- SnapchatPlatformData
- TelegramPlatformData
- ThreadsPlatformData
- TikTokPlatformData
- TwitterPlatformData
- YouTubePlatformData
// Import classes:
import dev.getlate.model.CreatePostRequestPlatformsInnerPlatformSpecificData;
import dev.getlate.model.BlueskyPlatformData;
import dev.getlate.model.FacebookPlatformData;
import dev.getlate.model.GoogleBusinessPlatformData;
import dev.getlate.model.InstagramPlatformData;
import dev.getlate.model.LinkedInPlatformData;
import dev.getlate.model.PinterestPlatformData;
import dev.getlate.model.RedditPlatformData;
import dev.getlate.model.SnapchatPlatformData;
import dev.getlate.model.TelegramPlatformData;
import dev.getlate.model.ThreadsPlatformData;
import dev.getlate.model.TikTokPlatformData;
import dev.getlate.model.TwitterPlatformData;
import dev.getlate.model.YouTubePlatformData;
public class Example {
public static void main(String[] args) {
CreatePostRequestPlatformsInnerPlatformSpecificData exampleCreatePostRequestPlatformsInnerPlatformSpecificData = new CreatePostRequestPlatformsInnerPlatformSpecificData();
// create a new BlueskyPlatformData
BlueskyPlatformData exampleBlueskyPlatformData = new BlueskyPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to BlueskyPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleBlueskyPlatformData);
// to get back the BlueskyPlatformData set earlier
BlueskyPlatformData testBlueskyPlatformData = (BlueskyPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new FacebookPlatformData
FacebookPlatformData exampleFacebookPlatformData = new FacebookPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to FacebookPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleFacebookPlatformData);
// to get back the FacebookPlatformData set earlier
FacebookPlatformData testFacebookPlatformData = (FacebookPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new GoogleBusinessPlatformData
GoogleBusinessPlatformData exampleGoogleBusinessPlatformData = new GoogleBusinessPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to GoogleBusinessPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleGoogleBusinessPlatformData);
// to get back the GoogleBusinessPlatformData set earlier
GoogleBusinessPlatformData testGoogleBusinessPlatformData = (GoogleBusinessPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new InstagramPlatformData
InstagramPlatformData exampleInstagramPlatformData = new InstagramPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to InstagramPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleInstagramPlatformData);
// to get back the InstagramPlatformData set earlier
InstagramPlatformData testInstagramPlatformData = (InstagramPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new LinkedInPlatformData
LinkedInPlatformData exampleLinkedInPlatformData = new LinkedInPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to LinkedInPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleLinkedInPlatformData);
// to get back the LinkedInPlatformData set earlier
LinkedInPlatformData testLinkedInPlatformData = (LinkedInPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new PinterestPlatformData
PinterestPlatformData examplePinterestPlatformData = new PinterestPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to PinterestPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(examplePinterestPlatformData);
// to get back the PinterestPlatformData set earlier
PinterestPlatformData testPinterestPlatformData = (PinterestPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new RedditPlatformData
RedditPlatformData exampleRedditPlatformData = new RedditPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to RedditPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleRedditPlatformData);
// to get back the RedditPlatformData set earlier
RedditPlatformData testRedditPlatformData = (RedditPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new SnapchatPlatformData
SnapchatPlatformData exampleSnapchatPlatformData = new SnapchatPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to SnapchatPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleSnapchatPlatformData);
// to get back the SnapchatPlatformData set earlier
SnapchatPlatformData testSnapchatPlatformData = (SnapchatPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new TelegramPlatformData
TelegramPlatformData exampleTelegramPlatformData = new TelegramPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to TelegramPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleTelegramPlatformData);
// to get back the TelegramPlatformData set earlier
TelegramPlatformData testTelegramPlatformData = (TelegramPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new ThreadsPlatformData
ThreadsPlatformData exampleThreadsPlatformData = new ThreadsPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to ThreadsPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleThreadsPlatformData);
// to get back the ThreadsPlatformData set earlier
ThreadsPlatformData testThreadsPlatformData = (ThreadsPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new TikTokPlatformData
TikTokPlatformData exampleTikTokPlatformData = new TikTokPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to TikTokPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleTikTokPlatformData);
// to get back the TikTokPlatformData set earlier
TikTokPlatformData testTikTokPlatformData = (TikTokPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new TwitterPlatformData
TwitterPlatformData exampleTwitterPlatformData = new TwitterPlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to TwitterPlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleTwitterPlatformData);
// to get back the TwitterPlatformData set earlier
TwitterPlatformData testTwitterPlatformData = (TwitterPlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
// create a new YouTubePlatformData
YouTubePlatformData exampleYouTubePlatformData = new YouTubePlatformData();
// set CreatePostRequestPlatformsInnerPlatformSpecificData to YouTubePlatformData
exampleCreatePostRequestPlatformsInnerPlatformSpecificData.setActualInstance(exampleYouTubePlatformData);
// to get back the YouTubePlatformData set earlier
YouTubePlatformData testYouTubePlatformData = (YouTubePlatformData) exampleCreatePostRequestPlatformsInnerPlatformSpecificData.getActualInstance();
}
}