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

  • Field Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean 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 of GetNotificationSchemeOperationSpec.
      Parameters:
      spec - the specification to process
    • GetNotificationSchemeOperationSpec

      @Internal public GetNotificationSchemeOperationSpec(Long id, String expand)
      Constructs a validated instance of GetNotificationSchemeOperationSpec.

      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

    • id

      @NotNull public @NotNull Long 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

      @Nullable public @Nullable String 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

      public GetNotificationSchemeOperationSpec id(@NotNull @NotNull Long 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

      public GetNotificationSchemeOperationSpec expand(@Nullable @Nullable String 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object