Class GetNotificationSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetNotificationSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetNotificationSchemeOperationSpec
extends Object
GetNotificationSchemeSpec
Specification for the GetNotificationScheme operation.
Get notification scheme
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetNotificationSchemeOperationSpec
(Long id, String expand) Constructs a validated instance ofGetNotificationSchemeOperationSpec
.Constructs a validated instance ofGetNotificationSchemeOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.int
hashCode()
@NotNull Long
id()
The ID of the notification scheme.The ID of the notification scheme.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetNotificationSchemeOperationSpec
@Internal public GetNotificationSchemeOperationSpec(Consumer<GetNotificationSchemeOperationSpec> spec) Constructs a validated instance ofGetNotificationSchemeOperationSpec
.- Parameters:
spec
- the specification to process
-
GetNotificationSchemeOperationSpec
Constructs a validated instance ofGetNotificationSchemeOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the notification scheme. Use [Get notification schemes paginated](#api-rest-api-3-notificationscheme-get) to get a list of notification scheme IDs.expand
- Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *all
Returns all expandable information *field
Returns information about any custom fields assigned to receive an event *group
Returns information about any groups assigned to receive an event *notificationSchemeEvents
Returns a list of event associations. This list is returned for all expandable information *projectRole
Returns information about any project roles assigned to receive an event *user
Returns information about any users assigned to receive an event
-
GetNotificationSchemeOperationSpec
protected GetNotificationSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetNotificationSchemeOperationSpec.GetNotificationSchemeOperationSpecBuilder builder() -
id
The ID of the notification scheme. Use [Get notification schemes paginated](#api-rest-api-3-notificationscheme-get) to get a list of notification scheme IDs. -
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *all
Returns all expandable information *field
Returns information about any custom fields assigned to receive an event *group
Returns information about any groups assigned to receive an event *notificationSchemeEvents
Returns a list of event associations. This list is returned for all expandable information *projectRole
Returns information about any project roles assigned to receive an event *user
Returns information about any users assigned to receive an event -
id
The ID of the notification scheme. Use [Get notification schemes paginated](#api-rest-api-3-notificationscheme-get) to get a list of notification scheme IDs.- Returns:
this
.
-
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *all
Returns all expandable information *field
Returns information about any custom fields assigned to receive an event *group
Returns information about any groups assigned to receive an event *notificationSchemeEvents
Returns a list of event associations. This list is returned for all expandable information *projectRole
Returns information about any project roles assigned to receive an event *user
Returns information about any users assigned to receive an event- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-