zdk.net
BanafoServiceState.h
1 //
2 // BanafoServiceState.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_BanafoServiceState_h
7 #define ZDK_NET_BanafoServiceState_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "BanafoServiceStateType.h"
12 #include "BanafoServiceErrorType.h"
13 #include "ZHandle.h"
14 
15 using namespace System::Collections::Generic;
16 
17 namespace ZDK_NET
18 {
19 
24  public ref class BanafoServiceState : ZHandle
25  {
26  public:
27  ZDK::IBanafoServiceState* cppRef = nullptr;
28 
29  BanafoServiceState(ZDK::Shared::BanafoServiceState src);
32 
41  property ZDK_NET::BanafoServiceStateType State
42  {
43  ZDK_NET::BanafoServiceStateType get();
44  }
45 
58  property int NetworkErrorCode
59  {
60  int get();
61  }
62 
71  property ZDK_NET::BanafoServiceErrorType ServiceErrorType
72  {
73  ZDK_NET::BanafoServiceErrorType get();
74  }
75 
82  property System::String^ Reason
83  {
84  System::String^ get();
85  }
86 
95  property System::String^ AccessToken
96  {
97  System::String^ get();
98  }
99 
109  property System::String^ RefreshToken
110  {
111  System::String^ get();
112  }
113 
123  property System::String^ UserCode
124  {
125  System::String^ get();
126  }
127 
137  property System::String^ VerificationURI
138  {
139  System::String^ get();
140  }
141 
142  virtual long long Handle() override;
143 
144  virtual void Initialize() override;
145 
146  virtual void ReleaseReference() override;
147 
148  };
149 }
150 
151 #endif
ZDK_NET::BanafoServiceState
Banafo Service state.
Definition: BanafoServiceState.h:25
ZDK_NET::ZHandle
Definition: ZHandle.h:18