RejectedReleaseEvent

The RejectedReleaseEvent class is useful to represent a rejection of a release Nova's event, this event makes change the Release's status to Rejected

Author

N7ghtm4r3 - Tecknobit

See also

Constructors

Link copied to clipboard
constructor()
Constructor to init the RejectedReleaseEvent class No-any params required
constructor(jRejectedReleaseEvent: JSONObject)
Constructor to init the RejectedReleaseEvent class
constructor(id: String, release: Release, releaseEventDate: Long, reasons: String, tags: List<RejectedTag>)
Constructor to init the AssetUploadingEvent class

Properties

Link copied to clipboard
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
Link copied to clipboard
reasons the reasons of the rejection
Link copied to clipboard
val REASONS_KEY: String = "reasons"
REASONS_KEY the key for the "reasons" field
Link copied to clipboard
val REJECTED_RELEASE_EVENT_KEY: String = "rejectedReleaseEvent"
REJECTED_RELEASE_EVENT_KEY the key for the "rejectedReleaseEvent" field
Link copied to clipboard
val REJECTED_RELEASE_EVENTS_KEY: String = "rejected_release_events"
REJECTED_RELEASE_EVENTS_KEY the key for the "rejected_release_events" field
Link copied to clipboard
protected val release: Release
release the date when the event is occurred
Link copied to clipboard
val RELEASE_EVENT_DATE_KEY: String = "release_event_date"
RELEASE_EVENT_DATE_KEY the key for the "release_event_date" field
Link copied to clipboard
val RELEASE_EVENT_IDENTIFIER_KEY: String = "release_event_id"
RELEASE_EVENT_IDENTIFIER_KEY the key for the "release_event_id" field
Link copied to clipboard
val RELEASE_EVENT_KEY: String = "release_event"
RELEASE_EVENT_KEY the key for the "release_event" field
Link copied to clipboard
RELEASE_EVENT_STATUS_KEY the key for the "status" field
Link copied to clipboard
val RELEASE_EVENTS_KEY: String = "release_events"
RELEASE_EVENTS_KEY the key for the "release_events" field
Link copied to clipboard
val RELEASE_TAG_IDENTIFIER_KEY: String = "release_tag_id"
RELEASE_TAG_IDENTIFIER_KEY the key for the "release_tag_id" field
Link copied to clipboard
protected val releaseEventDate: Long
releaseEventDate the date when the event occurred
Link copied to clipboard
status the related status of the event
Link copied to clipboard
tags the tags attached to the rejection
Link copied to clipboard
val TAGS_KEY: String = "tags"
TAGS_KEY the key for the "tags" field
Link copied to clipboard
protected val timeFormatter: TimeFormatter

Functions

Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getRelease(): Release
Method to get release instance No-any params required
Link copied to clipboard
Method to get releaseEventDate instance No-any params required
Link copied to clipboard
Method to get releaseEventDate instance No-any params required
Link copied to clipboard
Method to get status instance No-any params required
Link copied to clipboard
open fun hasTag(tagId: String): Boolean
Method to get whether the rejection event contains a specific tag
Link copied to clipboard
open fun returnReleaseEventsList(jReleaseEvents: JSONArray): List<ReleaseEvent>
Method to assemble and return a List of release events
Link copied to clipboard
open fun toString(): String