示例#1
0
 def validate(self):
     if self.userId is None:
         raise TProtocol.TProtocolException(
             message='Required field userId is unset!')
     if self.shardId is None:
         raise TProtocol.TProtocolException(
             message='Required field shardId is unset!')
     return
示例#2
0
 def validate(self):
     if self.name is None:
         raise TProtocol.TProtocolException(
             message='Required field name is unset!')
     if self.settings is None:
         raise TProtocol.TProtocolException(
             message='Required field settings is unset!')
     return
示例#3
0
 def validate(self):
     if self.currentTime is None:
         raise TProtocol.TProtocolException(
             message='Required field currentTime is unset!')
     if self.authenticationToken is None:
         raise TProtocol.TProtocolException(
             message='Required field authenticationToken is unset!')
     if self.expiration is None:
         raise TProtocol.TProtocolException(
             message='Required field expiration is unset!')
     return
示例#4
0
 def validate(self):
     if self.serviceHost is None:
         raise TProtocol.TProtocolException(
             message='Required field serviceHost is unset!')
     if self.marketingUrl is None:
         raise TProtocol.TProtocolException(
             message='Required field marketingUrl is unset!')
     if self.supportUrl is None:
         raise TProtocol.TProtocolException(
             message='Required field supportUrl is unset!')
     if self.accountEmailDomain is None:
         raise TProtocol.TProtocolException(
             message='Required field accountEmailDomain is unset!')
     return
示例#5
0
 def validate(self):
     if self.profiles is None:
         raise TProtocol.TProtocolException(
             message='Required field profiles is unset!')
     return
示例#6
0
 def validate(self):
     if self.errorCode is None:
         raise TProtocol.TProtocolException(
             message='Required field errorCode is unset!')
     return