C# Class OpenPermit.Socrata.SocrataOpenPermitAdapter

Inheritance: IOpenPermitAdapter
显示文件 Open project: openpermit/OpenPermit.NET

Public Methods

Method Description
GetContractor ( string permitNumber, string contractorId ) : Contractor
GetContractors ( string permitNumber ) : List
GetInspection ( string permitNumber, string inspectionId ) : Inspection
GetInspectionAttachment ( string permitNumber, string inspectionId, string attachmentId ) : Attachment
GetInspections ( string permitNumber ) : List
GetPermit ( string permitNumber ) : Permit
GetPermitTimeline ( string permitNumber ) : List
SearchPermits ( PermitFilter filter ) : List
SocrataOpenPermitAdapter ( ) : System
SocrataOpenPermitAdapter ( string mappingFile ) : System

Protected Methods

Method Description
DoGet ( string url ) : string
SetJurisdiction ( Permit permit ) : void

Private Methods

Method Description
GetMapped ( string property ) : string
GetSocrataPermits ( ) : List
GetSocrataPermits ( int limit, int offset ) : List
SetMappingJson ( string mappingFile ) : void

Method Details

DoGet() protected method

protected DoGet ( string url ) : string
url string
return string

GetContractor() public method

public GetContractor ( string permitNumber, string contractorId ) : Contractor
permitNumber string
contractorId string
return Contractor

GetContractors() public method

public GetContractors ( string permitNumber ) : List
permitNumber string
return List

GetInspection() public method

public GetInspection ( string permitNumber, string inspectionId ) : Inspection
permitNumber string
inspectionId string
return Inspection

GetInspectionAttachment() public method

public GetInspectionAttachment ( string permitNumber, string inspectionId, string attachmentId ) : Attachment
permitNumber string
inspectionId string
attachmentId string
return Attachment

GetInspections() public method

public GetInspections ( string permitNumber ) : List
permitNumber string
return List

GetPermit() public method

public GetPermit ( string permitNumber ) : Permit
permitNumber string
return Permit

GetPermitTimeline() public method

public GetPermitTimeline ( string permitNumber ) : List
permitNumber string
return List

SearchPermits() public method

public SearchPermits ( PermitFilter filter ) : List
filter PermitFilter
return List

SetJurisdiction() protected method

protected SetJurisdiction ( Permit permit ) : void
permit Permit
return void

SocrataOpenPermitAdapter() public method

public SocrataOpenPermitAdapter ( ) : System
return System

SocrataOpenPermitAdapter() public method

public SocrataOpenPermitAdapter ( string mappingFile ) : System
mappingFile string
return System