pub struct FileLink {
pub created: i64,
pub expired: bool,
pub expires_at: Option<i64>,
pub file: Value,
pub id: String,
pub livemode: bool,
pub metadata: Value,
pub object: String,
pub url: Option<String>,
}
Expand description
To share the contents of a File
object with non-Stripe users, you can
create a FileLink
. FileLink
s contain a URL that you can use to
retrieve the contents of the file without authentication.
Fields§
§created: i64
Time at which the object was created. Measured in seconds since the Unix epoch.
expired: bool
Returns if the link is already expired.
expires_at: Option<i64>
Time that the link expires.
file: Value
The file object this link points to.
id: String
Unique identifier for the object.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
metadata: Value
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
object: String
String representing the object’s type. Objects of the same type share the same value.
url: Option<String>
The publicly accessible URL to download the file.