Class GetNotificationSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetNotificationSchemeOperationSpec(Long id, String expand) Constructs a validated instance ofGetNotificationSchemeOperationSpec.Constructs a validated instance ofGetNotificationSchemeOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.inthashCode()@NotNull Longid()The ID of the notification scheme.The ID of the notification scheme.toString()voidvalidate()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-2-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: *allReturns all expandable information *fieldReturns information about any custom fields assigned to receive an event *groupReturns information about any groups assigned to receive an event *notificationSchemeEventsReturns a list of event associations. This list is returned for all expandable information *projectRoleReturns information about any project roles assigned to receive an event *userReturns 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-2-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: *allReturns all expandable information *fieldReturns information about any custom fields assigned to receive an event *groupReturns information about any groups assigned to receive an event *notificationSchemeEventsReturns a list of event associations. This list is returned for all expandable information *projectRoleReturns information about any project roles assigned to receive an event *userReturns information about any users assigned to receive an event -
id
The ID of the notification scheme. Use [Get notification schemes paginated](#api-rest-api-2-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: *allReturns all expandable information *fieldReturns information about any custom fields assigned to receive an event *groupReturns information about any groups assigned to receive an event *notificationSchemeEventsReturns a list of event associations. This list is returned for all expandable information *projectRoleReturns information about any project roles assigned to receive an event *userReturns information about any users assigned to receive an event- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-