@JsonSurrogate public class

RestFile

extends RestMapEntity
implements RestContentTreeNode
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ java.util.HashMap<K, V>
       ↳ java.util.LinkedHashMap<K, V>
         ↳ com.atlassian.bitbucket.rest.RestMapEntity
           ↳ com.atlassian.bitbucket.rest.content.RestFile

Summary

Fields
public static final RestFile EXAMPLE
Public Constructors
RestFile(File file)
@Deprecated RestFile(RestPath path, String contentId)
This constructor is deprecated. in 4.2 for removal in 5.0. Use RestFile(File) and pass a File instead.
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.rest.RestMapEntity
From class java.util.LinkedHashMap
From class java.util.HashMap
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

Fields

public static final RestFile EXAMPLE

Public Constructors

public RestFile (File file)

@Deprecated public RestFile (RestPath path, String contentId)

This constructor is deprecated.
in 4.2 for removal in 5.0. Use RestFile(File) and pass a File instead.

Parameters
path the file's path
contentId the file's optional content ID