(self, username)
Initializes a network configuration profile with no payloads.

    Args:
      username: str, the username associated with this profile.
Initializes a network configuration profile with no payloads.
Initializes a network configuration profile with no payloads .
def __init__(self, username):
    """Initializes a network configuration profile with no payloads.

    Args:
      username: str, the username associated with this profile.
    """
    super(NetworkProfile, self).__init__()

    self._username = username
    self._auth_cert = None
    self._anchor_certs = []
    self._trusted_servers = []

    self.Set(PAYLOADKEYS_DISPLAYNAME, 'Network Profile (%s)' % self._username)
    self.Set(PAYLOADKEYS_DESCRIPTION, 'Network authentication settings')
    self.Set(PAYLOADKEYS_IDENTIFIER, NETWORK_PROFILE_ID)
    self.Set(PAYLOADKEYS_ORG, ORGANIZATION_NAME)
    self.Set(PAYLOADKEYS_SCOPE, ['System', 'User'])
    self.Set(PAYLOADKEYS_TYPE, 'Configuration')
    self.Set(PAYLOADKEYS_CONTENT, [])
def __init__ ( self , username ) : super ( NetworkProfile , self ) . __init__ ( ) self . _username = username self . _auth_cert = None self . _anchor_certs = [ ] self . _trusted_servers = [ ] self . Set ( PAYLOADKEYS_DISPLAYNAME , 'Network Profile (%s)' % self . _username ) self . Set ( PAYLOADKEYS_DESCRIPTION , 'Network authentication settings' ) self . Set ( PAYLOADKEYS_IDENTIFIER , NETWORK_PROFILE_ID ) self . Set ( PAYLOADKEYS_ORG , ORGANIZATION_NAME ) self . Set ( PAYLOADKEYS_SCOPE , [ 'System' , 'User' ] ) self . Set ( PAYLOADKEYS_TYPE , 'Configuration' ) self . Set ( PAYLOADKEYS_CONTENT , [ ] )