C# Класс Hyves.Service.PingsService

Represents the service APIs that allow access to information on Hyves ping.
Показать файл Открыть проект

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

Метод Описание
CreatePing ( string targetUserId, string pingTypeId, string body, HyvesVisibility visibility ) : Ping

Creates a ping. This corresponds to the pings.create Hyves method.

CreatePingByFriend ( string targetUserId, string pingTypeId, string body, HyvesVisibility visibility ) : Ping

Creates a ping. This corresponds to the pings.createByFriend Hyves method.

Hidden method (for any partner).

GetPing ( string pingId ) : Ping

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.

GetPing ( string pingId, HyvesPingResponsefield responsefields ) : Ping

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.

GetPing ( string pingId, HyvesPingResponsefield responsefields, bool useFancyLayout ) : Ping

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.

GetPing ( string pingId, bool useFancyLayout ) : Ping

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.

GetPingTypes ( ) : Collection

Gets the default ping types. This corresponds to the pings.getTypes Hyves method.

Hidden method (for any partner).

GetPings ( Collection pingIds ) : Collection

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.

GetPings ( Collection pingIds, HyvesPingResponsefield responsefields ) : Collection

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.

GetPings ( Collection pingIds, HyvesPingResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.

GetPings ( Collection pingIds, bool useFancyLayout ) : Collection

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.

GetPingsByTargetUser ( string userId ) : Collection

Gets the desired pings from the specified user. This corresponds to the pings.getByTargetUser Hyves method.

GetPingsByTargetUser ( string userId, HyvesPingResponsefield responsefields ) : Collection

Gets the desired pings from the specified user. This corresponds to the pings.getByTargetUser Hyves method.

GetPingsByTargetUser ( string userId, HyvesPingResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired pings from the specified user. This corresponds to the pings.getByTargetUser Hyves method.

GetPingsByTargetUser ( string userId, bool useFancyLayout ) : Collection

Gets the desired pings from the specified user. This corresponds to the pings.getByTargetUser Hyves method.

GetPingsByUser ( string userId ) : Collection

Gets the desired pings from the specified user. This corresponds to the pings.getByUser Hyves method.

GetPingsByUser ( string userId, HyvesPingResponsefield responsefields ) : Collection

Gets the desired pings from the specified user. This corresponds to the pings.getByUser Hyves method.

GetPingsByUser ( string userId, HyvesPingResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired pings from the specified user. This corresponds to the pings.getByUser Hyves method.

GetPingsByUser ( string userId, bool useFancyLayout ) : Collection

Gets the desired pings from the specified user. This corresponds to the pings.getByUser Hyves method.

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

Метод Описание
ConvertResponsefieldsToString ( HyvesPingResponsefield responsefields ) : string
PingsService ( HyvesSession session ) : System

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

CreatePing() публичный Метод

Creates a ping. This corresponds to the pings.create Hyves method.
public CreatePing ( string targetUserId, string pingTypeId, string body, HyvesVisibility visibility ) : Ping
targetUserId string The title of the ping.
pingTypeId string
body string The body of the ping.
visibility HyvesVisibility The visibility of the ping.
Результат Ping

CreatePingByFriend() публичный Метод

Creates a ping. This corresponds to the pings.createByFriend Hyves method.
Hidden method (for any partner).
public CreatePingByFriend ( string targetUserId, string pingTypeId, string body, HyvesVisibility visibility ) : Ping
targetUserId string The title of the ping.
pingTypeId string The identifier for a ping type.
body string The html of the ping.
visibility HyvesVisibility The visibility of the ping.
Результат Ping

GetPing() публичный Метод

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.
public GetPing ( string pingId ) : Ping
pingId string The requested pingId.
Результат Ping

GetPing() публичный Метод

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.
public GetPing ( string pingId, HyvesPingResponsefield responsefields ) : Ping
pingId string The requested pingId.
responsefields HyvesPingResponsefield Get extra information from the ping.
Результат Ping

GetPing() публичный Метод

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.
public GetPing ( string pingId, HyvesPingResponsefield responsefields, bool useFancyLayout ) : Ping
pingId string The requested pingId.
responsefields HyvesPingResponsefield Get extra information from the ping.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Ping

GetPing() публичный Метод

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.
public GetPing ( string pingId, bool useFancyLayout ) : Ping
pingId string The requested pingId.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Ping

GetPingTypes() публичный Метод

Gets the default ping types. This corresponds to the pings.getTypes Hyves method.
Hidden method (for any partner).
public GetPingTypes ( ) : Collection
Результат Collection

GetPings() публичный Метод

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.
public GetPings ( Collection pingIds ) : Collection
pingIds Collection The requested pingIds.
Результат Collection

GetPings() публичный Метод

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.
public GetPings ( Collection pingIds, HyvesPingResponsefield responsefields ) : Collection
pingIds Collection The requested pingIds.
responsefields HyvesPingResponsefield Get extra information from the ping.
Результат Collection

GetPings() публичный Метод

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.
public GetPings ( Collection pingIds, HyvesPingResponsefield responsefields, bool useFancyLayout ) : Collection
pingIds Collection The requested pingIds.
responsefields HyvesPingResponsefield Get extra information from the ping.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

GetPings() публичный Метод

Gets the desired information about the specified ping. This corresponds to the pings.get Hyves method.
public GetPings ( Collection pingIds, bool useFancyLayout ) : Collection
pingIds Collection The requested pingIds.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

GetPingsByTargetUser() публичный Метод

Gets the desired pings from the specified user. This corresponds to the pings.getByTargetUser Hyves method.
public GetPingsByTargetUser ( string userId ) : Collection
userId string The requested user Id.
Результат Collection

GetPingsByTargetUser() публичный Метод

Gets the desired pings from the specified user. This corresponds to the pings.getByTargetUser Hyves method.
public GetPingsByTargetUser ( string userId, HyvesPingResponsefield responsefields ) : Collection
userId string The requested user Id.
responsefields HyvesPingResponsefield Get extra information from the ping.
Результат Collection

GetPingsByTargetUser() публичный Метод

Gets the desired pings from the specified user. This corresponds to the pings.getByTargetUser Hyves method.
public GetPingsByTargetUser ( string userId, HyvesPingResponsefield responsefields, bool useFancyLayout ) : Collection
userId string The requested user Id.
responsefields HyvesPingResponsefield Get extra information from the ping.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

GetPingsByTargetUser() публичный Метод

Gets the desired pings from the specified user. This corresponds to the pings.getByTargetUser Hyves method.
public GetPingsByTargetUser ( string userId, bool useFancyLayout ) : Collection
userId string The requested user Id.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

GetPingsByUser() публичный Метод

Gets the desired pings from the specified user. This corresponds to the pings.getByUser Hyves method.
public GetPingsByUser ( string userId ) : Collection
userId string The requested user Id.
Результат Collection

GetPingsByUser() публичный Метод

Gets the desired pings from the specified user. This corresponds to the pings.getByUser Hyves method.
public GetPingsByUser ( string userId, HyvesPingResponsefield responsefields ) : Collection
userId string The requested user Id.
responsefields HyvesPingResponsefield Get extra information from the ping.
Результат Collection

GetPingsByUser() публичный Метод

Gets the desired pings from the specified user. This corresponds to the pings.getByUser Hyves method.
public GetPingsByUser ( string userId, HyvesPingResponsefield responsefields, bool useFancyLayout ) : Collection
userId string The requested user Id.
responsefields HyvesPingResponsefield Get extra information from the ping.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

GetPingsByUser() публичный Метод

Gets the desired pings from the specified user. This corresponds to the pings.getByUser Hyves method.
public GetPingsByUser ( string userId, bool useFancyLayout ) : Collection
userId string The requested user Id.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection