Class CreateFolderJson

java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.CreateFolderJson
All Implemented Interfaces:
Serializable

public class CreateFolderJson
extends BaseJson
Add folder.
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getDeviceType

      public DeviceType getDeviceType()
    • setDeviceType

      public void setDeviceType​(DeviceType deviceType)
    • getRoomGuid

      public String getRoomGuid()
      Workspace Guid.
      Returns:
      Workspace Guid.
    • setRoomGuid

      public void setRoomGuid​(String roomGuid)
      Workspace Guid.
      Parameters:
      roomGuid - Workspace Guid.
    • getParentGuid

      public String getParentGuid()
      Parent folder UUID (if not specified or zero the folder will be created in the workspace's root ).
      Returns:
      Parent folder UUID (if not specified or zero the folder will be created in the workspace's root ).
    • setParentGuid

      public void setParentGuid​(String parentGuid)
      Parent folder UUID (if not specified or zero the folder will be created in the workspace's root ).
      Parameters:
      parentGuid - Parent folder UUID (if not specified or zero the folder will be created in the workspace's root ).
    • getName

      public String getName()
      New folder name.
      Returns:
      New folder name.
    • setName

      public void setName​(String name)
      New folder name.
      Parameters:
      name - New folder name.
    • getRoomId

      public Integer getRoomId()
      Workspace ID.
      Returns:
      Workspace ID.
    • setRoomId

      public void setRoomId​(Integer roomId)
      Workspace ID.
      Parameters:
      roomId - Workspace ID.
    • getParentId

      public Integer getParentId()
      Parent folder ID (if not specified or zero the folder will be created in the workspace's root ).
      Returns:
      Parent folder ID (if not specified or zero the folder will be created in the workspace's root ).
    • setParentId

      public void setParentId​(Integer parentId)
      Parent folder ID (if not specified or zero the folder will be created in the workspace's root ).
      Parameters:
      parentId - Parent folder ID (if not specified or zero the folder will be created in the workspace's root ).
    • getExternalRepositoryIdentifier

      public ExternalRepositoryIdRequestJson getExternalRepositoryIdentifier()
    • setExternalRepositoryIdentifier

      public void setExternalRepositoryIdentifier​(ExternalRepositoryIdRequestJson externalRepositoryIdentifier)