Class ConfluenceRestClientUserPropertiesConsumerApi

java.lang.Object
io.github.primelib.confluence4j.rest.v1.client.ConfluenceRestClientUserPropertiesConsumerApi

@Generated("io.github.primelib.primecodegen") public class ConfluenceRestClientUserPropertiesConsumerApi extends Object
ConfluenceRestClientUserPropertiesConsumerApi
  • Constructor Details

  • Method Details

    • GetUserByUserIDPropertyV1

      public UserPropertyKeyArray GetUserByUserIDPropertyV1(Consumer<GetUserByUserIDPropertyV1OperationSpec> spec)
      GetUserByUserIDPropertyV1 Get user properties Returns the properties for a user as list of property keys. For more information about user properties, see [Confluence entity properties](https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/). `Note`, these properties stored against a user are on a Confluence site level and not space/content level. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
      Parameters:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • userId: The account ID of the user to be queried for its properties.
      • start: The starting index of the returned properties.
      • limit: The maximum number of properties to return per page. Note, this may be restricted by fixed system limits.
    • GetUserByUserIDPropertyByKeyV1

      public UserProperty GetUserByUserIDPropertyByKeyV1(Consumer<GetUserByUserIDPropertyByKeyV1OperationSpec> spec)
      GetUserByUserIDPropertyByKeyV1 Get user property Returns the property corresponding to `key` for a user. For more information about user properties, see [Confluence entity properties](https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/). `Note`, these properties stored against a user are on a Confluence site level and not space/content level. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
      Parameters:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • userId: The account ID of the user to be queried for its properties.
      • key: The key of the user property.
    • PutUserByUserIDPropertyByKeyV1

      public void PutUserByUserIDPropertyByKeyV1(Consumer<PutUserByUserIDPropertyByKeyV1OperationSpec> spec)
      PutUserByUserIDPropertyByKeyV1 Update user property Updates a property for the given user. Note, you cannot update the key of a user property, only the value. For more information about user properties, see [Confluence entity properties](https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/). `Note`, these properties stored against a user are on a Confluence site level and not space/content level. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
      Parameters:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • userId: The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192
      • key: The key of the user property.
      • payload: The user property to be updated.
    • PostUserByUserIDPropertyByKeyV1

      public void PostUserByUserIDPropertyByKeyV1(Consumer<PostUserByUserIDPropertyByKeyV1OperationSpec> spec)
      PostUserByUserIDPropertyByKeyV1 Create user property by key Creates a property for a user. For more information about user properties, see [Confluence entity properties] (https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/). `Note`, these properties stored against a user are on a Confluence site level and not space/content level. `Note:` the number of properties which could be created per app in a tenant for each user might be restricted by fixed system limits. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
      Parameters:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • userId: The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192
      • key: The key of the user property.
      • payload: The user property to be created.
    • DeleteUserByUserIDPropertyByKeyV1

      public void DeleteUserByUserIDPropertyByKeyV1(Consumer<DeleteUserByUserIDPropertyByKeyV1OperationSpec> spec)
      DeleteUserByUserIDPropertyByKeyV1 Delete user property Deletes a property for the given user. For more information about user properties, see [Confluence entity properties](https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/). `Note`, these properties stored against a user are on a Confluence site level and not space/content level. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
      Parameters:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • userId: The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192
      • key: The key of the user property.