java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Target

@Generated("io.github.primelib.primecodegen") public class Target extends Object
Target

Base object for all content types. Representation of a blogpost (content)

  • Field Details

    • id

      protected Long id
    • type

      protected String type
    • status

      protected String status
    • title

      protected String title
    • space

      protected Space space
    • history

      protected History history
    • version

      protected Version version
    • ancestors

      protected List<Content> ancestors
    • operations

      protected List<OperationCheckResult> operations
    • children

      protected Map<String,Object> children
    • childTypes

      protected Map<String,Object> childTypes
      Shows whether a piece of content has attachments, comments, or child pages/whiteboards. Note, this doesn't actually contain the child objects.
    • descendants

      protected Map<String,Object> descendants
    • container

      protected Map<String,Object> 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

      protected Bodye84B79 body
    • restrictions

      protected Restrictionsbc3Afc restrictions
    • metadata

      protected Metadata5Bfc61 metadata
    • macroRenderedOutput

      protected Map<String,Object> macroRenderedOutput
    • extensions

      protected Object extensions
    • Expandable

      protected Expandable52D461 Expandable
    • ari

      protected String ari
    • base64EncodedAri

      protected String base64EncodedAri
    • username

      protected String 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

      protected String 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

      protected String 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

      protected String 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

      protected String email
      The email address of the user. Depending on the user's privacy setting, this may return an empty string.
    • publicName

      protected String publicName
      The public name or nickname of the user. Will always contain a value.
    • profilePicture

      protected Icon 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

      protected String displayName
      The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.
    • timeZone

      protected String timeZone
      This displays user time zone. Depending on the user's privacy setting, this may return null.
    • externalCollaborator

      protected Boolean externalCollaborator
      This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
    • isExternalCollaborator

      protected Boolean isExternalCollaborator
      This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
    • isGuest

      protected Boolean isGuest
      Whether the user is a guest user
    • details

      protected UserDetails details
    • personalSpace

      protected Space personalSpace
    • key

      protected String key
    • alias

      protected String alias
    • name

      protected String name
    • icon

      protected Icon 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

      protected Description description
    • homepage

      protected Content homepage
      Base object for all content types. Representation of a blogpost (content)
    • permissions

      protected List<SpacePermission> permissions
    • settings

      protected SpaceSettings settings
    • theme

      protected Theme theme
    • lookAndFeel

      protected LookAndFeel lookAndFeel
      Look and feel settings returned after an update.
  • Constructor Details

    • Target

      public Target(Consumer<Target> spec)
      Constructs a validated instance of Target.
      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 of Target.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Target(Consumer) instead.

      Parameters:
      id - id
      type - type
      status - status
      title - title
      space - space
      history - history
      version - version
      ancestors - ancestors
      operations - operations
      children - 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 - 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 - body
      restrictions - restrictions
      metadata - metadata
      macroRenderedOutput - macroRenderedOutput
      extensions - extensions
      Expandable - Expandable
      Links - Links
      ari - ari
      base64EncodedAri - 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 - details
      personalSpace - personalSpace
      key - key
      alias - alias
      name - 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 - description
      homepage - Base object for all content types. Representation of a blogpost (content)
      permissions - permissions
      settings - settings
      theme - theme
      lookAndFeel - Look and feel settings returned after an update.
    • Target

      protected Target()
  • Method Details

    • id

      public Long id()
    • type

      public String type()
    • status

      public String status()
    • title

      public String title()
    • space

      public Space space()
    • history

      public History history()
    • version

      public Version version()
    • ancestors

      public List<Content> ancestors()
    • operations

      public List<OperationCheckResult> operations()
    • children

      public Map<String,Object> children()
    • childTypes

      public Map<String,Object> childTypes()
      Shows whether a piece of content has attachments, comments, or child pages/whiteboards. Note, this doesn't actually contain the child objects.
    • descendants

      public Map<String,Object> descendants()
    • container

      public Map<String,Object> 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

      public Bodye84B79 body()
    • restrictions

      public Restrictionsbc3Afc restrictions()
    • metadata

      public Metadata5Bfc61 metadata()
    • macroRenderedOutput

      public Map<String,Object> macroRenderedOutput()
    • extensions

      public Object extensions()
    • Expandable

      public Expandable52D461 Expandable()
    • Links

      public Map<String,Object> Links()
    • ari

      public String ari()
    • base64EncodedAri

      public String base64EncodedAri()
    • username

      public String 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

      public String 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

      public String 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

      public String 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

      public String email()
      The email address of the user. Depending on the user's privacy setting, this may return an empty string.
    • publicName

      public String publicName()
      The public name or nickname of the user. Will always contain a value.
    • profilePicture

      public Icon 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

      public String displayName()
      The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.
    • timeZone

      public String timeZone()
      This displays user time zone. Depending on the user's privacy setting, this may return null.
    • externalCollaborator

      public Boolean externalCollaborator()
      This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
    • isExternalCollaborator

      public Boolean isExternalCollaborator()
      This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
    • isGuest

      public Boolean isGuest()
      Whether the user is a guest user
    • details

      public UserDetails details()
    • personalSpace

      public Space personalSpace()
    • key

      public String key()
    • alias

      public String alias()
    • name

      public String name()
    • icon

      public Icon 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

      public Description description()
    • homepage

      public Content homepage()
      Base object for all content types. Representation of a blogpost (content)
    • permissions

      public List<SpacePermission> permissions()
    • settings

      public SpaceSettings settings()
    • theme

      public Theme theme()
    • lookAndFeel

      public LookAndFeel lookAndFeel()
      Look and feel settings returned after an update.
    • id

      public Target id(Long id)
      Returns:
      this.
    • type

      public Target type(String type)
      Returns:
      this.
    • status

      public Target status(String status)
      Returns:
      this.
    • title

      public Target title(String title)
      Returns:
      this.
    • space

      public Target space(Space space)
      Returns:
      this.
    • history

      public Target history(History history)
      Returns:
      this.
    • version

      public Target version(Version version)
      Returns:
      this.
    • ancestors

      public Target ancestors(List<Content> ancestors)
      Returns:
      this.
    • operations

      public Target operations(List<OperationCheckResult> operations)
      Returns:
      this.
    • children

      public Target children(Map<String,Object> children)
      Returns:
      this.
    • childTypes

      public Target childTypes(Map<String,Object> 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

      public Target descendants(Map<String,Object> descendants)
      Returns:
      this.
    • container

      public Target container(Map<String,Object> 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

      public Target body(Bodye84B79 body)
      Returns:
      this.
    • restrictions

      public Target restrictions(Restrictionsbc3Afc restrictions)
      Returns:
      this.
    • metadata

      public Target metadata(Metadata5Bfc61 metadata)
      Returns:
      this.
    • macroRenderedOutput

      public Target macroRenderedOutput(Map<String,Object> macroRenderedOutput)
      Returns:
      this.
    • extensions

      public Target extensions(Object extensions)
      Returns:
      this.
    • Expandable

      public Target Expandable(Expandable52D461 Expandable)
      Returns:
      this.
    • Links

      public Target Links(Map<String,Object> Links)
      Returns:
      this.
    • ari

      public Target ari(String ari)
      Returns:
      this.
    • base64EncodedAri

      public Target base64EncodedAri(String base64EncodedAri)
      Returns:
      this.
    • username

      public Target username(String 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

      public Target userKey(String 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

      public Target accountId(String 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

      public Target accountType(String 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

      public Target email(String email)
      The email address of the user. Depending on the user's privacy setting, this may return an empty string.
      Returns:
      this.
    • publicName

      public Target publicName(String publicName)
      The public name or nickname of the user. Will always contain a value.
      Returns:
      this.
    • profilePicture

      public Target profilePicture(Icon 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

      public Target displayName(String displayName)
      The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.
      Returns:
      this.
    • timeZone

      public Target timeZone(String timeZone)
      This displays user time zone. Depending on the user's privacy setting, this may return null.
      Returns:
      this.
    • externalCollaborator

      public Target externalCollaborator(Boolean externalCollaborator)
      This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
      Returns:
      this.
    • isExternalCollaborator

      public Target isExternalCollaborator(Boolean isExternalCollaborator)
      This is deprecated. Use `isGuest` instead to find out whether the user is a guest user.
      Returns:
      this.
    • isGuest

      public Target isGuest(Boolean isGuest)
      Whether the user is a guest user
      Returns:
      this.
    • details

      public Target details(UserDetails details)
      Returns:
      this.
    • personalSpace

      public Target personalSpace(Space personalSpace)
      Returns:
      this.
    • key

      public Target key(String key)
      Returns:
      this.
    • alias

      public Target alias(String alias)
      Returns:
      this.
    • name

      public Target name(String name)
      Returns:
      this.
    • icon

      public Target icon(Icon 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

      public Target description(Description description)
      Returns:
      this.
    • homepage

      public Target homepage(Content homepage)
      Base object for all content types. Representation of a blogpost (content)
      Returns:
      this.
    • permissions

      public Target permissions(List<SpacePermission> permissions)
      Returns:
      this.
    • settings

      public Target settings(SpaceSettings settings)
      Returns:
      this.
    • theme

      public Target theme(Theme theme)
      Returns:
      this.
    • lookAndFeel

      public Target lookAndFeel(LookAndFeel lookAndFeel)
      Look and feel settings returned after an update.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object