Class CreateUpdateRoleRequestBean
java.lang.Object
io.github.primelib.jira4j.restv3.model.CreateUpdateRoleRequestBean
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUpdateRoleRequestBean
extends Object
CreateUpdateRoleRequestBean
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CreateUpdateRoleRequestBean
(String description, String name) Constructs a validated instance ofCreateUpdateRoleRequestBean
.Constructs a validated instance ofCreateUpdateRoleRequestBean
. -
Method Summary
-
Field Details
-
description
A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role. -
name
The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role.
-
-
Constructor Details
-
CreateUpdateRoleRequestBean
Constructs a validated instance ofCreateUpdateRoleRequestBean
.- Parameters:
spec
- the specification to process
-
CreateUpdateRoleRequestBean
Constructs a validated instance ofCreateUpdateRoleRequestBean
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
CreateUpdateRoleRequestBean(Consumer)
instead.- Parameters:
description
- A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role.name
- The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role.
-
CreateUpdateRoleRequestBean
protected CreateUpdateRoleRequestBean()
-
-
Method Details
-
builder
-
description
A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role. -
name
The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role. -
description
A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role.- Returns:
this
.
-
name
The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-