public Request(string method, int methodVersion, RequestBody body) { m_requestId = NextId(); if (method != null) { Header.Method = method; } if (methodVersion > 0) { Header.MethodVersion = methodVersion; } Body = body; }
public GetVocabulary(HealthVaultClient client, RequestBody body, Type responseType) : base(client) { if (body == null) { throw new ArgumentNullException("body"); } if (responseType == null) { throw new ArgumentNullException("responseType"); } m_body = body; m_responseType = responseType; }
public RemoveThings(HealthVaultClient client, RecordReference record, RequestBody body) : base(client) { if (record == null) { throw new ArgumentNullException("record"); } if (body == null) { throw new ArgumentNullException("body"); } m_record = record; m_body = body; }
public PutThings(HealthVaultClient client, RecordReference record, RequestBody body, Type responseType) : base(client) { if (record == null) { throw new ArgumentNullException("record"); } if (body == null) { throw new ArgumentNullException("body"); } if (responseType == null) { throw new ArgumentNullException("responseType"); } m_record = record; m_body = body; m_responseType = responseType; }
public PutThings(HealthVaultClient client, string personID, string recordID, RequestBody body, Type responseType) : this(client, new RecordReference(personID, recordID), body, responseType) { }
public RemoveThings(HealthVaultClient client, string personID, string recordID, RequestBody body) : this(client, new RecordReference(personID, recordID), body) { }