Show / Hide Table of Contents

Class AddressCollection

Class representing a collection of EasyPost Addresses.

Inheritance
System.Object
EphemeralEasyPostObject
EasyPostObject
PaginatedCollection<Address>
AddressCollection
Implements
IEasyPostObject
Inherited Members
PaginatedCollection<Address>.HasMore
PaginatedCollection<Address>.GetNextPage<TCollection, TParameters>(Func<TParameters, Task<TCollection>>, Nullable<List<Address>>, 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 AddressCollection : PaginatedCollection<Address>, IEasyPostObject

Properties

| Improve this Doc View Source

Addresses

The Addresses in the collection.

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

Methods

| Improve this Doc View Source

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

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

Declaration
public override TParameters BuildNextPageParameters<TParameters>(IEnumerable<Address> entries, int? pageSize = null)
    where TParameters : BaseParameters<Address>
Parameters
Type Name Description
IEnumerable<Address> 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.Address>.BuildNextPageParameters<TParameters>(IEnumerable<EasyPost.Models.API.Address>, System.Nullable<System.Int32>)

Implements

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