GetReleaseResult class

Result data returned by getRelease.

Constructors

GetReleaseResult({required String message, required String name, required String releaseTime, required ActingUserResponse releaseUser, required String type, 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.
const
GetReleaseResult.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
The deploy description when the release was created. The value can be up to 512 characters.
final
name → String
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.
final
releaseTime → String
The time at which the version is set to be public.
final
releaseUser → ActingUserResponse
Identifies the user who created the release.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
Explains the reason for the release. Specify a value for this field only when creating a SITE_DISABLE type release.
final
version → VersionResponse
The configuration and content that was released.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited