- 煤气表读数:xxx,上次是 500.463
- 电表读书:yyy,上次是 11887.6
- 水表读数: zzz,上次是 30
- 煤气 xxx - 500.463 = ,每立方 3.5 元,共计: 元
{ | |
"payload": "{\"id\":201403814,\"repository\":{\"id\":12072164,\"name\":\"travis-webhook-demo\",\"owner_name\":\"tylerlong\",\"url\":null},\"number\":\"5\",\"config\":{\"language\":\"node_js\",\"node_js\":[\"7.5\"],\"notifications\":{\"webhooks\":{\"urls\":[\"http://devproxy-public.asialab.glip.net/webhook-tyler.liu/ea7f2d9e-91a1-4ae4-bd9b-1737c39908ec\"],\"on_success\":\"always\",\"on_failure\":\"always\",\"on_start\":\"always\"}},\".result\":\"configured\",\"group\":\"stable\",\"dist\":\"precise\"},\"status\":0,\"result\":0,\"status_message\":\"Passed\",\"result_message\":\"Passed\",\"started_at\":\"2017-02-14T05:55:49Z\",\"finished_at\":\"2017-02-14T05:56:19Z\",\"duration\":30,\"build_url\":\"https://travis-ci.org/tylerlong/travis-webhook-demo/builds/201403814\",\"commit_id\":57662095,\"commit\":\"7a079a2999a54981d1e5ba4c668a90441234da2f\",\"base_commit\":null,\"head_commit\":null,\"branch\":\"master\",\"message\":\"Add one more test case\",\"compare_url\":\"https://github.com/tylerlong/travis-webhook |
I am thinking maybe it's better to create our own bot platform to replace hubot. I have several reasons to say so:
It is the first major release of the C# SDK. It contains lots of bug fixes, improvements as well as some new features.
Portable class libraries can help you to reduce the time and costs of developing and testing code. Use this project type to write and build portable .NET Framework assemblies, and then reference those assemblies from apps that target multiple platforms such as Windows, Xamarin.iOS and Xamarin.Android.
Before 1.0.0
, we have different SDK projects for different platforms. On some platforms, users even have to compile the code themselves. We turned to PCL (Portable Class Library) with the 1.0.0
release. No matter what platform you are targeting, you can install our SDK via NuGet: Install-Package RingCentralSDK
, no more manual compiling and dependency management.
The specification is created and exported with Swagger Modeller.
It includes all the basic and advanced API endpoints which could be found here: https://developer.ringcentral.com/api-docs/latest/index.html
It does NOT include internal API endpoints because lacking of documentation.
result
attribute:
'Unknown' | 'ResultInProgress' | 'Missed' | 'Call accepted' | 'Voicemail' | 'Rejected' | 'Reply' | 'Received' | 'Receive Error' | 'Fax on Demand' | 'Partial Receive' | 'Blocked' | 'Call connected' | 'No Answer' | 'International Disabled' | 'Busy' | 'Send Error' | 'Sent' | 'No fax machine' | 'ResultEmpty' | 'Account ' | 'Suspended' | 'Call Failed' | 'Call Failure' | 'Internal Error' | 'IP Phone offline' | 'Restricted Number' | 'Wrong Number' | 'Stopped' | 'Hang up' | 'Poor Line Quality' | 'Partially Sent' | 'International Disabled' | 'International Restriction' | 'Abandoned' | 'Declined' | 'Fax Receipt Error' | 'Fax Send Error'
International Disabled
appears twice.
<Window x:Class="ResizeWindowSample.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:local="clr-namespace:ResizeWindowSample" | |
mc:Ignorable="d" | |
Title="MainWindow" Height="350" Width="525"> | |
<Button x:Name="button" Content="Button" HorizontalAlignment="Center" VerticalAlignment="Center" Width="75" Click="button_Click"/> | |
</Window> |
first line
another line