Class MapUpload
- Namespace
- RustMapsApi.V4.Requests
- Assembly
- RustMapsApi.dll
A request to upload a pre-generated map save file.
public sealed record MapUpload : IEquatable<MapUpload>
- Inheritance
-
MapUpload
- Implements
- Inherited Members
Properties
FileName
The file name to send with the upload.
public required string FileName { get; init; }
Property Value
Map
The map save-file content.
public required Stream Map { get; init; }
Property Value
Note
An optional note (max 100 chars, alphanumerics and _.()- ).
public string? Note { get; init; }
Property Value
Staging
Whether the map targets the staging branch.
public bool Staging { get; init; }