GetReleaseResult constructor

const GetReleaseResult({
  1. required String message,
  2. required String name,
  3. required String releaseTime,
  4. required ActingUserResponse releaseUser,
  5. required String type,
  6. required VersionResponse version,
})

Creates a new GetReleaseResult. message The deploy description when the release was created. The value can be up to 512 characters. name The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call releases.create or channels.releases.create. releaseTime The time at which the version is set to be public. releaseUser Identifies the user who created the release. type Explains the reason for the release. Specify a value for this field only when creating a SITE_DISABLE type release. version The configuration and content that was released.

Implementation

const GetReleaseResult({
  required this.message,
  required this.name,
  required this.releaseTime,
  required this.releaseUser,
  required this.type,
  required this.version,
});