Class GHCheckRunBuilder.Image

    • Constructor Detail

      • Image

        public Image​(@NonNull
                     String alt,
                     @NonNull
                     String imageURL)
        Instantiates a new image.
        Parameters:
        alt - the alt
        imageURL - the image URL
    • Method Detail

      • withCaption

        @NonNull
        public GHCheckRunBuilder.Image withCaption​(@CheckForNull
                                                   String caption)
        With caption.
        Parameters:
        caption - the caption
        Returns:
        the image