File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
src/main/java/com/epam/ta/reportportal/ws/reporting Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 2525import jakarta .validation .constraints .Size ;
2626import lombok .Getter ;
2727import lombok .Setter ;
28+ import lombok .ToString ;
2829
2930/**
30- * Base entity for sharable resources. This resource should contains owner in response.
31+ * Base entity for sharable resources. This resource should contain owner in response.
3132 *
3233 * @author Aliaksei_Makayed
3334 */
3435@ Setter
3536@ Getter
3637@ JsonInclude (Include .NON_NULL )
38+ @ ToString
3739public class OwnedResource {
3840
3941 @ JsonProperty (value = "owner" )
@@ -42,10 +44,7 @@ public class OwnedResource {
4244 @ Size (min = MIN_DESCRIPTION , max = MAX_ENTITY_DESCRIPTION )
4345 private String description ;
4446
45- @ Override
46- public String toString () {
47- return "OwnedResource{" + "owner='" + owner + '\''
48- + ", description='" + description + '\''
49- + '}' ;
50- }
47+ @ JsonProperty (value = "locked" )
48+ private boolean locked ;
49+
5150}
You can’t perform that action at this time.
0 commit comments