Klasse AddSpaceWatcherOperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.AddSpaceWatcherOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class AddSpaceWatcherOperationSpec extends Object
AddSpaceWatcherSpec

Specification for the AddSpaceWatcher operation.

Add space watcher

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • AddSpaceWatcherOperationSpec

      @Internal public AddSpaceWatcherOperationSpec(Consumer<AddSpaceWatcherOperationSpec> spec)
      Constructs a validated instance of AddSpaceWatcherOperationSpec.
      Parameter:
      spec - the specification to process
    • AddSpaceWatcherOperationSpec

      @Internal public AddSpaceWatcherOperationSpec(String xAtlassianToken, String spaceKey, String key, String username, String accountId)
      Constructs a validated instance of AddSpaceWatcherOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      xAtlassianToken - Note, you must add header when making a request, as this operation has XSRF protection.
      spaceKey - The key of the space to add the watcher to.
      key - This parameter 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.
      username - This parameter 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. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
    • AddSpaceWatcherOperationSpec

      protected AddSpaceWatcherOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • xAtlassianToken

      @NotNull public @NotNull String xAtlassianToken()
      Note, you must add header when making a request, as this operation has XSRF protection.
    • spaceKey

      @NotNull public @NotNull String spaceKey()
      The key of the space to add the watcher to.
    • key

      @Nullable public @Nullable String key()
      This parameter 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.
    • username

      @Nullable public @Nullable String username()
      This parameter 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

      @Nullable public @Nullable String accountId()
      The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
    • xAtlassianToken

      public AddSpaceWatcherOperationSpec xAtlassianToken(@NotNull @NotNull String xAtlassianToken)
      Note, you must add header when making a request, as this operation has XSRF protection.
      Gibt zurück:
      this.
    • spaceKey

      public AddSpaceWatcherOperationSpec spaceKey(@NotNull @NotNull String spaceKey)
      The key of the space to add the watcher to.
      Gibt zurück:
      this.
    • key

      public AddSpaceWatcherOperationSpec key(@Nullable @Nullable String key)
      This parameter 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.
      Gibt zurück:
      this.
    • username

      public AddSpaceWatcherOperationSpec username(@Nullable @Nullable String username)
      This parameter 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.
      Gibt zurück:
      this.
    • accountId

      public AddSpaceWatcherOperationSpec accountId(@Nullable @Nullable String accountId)
      The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object