Show / Hide Table of Contents

Class InsuranceCollection

Class representing a collection of EasyPost Insurance objects.

Inheritance
System.Object
EphemeralEasyPostObject
EasyPostObject
PaginatedCollection<Insurance>
InsuranceCollection
Implements
IEasyPostObject
Inherited Members
PaginatedCollection<Insurance>.HasMore
PaginatedCollection<Insurance>.GetNextPage<TCollection, TParameters>(Func<TParameters, Task<TCollection>>, Nullable<List<Insurance>>, Nullable<Int32>)
EasyPostObject.CreatedAt
EasyPostObject.Id
EasyPostObject.UpdatedAt
EasyPostObject.Prefix
EasyPostObject.AsDictionary()
EasyPostObject.ToString()
EasyPostObject.Equals(Nullable<Object>)
EasyPostObject.GetHashCode()
EphemeralEasyPostObject.Mode
EphemeralEasyPostObject.AsJson()
Namespace: EasyPost.Models.API
Assembly: EasyPost.dll
Syntax
public class InsuranceCollection : PaginatedCollection<Insurance>, IEasyPostObject

Properties

| Improve this Doc View Source

Insurances

The Insurances in the collection.

Declaration
public List<Insurance>? Insurances { get; set; }
Property Value
Type Description
System.Nullable<List<Insurance>>

Methods

| Improve this Doc View Source

BuildNextPageParameters<TParameters>(IEnumerable<Insurance>, Nullable<Int32>)

Construct the parameter set for retrieving the next page of this paginated collection.

Declaration
public override TParameters BuildNextPageParameters<TParameters>(IEnumerable<Insurance> entries, int? pageSize = null)
    where TParameters : BaseParameters<Insurance>
Parameters
Type Name Description
IEnumerable<Insurance> entries

The entries on the current page of this paginated collection.

System.Nullable<System.Int32> pageSize

The request size of the next page.

Returns
Type Description
TParameters

A TParameters-type parameters set.

Type Parameters
Name Description
TParameters

The type of parameters to construct.

Overrides
EasyPost.Models.Shared.PaginatedCollection<EasyPost.Models.API.Insurance>.BuildNextPageParameters<TParameters>(IEnumerable<EasyPost.Models.API.Insurance>, System.Nullable<System.Int32>)

Implements

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