@JsonSurrogate public class

RestRepositoryHook

extends RestMapEntity
implements RepositoryHook
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.hook.repository.RestRepositoryHook

Summary

Fields
public static final RestRepositoryHook EXAMPLE
public static final RestPage<RestRepositoryHook> PAGE_EXAMPLE
public static final Function<RepositoryHookRestRepositoryHook> REST_TRANSFORM
Public Constructors
RestRepositoryHook(RestRepositoryHook.RestRepositoryHookDetails details, boolean isEnabled, boolean configured, RestScope scope)
RestRepositoryHook(RepositoryHook descriptor)
Public Methods
@Nonnull RepositoryHookDetails getDetails()
@Nonnull RestScope getScope()
boolean isConfigured()
boolean isEnabled()
[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 com.atlassian.bitbucket.hook.repository.RepositoryHook
From interface java.util.Map

Fields

public static final RestRepositoryHook EXAMPLE

public static final RestPage<RestRepositoryHook> PAGE_EXAMPLE

public static final Function<RepositoryHookRestRepositoryHook> REST_TRANSFORM

Public Constructors

public RestRepositoryHook (RestRepositoryHook.RestRepositoryHookDetails details, boolean isEnabled, boolean configured, RestScope scope)

public RestRepositoryHook (RepositoryHook descriptor)

Public Methods

@Nonnull public RepositoryHookDetails getDetails ()

@Nonnull public RestScope getScope ()

public boolean isConfigured ()

public boolean isEnabled ()