Package dev.postproxy.sdk.param
Record Class PlatformParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.PlatformParams
public record PlatformParams(FacebookParams facebook, InstagramParams instagram, TikTokParams tiktok, LinkedInParams linkedin, YouTubeParams youtube, PinterestParams pinterest, ThreadsParams threads, TwitterParams twitter, BlueskyParams bluesky, TelegramParams telegram, Map<String,Object> googleBusiness)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPlatformParams(FacebookParams facebook, InstagramParams instagram, TikTokParams tiktok, LinkedInParams linkedin, YouTubeParams youtube, PinterestParams pinterest, ThreadsParams threads, TwitterParams twitter, BlueskyParams bluesky, TelegramParams telegram, Map<String, Object> googleBusiness) Creates an instance of aPlatformParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbluesky()Returns the value of theblueskyrecord component.static PlatformParams.Builderbuilder()final booleanIndicates whether some other object is "equal to" this one.facebook()Returns the value of thefacebookrecord component.Returns the value of thegoogleBusinessrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinstagramrecord component.linkedin()Returns the value of thelinkedinrecord component.Returns the value of thepinterestrecord component.telegram()Returns the value of thetelegramrecord component.threads()Returns the value of thethreadsrecord component.tiktok()Returns the value of thetiktokrecord component.final StringtoString()Returns a string representation of this record class.twitter()Returns the value of thetwitterrecord component.youtube()Returns the value of theyoutuberecord component.
-
Constructor Details
-
PlatformParams
public PlatformParams(FacebookParams facebook, InstagramParams instagram, TikTokParams tiktok, LinkedInParams linkedin, YouTubeParams youtube, PinterestParams pinterest, ThreadsParams threads, TwitterParams twitter, BlueskyParams bluesky, TelegramParams telegram, Map<String, Object> googleBusiness) Creates an instance of aPlatformParamsrecord class.- Parameters:
facebook- the value for thefacebookrecord componentinstagram- the value for theinstagramrecord componenttiktok- the value for thetiktokrecord componentlinkedin- the value for thelinkedinrecord componentyoutube- the value for theyoutuberecord componentpinterest- the value for thepinterestrecord componentthreads- the value for thethreadsrecord componenttwitter- the value for thetwitterrecord componentbluesky- the value for theblueskyrecord componenttelegram- the value for thetelegramrecord componentgoogleBusiness- the value for thegoogleBusinessrecord component
-
-
Method Details
-
builder
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
facebook
Returns the value of thefacebookrecord component.- Returns:
- the value of the
facebookrecord component
-
instagram
Returns the value of theinstagramrecord component.- Returns:
- the value of the
instagramrecord component
-
tiktok
Returns the value of thetiktokrecord component.- Returns:
- the value of the
tiktokrecord component
-
linkedin
Returns the value of thelinkedinrecord component.- Returns:
- the value of the
linkedinrecord component
-
youtube
Returns the value of theyoutuberecord component.- Returns:
- the value of the
youtuberecord component
-
pinterest
Returns the value of thepinterestrecord component.- Returns:
- the value of the
pinterestrecord component
-
threads
Returns the value of thethreadsrecord component.- Returns:
- the value of the
threadsrecord component
-
twitter
Returns the value of thetwitterrecord component.- Returns:
- the value of the
twitterrecord component
-
bluesky
Returns the value of theblueskyrecord component.- Returns:
- the value of the
blueskyrecord component
-
telegram
Returns the value of thetelegramrecord component.- Returns:
- the value of the
telegramrecord component
-
googleBusiness
Returns the value of thegoogleBusinessrecord component.- Returns:
- the value of the
googleBusinessrecord component
-