Show / Hide Table of Contents

Class CreateAttachmentDetails

An attachment uploaded by the Publisher to be attached to an Offer.

Inheritance
object
CreateAttachmentDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MarketplaceprivateofferService.Models
Assembly: OCI.DotNetSDK.Marketplaceprivateoffer.dll
Syntax
public class CreateAttachmentDetails

Properties

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The name used to refer to the uploaded data.

Remarks

Required

FileBase64Encoded

Declaration
[Required(ErrorMessage = "FileBase64Encoded is required.")]
[JsonProperty(PropertyName = "fileBase64Encoded")]
public byte[] FileBase64Encoded { get; set; }
Property Value
Type Description
byte[]

Base64-encoded file to attach to the Offer. File must be a PDF with maximum size of 1 MB

Remarks

Required

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public Attachment.TypeEnum? Type { get; set; }
Property Value
Type Description
Attachment.TypeEnum?

The type of offer attachment.

Remarks

Required

In this article
Back to top