Klasse CreateProjectAvatarOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.CreateProjectAvatarOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class CreateProjectAvatarOperationSpec extends Object
CreateProjectAvatarSpec

Specification for the CreateProjectAvatar operation.

Load project avatar

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • CreateProjectAvatarOperationSpec

      @Internal public CreateProjectAvatarOperationSpec(Consumer<CreateProjectAvatarOperationSpec> spec)
      Constructs a validated instance of CreateProjectAvatarOperationSpec.
      Parameter:
      spec - the specification to process
    • CreateProjectAvatarOperationSpec

      @Internal public CreateProjectAvatarOperationSpec(String projectIdOrKey, Object body, Integer x, Integer y, Integer size)
      Constructs a validated instance of CreateProjectAvatarOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      projectIdOrKey - The ID or (case-sensitive) key of the project.
      body -
      x - The X coordinate of the top-left corner of the crop region.
      y - The Y coordinate of the top-left corner of the crop region.
      size - The length of each side of the crop region.
    • CreateProjectAvatarOperationSpec

      protected CreateProjectAvatarOperationSpec()
  • Methodendetails