Table of Contents

Class ServiceResponseData

Namespace
PostalCodeKR.Models
Assembly
PostalCodeKR.dll

Response data class about API service request

public record ServiceResponseData : IEquatable<ServiceResponseData>
Inheritance
ServiceResponseData
Implements
Inherited Members

Properties

CurrentPage

Current page number

public int CurrentPage { get; init; }

Property Value

int

ErrorType

Error type of API service request process

public APIErrorType ErrorType { get; init; }

Property Value

APIErrorType

ItemCountPerPage

Requested item count per page

public int ItemCountPerPage { get; init; }

Property Value

int

SearchResults

Search result list (read-only)

public IReadOnlyList<AddressPostalCodeData> SearchResults { get; init; }

Property Value

IReadOnlyList<AddressPostalCodeData>

ServiceRequestSuccess

Success information of API service request process

public bool ServiceRequestSuccess { get; init; }

Property Value

bool

TotalItemCount

All page total item count of search result

public int TotalItemCount { get; init; }

Property Value

int

TotalPageCount

Total page count

public int TotalPageCount { get; init; }

Property Value

int