Show / Hide Table of Contents

Class GenerateForm

Parameters for API calls.

Inheritance
System.Object
BaseParameters<Shipment>
GenerateForm
Implements
IBaseParameters
Inherited Members
BaseParameters<Shipment>.MatchFunction
BaseParameters<Shipment>.Matches(Shipment)
BaseParameters<Shipment>.ToSubDictionary(Type)
Namespace: EasyPost.Parameters.Shipment
Assembly: EasyPost.dll
Syntax
public class GenerateForm : BaseParameters<Shipment>, IBaseParameters

Properties

| Improve this Doc View Source

Data

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>>
| Improve this Doc View Source

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 Source

ToDictionary()

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.

Implements

IBaseParameters
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX