on develop help sign in
Regenerating gogol-groups-settings from latest service definition
commitb57e13e027660780a6bc7a7a3ae7c62eac9986ad authorBrendan Hay <brendan.g.hay@gmail.com> dateTue 25 Oct 2016, 11:37 (10 years ago) parent89938b3
4 files changed+38−2
gen/model/groupssettings/v1/groupssettings-api.json+10−2 gogol-groups-settings/gen/Network/Google/GroupsSettings.hs+2 gogol-groups-settings/gen/Network/Google/GroupsSettings/Types.hs+2 gogol-groups-settings/gen/Network/Google/GroupsSettings/Types/Product.hs+24
gen/model/groupssettings/v1/groupssettings-api.json+10−2
@@ -1,11 +1,11 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"jQLIOHBVnDZie4rQHGH1WJF-INE/Py5HOWHJ0CMbcB0y6Fw5QYwibOE\"",
3+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/WmR-pRQA43Avmy6ShfhWJLW2ne8\"",
44 "discoveryVersion": "v1",
55 "id": "groupssettings:v1",
66 "name": "groupssettings",
77 "version": "v1",
8− "revision": "20160323",
8+ "revision": "20160525",
99 "title": "Groups Settings API",
1010 "description": "Lets you manage permission levels and related settings of a group.",
1111 "ownerDomain": "google.com",
@@ -99,6 +99,10 @@
9999 "type": "string",
100100 "description": "If the group is archive only"
101101 },
102+ "customFooterText": {
103+ "type": "string",
104+ "description": "Custom footer text."
105+ },
102106 "customReplyTo": {
103107 "type": "string",
104108 "description": "Default email to which reply to any message should go."
@@ -115,6 +119,10 @@
115119 "type": "string",
116120 "description": "Email id of the group"
117121 },
122+ "includeCustomFooter": {
123+ "type": "string",
124+ "description": "Whether to include custom footer."
125+ },
118126 "includeInGlobalAddressList": {
119127 "type": "string",
120128 "description": "If this groups should be included in global address list or not."
gogol-groups-settings/gen/Network/Google/GroupsSettings.hs+2
@@ -62,12 +62,14 @@ module Network.Google.GroupsSettings
6262 , gIsArchived
6363 , gName
6464 , gMessageDisplayFont
65+ , gIncludeCustomFooter
6566 , gCustomReplyTo
6667 , gWhoCanContactOwner
6768 , gWhoCanAdd
6869 , gWhoCanInvite
6970 , gWhoCanLeaveGroup
7071 , gAllowGoogleCommunication
72+ , gCustomFooterText
7173 , gPrimaryLanguage
7274 , gDescription
7375 , gDefaultMessageDenyNotificationText
gogol-groups-settings/gen/Network/Google/GroupsSettings/Types.hs+2
@@ -44,12 +44,14 @@ module Network.Google.GroupsSettings.Types
4444 , gIsArchived
4545 , gName
4646 , gMessageDisplayFont
47+ , gIncludeCustomFooter
4748 , gCustomReplyTo
4849 , gWhoCanContactOwner
4950 , gWhoCanAdd
5051 , gWhoCanInvite
5152 , gWhoCanLeaveGroup
5253 , gAllowGoogleCommunication
54+ , gCustomFooterText
5355 , gPrimaryLanguage
5456 , gDescription
5557 , gDefaultMessageDenyNotificationText
gogol-groups-settings/gen/Network/Google/GroupsSettings/Types/Product.hs+24
@@ -43,12 +43,14 @@ data Groups = Groups'
4343 , _gIsArchived :: !(Maybe Text)
4444 , _gName :: !(Maybe Text)
4545 , _gMessageDisplayFont :: !(Maybe Text)
46+ , _gIncludeCustomFooter :: !(Maybe Text)
4647 , _gCustomReplyTo :: !(Maybe Text)
4748 , _gWhoCanContactOwner :: !(Maybe Text)
4849 , _gWhoCanAdd :: !(Maybe Text)
4950 , _gWhoCanInvite :: !(Maybe Text)
5051 , _gWhoCanLeaveGroup :: !(Maybe Text)
5152 , _gAllowGoogleCommunication :: !(Maybe Text)
53+ , _gCustomFooterText :: !(Maybe Text)
5254 , _gPrimaryLanguage :: !(Maybe Text)
5355 , _gDescription :: !(Maybe Text)
5456 , _gDefaultMessageDenyNotificationText :: !(Maybe Text)
@@ -97,6 +99,8 @@ data Groups = Groups'
9799--
98100-- * 'gMessageDisplayFont'
99101--
102+-- * 'gIncludeCustomFooter'
103+--
100104-- * 'gCustomReplyTo'
101105--
102106-- * 'gWhoCanContactOwner'
@@ -109,6 +113,8 @@ data Groups = Groups'
109113--
110114-- * 'gAllowGoogleCommunication'
111115--
116+-- * 'gCustomFooterText'
117+--
112118-- * 'gPrimaryLanguage'
113119--
114120-- * 'gDescription'
@@ -139,12 +145,14 @@ groups =
139145 , _gIsArchived = Nothing
140146 , _gName = Nothing
141147 , _gMessageDisplayFont = Nothing
148+ , _gIncludeCustomFooter = Nothing
142149 , _gCustomReplyTo = Nothing
143150 , _gWhoCanContactOwner = Nothing
144151 , _gWhoCanAdd = Nothing
145152 , _gWhoCanInvite = Nothing
146153 , _gWhoCanLeaveGroup = Nothing
147154 , _gAllowGoogleCommunication = Nothing
155+ , _gCustomFooterText = Nothing
148156 , _gPrimaryLanguage = Nothing
149157 , _gDescription = Nothing
150158 , _gDefaultMessageDenyNotificationText = Nothing
@@ -266,6 +274,12 @@ gMessageDisplayFont
266274 = lens _gMessageDisplayFont
267275 (\ s a -> s{_gMessageDisplayFont = a})
268276
277+-- | Whether to include custom footer.
278+gIncludeCustomFooter :: Lens' Groups (Maybe Text)
279+gIncludeCustomFooter
280+ = lens _gIncludeCustomFooter
281+ (\ s a -> s{_gIncludeCustomFooter = a})
282+
269283-- | Default email to which reply to any message should go.
270284gCustomReplyTo :: Lens' Groups (Maybe Text)
271285gCustomReplyTo
@@ -306,6 +320,12 @@ gAllowGoogleCommunication
306320 = lens _gAllowGoogleCommunication
307321 (\ s a -> s{_gAllowGoogleCommunication = a})
308322
323+-- | Custom footer text.
324+gCustomFooterText :: Lens' Groups (Maybe Text)
325+gCustomFooterText
326+ = lens _gCustomFooterText
327+ (\ s a -> s{_gCustomFooterText = a})
328+
309329-- | Primary language for the group.
310330gPrimaryLanguage :: Lens' Groups (Maybe Text)
311331gPrimaryLanguage
@@ -354,12 +374,14 @@ instance FromJSON Groups where
354374 <*> (o .:? "isArchived")
355375 <*> (o .:? "name")
356376 <*> (o .:? "messageDisplayFont")
377+ <*> (o .:? "includeCustomFooter")
357378 <*> (o .:? "customReplyTo")
358379 <*> (o .:? "whoCanContactOwner")
359380 <*> (o .:? "whoCanAdd")
360381 <*> (o .:? "whoCanInvite")
361382 <*> (o .:? "whoCanLeaveGroup")
362383 <*> (o .:? "allowGoogleCommunication")
384+ <*> (o .:? "customFooterText")
363385 <*> (o .:? "primaryLanguage")
364386 <*> (o .:? "description")
365387 <*> (o .:? "defaultMessageDenyNotificationText")
@@ -395,6 +417,7 @@ instance ToJSON Groups where
395417 ("isArchived" .=) <$> _gIsArchived,
396418 ("name" .=) <$> _gName,
397419 ("messageDisplayFont" .=) <$> _gMessageDisplayFont,
420+ ("includeCustomFooter" .=) <$> _gIncludeCustomFooter,
398421 ("customReplyTo" .=) <$> _gCustomReplyTo,
399422 ("whoCanContactOwner" .=) <$> _gWhoCanContactOwner,
400423 ("whoCanAdd" .=) <$> _gWhoCanAdd,
@@ -402,6 +425,7 @@ instance ToJSON Groups where
402425 ("whoCanLeaveGroup" .=) <$> _gWhoCanLeaveGroup,
403426 ("allowGoogleCommunication" .=) <$>
404427 _gAllowGoogleCommunication,
428+ ("customFooterText" .=) <$> _gCustomFooterText,
405429 ("primaryLanguage" .=) <$> _gPrimaryLanguage,
406430 ("description" .=) <$> _gDescription,
407431 ("defaultMessageDenyNotificationText" .=) <$>