UploadGenericArtifactRequest class

The request to upload a generic artifact.

The created GenericArtifact will have the resource name {parent}/genericArtifacts/package_id:version_id. The created file will have the resource name {parent}/files/package_id:version_id:filename.

Constructors

UploadGenericArtifactRequest({String? filename, String? packageId, String? versionId})
UploadGenericArtifactRequest.fromJson(Map json_)

Properties

filename String?
The name of the file of the generic artifact to be uploaded.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
packageId String?
The ID of the package of the generic artifact.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
versionId String?
The ID of the version of the generic artifact.
getter/setter pair

Methods

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

Operators

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