C# Класс BatchBook.Deal

Показать файл Открыть проект

Открытые методы

Метод Описание
Create ( string title, string description, float amount, string status, int dealWithId, string assignedTo ) : int
Create ( string apiKey, string title, string description, float amount, string status, int dealWithId, string assignedTo ) : int
Destroy ( int dealId ) : void
Destroy ( string apiKey, int dealId ) : void
Get ( int dealId ) : Deal
Get ( string apiKey, int dealId ) : Deal
GetStatuses ( ) : string[]
GetStatuses ( string apiKey ) : string[]
List ( int limit, int offset ) : BatchBook.Deal[]
List ( string apiKey, int limit, int offset ) : BatchBook.Deal[]
Search ( string assignedTo, string status, System.DateTime updatedSince ) : BatchBook.Deal[]
Search ( string apiKey, string assignedTo, string status, System.DateTime updatedSince ) : BatchBook.Deal[]
Update ( int dealId, string title, string description, float amount, string status, int dealWithId, string assignedTo ) : void
Update ( string apiKey, int dealId, string title, string description, float amount, string status, int dealWithId, string assignedTo ) : void

Приватные методы

Метод Описание
BuildList ( XmlReader rdr ) : BatchBook.Deal[]
Deal ( XmlReader rdr ) : System

Описание методов

Create() публичный статический Метод

public static Create ( string title, string description, float amount, string status, int dealWithId, string assignedTo ) : int
title string
description string
amount float
status string
dealWithId int
assignedTo string
Результат int

Create() публичный статический Метод

public static Create ( string apiKey, string title, string description, float amount, string status, int dealWithId, string assignedTo ) : int
apiKey string
title string
description string
amount float
status string
dealWithId int
assignedTo string
Результат int

Destroy() публичный статический Метод

public static Destroy ( int dealId ) : void
dealId int
Результат void

Destroy() публичный статический Метод

public static Destroy ( string apiKey, int dealId ) : void
apiKey string
dealId int
Результат void

Get() публичный статический Метод

public static Get ( int dealId ) : Deal
dealId int
Результат Deal

Get() публичный статический Метод

public static Get ( string apiKey, int dealId ) : Deal
apiKey string
dealId int
Результат Deal

GetStatuses() публичный статический Метод

public static GetStatuses ( ) : string[]
Результат string[]

GetStatuses() публичный статический Метод

public static GetStatuses ( string apiKey ) : string[]
apiKey string
Результат string[]

List() публичный статический Метод

public static List ( int limit, int offset ) : BatchBook.Deal[]
limit int
offset int
Результат BatchBook.Deal[]

List() публичный статический Метод

public static List ( string apiKey, int limit, int offset ) : BatchBook.Deal[]
apiKey string
limit int
offset int
Результат BatchBook.Deal[]

Search() публичный статический Метод

public static Search ( string assignedTo, string status, System.DateTime updatedSince ) : BatchBook.Deal[]
assignedTo string
status string
updatedSince System.DateTime
Результат BatchBook.Deal[]

Search() публичный статический Метод

public static Search ( string apiKey, string assignedTo, string status, System.DateTime updatedSince ) : BatchBook.Deal[]
apiKey string
assignedTo string
status string
updatedSince System.DateTime
Результат BatchBook.Deal[]

Update() публичный статический Метод

public static Update ( int dealId, string title, string description, float amount, string status, int dealWithId, string assignedTo ) : void
dealId int
title string
description string
amount float
status string
dealWithId int
assignedTo string
Результат void

Update() публичный статический Метод

public static Update ( string apiKey, int dealId, string title, string description, float amount, string status, int dealWithId, string assignedTo ) : void
apiKey string
dealId int
title string
description string
amount float
status string
dealWithId int
assignedTo string
Результат void