Class PermissionScheme
java.lang.Object
io.github.primelib.jira4j.restv3.model.PermissionScheme
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class PermissionScheme
extends Object
PermissionScheme
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringA description for the permission scheme.protected StringThe expand options available for the permission scheme.protected LongThe ID of the permission scheme.protected StringThe name of the permission scheme.protected List<PermissionGrant>The permission scheme to create or update.protected Scopeprotected URIThe URL of the permission scheme. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPermissionScheme(String description, String expand, Long id, String name, List<PermissionGrant> permissions, Scope scope, URI self) Constructs a validated instance ofPermissionScheme.Constructs a validated instance ofPermissionScheme. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanA description for the permission scheme.description(String description) A description for the permission scheme.booleanexpand()The expand options available for the permission scheme.The expand options available for the permission scheme.inthashCode()id()The ID of the permission scheme.The ID of the permission scheme.name()The name of the permission scheme.The name of the permission scheme.The permission scheme to create or update.permissions(List<PermissionGrant> permissions) The permission scheme to create or update.scope()self()The URL of the permission scheme.The URL of the permission scheme.toString()
-
Field Details
-
description
A description for the permission scheme. -
expand
The expand options available for the permission scheme. -
id
The ID of the permission scheme. -
name
The name of the permission scheme. Must be unique. -
permissions
The permission scheme to create or update. See [About permission schemes and grants](../api-group-permission-schemes/#about-permission-schemes-and-grants) for more information. -
scope
-
self
The URL of the permission scheme.
-
-
Constructor Details
-
PermissionScheme
Constructs a validated instance ofPermissionScheme.- Parameters:
spec- the specification to process
-
PermissionScheme
@Internal public PermissionScheme(String description, String expand, Long id, String name, List<PermissionGrant> permissions, Scope scope, URI self) Constructs a validated instance ofPermissionScheme.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
PermissionScheme(Consumer)instead.- Parameters:
description- A description for the permission scheme.expand- The expand options available for the permission scheme.id- The ID of the permission scheme.name- The name of the permission scheme. Must be unique.permissions- The permission scheme to create or update. See [About permission schemes and grants](../api-group-permission-schemes/#about-permission-schemes-and-grants) for more information.scope- scopeself- The URL of the permission scheme.
-
PermissionScheme
protected PermissionScheme()
-
-
Method Details
-
builder
-
description
A description for the permission scheme. -
expand
The expand options available for the permission scheme. -
id
The ID of the permission scheme. -
name
The name of the permission scheme. Must be unique. -
permissions
The permission scheme to create or update. See [About permission schemes and grants](../api-group-permission-schemes/#about-permission-schemes-and-grants) for more information. -
scope
-
self
The URL of the permission scheme. -
description
A description for the permission scheme.- Returns:
this.
-
expand
The expand options available for the permission scheme.- Returns:
this.
-
id
The ID of the permission scheme.- Returns:
this.
-
name
The name of the permission scheme. Must be unique.- Returns:
this.
-
permissions
The permission scheme to create or update. See [About permission schemes and grants](../api-group-permission-schemes/#about-permission-schemes-and-grants) for more information.- Returns:
this.
-
scope
- Returns:
this.
-
self
The URL of the permission scheme.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-