From 62f0ae600b9cd18897b16842484b8776912c8ca7 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Sat, 1 Apr 2017 21:29:27 -0400 Subject: [PATCH] Add a few missing profile fields --- profile.go | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/profile.go b/profile.go index dd2ef94..ad3b222 100644 --- a/profile.go +++ b/profile.go @@ -53,13 +53,16 @@ type SignonInfo struct { type MessageSet struct { XMLName xml.Name // - Ver String `xml:"MSGSETCORE>VER"` - Url String `xml:"MSGSETCORE>URL"` - OfxSec String `xml:"MSGSETCORE>OFXSEC"` - TranspSec Boolean `xml:"MSGSETCORE>TRANSPSEC"` - SignonRealm String `xml:"MSGSETCORE>SIGNONREALM"` // Used to identify which SignonInfo to use for to this MessageSet - Language []String `xml:"MSGSETCORE>LANGUAGE"` - SyncMode String `xml:"MSGSETCORE>SYNCMODE"` + Ver String `xml:"MSGSETCORE>VER"` // Message set version - should always match 'n' in + Url String `xml:"MSGSETCORE>URL"` // URL where messages in this set are to be set + OfxSec String `xml:"MSGSETCORE>OFXSEC"` // NONE or 'TYPE 1' + TranspSec Boolean `xml:"MSGSETCORE>TRANSPSEC"` // Transport-level security must be used + SignonRealm String `xml:"MSGSETCORE>SIGNONREALM"` // Used to identify which SignonInfo to use for to this MessageSet + Language []String `xml:"MSGSETCORE>LANGUAGE"` // List of supported languages + SyncMode String `xml:"MSGSETCORE>SYNCMODE"` // One of FULL, LITE + RefreshSupt Boolean `xml:"MSGSETCORE>REFRESHSUPT,omitempty"` // Y if server supports Y within synchronizations. This option is irrelevant for full synchronization servers. Clients must ignore (or its absence) if the profile also specifies FULL. For lite synchronization, the default is N. Without Y, lite synchronization servers are not required to support Y requests + RespFileER Boolean `xml:"MSGSETCORE>RESPFILEER"` // server supports file-based error recovery + SpName String `xml:"MSGSETCORE>SPNAME"` // Name of service provider // TODO MessageSet-specific stuff? }