Class Author
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Author
Author
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe account ID of the user, which uniquely identifies the user across all Atlassian products.protected Stringprotected Stringprotected BooleanThis is deprecated.protected BooleanThis is deprecated.protected BooleanWhether the user is a guest userprotected Objectprotected StringThe public name or nickname of the user.protected 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. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthor()Author(String type, String displayName, Object operations, String username, String userKey, String accountId, String accountType, Boolean externalCollaborator, Boolean isExternalCollaborator, Boolean isGuest, String publicName) Constructs a validated instance ofAuthor.Constructs a validated instance ofAuthor. -
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.accountType(String accountType) protected booleandisplayName(String displayName) booleanThis is deprecated.externalCollaborator(Boolean externalCollaborator) This is deprecated.inthashCode()This is deprecated.isExternalCollaborator(Boolean isExternalCollaborator) This is deprecated.isGuest()Whether the user is a guest userWhether the user is a guest useroperations(Object operations) The public name or nickname of the user.publicName(String publicName) The public name or nickname of the user.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.
-
Field Details
-
type
-
displayName
-
operations
-
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
-
externalCollaborator
This is deprecated. Use `isGuest` instead. -
isExternalCollaborator
This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user -
isGuest
Whether the user is a guest user -
publicName
The public name or nickname of the user. Will always contain a value.
-
-
Constructor Details
-
Author
Constructs a validated instance ofAuthor.- Parameters:
spec- the specification to process
-
Author
@Internal public Author(String type, String displayName, Object operations, String username, String userKey, String accountId, String accountType, Boolean externalCollaborator, Boolean isExternalCollaborator, Boolean isGuest, String publicName) Constructs a validated instance ofAuthor.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Author(Consumer)instead.- Parameters:
type- typedisplayName- displayNameoperations- operationsusername- 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- accountTypeexternalCollaborator- This is deprecated. Use `isGuest` instead.isExternalCollaborator- This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator userisGuest- Whether the user is a guest userpublicName- The public name or nickname of the user. Will always contain a value.
-
Author
protected Author()
-
-
Method Details
-
type
-
displayName
-
operations
-
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
-
externalCollaborator
This is deprecated. Use `isGuest` instead. -
isExternalCollaborator
This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user -
isGuest
Whether the user is a guest user -
publicName
The public name or nickname of the user. Will always contain a value. -
type
- Returns:
this.
-
displayName
- Returns:
this.
-
operations
- 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
- Returns:
this.
-
externalCollaborator
This is deprecated. Use `isGuest` instead.- Returns:
this.
-
isExternalCollaborator
This is deprecated. Use `isGuest` instead. Whether the user is an external collaborator user- Returns:
this.
-
isGuest
Whether the user is a guest user- Returns:
this.
-
publicName
The public name or nickname of the user. Will always contain a value.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-