Class Target
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Target
Target
Base object for all content types. Representation of a blogpost (content)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe account ID of the user, which uniquely identifies the user across all Atlassian products.protected StringThe account type of the user, may return empty string if unavailable.protected Stringprotected Stringprotected Stringprotected Bodye84B79Shows whether a piece of content has attachments, comments, or child pages/whiteboards.Container for content.protected Descriptionprotected UserDetailsprotected StringThe displays name of the user.protected StringThe email address of the user.protected Expandable52D461protected Objectprotected BooleanThis is deprecated.protected Historyprotected ContentBase object for all content types.protected IconThis object represents an icon.protected Longprotected BooleanThis is deprecated.protected BooleanWhether the user is a guest userprotected Stringprotected LookAndFeelLook and feel settings returned after an update.protected Metadata5Bfc61protected Stringprotected List<OperationCheckResult>protected List<SpacePermission>protected Spaceprotected IconThis object represents an icon.protected StringThe public name or nickname of the user.protected Restrictionsbc3Afcprotected SpaceSettingsprotected Spaceprotected Stringprotected Themeprotected StringThis displays user time zone.protected Stringprotected Stringprotected StringThis property is no longer available and will be removed from the documentation soon.protected StringThis property is no longer available and will be removed from the documentation soon.protected Version -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTarget()Target(Long id, String type, String status, String title, Space space, History history, Version version, List<Content> ancestors, List<OperationCheckResult> operations, Map<String, Object> children, Map<String, Object> childTypes, Map<String, Object> descendants, Map<String, Object> container, Bodye84B79 body, Restrictionsbc3Afc restrictions, Metadata5Bfc61 metadata, Map<String, Object> macroRenderedOutput, Object extensions, Expandable52D461 Expandable, Map<String, Object> Links, String ari, String base64EncodedAri, String username, String userKey, String accountId, String accountType, String email, String publicName, Icon profilePicture, String displayName, String timeZone, Boolean externalCollaborator, Boolean isExternalCollaborator, Boolean isGuest, UserDetails details, Space personalSpace, String key, String alias, String name, Icon icon, Description description, Content homepage, List<SpacePermission> permissions, SpaceSettings settings, Theme theme, LookAndFeel lookAndFeel) Constructs a validated instance ofTarget.Constructs a validated instance ofTarget. -
Method Summary
Modifier and TypeMethodDescriptionThe account ID of the user, which uniquely identifies the user across all Atlassian products.The account ID of the user, which uniquely identifies the user across all Atlassian products.The account type of the user, may return empty string if unavailable.accountType(String accountType) The account type of the user, may return empty string if unavailable.alias()ari()base64EncodedAri(String base64EncodedAri) body()body(Bodye84B79 body) protected booleanchildren()Shows whether a piece of content has attachments, comments, or child pages/whiteboards.childTypes(Map<String, Object> childTypes) Shows whether a piece of content has attachments, comments, or child pages/whiteboards.Container for content.Container for content.descendants(Map<String, Object> descendants) description(Description description) details()details(UserDetails details) The displays name of the user.displayName(String displayName) The displays name of the user.email()The email address of the user.The email address of the user.booleanExpandable(Expandable52D461 Expandable) extensions(Object extensions) This is deprecated.externalCollaborator(Boolean externalCollaborator) This is deprecated.inthashCode()history()homepage()Base object for all content types.Base object for all content types.icon()This object represents an icon.This object represents an icon.id()This is deprecated.isExternalCollaborator(Boolean isExternalCollaborator) This is deprecated.isGuest()Whether the user is a guest userWhether the user is a guest userkey()Links()Look and feel settings returned after an update.lookAndFeel(LookAndFeel lookAndFeel) Look and feel settings returned after an update.macroRenderedOutput(Map<String, Object> macroRenderedOutput) metadata()metadata(Metadata5Bfc61 metadata) name()operations(List<OperationCheckResult> operations) permissions(List<SpacePermission> permissions) personalSpace(Space personalSpace) This object represents an icon.profilePicture(Icon profilePicture) This object represents an icon.The public name or nickname of the user.publicName(String publicName) The public name or nickname of the user.restrictions(Restrictionsbc3Afc restrictions) settings()settings(SpaceSettings settings) space()status()theme()timeZone()This displays user time zone.This displays user time zone.title()toString()type()userKey()This property is no longer available and will be removed from the documentation soon.This property is no longer available and will be removed from the documentation soon.username()This property is no longer available and will be removed from the documentation soon.This property is no longer available and will be removed from the documentation soon.version()
-
Field Details
-
id
-
type
-
status
-
title
-
space
-
history
-
version
-
ancestors
-
operations
-
children
-
childTypes
Shows whether a piece of content has attachments, comments, or child pages/whiteboards. Note, this doesn't actually contain the child objects. -
descendants
-
container
Container for content. This can be either a space (containing a page or blogpost) or a page/blog post (containing an attachment or comment) -
body
-
restrictions
-
metadata
-
macroRenderedOutput
-
extensions
-
Expandable
-
Links
-
ari
-
base64EncodedAri
-
username
This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. -
userKey
This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. -
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`. -
accountType
The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app. -
email
The email address of the user. Depending on the user's privacy setting, this may return an empty string. -
publicName
The public name or nickname of the user. Will always contain a value. -
profilePicture
This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting. -
displayName
The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName. -
timeZone
This displays user time zone. Depending on the user's privacy setting, this may return null. -
externalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user. -
isExternalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user. -
isGuest
Whether the user is a guest user -
details
-
personalSpace
-
key
-
alias
-
name
-
icon
This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting. -
description
-
homepage
Base object for all content types. Representation of a blogpost (content) -
permissions
-
settings
-
theme
-
lookAndFeel
Look and feel settings returned after an update.
-
-
Constructor Details
-
Target
Constructs a validated instance ofTarget.- Parameters:
spec- the specification to process
-
Target
@Internal public Target(Long id, String type, String status, String title, Space space, History history, Version version, List<Content> ancestors, List<OperationCheckResult> operations, Map<String, Object> children, Map<String, Object> childTypes, Map<String, Object> descendants, Map<String, Object> container, Bodye84B79 body, Restrictionsbc3Afc restrictions, Metadata5Bfc61 metadata, Map<String, Object> macroRenderedOutput, Object extensions, Expandable52D461 Expandable, Map<String, Object> Links, String ari, String base64EncodedAri, String username, String userKey, String accountId, String accountType, String email, String publicName, Icon profilePicture, String displayName, String timeZone, Boolean externalCollaborator, Boolean isExternalCollaborator, Boolean isGuest, UserDetails details, Space personalSpace, String key, String alias, String name, Icon icon, Description description, Content homepage, List<SpacePermission> permissions, SpaceSettings settings, Theme theme, LookAndFeel lookAndFeel) Constructs a validated instance ofTarget.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Target(Consumer)instead.- Parameters:
id- idtype- typestatus- statustitle- titlespace- spacehistory- historyversion- versionancestors- ancestorsoperations- operationschildren- childrenchildTypes- Shows whether a piece of content has attachments, comments, or child pages/whiteboards. Note, this doesn't actually contain the child objects.descendants- descendantscontainer- Container for content. This can be either a space (containing a page or blogpost) or a page/blog post (containing an attachment or comment)body- bodyrestrictions- restrictionsmetadata- metadatamacroRenderedOutput- macroRenderedOutputextensions- extensionsExpandable- ExpandableLinks- Linksari- aribase64EncodedAri- base64EncodedAriusername- This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.userKey- This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.accountId- The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.accountType- The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app.email- The email address of the user. Depending on the user's privacy setting, this may return an empty string.publicName- The public name or nickname of the user. Will always contain a value.profilePicture- This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.displayName- The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.timeZone- This displays user time zone. Depending on the user's privacy setting, this may return null.externalCollaborator- This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.isExternalCollaborator- This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.isGuest- Whether the user is a guest userdetails- detailspersonalSpace- personalSpacekey- keyalias- aliasname- nameicon- This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.description- descriptionhomepage- Base object for all content types. Representation of a blogpost (content)permissions- permissionssettings- settingstheme- themelookAndFeel- Look and feel settings returned after an update.
-
Target
protected Target()
-
-
Method Details
-
id
-
type
-
status
-
title
-
space
-
history
-
version
-
ancestors
-
operations
-
children
-
childTypes
Shows whether a piece of content has attachments, comments, or child pages/whiteboards. Note, this doesn't actually contain the child objects. -
descendants
-
container
Container for content. This can be either a space (containing a page or blogpost) or a page/blog post (containing an attachment or comment) -
body
-
restrictions
-
metadata
-
macroRenderedOutput
-
extensions
-
Expandable
-
Links
-
ari
-
base64EncodedAri
-
username
This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. -
userKey
This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details. -
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`. -
accountType
The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app. -
email
The email address of the user. Depending on the user's privacy setting, this may return an empty string. -
publicName
The public name or nickname of the user. Will always contain a value. -
profilePicture
This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting. -
displayName
The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName. -
timeZone
This displays user time zone. Depending on the user's privacy setting, this may return null. -
externalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user. -
isExternalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user. -
isGuest
Whether the user is a guest user -
details
-
personalSpace
-
key
-
alias
-
name
-
icon
This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting. -
description
-
homepage
Base object for all content types. Representation of a blogpost (content) -
permissions
-
settings
-
theme
-
lookAndFeel
Look and feel settings returned after an update. -
id
- Returns:
this.
-
type
- Returns:
this.
-
status
- Returns:
this.
-
title
- Returns:
this.
-
space
- Returns:
this.
-
history
- Returns:
this.
-
version
- Returns:
this.
-
ancestors
- Returns:
this.
-
operations
- Returns:
this.
-
children
- Returns:
this.
-
childTypes
Shows whether a piece of content has attachments, comments, or child pages/whiteboards. Note, this doesn't actually contain the child objects.- Returns:
this.
-
descendants
- Returns:
this.
-
container
Container for content. This can be either a space (containing a page or blogpost) or a page/blog post (containing an attachment or comment)- Returns:
this.
-
body
- Returns:
this.
-
restrictions
- Returns:
this.
-
metadata
- Returns:
this.
-
macroRenderedOutput
- Returns:
this.
-
extensions
- Returns:
this.
-
Expandable
- Returns:
this.
-
Links
- Returns:
this.
-
ari
- Returns:
this.
-
base64EncodedAri
- Returns:
this.
-
username
This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.- Returns:
this.
-
userKey
This property is no longer available and will be removed from the documentation soon. Use `accountId` instead. See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.- Returns:
this.
-
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.- Returns:
this.
-
accountType
The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app.- Returns:
this.
-
email
The email address of the user. Depending on the user's privacy setting, this may return an empty string.- Returns:
this.
-
publicName
The public name or nickname of the user. Will always contain a value.- Returns:
this.
-
profilePicture
This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.- Returns:
this.
-
displayName
The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.- Returns:
this.
-
timeZone
This displays user time zone. Depending on the user's privacy setting, this may return null.- Returns:
this.
-
externalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.- Returns:
this.
-
isExternalCollaborator
This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.- Returns:
this.
-
isGuest
Whether the user is a guest user- Returns:
this.
-
details
- Returns:
this.
-
personalSpace
- Returns:
this.
-
key
- Returns:
this.
-
alias
- Returns:
this.
-
name
- Returns:
this.
-
icon
This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.- Returns:
this.
-
description
- Returns:
this.
-
homepage
Base object for all content types. Representation of a blogpost (content)- Returns:
this.
-
permissions
- Returns:
this.
-
settings
- Returns:
this.
-
theme
- Returns:
this.
-
lookAndFeel
Look and feel settings returned after an update.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-