(self)
return container_property
Returns the property which is the type we are wrapping.
Returns the property which is the type we are wrapping.
Returns the property which is the type we are wrapping .
def _GetPropertyWhichWeWrap(self):
    """Returns the property which is the type we are wrapping."""
    container_property = None
    for p in self.values['properties']:
      if p.values['wireName'] == 'kind' or p.values['wireName'] == 'etag':
        continue
      if p.data_type.GetTemplateValue('isContainer'):
        if container_property:
          return None
        container_property = p
      else:
        return None
    return container_property
def _GetPropertyWhichWeWrap ( self ) : container_property = None for p in self . values [ 'properties' ] : if p . values [ 'wireName' ] == 'kind' or p . values [ 'wireName' ] == 'etag' : continue if p . data_type . GetTemplateValue ( 'isContainer' ) : if container_property : return None container_property = p else : return None return container_property