1 package com.atlassian.plugins.rest.doclet.generators.schema.beans.permissionscheme;
2
3 import com.atlassian.rest.annotation.RestProperty;
4 import com.fasterxml.jackson.annotation.JsonProperty;
5 import com.fasterxml.jackson.annotation.JsonPropertyDescription;
6
7 import java.net.URI;
8
9 public final class PermissionGrantBean
10 {
11 @JsonProperty(required = true)
12 @RestProperty (scope = RestProperty.Scope.RESPONSE)
13 private Long id;
14 @JsonProperty(required = true)
15 @RestProperty (scope = RestProperty.Scope.RESPONSE)
16 private URI self;
17 @JsonProperty(required = true)
18 @JsonPropertyDescription("a group of people to which the permission is granted")
19 private PermissionHolderBean holder;
20 @JsonProperty(required = true)
21 @JsonPropertyDescription("granted permission")
22 private String permission;
23 }