ocaml-google-app/doc/html/ocaml-google-apps/GoogleApps/Contacts/index.html

2 lines
4.6 KiB
HTML
Raw Permalink Normal View History

2020-08-26 01:44:00 +00:00
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Contacts (ocaml-google-apps.GoogleApps.Contacts)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">ocaml-google-apps</a> &#x00BB; <a href="../index.html">GoogleApps</a> &#x00BB; Contacts</nav><h1>Module <code>GoogleApps.Contacts</code></h1><p>A <span class="xref-unresolved" title="unresolved reference to &quot;Contact.t&quot;"><code>Contact</code>.t</span> contains the name, address, and various contact details of a contact.</p></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt></dl><dl><dt class="spec module" id="module-Group"><a href="#module-Group" class="anchor"></a><code><span class="keyword">module</span> <a href="Group/index.html">Group</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>A <span class="xref-unresolved" title="unresolved reference to &quot;Group.t&quot;"><a href="index.html#module-Group"><code>Group</code></a>.t</span> is is a group of contacts.</p></dd></dl><dl><dt class="spec value" id="val-get_contacts"><a href="#val-get_contacts" class="anchor"></a><code><span class="keyword">val</span> get_contacts : unit <span>&#45;&gt;</span> <span><a href="index.html#type-t">t</a> list</span></code></dt><dt class="spec value" id="val-create"><a href="#val-create" class="anchor"></a><code><span class="keyword">val</span> create : <span>given_name:string</span> <span>&#45;&gt;</span> <span>family_name:string</span> <span>&#45;&gt;</span> <span>email:string</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>Create a contact</p></dd></dl><dl><dt class="spec value" id="val-get_emails"><a href="#val-get_emails" class="anchor"></a><code><span class="keyword">val</span> get_emails : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><a href="../EmailField/index.html#type-t">EmailField.t</a> list</span></code></dt><dt class="spec value" id="val-get_family_name"><a href="#val-get_family_name" class="anchor"></a><code><span class="keyword">val</span> get_family_name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-get_given_name"><a href="#val-get_given_name" class="anchor"></a><code><span class="keyword">val</span> get_given_name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-get_full_name"><a href="#val-get_full_name" class="anchor"></a><code><span class="keyword">val</span> get_full_name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-get_phones"><a href="#val-get_phones" class="anchor"></a><code><span class="keyword">val</span> get_phones : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><a href="../PhoneField/index.html#type-t">PhoneField.t</a> list</span></code></dt><dt class="spec value" id="val-get_contact_groups"><a href="#val-get_contact_groups" class="anchor"></a><code><span class="keyword">val</span> get_contact_groups : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span><a href="Group/index.html#type-g">Group.g</a> list</span></code></dt><dt class="spec value" id="val-add_phone"><a href="#val-add_phone" class="anchor"></a><code><span class="keyword">val</span> add_phone : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>field:<a href="../PhoneField/Field/index.html#type-t">PhoneField.Field.t</a></span> <span>&#45;&gt;</span> <span>number:string</span> <span>&#45;&gt;</span> <a href="../PhoneField/index.html#type-t">PhoneField.t</a></code></dt><dt class="spec value" id="val-add_to_group"><a href="#val-add_to_group" class="