(1, TType.STRING, 'serviceHost', 'UTF8', None, ),  # 1
    (2, TType.STRING, 'marketingUrl', 'UTF8', None, ),  # 2
    (3, TType.STRING, 'supportUrl', 'UTF8', None, ),  # 3
    (4, TType.STRING, 'accountEmailDomain', 'UTF8', None, ),  # 4
    (5, TType.BOOL, 'enableFacebookSharing', None, None, ),  # 5
    (6, TType.BOOL, 'enableGiftSubscriptions', None, None, ),  # 6
    (7, TType.BOOL, 'enableSupportTickets', None, None, ),  # 7
    (8, TType.BOOL, 'enableSharedNotebooks', None, None, ),  # 8
    (9, TType.BOOL, 'enableSingleNoteSharing', None, None, ),  # 9
    (10, TType.BOOL, 'enableSponsoredAccounts', None, None, ),  # 10
    (11, TType.BOOL, 'enableTwitterSharing', None, None, ),  # 11
    (12, TType.BOOL, 'enableLinkedInSharing', None, None, ),  # 12
    (13, TType.BOOL, 'enablePublicNotebooks', None, None, ),  # 13
    None,  # 14
    None,  # 15
    (16, TType.BOOL, 'enableGoogle', None, None, ),  # 16
)
all_structs.append(BootstrapProfile)
BootstrapProfile.thrift_spec = (
    None,  # 0
    (1, TType.STRING, 'name', 'UTF8', None, ),  # 1
    (2, TType.STRUCT, 'settings', [BootstrapSettings, None], None, ),  # 2
)
all_structs.append(BootstrapInfo)
BootstrapInfo.thrift_spec = (
    None,  # 0
    (1, TType.LIST, 'profiles', (TType.STRUCT, [BootstrapProfile, None], False), None, ),  # 1
)
fix_spec(all_structs)
del all_structs
Exemple #2
0
        oprot.writeFieldStop()
        oprot.writeStructEnd()

    def validate(self):
        return

    def __repr__(self):
        L = ['%s=%r' % (key, value) for key, value in self.__dict__.items()]
        return '%s(%s)' % (self.__class__.__name__, ', '.join(L))

    def __eq__(self, other):
        return isinstance(other,
                          self.__class__) and self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not (self == other)


all_structs.append(do_format_result)
do_format_result.thrift_spec = (
    (
        0,
        TType.STRUCT,
        'success',
        [Data, None],
        None,
    ),  # 0
)
fix_spec(all_structs)
del all_structs