public static base_response add(nitro_service client, streamselector resource) throws Exception {
		streamselector addresource = new streamselector();
		addresource.name = resource.name;
		addresource.rule = resource.rule;
		return addresource.add_resource(client);
	}
public static base_response add ( nitro_service client , streamselector resource ) throws Exception { streamselector addresource = new streamselector ( ) ; addresource . name = resource . name ; addresource . rule = resource . rule ; return addresource . add_resource ( client ) ; }
Use this API to add streamselector.