gitea/src/e819d1a2-4390-432d-be36-342...
Robot 12042ffd4d
update 2024-04-07 13:20:18
2024-04-07 13:20:22 +02:00
..
README.md update 2023-10-10 10:16:07 2023-10-10 11:39:23 +02:00
code.php first commit 2023-04-15 17:08:07 +02:00
code.power first commit 2023-04-15 17:08:07 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:22 +02:00

README.md

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

class Labels (Details)

namespace: VDM\Joomla\Gitea\Issue extends: Api

@startuml
class Labels  #Gold {
  + list(string $owner, string $repo, ...) : ?array
  + get(string $owner, string $repo, ...) : ?array
  + replace(string $owner, string $repo, ...) : object
  + add(string $owner, string $repo, ...) : ?array
  + remove(string $owner, string $repo, ...) : string
  + clear(string $owner, string $repo, ...) : string
}

note right of Labels::list
  Get all of a repository's labels.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $owner
    string $repo
    int $page = 1
    int $limit = 10
end note

note right of Labels::get
  Get an issue's labels.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $owner
    string $repo
    int $index
end note

note right of Labels::replace
  Replace an issue's labels.

  since: 3.2.0
  return: object
  
  arguments:
    string $owner
    string $repo
    int $index
    array $labels
end note

note right of Labels::add
  Add a label to an issue.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $owner
    string $repo
    int $index
    array $labels
end note

note right of Labels::remove
  Remove a label from an issue.

  since: 3.2.0
  return: string
  
  arguments:
    string $owner
    string $repo
    int $index
    int $labelId
end note

note right of Labels::clear
  Remove all labels from an issue.

  since: 3.2.0
  return: string
  
  arguments:
    string $owner
    string $repo
    int $index
end note
 
@enduml

     ██╗ ██████╗██████╗
     ██║██╔════╝██╔══██╗
     ██║██║     ██████╔╝
██   ██║██║     ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
 ╚════╝  ╚═════╝╚═════╝

Build with Joomla Component Builder