def SetConfiguration(self, data: Structure): """Set the source configuration. :param data: a structure of the type RPMOSTreeConfigurationData """ self.implementation.set_configuration( RPMOSTreeConfigurationData.from_structure(data))
def _get_source_configuration(self): """Get the configuration of the RPM OSTree source. :return: an instance of RPMOSTreeConfigurationData """ source_proxy = self.get_source_proxy() return RPMOSTreeConfigurationData.from_structure( source_proxy.Configuration)