Class GenerateForm
Parameters for
Implements
Inherited Members
Namespace: EasyPost.Parameters.Shipment
Assembly: EasyPost.dll
Syntax
public class GenerateForm : BaseParameters<Shipment>, IBaseParameters
Properties
| Improve this Doc View SourceData
The data for the new form.
Declaration
public Dictionary<string, object>? Data { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<Dictionary<System.String, System.Object>> |
Type
The type for the new form.
Declaration
public string? Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.String> |
Methods
| Improve this Doc View SourceToDictionary()
Override the default ToDictionary() method to handle the unique serialization requirements for this parameter set.
Declaration
public override Dictionary<string, object> ToDictionary()
Returns
| Type | Description |
|---|---|
| Dictionary<System.String, System.Object> | A |
Overrides
EasyPost.Parameters.BaseParameters<EasyPost.Models.API.Shipment>.ToDictionary()
Exceptions
| Type | Condition |
|---|---|
| MissingParameterError | Thrown when the form type was not provided. |