BatchCreateMediaItemsRequest class

Request to create one or more media items in a user's Google Photos library.

If an albumid is specified, the media items are also added to that album. albumPosition is optional and can only be specified if an albumId is set.

Constructors

BatchCreateMediaItemsRequest({String? albumId, AlbumPosition? albumPosition, List<NewMediaItem>? newMediaItems})
BatchCreateMediaItemsRequest.fromJson(Map json_)

Properties

albumId String?
Identifier of the album where the media items are added.
getter/setter pair
albumPosition AlbumPosition?
Position in the album where the media items are added.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
newMediaItems List<NewMediaItem>?
List of media items to be created.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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